summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspocky <spocky@ampache>2008-03-17 18:52:04 +0000
committerspocky <spocky@ampache>2008-03-17 18:52:04 +0000
commit491e1f9e82a484663e4419b4247efc382873e326 (patch)
tree253818cb3a75930f55208a336e5f9bb2ac4b443a
parent126dc77919b787e60c1220d51db7fbfeb05f08e7 (diff)
downloadampache-491e1f9e82a484663e4419b4247efc382873e326.tar.gz
ampache-491e1f9e82a484663e4419b4247efc382873e326.tar.bz2
ampache-491e1f9e82a484663e4419b4247efc382873e326.zip
Minor changes to shoutbox
Fixed greysme tables font-size on ff3
-rw-r--r--templates/show_shoutbox.inc.php4
-rw-r--r--themes/classic/templates/default.css27
-rw-r--r--themes/greysme/templates/default.css22
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 @@
<?php show_box_top(_('Shoutbox')); ?>
<div id="shoutbox">
<?php
- $rowparity="shouteven";
+ $rowparity="even";
foreach ($shouts as $shout_id) {
$shout = new shoutBox($shout_id);
$object = shoutBox::get_object($shout->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";
?>
<div class="shout <?php echo($rowparity) ?>">
<?php echo $shout->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}