From 5282c8c97bc46cd80de613cae6efe703d87a0326 Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Sun, 22 Jan 2012 14:25:37 +0000 Subject: [PATCH] moved some styles for fileuploader select button from a generic to a specific stylesheet --- css/_fileuploader.css | 8 ++++---- css/design.css | 9 +++++++++ 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/css/_fileuploader.css b/css/_fileuploader.css index 0b7cc8b..84b182c 100644 --- a/css/_fileuploader.css +++ b/css/_fileuploader.css @@ -15,18 +15,18 @@ /* select file button */ +/* as this is not a real button, but functions as a button, + it should be styled the same way as your other buttons, + preferably in the same place, so just add '.qq-upload-button' to those styles */ .qq-upload-button { display: inline-block; - border: 1px solid __border__; - color: __text__; - background: __background__ url(images/buttonshadow.png) repeat-x bottom; text-decoration: none; font-size: 100%; cursor: pointer; margin: 1px 1px 5px; - padding: 0.125em 0.4em; } + * html .qq-upload-button, *+html .qq-upload-button { display: inline; diff --git a/css/design.css b/css/design.css index a17b61e..ac905a3 100644 --- a/css/design.css +++ b/css/design.css @@ -217,6 +217,15 @@ line-height: 1.4; } +/* to style button-like div in _fileuploader.css to look like other buttons, + please add '.qq-upload-button' to the according styles (which don't really exist in this template) */ +.qq-upload-button { + border: 1px solid __border__; + background-color: __background_alt__; + padding: 0.125em 0.4em; +} + + /*____________ JS popup ____________*/ .JSpopup {