From 0830ee14134df4b872e470450cfbdd3e2a873b10 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 15 Nov 2011 21:13:02 +0000 Subject: remove some useless css admin rules git-svn-id: http://piwigo.org/svn/trunk@12633 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/clear/theme.css | 16 ++++++------- admin/themes/default/theme.css | 51 ++++++++++++++++++++---------------------- admin/themes/roma/theme.css | 30 ++++++++++++------------- 3 files changed, 45 insertions(+), 52 deletions(-) diff --git a/admin/themes/clear/theme.css b/admin/themes/clear/theme.css index a29da9e7a..1bdde8df6 100644 --- a/admin/themes/clear/theme.css +++ b/admin/themes/clear/theme.css @@ -92,18 +92,17 @@ h3, #imageToolBar a:hover, .content, .throw, .row1 { background-color: #ddd; } .content div.titrePage { height:40px; } -UL.thumbnails span.wrap2:hover { background-color:#eee; border:1px solid #0cc9c; color:#999; } -UL.thumbnails span.wrap2 { border:1px solid #999; padding: 4px; } -UL.thumbnails span.wrap2 { -moz-border-radius:4px; } -UL.thumbnails span.wrap1 { margin:0 12px 5px; } +UL.thumbnails span.wrap2:hover { background-color:#7CBA0F; color:#999; } +UL.thumbnails span.wrap2 { + padding: 4px; + border-radius: 4px; + background-color:#ddd; +} + /* borders */ fieldset { border: 2px solid #ddd; } TEXTAREA { cursor:text; font-size: 13px; } -UL.thumbnails SPAN.wrap2 { - border: 1px solid #555555; /* thumbnails border color and style */ - border-radius: 4px 4px; /* round corners with CSS3 compliant browsers */ -} .tagSelection label { padding-right:12px; } .tagSelection LI.tagSelected {background-color:#dbe8f3;} .tagSelected LABEL {color:black;} @@ -275,6 +274,5 @@ display:block; height:85px; left:225px; position:relative; top:-42px; width:313p UL.thumbnails li.rank-of-image {background-color: #ddd;} -#batchManagerGlobal ul.thumbnails span.wrap2 {background-color:#ddd;} #batchManagerGlobal .thumbSelected {background-color:#C2F5C2 !important} #batchManagerGlobal #selectedMessage {background-color:#C2F5C2;} diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css index 1b1381673..515fe062b 100644 --- a/admin/themes/default/theme.css +++ b/admin/themes/default/theme.css @@ -6,14 +6,14 @@ .content form { text-align: left; } .content dt { margin-bottom: 5px; font-style: italic; font-size: 110%; } -.content ul.categoryActions a img, ul.categoryActions a { -border:0; margin-bottom:-5px; } +.content ul.categoryActions a img, ul.categoryActions a { +border:0; margin-bottom:-5px; } ul.categoryActions { margin: 0 2px; width: auto; list-style-position:outside; padding: 0; text-indent: 0; list-style: none; text-align: center; } .content div.titrePage ul.categoryActions { float: right; } .content div.titrePage { padding: 0 0 3px; } .content ul.categoryActions li { display: inline; } -.content div.comment { margin: 0 0 0.5em 0; padding: 0; +.content div.comment { margin: 0 0 0.5em 0; padding: 0; overflow: hidden; width: 100%; /* don't ask why. It's a very usefull trick */ } .content div.comment a.illustration { display: block; float: left; margin: 0.5em 0 0 0.5em; } @@ -33,7 +33,7 @@ UL.thumbnails { float: left; } UL.thumbnails LI { display: inline } -UL.thumbnails li.rank-of-image { +UL.thumbnails li.rank-of-image { float: left; background-color: #333; color: #666; @@ -56,7 +56,7 @@ UL.thumbnails li.rank-of-image { UL.thumbnails li.rank-of-image input { } UL.thumbnails SPAN.wrap1 { - margin: 0 5px 5px 5px; + margin: 5px; display: table-cell; display: inline-table; display: inline-block; /* Why 3 display option ??? */ vertical-align: top; /* OK with Opera and IE6 not Geko */ @@ -145,7 +145,7 @@ FORM#categoryOrdering .orderParams { SELECT.categoryList { width: 100%; } - + FORM#categoryOrdering { padding-left: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */ padding-right: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */ @@ -368,8 +368,8 @@ A { A:hover { border-bottom: 1px solid #FF3363; } -A.button, A.button:hover { - border: 0; +A.button, A.button:hover { + border: 0; } IMG { border: none; @@ -575,7 +575,7 @@ UL.tagSelection LI { /* jQuery datepicker */ img.ui-datepicker-trigger { cursor : pointer; - vertical-align: middle; + vertical-align: middle; margin:-3px 5px 2px 5px; } @@ -767,15 +767,15 @@ html, body {height:100%; margin:0; padding:0;} } /* Webkit Hacks */ -@media screen and (-webkit-min-device-pixel-ratio:0) { +@media screen and (-webkit-min-device-pixel-ratio:0) { #tiptip_content { padding: 4px 8px 5px 8px; background-color: rgba(45,45,45,0.88); } - #tiptip_holder.tip_bottom #tiptip_arrow_inner { + #tiptip_holder.tip_bottom #tiptip_arrow_inner { border-bottom-color: rgba(45,45,45,0.88); } - #tiptip_holder.tip_top #tiptip_arrow_inner { + #tiptip_holder.tip_top #tiptip_arrow_inner { border-top-color: rgba(20,20,20,0.92); } } @@ -784,13 +784,13 @@ html, body {height:100%; margin:0; padding:0;} #menubar { width: 18em; margin: 10px 0 50px 5px; - display: inline; - float: left; - left: 0; + display: inline; + float: left; + left: 0; } .content { - padding:0 5px 0 0; + padding:0 5px 0 0; margin: 0 5px 0 227px; z-index:99; } @@ -897,16 +897,16 @@ h2:lang(en) { text-transform:capitalize; } .pluginBoxes .inactive, .pluginBoxes .uninstalled {opacity:0.8;filter:alpha(opacity=80);} .pluginMiniBox { - display:inline-table; - text-align:center; - width:250px; - height:40px; - margin:5px; + display:inline-table; + text-align:center; + width:250px; + height:40px; + margin:5px; border-width:1px; border-style:solid; border-radius:5px; -moz-border-radius:5px; - overflow:hidden; + overflow:hidden; } .pluginMiniBoxNameCell {font-size:1.05em; margin:5px 0;position:relative;} .pluginActions {display: table-row; font-size:0.95em; color:#777;} @@ -958,7 +958,7 @@ INPUT.text, INPUT.password, INPUT.button, INPUT.submit, INPUT.reset, INPUT.file, SELECT, TEXTAREA { color:#999; - background-color: #666; + background-color: #666; } INPUT:focus, SELECT:focus, TEXTAREA:focus, INPUT.focus, FORM .focus { @@ -996,7 +996,7 @@ INPUT.radio, INPUT.checkbox { font-weight: bold; margin: 14px 24px 14px 14px; padding: 5px 0 0 0; - top: 90px; + top: 90px; position: absolute; text-align: right; } @@ -1012,9 +1012,6 @@ LEGEND { #batchManagerGlobal .bulkAction {text-align:left;margin:15px 0;padding:0;} #batchManagerGlobal #action_del_tags ul.tagSelection {margin:0 !important; width:620px;} #batchManagerGlobal #checkActions {text-align:left; margin:0 0 20px 0;} -#batchManagerGlobal ul.thumbnails span.wrap1 {margin:5px} -#batchManagerGlobal ul.thumbnails span.wrap2 {border:0} -#batchManagerGlobal ul.thumbnails span.wrap2:hover {background-color:#7CBA0F;} #batchManagerGlobal ul.thumbnails div.actions {display:none;position:absolute;top:0;right:5px;} #batchManagerGlobal ul.thumbnails div.actions a {color:#222;} #batchManagerGlobal ul.thumbnails span.wrap1:hover div.actions {display:block;} diff --git a/admin/themes/roma/theme.css b/admin/themes/roma/theme.css index 73de4410a..ad891f57f 100644 --- a/admin/themes/roma/theme.css +++ b/admin/themes/roma/theme.css @@ -25,13 +25,13 @@ INPUT[type="submit"], INPUT[type="reset"] { color:#999; border: 1px solid #666; legend, h3 { color: #666; } h2 { color: #ccc; } -.header_notes { +.header_notes { background: transparent url(../default/icon/note.png) no-repeat right top; - border: none; + border: none; min-height: 48px; - padding: 15px 60px 0 0; + padding: 15px 60px 0 0; right: 0; - width: 550px; + width: 550px; } html, body { min-height: 100%; } @@ -49,7 +49,7 @@ h3, #imageToolBar a:hover, .row2, .content { background-color: #222; } #content { min-height: 466px; margin-top: 15px; } .content { - border: 1px solid #222; + border: 1px solid #222; } .content h3 { font-size:20px; letter-spacing:-0.4px; margin:0 20px 12px 0; text-align:center; background:none; border: 0; } @@ -59,10 +59,13 @@ h3, #imageToolBar a:hover, .row2, .content { background-color: #222; } .content dl, dd { margin:5px; } -UL.thumbnails span.wrap2:hover { background-color:#111; border:1px solid #FF3363; color:#666; } -UL.thumbnails span.wrap2 { border:1px solid #666; padding: 4px; } -UL.thumbnails span.wrap2 { -moz-border-radius:4px; } -UL.thumbnails span.wrap1 { margin:0 12px 5px; } +UL.thumbnails span.wrap2:hover { background-color#7CBA0F; color:#666; } +UL.thumbnails span.wrap2 { + padding: 4px; + border-radius: 4px; + background-color:#333; +} + /* .throw, */ td h3 { background-image: url(images/fillet.png); background-repeat: repeat-x; } /* borders */ @@ -70,10 +73,6 @@ fieldset { border: 2px solid #333; } INPUT, SELECT, TEXTAREA { border: 1px solid #666; } input:focus, select:focus, textarea:focus, input.focus, form .focus { background-color:#444;color: #999; } TEXTAREA { cursor:text; font-size: 13px; } -UL.thumbnails SPAN.wrap2 { - border: 1px solid #aaaaaa; /* thumbnails border color and style */ - border-radius: 4px 4px; /* round corners with CSS3 compliant browsers */ -} .tagSelection label { padding-right:12px; } .tagSelection LI.tagSelected {background-color:#aaa;} .tagSelected LABEL {color:#000;} @@ -129,8 +128,8 @@ margin-top:4px; padding-bottom:3px; padding-top:3px; top:1px; /* menubar is on all admin pages => No specific css file */ #menubar { background:transparent url(images/menuBoxBottom_new.png) no-repeat scroll left bottom; -border:0; -padding:0; width:207px; z-index:99; text-align: left; +border:0; +padding:0; width:207px; z-index:99; text-align: left; } #menubar dd { @@ -239,7 +238,6 @@ display:block; height:85px; left:225px; position:relative; top:-42px; width:313p .languageName {color:#ccc;} .languageDefault {background-color:#555; color:#aaa;} -#batchManagerGlobal ul.thumbnails span.wrap2 {background-color:#333;} #batchManagerGlobal .thumbSelected {background-color:#555 !important} #batchManagerGlobal #selectedMessage {background-color:#555; color:#ddd;} -- cgit v1.2.3