diff options
author | rvelices <rv-github@modusoptimus.com> | 2011-11-29 04:44:13 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2011-11-29 04:44:13 +0000 |
commit | 8ce9bc9d394a690543c98d4108d8834b45482690 (patch) | |
tree | 2a047d7a2383120b78e76bac936ef3336832dc31 | |
parent | 45dcf686ee3869086b5746d967a9fa24455c228e (diff) |
removed unused css rules
git-svn-id: http://piwigo.org/svn/trunk@12670 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r-- | admin/themes/clear/theme.css | 20 | ||||
-rw-r--r-- | admin/themes/default/print.css | 2 | ||||
-rw-r--r-- | admin/themes/default/theme.css | 9 | ||||
-rw-r--r-- | admin/themes/roma/theme.css | 11 | ||||
-rw-r--r-- | include/functions_user.inc.php | 5 | ||||
-rw-r--r-- | themes/default/theme.css | 1 |
6 files changed, 28 insertions, 20 deletions
diff --git a/admin/themes/clear/theme.css b/admin/themes/clear/theme.css index 1bdde8df6..2a8c0a3bc 100644 --- a/admin/themes/clear/theme.css +++ b/admin/themes/clear/theme.css @@ -15,8 +15,11 @@ .gcBorderInput { border-color:#777777; } used for inputs */ /* text color */ -.theme_title { left: 15px; color: #000; text-align: left;} -body, h3, dt, h2, .throw, .content, label { color:#777; } + +body, h3, dt, h2, .throw, .content, label , LEGEND { + color:#777; +} + th { color: #888; } INPUT, select, textarea { color:#666; background-color: #ccc; } input[type="radio"], input[type="checkbox"] { background-color: transparent; } @@ -28,8 +31,6 @@ INPUT[type="submit"], INPUT[type="button"], INPUT[type="reset"] { padding: 1px 15px; } -legend, h3 { color: #777; } -h2 { color: #777; } INPUT[type="text"], INPUT[type="password"], INPUT[type="button"], INPUT[type="submit"], INPUT[type="reset"], INPUT[type="file"] { @@ -75,7 +76,7 @@ body { margin: 0; padding: 0; background:#f9f9f9 } #headbranch { width: 233px; height: 240px; margin: 0; padding: 0; position:absolute; left:0px; top:0px; z-index: 0; background:transparent } -h3, #imageToolBar a:hover, .content, .throw, .row1 { background-color: #ddd; } +h3, .content, .throw, .row1 { background-color: #ddd; } .row2 { background-color:#eeeeee; } #content { background: #f1f1f1; min-height: 467px;} @@ -131,7 +132,6 @@ ul.actions, .content form#waiting {text-align:center;} .header_msgs { background:transparent url(images/header_msgs-bg.gif) repeat scroll right top; border:0; color:#ccc; font-size:24px; height:30px; margin:0; padding:10px 0 0; text-align:center; width:100%; } -#content.content div.comment a.illustration{ margin-right: 30px;} /* tabsheets are often used in admin pages => No specific css files */ #tabsheet { width:auto; margin:-1px; margin-right:-6px; padding:0; @@ -255,8 +255,12 @@ display:block; height:85px; left:225px; position:relative; top:-42px; width:313p #helpContent A {border-bottom:1px dotted #005E89;} #helpContent A:hover {border-bottom:1px solid #d54e21;} -#pwgHead, #footer {background-color:#ddd;} -#pwgHead, #footer {color:#666;} +#pwgHead, #footer { + background-color: #ddd; + color: #666; +} + + #pwgHead A, #footer A {color:#444;} #pwgHead A:hover, #footer A:hover {color:black; border-color:black;} #footer { background-image: url(images/piwigo_logo_small.png);} diff --git a/admin/themes/default/print.css b/admin/themes/default/print.css index 88c9ef4a1..e59aba459 100644 --- a/admin/themes/default/print.css +++ b/admin/themes/default/print.css @@ -1,5 +1,5 @@ #menubar, .content .navigationBar, UL.categoryActions, -#imageToolBar, .navThumb, #addComment { +.navThumb, #addComment { display: none; } diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css index 515fe062b..072319bf0 100644 --- a/admin/themes/default/theme.css +++ b/admin/themes/default/theme.css @@ -15,8 +15,13 @@ ul.categoryActions { margin: 0 2px; width: auto; list-style-position:outside; .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 */ } -.content div.comment a.illustration { - display: block; float: left; margin: 0.5em 0 0 0.5em; } + +.content DIV.comment A.illustration { + display: block; + float: left; + margin: 0.5em 30px 0 0.5em; +} + .content div.comment p.commentHeader { text-align: right; margin: 0.5em 0.5em 0 0; } .content div.comment ul.actions { text-align: center; margin: 0.2em; } diff --git a/admin/themes/roma/theme.css b/admin/themes/roma/theme.css index ad891f57f..f795edd9f 100644 --- a/admin/themes/roma/theme.css +++ b/admin/themes/roma/theme.css @@ -15,14 +15,17 @@ .gcBorderInput { border-color:#666666; } used for inputs */ /* text color */ -body, h3, dt, h2, .throw, .content, label { color:#666; } +body, h3, dt, .throw, .content, label, LEGEND { + color:#666; +} + INPUT, select, textarea { color:#999; background-color: #444; } option[disabled] { background-color: #999; color: #444; } input[type="radio"], input[type="checkbox"] { background-color: transparent; } /* INPUT[type="checkbox"], INPUT[type="radio"] { color:#999; background-color: #eee; } */ INPUT[type="submit"], INPUT[type="reset"] { color:#999; border: 1px solid #666; background-color: #444; padding: 1px 15px; } -legend, h3 { color: #666; } + h2 { color: #ccc; } .header_notes { @@ -42,7 +45,7 @@ background-color:#111111; } #headbranch { width: 233px; height: 240px; margin: 0; padding: 0; position:absolute; left:0px; top:0px; z-index: 0; } -h3, #imageToolBar a:hover, .row2, .content { background-color: #222; } +h3, .row2, .content { background-color: #222; } .throw, .row1 { background-color:#111; } .throw em { font-style: normal; color: #ff3363; } @@ -104,7 +107,7 @@ ul.actions, .content form#waiting {text-align:center;} .header_msgs { background:transparent url(images/header_msgs-bg.gif) repeat scroll right top; border:0; color:#333; font-size:24px; height:30px; margin:0; padding:10px 0 0; text-align:center; width:100%; } -#content.content div.comment a.illustration{ margin-right: 30px;} + /* tabsheets are often used in admin pages => No specific css files */ #tabsheet { width:auto; margin:-1px; margin-right:-6px; padding:0; border:1px solid #111111; border-bottom:1px solid #ff3363; background-color:#111111;} diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php index be8962e09..63925cfd8 100644 --- a/include/functions_user.inc.php +++ b/include/functions_user.inc.php @@ -930,10 +930,7 @@ function get_default_theme() $active_themes = get_pwg_themes(); foreach (array_keys(get_pwg_themes()) as $theme_id) { - if (check_theme_installed($theme_id)) - { - return $theme_id; - } + return $theme_id; } } diff --git a/themes/default/theme.css b/themes/default/theme.css index 8947dfddd..b6b5cbf1f 100644 --- a/themes/default/theme.css +++ b/themes/default/theme.css @@ -310,7 +310,6 @@ TD.calDayHead { #imageHeaderBar { padding-top: 2px; padding-bottom: 2px; - margin-top: 4px; overflow: hidden; width: 100%; } |