aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-03-25 22:03:28 +0000
committerplegall <plg@piwigo.org>2010-03-25 22:03:28 +0000
commitd0f73ea10f26e56461d6b458b2a675e388e30418 (patch)
tree5215fc15a0fb61e90f6b94ee062f3c423b3625f3 /admin/themes
parent5c5681ce0cc7363f700c6ed86d069016718e64bb (diff)
bug 1495: "infos" and "errors" blocks are more visible for the "roma" admin
theme. I have simply used the same CSS rules as for "clear" theme. git-svn-id: http://piwigo.org/svn/trunk@5364 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/themes/clear/icon/errors.pngbin3249 -> 0 bytes
-rw-r--r--admin/themes/clear/icon/note.pngbin1862 -> 0 bytes
-rw-r--r--admin/themes/clear/theme.css6
-rw-r--r--admin/themes/default/default-colors.css26
-rw-r--r--admin/themes/default/default-layout.css20
-rw-r--r--admin/themes/default/icon/errors.pngbin1224 -> 3249 bytes
-rw-r--r--admin/themes/default/icon/note.pngbin1332 -> 1862 bytes
-rw-r--r--admin/themes/roma/theme.css17
8 files changed, 36 insertions, 33 deletions
diff --git a/admin/themes/clear/icon/errors.png b/admin/themes/clear/icon/errors.png
deleted file mode 100644
index 3c8a37df5..000000000
--- a/admin/themes/clear/icon/errors.png
+++ /dev/null
Binary files differ
diff --git a/admin/themes/clear/icon/note.png b/admin/themes/clear/icon/note.png
deleted file mode 100644
index 5849f791b..000000000
--- a/admin/themes/clear/icon/note.png
+++ /dev/null
Binary files differ
diff --git a/admin/themes/clear/theme.css b/admin/themes/clear/theme.css
index f436bbeb2..9a83f9e2e 100644
--- a/admin/themes/clear/theme.css
+++ b/admin/themes/clear/theme.css
@@ -8,12 +8,16 @@ input[type="radio"], input[type="checkbox"] { background-color: transparent; }
INPUT[type="submit"], INPUT[type="reset"] { color:#666; border: 1px solid #777; background-color: #bbb; padding: 1px 15px; }
input.rateButton, legend, h3 { color: #777; }
h2 { color: #777; }
+
.content .infos { color: #0a0; border:0; background: transparent url(icon/infos.png) no-repeat 5px 5px;
-padding:5px 70px 0pt 30px; min-height: 54px; text-align:left; background-color:#c2f5c2;}
+padding:5px 70px 0pt 30px; min-height: 54px; background-color:#c2f5c2;}
+
.content .infos .submit {margin-left:30px;}
.content .infos li, .content .errors li { list-style-type:square; }
+
.content .errors { color: #f22; border:0; background: transparent url(icon/errors.png) no-repeat left top;
padding:5px 60px 0pt 30px; min-height: 54px; text-align:left; font-weight:bold; background-position:5px 5px; background-color: #ffd5dc;}
+
#copyright { color:#777; margin:5px auto 0px 240px; text-align:center;
padding-bottom: 15px; }
.header_notes { background: transparent url(icon/note.png) no-repeat right top;
diff --git a/admin/themes/default/default-colors.css b/admin/themes/default/default-colors.css
index 1fc682602..e855752d8 100644
--- a/admin/themes/default/default-colors.css
+++ b/admin/themes/default/default-colors.css
@@ -27,32 +27,6 @@ INPUT.radio, INPUT.checkbox {
border: none; /* <= IE6 needs this */
}
-.errors { /* Errors display */
- color: #f33;
- background-color: transparent;
- font-weight: bold;
- text-align: left;
- margin: 5px;
- border: 1px solid #666;
- background-image: url(icon/errors.png);
- background-repeat: no-repeat;
- background-position: top right;
- padding: 10px 50px 10px 10px;
-}
-
-/**
- * Informations box in administration
- */
-.infos {
- text-align: left;
- color: #f70;
- background-color: transparent;
- background-image: url(icon/infos.png);
- background-repeat: no-repeat;
- background-position: top right;
- margin: 5px;
- padding: 10px 50px 10px 10px;
-}
/**
* Header message like upgrade or adviser mode
diff --git a/admin/themes/default/default-layout.css b/admin/themes/default/default-layout.css
index 68cba396e..a4939889c 100644
--- a/admin/themes/default/default-layout.css
+++ b/admin/themes/default/default-layout.css
@@ -768,4 +768,22 @@ h2:lang(en) { text-transform:capitalize; }
#helpContent LI, #ftpPage LI {margin-top:10px;}
#helpContent P.nextStepLink {text-align:center; font-weight:bold; margin-bottom:20px;}
-#configContent FIELDSET {border:none;} \ No newline at end of file
+#configContent FIELDSET {border:none;}
+
+/**
+ * Informations box in administration
+ */
+.infos {
+ text-align: left;
+ margin: 5px;
+ padding: 10px 50px 10px 10px;
+ font-weight:bold;
+}
+
+.errors { /* Errors display */
+ text-align: left;
+ margin: 5px;
+ font-weight:bold;
+}
+
+.content .infos li, .content .errors li { list-style-type:square; }
diff --git a/admin/themes/default/icon/errors.png b/admin/themes/default/icon/errors.png
index e26d8c6e5..3c8a37df5 100644
--- a/admin/themes/default/icon/errors.png
+++ b/admin/themes/default/icon/errors.png
Binary files differ
diff --git a/admin/themes/default/icon/note.png b/admin/themes/default/icon/note.png
index 9ef1af537..5849f791b 100644
--- a/admin/themes/default/icon/note.png
+++ b/admin/themes/default/icon/note.png
Binary files differ
diff --git a/admin/themes/roma/theme.css b/admin/themes/roma/theme.css
index 8fcf4c5e6..37a8a54c6 100644
--- a/admin/themes/roma/theme.css
+++ b/admin/themes/roma/theme.css
@@ -9,12 +9,19 @@ input[type="radio"], input[type="checkbox"] { background-color: transparent; }
INPUT[type="submit"], INPUT[type="reset"] { color:#999; border: 1px solid #666; background-color: #444; padding: 1px 15px; }
input.rateButton, legend, h3 { color: #666; }
h2 { color: #ccc; }
-.content .infos { color: #f70; border:0; background-color: transparent;
-padding:5px 60px 0pt 10pt; min-height: 48px; text-align:left; background-position:left top;}
+
+/* .content .infos { color: #f70; border:0; background-color: transparent; */
+/* padding:5px 60px 0pt 10pt; min-height: 48px; text-align:left; background-position:left top;} */
+
+.content .infos { color: #008200; border:0; background: transparent url(../clear/icon/infos.png) no-repeat 5px 5px;
+padding:5px 70px 0pt 30px; min-height: 54px; background-color:#c2f5c2;}
+
+
.content .infos .submit {margin-left:30px;}
-.content .infos li, .content .errors li { list-style-type:none; }
-.content .errors { color: #f33; border:0; background-color: transparent;
-padding:5px 60px 0pt 10pt; min-height: 48px; text-align:left; font-weight:bold; background-position:left top; }
+
+.content .errors { color: #f33; border:0; background: #ffd5dc url(../clear/icon/errors.png) no-repeat 5px 5px;
+padding:5px 60px 0pt 30px; min-height: 54px; text-align:left; }
+
.header_notes { background: transparent url(../../icon/note.png) no-repeat right top;
border:0; font-weight:bold; min-height: 48px;
padding:15px 60px 0 0; position:absolute; right:0;