ttrss/lib/dijit/themes/claro/form/Select.css

97 lines
3.6 KiB
CSS
Raw Normal View History

2011-11-08 16:40:44 +00: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
*/
/* normal status */
2013-03-18 06:26:24 +00:00
.claro .dijitSelect .dijitArrowButtonContainer {
border: 1px solid #ffffff;
}
.claro .dijitSelect .dijitArrowButton {
2011-11-08 16:40:44 +00:00
padding: 0;
background-color: #efefef;
2013-03-18 06:26:24 +00:00
background-image: url("../images/standardGradient.png");
2011-11-08 16:40:44 +00:00
background-repeat: repeat-x;
2013-03-18 06:26:24 +00:00
background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
background-image: -o-linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
background-image: linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
_background-image: none;
}
.claro .dijitSelect .dijitArrowButton .dijitArrowButtonInner {
2011-11-08 16:40:44 +00:00
height: 16px;
}
2011-11-08 16:40:44 +00:00
/* hover status */
.claro .dijitSelectHover {
2012-08-14 14:59:10 +00:00
background-color: #e5f2fe;
2013-03-18 06:26:24 +00:00
background-image: -moz-linear-gradient(rgba(127, 127, 127, 0.2) 0%, rgba(127, 127, 127, 0) 2px);
background-image: -webkit-linear-gradient(rgba(127, 127, 127, 0.2) 0%, rgba(127, 127, 127, 0) 2px);
background-image: -o-linear-gradient(rgba(127, 127, 127, 0.2) 0%, rgba(127, 127, 127, 0) 2px);
background-image: linear-gradient(rgba(127, 127, 127, 0.2) 0%, rgba(127, 127, 127, 0) 2px);
2011-11-08 16:40:44 +00:00
background-repeat: repeat-x;
}
2013-03-18 06:26:24 +00:00
.claro .dijitSelectFocused, .claro .dijitSelectHover {
2012-08-14 14:59:10 +00:00
border-color: #759dc0;
}
.claro .dijitSelectHover .dijitArrowButton {
2011-11-08 16:40:44 +00:00
background-color: #abd6ff;
}
.claro .dijitSelectHover .dijitArrowButton .dijitArrowButtonInner {
2013-03-18 06:26:24 +00:00
background-position: -70px 53%;
}
2011-11-08 16:40:44 +00:00
/* focused status */
.claro .dijitSelectFocused .dijitArrowButton {
2011-11-08 16:40:44 +00:00
background-color: #7dbefa;
2013-03-18 06:26:24 +00:00
background-image: url("../images/activeGradient.png");
background-repeat: repeat-x;
background-image: -moz-linear-gradient(rgba(190, 190, 190, 0.98) 0px, rgba(255, 255, 255, 0.65) 3px, rgba(255, 255, 255, 0) 100%);
background-image: -webkit-linear-gradient(rgba(190, 190, 190, 0.98) 0px, rgba(255, 255, 255, 0.65) 3px, rgba(255, 255, 255, 0) 100%);
background-image: -o-linear-gradient(rgba(190, 190, 190, 0.98) 0px, rgba(255, 255, 255, 0.65) 3px, rgba(255, 255, 255, 0) 100%);
background-image: linear-gradient(rgba(190, 190, 190, 0.98) 0px, rgba(255, 255, 255, 0.65) 3px, rgba(255, 255, 255, 0) 100%);
_background-image: none;
}
.claro .dijitSelectFocused .dijitArrowButton {
2011-11-08 16:40:44 +00:00
border: none;
2013-03-18 06:26:24 +00:00
padding: 1px;
}
.claro .dijitSelectFocused .dijitArrowButton .dijitArrowButtonInner {
2013-03-18 06:26:24 +00:00
background-position: -70px 53%;
}
2011-11-08 16:40:44 +00:00
/* disable status */
.claro .dijitSelectDisabled {
2013-03-18 06:26:24 +00:00
border-color: #d3d3d3;
2011-11-08 16:40:44 +00:00
background-color: #efefef;
background-image: none;
color: #818181;
}
.claro .dijitSelectDisabled .dijitArrowButton .dijitArrowButtonInner {
2013-03-18 06:26:24 +00:00
background-position: 0 53%;
}
2011-11-08 16:40:44 +00: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;
}
.claro .dijitSelectMenu td.dijitMenuItemLabel {
2011-11-08 16:40:44 +00:00
/* line up menu text with text in select box (in LTR and RTL modes) */
padding: 2px;
}
.claro .dijitSelectMenu .dijitMenuSeparatorTop {
2012-08-14 14:59:10 +00:00
border-bottom: 1px solid #759dc0;
}