summaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorspocky <spocky@ampache>2007-11-13 20:57:07 +0000
committerspocky <spocky@ampache>2007-11-13 20:57:07 +0000
commit1379769b18e6146e5a7c97c6a879fac4e41ff6b6 (patch)
tree1e9dc112e69d460c9e73da8daae19c16a864e3c7 /themes
parentab6ecea9dbc4b53a7442db6f3695d68f9ba36f99 (diff)
downloadampache-1379769b18e6146e5a7c97c6a879fac4e41ff6b6.tar.gz
ampache-1379769b18e6146e5a7c97c6a879fac4e41ff6b6.tar.bz2
ampache-1379769b18e6146e5a7c97c6a879fac4e41ff6b6.zip
- Updated Now Playing html/css
- Fixed Star-rating css - Updated Pager (5 elements around selected page# should be enough) - Updated Album class so that disk# is part of the link - Some more cleanup/updates to html/themes (hopefully it should be almost done in a week, so that themers can start theming on 3.4)
Diffstat (limited to 'themes')
-rw-r--r--themes/classic/templates/default.css85
-rw-r--r--themes/greysme/images/punaise-bl.gifbin990 -> 552 bytes
-rw-r--r--themes/greysme/images/punaise-br.gifbin989 -> 556 bytes
-rw-r--r--themes/greysme/images/punaise-tl.gifbin989 -> 555 bytes
-rw-r--r--themes/greysme/templates/default.css119
5 files changed, 94 insertions, 110 deletions
diff --git a/themes/classic/templates/default.css b/themes/classic/templates/default.css
index e03ec453..dbfe4287 100644
--- a/themes/classic/templates/default.css
+++ b/themes/classic/templates/default.css
@@ -338,9 +338,10 @@ a.button{padding:1px}
/************************************************/
.star-rating {
position:relative;
- display:inline;
}
-
+.dynamic-star-rating{
+ width:95px;
+}
.star-rating ul,
.star-rating a:hover,
.star-rating .current-rating{
@@ -371,14 +372,14 @@ a.button{padding:1px}
overflow:hidden;
border:none;
}
-.star-rating .one-stars { width:20%; z-index:6; }
-.star-rating .two-stars { width:40%; z-index:5; }
-.star-rating .three-stars { width:60%; z-index:4; }
-.star-rating .four-stars { width:80%; z-index:3; }
-.star-rating .five-stars { width:100%; z-index:2; }
+.star-rating .star1 { width:20%; z-index:6; }
+.star-rating .star2 { width:40%; z-index:5; }
+.star-rating .star3 { width:60%; z-index:4; }
+.star-rating .star4 { width:80%; z-index:3; }
+.star-rating .star5 { width:100%; z-index:2;}
.star-rating .current-rating { z-index:1; background-position: left bottom; }
-.star-rating a.zero-stars {
+.star-rating a.star0 {
left:80px;
width:16px;
background: url(../../../images/ratings/x_off.gif) left top;
@@ -388,7 +389,7 @@ a.button{padding:1px}
.dynamic-star-rating a:hover{
background-position: left center;
}
-.dynamic-star-rating a:hover.zero-stars {
+.dynamic-star-rating a:hover.star0 {
background: url(../../../images/ratings/x.gif) left top;
}
@@ -496,24 +497,10 @@ a.button{padding:1px}
#content {
margin: 20px 135px 20px 135px;
}
-h3#content_title{
- font: 12px/32px Arial,Helvetica,Sans-Serif;
- background:#8b8b8b url(../images/content_corner.gif) no-repeat right top;
- color:#fff;
-}
-h3#content_title span {
- text-align:left;
-}
-
-
-
-
-
/************************************************/
/* Albums of the moment */
/************************************************/
-
.random_album
{
position:relative;
@@ -528,45 +515,41 @@ h3#content_title span {
}
/************************************************/
-/* Now Playing Styles */
+/* Now Playing */
/************************************************/
-#nowplaying{
- clear: both;
- width: 600px;
+#now_playing{
}
-#np_container1{
- width: 260px;
- height: 18px;
- background: #fff url(../images/tb_tab.jpg) no-repeat top left;
+.np_row {
+ padding: 3px;
+ float:left;
+ clear:both;
+ font-size:0.75em;
}
-
-#np_container1 h1{
- font-size: 10px;
- font-weight: bold;
- padding: 2px;
+.np_cell {
+ padding-left:5px;
+ margin-left:5px;
}
-#np_container2{
- border: 1px solid #999;
- border-color:#ddd #999 #999 #ccc;
- padding: 6px;
- font: 10px/12px Verdana, sans-serif;
- background: #d6d6d4 url(../images/bg_row.jpg) repeat top left;
- color: #000;
-}
-.np_row {
- padding: 3px 0;
+.np_row label {
+ display:block;
+ font-weight:bold;
+ margin:2px 0 0 -5px;
}
-.np_cell, .np_cell_left, .np_cell_m, .np_cell_right {
- margin: 10px;
+
+.np_group {
+ float:left;
+ padding-right:15px;
}
+.np_row a {
+ font-size:0.8em;
+}
/************************************************/
-/* List Header Styles */
+/* List Header */
/************************************************/
-.list-header{margin:7px 0; text-align:center; font-size: 0.8em;position:relative;}
+.list-header{margin:7px 0; padding:0 4em; text-align:center; font-size: 0.8em;position:relative;}
.list-header .prev{/*float:left;*/ position:absolute; top:0; left:0;}
.list-header .next{/*float:right;*/ position:absolute; top:0; right:0;}
.list-header .selected{background: #e0e0e0;}
@@ -574,7 +557,7 @@ h3#content_title span {
.list-header .page-nb:hover{background: #d0d0d0;}
/************************************************/
-/* Text Action Styles */
+/* Text Action */
/************************************************/
.text-action, .text-action li {
list-style: none;
diff --git a/themes/greysme/images/punaise-bl.gif b/themes/greysme/images/punaise-bl.gif
index 73b6255f..dd6b5804 100644
--- a/themes/greysme/images/punaise-bl.gif
+++ b/themes/greysme/images/punaise-bl.gif
Binary files differ
diff --git a/themes/greysme/images/punaise-br.gif b/themes/greysme/images/punaise-br.gif
index 68bf9895..97b47e50 100644
--- a/themes/greysme/images/punaise-br.gif
+++ b/themes/greysme/images/punaise-br.gif
Binary files differ
diff --git a/themes/greysme/images/punaise-tl.gif b/themes/greysme/images/punaise-tl.gif
index 5c6c9cf5..58e19e9c 100644
--- a/themes/greysme/images/punaise-tl.gif
+++ b/themes/greysme/images/punaise-tl.gif
Binary files differ
diff --git a/themes/greysme/templates/default.css b/themes/greysme/templates/default.css
index 32dcc736..5c3ff090 100644
--- a/themes/greysme/templates/default.css
+++ b/themes/greysme/templates/default.css
@@ -101,12 +101,14 @@ body { behavior:url("templates/csshover2.htc"); }
/* Header */
/************************************************/
#header { padding: 0 0; }
-#headerbox { font-size: 0.9em; text-align: right; color: #e9ad51; position: absolute; top: 0; right: 0; padding: 3px; }
+#headerbox { font-size: 0.9em; text-align: right; color: #e9ad51; position: absolute; top: 20px; right: 0; padding: 3px; }
#headerbox b { font-weight: normal }
#headerbox a { color: #e9ad51;}
#headerlogo { text-align: center; background: url(../images/ampache_back.gif) 0 0 repeat-x;}
#headerlogo a { }
-.box_topbarright {display:table;}
+#headerbox .box_headerbox {background:transparent;border:none;}
+#headerbox .box-top{display:none;}
+#headerbox .box-bottom{display:none;}
#play_type_switch {
float:left;
@@ -120,7 +122,10 @@ body { behavior:url("templates/csshover2.htc"); }
clear:both;
text-align:center;
font-size:.8em;
- padding:3px;
+ padding:3px 0;
+ background:#2c2b39;
+ border-top:5px solid #21212a;
+ margin-top:20px;
}
/************************************************/
@@ -348,7 +353,9 @@ input[type=checkbox] {border:0;background:none;}
/************************************************/
.star-rating {
position:relative;
- display:inline;
+}
+.dynamic-star-rating{
+ width:96px;
}
.star-rating ul,
@@ -365,6 +372,7 @@ input[type=checkbox] {border:0;background:none;}
margin:0;
padding:0;
background-position: left top;
+ /*float:left;*/
}
.star-rating li{
display: inline;
@@ -381,25 +389,26 @@ input[type=checkbox] {border:0;background:none;}
overflow:hidden;
border: none;
}
-.star-rating .one-stars { width:20%; z-index:6; }
-.star-rating .two-stars { width:40%; z-index:5; }
-.star-rating .three-stars { width:60%; z-index:4; }
-.star-rating .four-stars { width:80%; z-index:3; }
-.star-rating .five-stars { width:100%; z-index:2; }
+.star-rating .star1 { width:20%; z-index:6; }
+.star-rating .star2 { width:40%; z-index:5; }
+.star-rating .star3 { width:60%; z-index:4; }
+.star-rating .star4 { width:80%; z-index:3; }
+.star-rating .star5 { width:100%; z-index:2;}
.star-rating .current-rating { z-index:1; background-position: left bottom; }
-.star-rating a.zero-stars {
+.star-rating-reset {height:16px;}
+.star-rating a.star0 {
left:80px;
+ height:16px;
width:16px;
background: url(../images/ratings/x_off.gif) left top;
}
-
/* hovering effect only for dynamic star rating */
#content .dynamic-star-rating a:hover{
background-position: left center;
background-color:transparent;
}
-.dynamic-star-rating a:hover.zero-stars {
+.dynamic-star-rating a:hover.star0 {
background: url(../images/ratings/x.gif) left top;
}
@@ -426,23 +435,24 @@ input[type=checkbox] {border:0;background:none;}
/* Enclosing Boxes Styles */
.box, .info-box {
- margin-top: 5px;
- margin-right: 3px;
+ margin-top: 7px;
+ margin-right: 5px;
background: #050505 url(../images/back-box.gif) 0 0 no-repeat;
font-size : 0.9em;
border: 1px solid #8b3e38;
+ border-width: 1px 1px 0 0;
float:left;
clear:left;
height:1%; /* IE6 : Holly Hack comes to rescue once again */
}
/* Hovering effects on links */
-.box a:hover, .info-box a:hover { background-color: #8b3e38; color: #e9ad51;}
+.box a:hover, .info-box a:hover { /*background-color: #8b3e38;*/ color: #e9ad51;}
.box-inside {
background: url(../images/right.gif) top right repeat-y;
}
.box-content {
- padding:8px 15px;
+ padding:8px 12px;
}
.box-top {
@@ -452,7 +462,7 @@ input[type=checkbox] {border:0;background:none;}
background: url(../images/punaise-tl.gif) no-repeat;
height:16px;
width:16px;
- position:relative;left:0;top:0;
+ position:relative;left:-4px;top:-4px;
}
.box-right-top {
background: url(../images/curl.gif) no-repeat;
@@ -468,13 +478,13 @@ input[type=checkbox] {border:0;background:none;}
background: url(../images/punaise-bl.gif) no-repeat;
height:18px;
width:16px;
- position:relative;left:0;top:0;
+ position:relative;left:-6px;top:5px;
}
.box-right-bottom {
background: url(../images/punaise-br.gif) no-repeat;
height:18px;
width:20px;
- position:absolute;right:0;top:0;
+ position:absolute;right:-6px;top:5px;
}
* html .box-right-bottom {right: expression(-this.parentNode.offsetWidth%2+"px");} /* Fixes an IE6 rounding error */
@@ -512,12 +522,18 @@ input[type=checkbox] {border:0;background:none;}
background-image:url(../images/sort_on.gif);
}
+.tabledata td a{display:block;}
+.tabledata td.cel_add a, .tabledata td.cel_action a{display:inline;}
+
.odd, .even { 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;}
-.odd td a img:hover, .even td a img:hover {opacity:0.5;}
+.odd td a img, .even td a img {opacity:0.7;}
+.odd td a img:hover, .even td a img:hover {opacity:1;}
+
+.discnb { font-style: italic; font-size:0.8em; }
.border { background: #000; }
@@ -533,22 +549,14 @@ td.cel_track {text-align:right;}
/************************************************/
/* Content block */
/************************************************/
-
-#content {margin:10px 14em 10px 13.5em;}
-
-/* Center things on supporting browsers */
-#content>table,#content>table .box { margin-left: auto; margin-right: auto; }
-
-h3#content_title{} /* Doesn't exist anymore (?) */
-h3#content_title span {} /* Doesn't exist anymore (?) */
-
-
+#content {
+ margin:10px 14em 10px 13.5em;
+}
/************************************************/
/* Albums of the moment */
/************************************************/
-
.random_album
{
position:relative;
@@ -562,55 +570,48 @@ h3#content_title span {} /* Doesn't exist anymore (?) */
top:10px;
right:0;
}
+
/************************************************/
-/* Styles for Now Playing */
+/* Now Playing */
/************************************************/
-
-#nowplaying{
- clear: both;
-}
-#np_container1{
- height: 18px;
-}
-#np_container1 h1{
- font-weight: bold;
- padding: 2px;
-}
-#np_container2{
- border-width: 1px;
- border-style: solid;
- border-color:#ddd #999 #999 #ccc;
- padding: 6px;
- color: #000;
+#now_playing{
}
.np_row {
- padding-top: 3px;
- padding-bottom: 3px;
- display: block;
+ padding: 3px;
+ float:left;
+ clear:both;
}
.np_cell {
- margin: 10px;
+ padding-left:5px;
+ margin-left:5px;
}
+.np_row label {
+ display:block;
+ font-weight:bold;
+ margin-left:-5px;
+}
-
-
+.np_group {
+ float:left;
+ padding-left:10px;
+}
/************************************************/
-/* List Header Styles */
+/* List Header */
/************************************************/
-.list-header{margin:7px 0; text-align:center; font-size: 0.9em;position:relative;}
+.list-header{margin:7px 0; padding:0 4em; text-align:center; font-size: 0.9em;position:relative;}
.list-header .prev{/*float:left;*/ position:absolute; top:0; left:0;}
.list-header .next{/*float:right;*/ position:absolute; top:0; right:0;}
-.list-header .selected{}
+.list-header .selected{background:#e9ad51;color:#111;}
.list-header .page-nb{padding:1px;border: 1px solid #111;}
.list-header a:hover{background: transparent; border-color:#e9ad51;}
/************************************************/
-/* Text Action Styles */
+/* Text Action */
/************************************************/
.text-action {