Skip to content

Commit

Permalink
bug 1495: "infos" and "errors" blocks are more visible for the "roma"…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
plegall committed Mar 25, 2010
1 parent 5c5681c commit d0f73ea
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 33 deletions.
Binary file removed admin/themes/clear/icon/errors.png
Binary file not shown.
Binary file removed admin/themes/clear/icon/note.png
Binary file not shown.
6 changes: 5 additions & 1 deletion admin/themes/clear/theme.css
Expand Up @@ -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;
Expand Down
26 changes: 0 additions & 26 deletions admin/themes/default/default-colors.css
Expand Up @@ -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
Expand Down
20 changes: 19 additions & 1 deletion admin/themes/default/default-layout.css
Expand Up @@ -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;}
#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; }
Binary file modified admin/themes/default/icon/errors.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified admin/themes/default/icon/note.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 12 additions & 5 deletions admin/themes/roma/theme.css
Expand Up @@ -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;
Expand Down

0 comments on commit d0f73ea

Please sign in to comment.