aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2006-04-16 07:45:39 +0000
committerchrisaga <chrisaga@piwigo.org>2006-04-16 07:45:39 +0000
commit06797589b73cb90e2ab21c5800a711f6f2985f10 (patch)
treec42acee01824260d502592c4a7a6835ec3ec245e
parentfb7ab41df6adc5ab6820836dff61667eabd271c4 (diff)
- code sweeping : moved .focus and .nofocus from default_layout.css to default_color.css
ensures baclground-color for .nofocus is alway the same as INPUT git-svn-id: http://piwigo.org/svn/trunk@1184 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/default-colors.css10
-rw-r--r--template/yoga/default-layout.css14
2 files changed, 10 insertions, 14 deletions
diff --git a/template/yoga/default-colors.css b/template/yoga/default-colors.css
index 9d9205864..9613b0eaf 100644
--- a/template/yoga/default-colors.css
+++ b/template/yoga/default-colors.css
@@ -21,10 +21,16 @@
}
/* Tables & forms */
-input, select, textarea {
+INPUT, SELECT, TEXTAREA {
color:black;
+}
+INPUT, SELECT, TEXTAREA, FORM .nofocus {
background-color: #d3d3d3; /* lightgrey */
}
+FORM .focus {
+ background-color: #f5f5f5; /* whitesmoke */
+}
+
.errors { /* Errors display */
color: red;
@@ -39,7 +45,7 @@ input, select, textarea {
padding: 10px 50px 10px 10px;
}
-.errors ul li
+.errors UL LI
{
font-weight: normal;
}
diff --git a/template/yoga/default-layout.css b/template/yoga/default-layout.css
index 5d6705a4f..545fecf7e 100644
--- a/template/yoga/default-layout.css
+++ b/template/yoga/default-layout.css
@@ -1,7 +1,5 @@
/* $Id$ */
-/* * { padding: 0 !important; margin: 0 !important; } */
-
BODY {
margin: 5px;
padding: 0;
@@ -114,12 +112,12 @@ LI.categoryLi {
margin-bottom: 5px;
}
-form#categoryOrdering ul.categoryActions {
+FORM#categoryOrdering UL.categoryActions {
float: right;
margin-top: 5px;
}
-form#cat_modify table { width: auto; }
+FORM#cat_modify TABLE { width: auto; }
/**
* Filter forms are displayed label by label with the input (or select...)
@@ -177,14 +175,6 @@ FORM.properties SPAN.property {
padding: 0 0.5em 0 0;
}
-FORM .focus {
- background-color: whitesmoke;
-}
-
-FORM .nofocus {
- background-color: lightgrey; /* must be the same as input background-color */
-}
-
FIELDSET.elementEdit A {
display: block;
float: right;