/* Copyright (c) Ampache.org All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License v2 as published by the Free Software Foundation This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /************************************************/ /* Unify default browsers style rules */ /************************************************/ h1, h2, h3, h4, h5, h6, pre, code { font-size: 1em; line-height: 1em; } /* avoid browser default inconsistent font-sizes */ ol, ul { list-style: none; } table { border-collapse: separate; border-spacing: 0; } caption, th, td { text-align: left; font-weight: normal; } * { margin: 0; padding: 0; } /* White space reset */ a img, :link img, :visited img { border: 0; } /* no blue linked image borders */ /************************************************/ /* General style rules */ /************************************************/ body { background: url(../images/background.jpg) repeat; color: #00ff00; font-family:Arial, Helvetica, Sans-Serif; min-width:1000px; } p { color: #00ff00; margin:1em 0; } a, a:visited, a:active{ color: #00ff00; font-family: Verdana, Helvetica, sans-serif; } td { padding: 0 8px; color: #000; font:12px Verdana, Helvetica, sans-serif; } th { padding-right: 10px; font-family: Verdana, Helvetica, sans-serif; font-size:13px; font-weight:bold; } input, select, textarea{ font: 12px Verdana, Helvetica, sans-serif; background: #ddd; color: #000; width:100px; } input { font-weight: bold; } /************************************************/ /* IE6 behaviors */ /* - csshover2: :hover support on any element */ /************************************************/ body { behavior:url("templates/csshover2.htc"); } /************************************************/ /* Float Clearer */ /************************************************/ /* float clearing for IE6 */ * html .clearfix{ height: 1%; overflow: visible; } /* float clearing for IE7 */ /**+html .clearfix{ min-height: 1%; }*/ /* float clearing for everyone else */ .clearfix:after{ clear: both; content: "."; display: block; height: 0; visibility: hidden; } /************************************************/ /* XSPF Player */ /************************************************/ /*.xspf_player { right: 20px; position: absolute; } */ /************************************************/ /* Main Container */ /************************************************/ #maincontainer{} /************************************************/ /* Header */ /************************************************/ #header { height: 85px; padding: 3px 0 0 10px; } #headerbox { float: right; font-size: 10px; } #headerlogo, #headerlogo a{ float: left; } .box_headerbox {display:table;} .box_headerbox #loginInfo {font-weight:bold;display:block;text-align:right;margin-bottom:.3em;} #play_type_switch { float:left; margin-top:2px; } /************************************************/ /* Content block */ /************************************************/ #content { margin: 20px 135px 20px 135px; } /************************************************/ /* Footer */ /************************************************/ #footer { clear:both; text-align:center; font-size:10px; padding:3px; } /************************************************/ /* Buttons */ /************************************************/ .button, input[type=button], input[type=submit] { border: 1px solid #f0f0f0; border-color: #f0f0f0 #a0a0a0 #a0a0a0 #f0f0f0; background: #000000; padding: 0 1px; font-size: 11px; font-weight:bold; text-decoration:none; color:#00ff00; cursor: pointer; } a.button{padding:1px 3px;} /************************************************/ /* Side Menu block */ /************************************************/ #sidebar{ position:absolute; left:5px; top:87px; font-family: Verdana, Helvetica, sans-serif; } #sidebar select { width: 95%;} #sidebar h3 { display:none } #sidebar h3 span { display:none } #sidebar ul { font-size: 10px; margin: 0; padding: 0; line-height: 1em; } #sidebar ul.subnavside { display: none; position: absolute; width: 9em; top: -1px; left: 11.5em; font-size: 1em; z-index: 1; } #sidebar li { float: left; clear: both; display: inline; /* IE6 Patch */ position: relative; width: 13em; width: /**/11.5em; /* Only IE5.5 can't see this */ margin: 0; border: 1px solid #000000; background: url(../images/menu.jpg) #000000 repeat; } #sidebar a, #sidebar .navbutton { display: block; position: relative; text-decoration: none; margin:0px; padding: .5em 0 .5em 1em; } #sidebar li:hover ul.subnavside, #sidebar li.sfhover ul.subnavside { display:block; } #sidebar li:hover, #sidebar li.sfhover, #sidebar li.activetopmenu { background: url(../images/menu-active.jpg) #000000 repeat; } #sidebar li.hover:active { background: url(../images/menu-active.jpg) #000000 repeat; z-index:30; } /* For horizontal menu */ .horizontal_menu #content {margin:3em 0 0 2em;} .horizontal_menu #sidebar { width: auto; top: 85px;} .horizontal_menu #sidebar h3 { display: none; } .horizontal_menu #sidebar li { clear: none; border:1px solid #000000} .horizontal_menu #sidebar ul.subnavside { left: 0; top: 2em; } /************************************************/ /* XSPF Player */ /************************************************/ #xspf_player { width:400px; float: left; background:#fff; font-family: Verdana,Helvetica,sans-serif; } /************************************************/ /* Rightbar */ /************************************************/ #rightbar { width:120px; background:#fff; padding-top:28px; background: url(../images/menu.jpg) #000000 repeat; float:right; font-family: Verdana,Helvetica,sans-serif; clear:both; } #rightbar ul { list-style:none; } #rightbar a { text-decoration:none; } /* Rightbar Menu */ #rightbar #rb_action { border-top:1px solid #8b8b8b; padding:4px; } #rightbar #rb_action li { display:inline; } #rightbar li#rb_add, #rightbar li#pl_add { position:relative; z-index:10;} #rightbar li#rb_add:hover, #rightbar li#pl_add:hover { background:#99ccff; } /* Rightbar AddItems SubMenu */ #rightbar li:hover .submenu { display:block; } #rightbar .submenu { display:none; position:absolute; right:0px; top:18px; background:#fff; border:2px solid #c0c0c0; width:120px; font-size:0.7em; padding:0.3em; } * html #rightbar .submenu {right:100px;} /* IE6 fix */ #rightbar .submenu a { display:block; padding:0.1em; border-bottom:1px dotted #c0c0c0; color:#5b5b5b; text-decoration:none; text-align:right; } #rightbar .submenu a:hover, #rightbar #rb_current_playlist a:hover { background:#99ccff; color:#fff; } /* Rightbar playlist */ #rightbar #rb_current_playlist { background: #000000 url(../images/bottom.gif) 0 100% repeat-x; padding-bottom:0.5em; border-left:2px solid #000000; border-right:2px solid #000000; } #rightbar #rb_current_playlist li { position:relative; font-size:0.6em;line-height:14px; color:#00ff00; padding-right:20px;} #rightbar #rb_current_playlist li a { display:block; padding:0.2em;} #rightbar .delitem { position:absolute;right:0;top:0; } /* Rightbar Localplay Controls */ #rightbar #localplay-control { padding-left: 5px; } #localplay-control span { cursor: pointer; } /************************************************/ /* Styles for the star ratings */ /************************************************/ .star-rating { position:relative; url(../images/icon_all.png); } .dynamic-star-rating{ width:95px; } .star-rating ul, .star-rating a:hover, .star-rating .current-rating{ background: url(../../../images/ratings/star_rating.gif) left -1000px repeat-x; } .star-rating ul{ position:relative; width:80px; height:15px; overflow:hidden; list-style:none; margin:0; padding:0; background-position: left top; } .star-rating li{ display: inline; } .star-rating a, .star-rating span, .star-rating .current-rating{ position:absolute; top:0; left:0; text-indent:-1000em; height:15px; line-height:15px; outline:none; overflow:hidden; border:none; } .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.star0 { left:0px; width:16px; background: url(../../../images/ratings/x_off.gif) left top; } /* hovering effect only for dynamic star rating */ .dynamic-star-rating a:hover{ background-position: left center; } .dynamic-star-rating a:hover.star0 { background: url(../../../images/ratings/x.gif) left top; } .dynamic-star-rating ul { left:16px; } /************************************************/ /* Box Related Styles */ /************************************************/ .box-title { border-bottom: solid 1px #000; font-size: 1.05em; font-weight: bold; margin: 0 10px; } .box-list { padding-right: 10px; } /* Enclosing Boxes Styles */ .box, .info-box { background: #000000 url(../images/left.gif) top left repeat-y; float:left; clear:left; height:1%; /* IE6 : Holly Hack comes to rescue once again */ } .box-inside { background:url(../images/right.gif) top right repeat-y; color:#00ff00; } .box-content { padding:8px 15px; } .box-top { background: url(../images/top.gif) 0 0 repeat-x; position:relative; } .box-left-top { background: url(../images/topleft.gif) no-repeat; height:16px; width:16px; position:relative;left:0;top:0; } .box-right-top { background: url(../images/topright.gif) no-repeat; height:16px; width:20px; position:absolute;right:0;top:0; } * html .box-right-top {right: expression(-this.parentNode.offsetWidth%2+"px");} /* Fixes an IE6 rounding error */ .box-bottom { background: url(../images/bottom.gif) 0 0 repeat-x; position:relative;clear:both; } .box-left-bottom { background: url(../images/bottomleft.gif) no-repeat; height:18px; width:16px; position:relative;left:0;top:0; } .box-right-bottom { background: url(../images/bottomright.gif) no-repeat; height:18px; width:20px; position:absolute;right:0;top:0; } * html .box-right-bottom {right: expression(-this.parentNode.offsetWidth%2+"px");} /* Fixes an IE6 rounding error */ /* Specific to Info Boxes */ .info-box { float:left;margin-right:10px; } .album_art { float:left; margin-right:10px; } #information_actions { margin-left:5px; font-size:0.7em; float:left; } #information_actions h3 { font-size:1.2em; margin:0.2em; } /* Specific boxes */ .box_newest_albums {} .box_newest_artists {clear:none;} .box_newest_genres {clear:none;} .box_popular_album {} .box_popular_artists {clear:none;} .box_popular_genres {clear:none;} .box_preferences h4 {color:#000;font:bold 14px Verdana, Helvetica, sans-serif;padding:0.8em 0;} /************************************************/ /* Tables (songs lists...) */ /************************************************/ .tabledata .th-top, .tabledata .th-bottom { font-size:1.1em; vertical-align: top; text-align:center; } .tableform select { width: 150px; } /* table rows */ .tabledata .odd, .tabledata .odd td, .tabledata .even, .tabledata .even td, .row-highlight { font-size: 12px; color:#00ff00; border-bottom:1px dotted #c0c0c0; } .tabledata .even:hover, .tabledata .odd:hover { background:#9cf; } .row-highlight:hover { background:#c33; } /* Misc */ .border { background: #000; } .tabledata input, .tabledata select{ margin:2px 0;} /* specific cells */ td.cel_cover{padding:6px;} .cel_select, .cel_action, .cel_date, .cel_applytoall, .cel_level {text-align:center;} /* specific cells : users login state */ .user_online{background:#0f0;} .user_offline{background:#7f0000;} .user_disabled{background:#ccc;} /* specific tables */ #recently_played .th-bottom {display:none;} .box_preferences .th-bottom {display:none;} /* Inline Editing Tables */ .inline-edit input, .inline-edit select { font-size: 0.8em; } /************************************************/ /* Song details */ /************************************************/ dl.song_details{font-size:0.8em;} .song_details dt { float:left; clear:both; width:20%; min-width:20%; /*Ie bugfix*/ font-weight:bold; } .song_details dd { float:left; width:79%; min-width:79%; /*Ie bugfix*/ margin:0 0 0.2em .3em; padding-left:.2em; } dt + dd {border-bottom:1px dotted #c0c0c0;} dt:hover, dt:hover + dd {background:#9cf;} /************************************************/ /* Albums of the moment */ /************************************************/ .random_album{ position:relative; float:left; padding:8px; width:80px; } .random_album .play_album{ display:none; } /************************************************/ /* Now Playing */ /************************************************/ #now_playing{ } .np_row { padding: 3px; float:left; clear:both; font-size:0.75em; } .np_cell { padding-left:5px; margin-left:5px; } .np_row label { display:block; font-weight:bold; margin:2px 0 0 -5px; } .np_group { float:left; padding-right:15px; } .np_row a { font-size:0.8em; } /************************************************/ /* Shoutbox */ /************************************************/ #shoutbox { font-size:0.8em; } #shoutbox div.shout { padding-top:0.5em; 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;font-size:.9em;margin-top:.5em;} img.shoutboximage { margin:0 3px;} #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 */ /************************************************/ .list-header{margin:7px 0; padding:0 4em; text-align:center; font-size: 0.8em;position:relative;} .list-header .prev{position:absolute; top:0; left:0;} .list-header .next{position:absolute; top:0; right:0;} .list-header .selected{background: #e0e0e0;} .list-header .page-nb{padding:1px;border: 1px solid #ccc;text-decoration: none;} .list-header .page-nb:hover{background: #d0d0d0;} /************************************************/ /* Errors */ /************************************************/ .error { color:#903; } .fatalerror { display:table-cell; padding:3px; color:#903; font-weight:bold; font-size:1.2em; } /************************************************/ /* LocalPlay */ /************************************************/ .lp_box_ctrl, .lp_box_vol { text-align: center; /*for compatibility, may be controlled by themers now*/ } td.lp_current a { font-weight:bold; text-decoration:none; } /************************************************/ /* Styles for Login template */ /************************************************/ #loginPage #maincontainer{ background: #ffffff url(../images/background.jpg); background-position:45% 100%; min-width:1000px; height:650px; font-size:12px; text-align:center; } #loginPage #header{ background:transparent; width:437px; } #loginPage #loginbox{ height:292px; width:437px; } #loginPage h2{ color:#00ff00; padding-top:30px; font-weight: normal; } .loginfield{ text-align:right; padding-right:100px; margin: 1em 0; } .loginfield input.text_input{ width:12em; border:1px solid #999; } .loginfield label{ font-weight:bold; } .loginfield #rememberme{ margin-right:5em; background:none; } #loginPage div.fatalerror { padding:5px; margin:10px; } #motd { margin:0 auto 0 auto; width: 437px; } /************************************************/ /* Misc */ /************************************************/ .formValidation{ margin-top:1em; text-align:center; } .text-box, .confirmation-box { display:table-cell; padding:5px 5px 0 5px; margin-bottom:10px; background:#bbb; border:2px solid #000; } #ajax-loading { position: absolute; top:42px; left:345px; width:43px; height:11px; z-index:100; background: url(../images/ajax-loader.gif) no-repeat; display: none; text-indent:-9999em; } .information,.information a { font-size: 0.9em; font-style: italic; color: #c0c0c0; }