2010-11-15 08:39:52 +01:00
|
|
|
|
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)
|
|
|
|
*****/
|
|
|
|
|
2010-11-15 08:39:52 +01:00
|
|
|
.soria .dijitButtonNode {
|
2011-11-08 17:40:44 +01:00
|
|
|
/* enabled state - inner */
|
2010-11-15 08:39:52 +01:00
|
|
|
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;
|
|
|
|
}
|
2011-11-08 17:40:44 +01:00
|
|
|
|
2010-11-15 08:39:52 +01:00
|
|
|
.soria .dijitButtonText {
|
|
|
|
text-align: center;
|
|
|
|
padding: 0 0.3em;
|
|
|
|
}
|
2013-03-18 07:26:24 +01:00
|
|
|
.soria .dijitInputField {
|
|
|
|
padding: 0; /* set padding:0 for .soria .dijitSelect .dijitButtonText but with a low priority rule that can be easily trumped by the user */
|
|
|
|
}
|
2011-11-08 17:40:44 +01:00
|
|
|
|
2010-11-15 08:39:52 +01:00
|
|
|
.soria .dijitArrowButton {
|
|
|
|
color: #111;
|
|
|
|
}
|
2011-11-08 17:40:44 +01:00
|
|
|
|
2010-11-15 08:39:52 +01:00
|
|
|
.soria .dijitComboButton .dijitDownArrowButton {
|
|
|
|
padding-right:4px;
|
|
|
|
}
|
2011-11-08 17:40:44 +01:00
|
|
|
|
2010-11-15 08:39:52 +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 */
|
2010-11-15 08:39:52 +01:00
|
|
|
border-color: #b9bbdd #b9bbdd #b9bbdd #b9bbdd;
|
|
|
|
background:#c3d3e5 url("../images/buttonDisabled.png") top repeat-x;
|
|
|
|
opacity: 0.60;
|
|
|
|
}
|
2012-08-14 16:59:10 +02:00
|
|
|
.dj_ie6 .soria .dijitReadOnly input,
|
|
|
|
.dj_ie7 .soria .dijitReadOnly input,
|
2010-11-15 08:39:52 +01:00
|
|
|
.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 */
|
2010-11-15 08:39:52 +01:00
|
|
|
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 */
|
2010-11-15 08:39:52 +01:00
|
|
|
color:#243C5F;
|
|
|
|
background:#acc5e2 url("../images/buttonHover.png") repeat-x top left;
|
|
|
|
}
|
2011-11-08 17:40:44 +01:00
|
|
|
|
2010-11-15 08:39:52 +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
|
|
|
|
*/
|
2010-11-15 08:39:52 +01:00
|
|
|
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) */
|
2010-11-15 08:39:52 +01:00
|
|
|
background: #91b4e5 url("../images/buttonActive.png") top left repeat-x;
|
|
|
|
}
|
2011-11-08 17:40:44 +01:00
|
|
|
|
|
|
|
|
2010-11-15 08:39:52 +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;
|
2010-11-15 08:39:52 +01:00
|
|
|
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 */
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.soria .dijitSpinnerButtonContainer {
|
|
|
|
width: auto;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.soria .dijitSpinner .dijitArrowButton {
|
|
|
|
width: 15px;
|
|
|
|
}
|
|
|
|
.soria .dijitSpinner .dijitSpinnerButtonInner {
|
|
|
|
width: 15px;
|
|
|
|
}
|
|
|
|
.soria .dijitSpinner .dijitArrowButtonInner .dijitInputField {
|
|
|
|
padding: 0;
|
|
|
|
}
|