From 0484f869185782fb6a5e4fd1c43cea3e174a8c3e Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 8 Nov 2012 21:12:26 +0000 Subject: cleanup admin css git-svn-id: http://piwigo.org/svn/trunk@18976 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/clear/theme.css | 28 ++++++++-------------------- admin/themes/default/print.css | 2 +- admin/themes/default/template/group_list.tpl | 6 ++---- admin/themes/default/theme.css | 16 +--------------- admin/themes/roma/theme.css | 7 +++++-- 5 files changed, 17 insertions(+), 42 deletions(-) diff --git a/admin/themes/clear/theme.css b/admin/themes/clear/theme.css index 81e1fb069..d2514208a 100644 --- a/admin/themes/clear/theme.css +++ b/admin/themes/clear/theme.css @@ -25,26 +25,17 @@ INPUT, select, textarea { color:#666; background-color: #ccc; } option[disabled] { background-color: #ccc; } input[type="radio"], input[type="checkbox"] { background-color: transparent; } -INPUT[type="submit"], INPUT[type="button"], INPUT[type="reset"] { - color:#666; - border: 1px solid #777; - background-color: #ddd; - padding: 1px 15px; -} -INPUT[type="text"], INPUT[type="password"], INPUT[type="button"], -INPUT[type="submit"], INPUT[type="reset"], INPUT[type="file"] { +INPUT[type="text"], INPUT[type="password"], INPUT[type="file"] { background-color: #ddd; } -INPUT.text, INPUT.password, INPUT.button, -INPUT.submit, INPUT.reset, INPUT.file, SELECT, TEXTAREA { background-color: #ddd; } -INPUT:focus, SELECT:focus, TEXTAREA:focus, INPUT.focus, FORM .focus, INPUT.submit:hover { +INPUT:focus, SELECT:focus, TEXTAREA:focus { background-color: #eee; color: #666; } @@ -52,12 +43,6 @@ INPUT:focus, SELECT:focus, TEXTAREA:focus, INPUT.focus, FORM .focus, INPUT.submi INPUT, SELECT, TEXTAREA { border: 1px solid #999; } -INPUT[type="button"]:hover, INPUT[type="submit"]:hover, INPUT[type="reset"]:hover { - cursor:pointer; - color:#666; - border-color: #999; -} - #copyright { color:#777; margin:5px auto 0px 240px; text-align:center; padding-bottom: 15px; } @@ -70,8 +55,11 @@ padding-bottom: 15px; } width: 550px; top: 70px; } -html, body { min-height: 100%; } -body { margin: 0; padding: 0; background:#f9f9f9 } +html, body { + min-height: 100%; + background-color: #f9f9f9; +} + /* #the_page { margin: 0; padding: 0; z-index: 1; top:0px; */ /* padding-top: 0; min-height: 100%; width:100%; position:absolute; left:0px; } */ #headbranch { width: 233px; height: 240px; margin: 0; padding: 0; @@ -109,7 +97,6 @@ TEXTAREA { cursor:text; font-size: 13px; } .tagSelection LI.tagSelected {background-color:#dbe8f3;} .tagSelected LABEL {color:black;} -.content ul.categoryActions a img { margin-left: 10px; } ul.thumbnails input { color:#666; font-size:10px; margin:0; background-color:#bbb; text-align: center;} INPUT.bigbutton:hover { background-color: #ddd; color:#0cc; border: 0; } .throw { font-size: 120%; line-height: 26px; padding-top: 10px; font-weight: bold; } @@ -311,6 +298,7 @@ input[type="submit"], input[type="button"], input[type="reset"], a.bigButton { } input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover, a.bigButton:hover { + cursor: pointer; background-color:#ff7700; color:white; } diff --git a/admin/themes/default/print.css b/admin/themes/default/print.css index e59aba459..9e2998f8e 100644 --- a/admin/themes/default/print.css +++ b/admin/themes/default/print.css @@ -1,4 +1,4 @@ -#menubar, .content .navigationBar, UL.categoryActions, +#menubar, .content .navigationBar, .navThumb, #addComment { display: none; } diff --git a/admin/themes/default/template/group_list.tpl b/admin/themes/default/template/group_list.tpl index c12c89d0d..1d89362ce 100644 --- a/admin/themes/default/template/group_list.tpl +++ b/admin/themes/default/template/group_list.tpl @@ -9,11 +9,9 @@ + + -

- - -

diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css index 4c1d991c1..e9dec5740 100644 --- a/admin/themes/default/theme.css +++ b/admin/themes/default/theme.css @@ -6,13 +6,9 @@ .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; } 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; overflow: hidden; width: 100%; /* don't ask why. It's a very usefull trick */ } @@ -174,12 +170,6 @@ LI.categoryLi { border-radius:5px; } -FORM#categoryOrdering UL.categoryActions { - float: right; - height:45px; - line-height:45px; -} -/* */ /* menuOrdering */ FORM#menuOrdering { @@ -286,8 +276,6 @@ left: 60px; /*position where enlarged image should offset horizontally */ } BODY { - margin: 5px; - padding: 0; font-size: 0.8em; font-family: "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif; text-align: center; /* be nice to IE5 */ @@ -909,14 +897,12 @@ legend {text-align:left;} /* Tables & forms */ -INPUT.text, INPUT.password, INPUT.button, -INPUT.submit, INPUT.reset, INPUT.file, SELECT, TEXTAREA { color:#999; background-color: #666; } -INPUT:focus, SELECT:focus, TEXTAREA:focus, INPUT.focus, FORM .focus { +INPUT:focus, SELECT:focus, TEXTAREA:focus { background-color: #444; /* whitesmoke */ } diff --git a/admin/themes/roma/theme.css b/admin/themes/roma/theme.css index 7abc7551c..85b04e2e2 100644 --- a/admin/themes/roma/theme.css +++ b/admin/themes/roma/theme.css @@ -72,12 +72,15 @@ UL.thumbnails span.wrap2 { /* borders */ 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; } +input:focus, select:focus, textarea:focus { + background-color: #444; + color: #999; +} + TEXTAREA { cursor:text; font-size: 13px; } .tagSelection label { padding-right:12px; } .tagSelection LI.tagSelected {background-color:#aaa;} .tagSelected LABEL {color:#000;} -.content ul.categoryActions a img { margin-left: 10px; } ul.thumbnails input { color:#999; font-size:10px; margin:0; background-color:#444; text-align: center;} INPUT[type="submit"]:hover , INPUT[type="reset"]:hover { cursor: pointer; } INPUT.bigbutton:hover { background-color: #222; color:#f33; border: 0; } -- cgit v1.2.3