Files
Blake Schwendiman 86e529e09d first commit
2010-04-06 08:19:07 -07:00

187 lines
3.6 KiB
CSS

/* root element for tabs */
ul.tabs {
list-style:none;
margin:0 !important;
padding:0;
height:30px;
border-bottom:1px solid #666;
}
/* single tab */
ul.tabs li {
float:left;
text-indent:0;
padding:0;
margin:0 !important;
list-style-image:none !important;
}
/* link inside the tab. uses a background image */
ul.tabs a {
background: url(tabs.png) no-repeat -652px 0;
font-size:11px;
display:block;
height: 30px;
line-height:30px;
width: 111px;
text-align:center;
text-decoration:none;
color:#000;
padding:0px;
margin:0px;
position:relative;
top:1px;
}
ul.tabs a img {
vertical-align: middle;
margin-right: 4px;
}
ul.tabs a:active {
outline:none;
}
/* when mouse enters the tab move the background image */
ul.tabs a:hover {
background-position: -652px -31px;
color:#fff;
}
/* active tab uses a class name "current". it's highlight is also done by moving the background image. */
ul.tabs a.current, ul.tabs a.current:hover, ul.tabs li.current a {
background-position: -652px -62px;
cursor:default !important;
color:#000 !important;
}
/* Different widths for tabs: use a class name: w1, w2, w3 or w2 */
/* width 1 */
ul.tabs a.w1 { background-position: -519px 0; width:134px; }
ul.tabs a.w1:hover { background-position: -519px -31px; }
ul.tabs a.w1.current { background-position: -519px -62px; }
/* width 2 */
ul.tabs a.w2 { background-position: -366px -0px; width:154px; }
ul.tabs a.w2:hover { background-position: -366px -31px; }
ul.tabs a.w2.current { background-position: -366px -62px; }
/* width 3 */
ul.tabs a.w3 { background-position: -193px -0px; width:174px; }
ul.tabs a.w3:hover { background-position: -193px -31px; }
ul.tabs a.w3.current { background-position: -193px -62px; }
/* width 4 */
ul.tabs a.w4 { background-position: -0px -0px; width:194px; }
ul.tabs a.w4:hover { background-position: -0px -31px; }
ul.tabs a.w4.current { background-position: -0px -62px; }
div.panes {
-moz-border-radius-bottomleft:2px;
-moz-border-radius-bottomright:2px;
-webkit-border-radius-bottomleft:2px;
-webkit-border-radius-bottomright:2px;
border-bottom:1px solid #999999;
border-left:1px solid #999999;
border-right:1px solid #999999;
padding:8px;
}
/* initially all panes are hidden */
div.panes div.pane {
display:none;
}
div.salsa_section {
margin-left: 8px;
}
.settings_page_salsa-salsa label {
display: inline-block;
font-weight: bold;
width: 200px;
}
.settings_page_salsa-salsa label.wide {
width: auto;
}
settings_page_salsa-salsa input {
display: inline;
}
p.salsa_notes {
margin-left: 2em;
margin-right: 2em;
color: #999;
}
/* simple css-based tooltip */
#salsa_tip {
background-color:#000;
border:1px solid #fff;
padding:10px 15px;
width:200px;
display:none;
color:#fff;
text-align:left;
font-size:12px;
/* outline radius for mozilla/firefox only */
-moz-box-shadow:0 0 10px #000;
-webkit-box-shadow:0 0 10px #000;
}
img.tooltip {
margin-left: 12px;
vertical-align: middle;
cursor: pointer;
}
div.salsa_subform {
border: 1px solid #ccc;
padding: 8px;
}
.salsa_errors {
margin: 0 12px 0 12px;
border: 1px solid red;
background-color: #fff;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
padding: 4px;
width: 560px;
}
.salsa_errors .btn_close {
float: right;
margin: 0;
clear: both;
}
.salsa_errors .salsa_errors_wrap {
clear: both;
margin-left: 6px;
}
.salsa_errors .btn_close a {
background: url(close.png) no-repeat;
text-indent: -9999px;
width: 16px;
height: 16px;
display: block;
overflow: hidden;
}
.salsa_errors .salsa_errors_message {
font-weight: bold;
margin: 0;
}
.salsa_errors .salsa_errors_wrap img {
float: left;
margin-right: 8px;
}