removed unused css rules

git-svn-id: http://piwigo.org/svn/trunk@12670 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices 2011-11-29 04:44:13 +00:00
parent 45dcf686ee
commit 8ce9bc9d39
6 changed files with 28 additions and 20 deletions

View file

@ -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);}

View file

@ -1,5 +1,5 @@
#menubar, .content .navigationBar, UL.categoryActions,
#imageToolBar, .navThumb, #addComment {
.navThumb, #addComment {
display: none;
}

View file

@ -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; }

View file

@ -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;}

View file

@ -929,12 +929,9 @@ function get_default_theme()
// let's find the first available theme
$active_themes = get_pwg_themes();
foreach (array_keys(get_pwg_themes()) as $theme_id)
{
if (check_theme_installed($theme_id))
{
return $theme_id;
}
}
}
/*

View file

@ -310,7 +310,6 @@ TD.calDayHead {
#imageHeaderBar {
padding-top: 2px;
padding-bottom: 2px;
margin-top: 4px;
overflow: hidden;
width: 100%;
}