From 491e1f9e82a484663e4419b4247efc382873e326 Mon Sep 17 00:00:00 2001 From: spocky Date: Mon, 17 Mar 2008 18:52:04 +0000 Subject: Minor changes to shoutbox Fixed greysme tables font-size on ff3 --- templates/show_shoutbox.inc.php | 4 ++-- themes/classic/templates/default.css | 27 ++++++++++++++------------- themes/greysme/templates/default.css | 22 ++++++++++++---------- 3 files changed, 28 insertions(+), 25 deletions(-) diff --git a/templates/show_shoutbox.inc.php b/templates/show_shoutbox.inc.php index aea1d30a..9d99620e 100644 --- a/templates/show_shoutbox.inc.php +++ b/templates/show_shoutbox.inc.php @@ -22,7 +22,7 @@
object_type,$shout->object_id); @@ -30,7 +30,7 @@ $client = new User($shout->user); $client->format(); - $rowparity = ($rowparity=="shouteven") ? "shoutodd" : "shouteven"; + $rowparity = ($rowparity=="even") ? "odd" : "even"; ?>
get_image(); ?> diff --git a/themes/classic/templates/default.css b/themes/classic/templates/default.css index 39687fab..481a19e5 100644 --- a/themes/classic/templates/default.css +++ b/themes/classic/templates/default.css @@ -292,12 +292,12 @@ a.button{padding:1px 3px;} /* XSPF Player */ /************************************************/ #xspf_player { - width:400px; - float: left; - background:#fff; - font-family: Verdana,Helvetica,sans-serif; + width:400px; + float: left; + background:#fff; + font-family: Verdana,Helvetica,sans-serif; } - + /************************************************/ /* Rightbar */ /************************************************/ @@ -527,12 +527,12 @@ a.button{padding:1px 3px;} } /* table rows */ -.odd, .odd td, -.even, .even td, .row-highlight { +.tabledata .odd, .tabledata .odd td, +.tabledata .even, .tabledata .even td, .row-highlight { font-size: 12px; border-bottom:1px dotted #c0c0c0; } -.even:hover, .odd:hover { +.tabledata .even:hover, .tabledata .odd:hover { background:#99ccff; } .row-highlight:hover { @@ -621,15 +621,16 @@ td.cel_cover{padding:6px;} margin:10px 5px 0 0; border-top:1px dotted #c0c0c0; } +#shoutbox div.shout:hover{border-top:1px solid #9cf;} #shoutbox span.information {} -#shoutbox .shouttext{display:block;} +#shoutbox .shouttext{display:block;font-size:.9em;margin-top:.5em;} img.shoutboximage { margin:0 3px;} -#shoutbox div.shoutodd{margin-right:20%;text-align:left;} -#shoutbox div.shouteven{margin-left:20%;text-align:right;} -.shoutodd img.shoutboximage {float:left;} -.shouteven img.shoutboximage {float:right;} +#shoutbox div.odd{margin-right:20%;text-align:left;} +#shoutbox div.even{margin-left:20%;text-align:right;} +#shoutbox .odd img.shoutboximage {float:left;} +#shoutbox .even img.shoutboximage {float:right;} /************************************************/ /* List Header */ diff --git a/themes/greysme/templates/default.css b/themes/greysme/templates/default.css index 982939c0..c086e0c1 100644 --- a/themes/greysme/templates/default.css +++ b/themes/greysme/templates/default.css @@ -98,7 +98,7 @@ body { behavior:url("templates/csshover2.htc"); } /* float clearing for everyone else */ .clearfix:after{ clear: both; content: "."; display: block; height: 0; visibility: hidden; } - + /************************************************/ /* Main Container */ /************************************************/ @@ -316,12 +316,12 @@ input[type=checkbox] { border:0;background:none; } /************************************************/ #xspf_player { width:410px; - position: relative; - float: left; + position: relative; + float: left; font-family: Verdana,Helvetica,sans-serif; } - + /************************************************/ /* Rightbar */ /************************************************/ @@ -545,6 +545,7 @@ input[type=checkbox] { border:0;background:none; } .tabledata .th-top, .tabledata .th-bottom { background: #111; vertical-align: top; + font-size:1em; } .tabledata th { color:#8b3e38; @@ -571,10 +572,11 @@ input[type=checkbox] { border:0;background:none; } } /* table rows */ -.odd, .even, .row-highlight { background: url(../images/list_back.png) 0 50% repeat-x !important; background-image: none;} -.odd { background-color: #111 !important;} -.even { } -.odd:hover, .even:hover { background-color: #2b293d !important;} +.tabledata .odd, .tabledata .even, .row-highlight { background: url(../images/list_back.png) 0 50% repeat-x !important; background-image: none;} +.tabledata .odd { background-color: #111 !important;} +.tabledata .even { } +.tabledata .odd:hover, +.tabledata .even:hover { background-color: #2b293d !important;} .row-highlight:hover { background-color: #cc3333 !important;} /* Misc */ @@ -683,8 +685,8 @@ img.shoutboximage { height:25px; position:absolute;margin-left:-30px; } -.shoutodd img.shoutboximage {/*float:right;*/} -.shouteven img.shoutboximage {/*float:right;*/} +#shoutbox .odd img.shoutboximage {/*float:right;*/} +#shoutbox .even img.shoutboximage {/*float:right;*/} div.shout:hover img.shoutboximage{width:75px;height:75px;position:absolute;top:50%;right:0;margin-top:-38px} -- cgit