tt-rss/lib/dijit/themes/soria/form/Button.css

123 lines
3.7 KiB
CSS
Raw Normal View History

2011-11-08 17:40:44 +01:00
/*****
dijit.form.Button
dijit.form.DropDownButton
dijit.form.ComboButton
dijit.form.ComboBox (partial)
dijit.form.Spinner (partial) (TODO: create NumberSpinner.css file like claro has)
*****/
.soria .dijitButtonNode {
2011-11-08 17:40:44 +01:00
/* enabled state - inner */
border: 1px solid #8ba0bd;
border-bottom:1px solid #657c9c;
padding: 0.1em 0.2em 0.2em 0.2em;
background: #bcd5f0 url("../images/buttonEnabled.png") repeat-x top left;
}
.soria .dijitSelect .dijitButtonContents {
border-right: none;
}
2011-11-08 17:40:44 +01:00
.soria .dijitButtonText {
text-align: center;
padding: 0 0.3em;
}
2011-11-08 17:40:44 +01:00
.soria .dijitArrowButton {
color: #111;
}
2011-11-08 17:40:44 +01:00
.soria .dijitComboButton .dijitDownArrowButton {
padding-right:4px;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTextBoxReadOnly,
.soria .dijitTextBoxReadOnly .dijitButtonNode,
.soria .dijitButtonDisabled .dijitButtonNode,
.soria .dijitToggleButtonDisabled .dijitButtonNode,
.soria .dijitDropDownButtonDisabled .dijitButtonNode,
.soria .dijitComboButtonDisabled .dijitButtonNode,
.soria .dijitTextBoxDisabled,
.soria .dijitTextBoxDisabled .dijitButtonNode {
2011-11-08 17:40:44 +01:00
/* disabled state - inner */
border-color: #b9bbdd #b9bbdd #b9bbdd #b9bbdd;
background:#c3d3e5 url("../images/buttonDisabled.png") top repeat-x;
opacity: 0.60;
}
.dj_ie6 .soria .dijitReadOnly INPUT,
.dj_ie7 .soria .dijitReadOnly INPUT,
.dj_ie6 .soria .dijitComboButtonDisabled .dijitButtonText,
.dj_ie7 .soria .dijitComboButtonDisabled .dijitButtonText {
2011-11-08 17:40:44 +01:00
/* opacity doesn't work on table node in IE, work around here */
color: #aaa;
}
.soria .dijitButtonHover .dijitButtonNode,
.soria .dijitButtonNodeHover,
.soria .dijitToggleButtonHover .dijitButtonNode,
.soria .dijitDropDownButtonHover .dijitButtonNode,
.soria .dijitButtonContentsHover,
.soria .dijitUpArrowButtonHover,
.soria .dijitDownArrowButtonHover {
2011-11-08 17:40:44 +01:00
/* hover state - inner */
/* TODO: change from Hover to Selected so that button is still highlighted while drop down is being used */
color:#243C5F;
background:#acc5e2 url("../images/buttonHover.png") repeat-x top left;
}
2011-11-08 17:40:44 +01:00
.soria .dijitButtonActive .dijitButtonNode,
.soria .dijitToggleButtonActive .dijitButtonNode,
.soria .dijitDropDownButtonActive .dijitButtonNode,
.soria .dijitComboButtonActive .dijitButtonContents,
.soria .dijitStackController .dijitToggleButtonChecked .dijitButtonNode {
2011-11-08 17:40:44 +01:00
/* active state - inner (for when you are pressing a normal button, or
* when a radio-type button is in a depressed state
*/
border-color:#657c9c;
background: #91b4e5 url("../images/buttonActive.png") top left repeat-x;
}
.soria .dijitUpArrowButtonActive,
.soria .dijitDownArrowButtonActive {
2011-11-08 17:40:44 +01:00
/* same as above except don't adjust border color (it's controlled by the containing Spinner/ComboBox) */
background: #91b4e5 url("../images/buttonActive.png") top left repeat-x;
}
2011-11-08 17:40:44 +01:00
.soria .dijitArrowButtonInner {
background-image: url("../images/spriteArrows.png");
background-repeat: no-repeat;
2011-11-08 17:40:44 +01:00
background-position: 0 center;
width: 11px;
height: 11px;
}
.soria .dijitComboBox .dijitArrowButtonInner {
background-position: 0 center;
}
.soria .dijitLeftArrowButton .dijitArrowButtonInner {
background-position: -11px center;
}
.soria .dijitUpArrowButton .dijitArrowButtonInner {
background-position: -22px center;
}
.soria .dijitRightArrowButton .dijitArrowButtonInner {
background-position: -33px center;
}
.dj_ie6 .soria .dijitArrowButtonInner {
background-image: url("../images/spriteArrows.gif");
}
.dj_ie .soria .dijitSpinner .dijitUpArrowButton .dijitArrowButtonInner {
2011-11-08 17:40:44 +01:00
margin-top: 1px; /* image has too many blank pixels on top */
}
.soria .dijitSpinnerButtonContainer {
width: auto;
padding: 0;
}
.soria .dijitSpinner .dijitArrowButton {
width: 15px;
}
.soria .dijitSpinner .dijitSpinnerButtonInner {
width: 15px;
}
.soria .dijitSpinner .dijitArrowButtonInner .dijitInputField {
padding: 0;
}