2011-11-08 17:40:44 +01:00
|
|
|
/* Select
|
|
|
|
*
|
|
|
|
* Styling Select mainly includes:
|
|
|
|
*
|
|
|
|
* 1. Containers
|
|
|
|
* .dijitSelect - for border, background-color
|
|
|
|
* .dijitButtonContents - for border
|
|
|
|
*
|
|
|
|
* 2. Arrow
|
|
|
|
* .dijitArrowButton - for border, padding and background-color|image
|
|
|
|
* .dijitArrowButtonInner - for border, background-color|image, display and width|height
|
|
|
|
*
|
|
|
|
* 3. Menu
|
|
|
|
* .dijitSelectMenu .* - for border, padding
|
|
|
|
*
|
|
|
|
* 4. Various states
|
|
|
|
* .dijitSelectHover|.dijitSelectFocused|.dijitSelectDisabled .* - for border, padding and background-color|image
|
|
|
|
*/
|
2010-11-15 08:39:52 +01:00
|
|
|
.claro .dijitSelect .dijitButtonText {
|
2011-11-08 17:40:44 +01:00
|
|
|
padding: 2px;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
2011-11-08 17:40:44 +01:00
|
|
|
/* normal status */
|
2010-11-15 08:39:52 +01:00
|
|
|
.claro .dijitSelect {
|
2011-11-08 17:40:44 +01:00
|
|
|
border: 1px solid #b5bcc7;
|
|
|
|
background-color: #ffffff;
|
|
|
|
border-collapse: separate;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
2011-11-08 17:40:44 +01:00
|
|
|
.dj_ie6 .claro .dijitSelect, .dj_ie6 .claro .dijitSelect .dijitButtonNode {
|
|
|
|
background-image: none;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitSelect .dijitButtonContents {
|
2011-11-08 17:40:44 +01:00
|
|
|
border: 0 solid #b5bcc7;
|
|
|
|
border-right-width: 1px;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitSelect .dijitArrowButton {
|
2011-11-08 17:40:44 +01:00
|
|
|
padding: 0;
|
|
|
|
border: 1px solid #ffffff;
|
|
|
|
border-top: none;
|
|
|
|
background-color: #efefef;
|
|
|
|
background-image: url("images/formHighlight.png");
|
|
|
|
background-repeat: repeat-x;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitSelect .dijitArrowButton .dijitArrowButtonInner {
|
2011-11-08 17:40:44 +01:00
|
|
|
background-image: url("images/commonFormArrows.png");
|
|
|
|
background-position: -35px 70%;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
2011-11-08 17:40:44 +01:00
|
|
|
/* hover status */
|
2010-11-15 08:39:52 +01:00
|
|
|
.claro .dijitSelectHover {
|
2011-11-08 17:40:44 +01:00
|
|
|
border: 1px solid #769dc0;
|
|
|
|
background-color: #e9f4fe;
|
|
|
|
background-image: url('images/textBox_back.png');
|
|
|
|
background-repeat: repeat-x;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitSelectHover .dijitButtonContents {
|
2011-11-08 17:40:44 +01:00
|
|
|
border-color: #769dc0;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitSelectHover .dijitArrowButton {
|
2011-11-08 17:40:44 +01:00
|
|
|
background-color: #abd6ff;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitSelectHover .dijitArrowButton .dijitArrowButtonInner {
|
2011-11-08 17:40:44 +01:00
|
|
|
background-position: -70px 70%;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
2011-11-08 17:40:44 +01:00
|
|
|
/* focused status */
|
2010-11-15 08:39:52 +01:00
|
|
|
.claro .dijitSelectFocused {
|
2011-11-08 17:40:44 +01:00
|
|
|
border: 1px solid #769dc0;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitSelectFocused .dijitButtonContents {
|
2011-11-08 17:40:44 +01:00
|
|
|
border-color: #769dc0;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitSelectFocused .dijitArrowButton {
|
2011-11-08 17:40:44 +01:00
|
|
|
background-color: #7dbefa;
|
|
|
|
background-position: 0 -177px;
|
|
|
|
border: none;
|
|
|
|
padding: 0 1px;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitSelectFocused .dijitArrowButton .dijitArrowButtonInner {
|
2011-11-08 17:40:44 +01:00
|
|
|
background-position: -70px 70%;
|
|
|
|
margin-bottom: 1px;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
2011-11-08 17:40:44 +01:00
|
|
|
/* disable status */
|
2010-11-15 08:39:52 +01:00
|
|
|
.claro .dijitSelectDisabled {
|
2011-11-08 17:40:44 +01:00
|
|
|
border: 1px solid #d3d3d3;
|
|
|
|
background-color: #efefef;
|
|
|
|
background-image: none;
|
|
|
|
color: #818181;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
2011-11-08 17:40:44 +01:00
|
|
|
.claro .dijitSelectDisabled .dijitArrowButton {
|
|
|
|
background-color: #efefef;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitSelectDisabled .dijitArrowButton .dijitArrowButtonInner {
|
2011-11-08 17:40:44 +01:00
|
|
|
background-position: 0 70%;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
2011-11-08 17:40:44 +01:00
|
|
|
/* Dropdown menu style for select */
|
|
|
|
.claro .dijitSelectMenu td.dijitMenuItemIconCell, .claro .dijitSelectMenu td.dijitMenuArrowCell {
|
|
|
|
/* so that arrow and icon cells from MenuItem are not displayed */
|
|
|
|
|
|
|
|
display: none;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitSelectMenu td.dijitMenuItemLabel {
|
2011-11-08 17:40:44 +01:00
|
|
|
/* line up menu text with text in select box (in LTR and RTL modes) */
|
|
|
|
|
|
|
|
padding: 2px;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitSelectMenu .dijitMenuSeparatorTop {
|
2011-11-08 17:40:44 +01:00
|
|
|
border-bottom: 1px solid #769dc0;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|