ttrss/lib/dijit/themes/claro/Toolbar.css

206 lines
9.0 KiB
CSS
Raw Normal View History

2011-11-08 16:40:44 +00:00
/* Toolbar
*
* Styling Toolbar means styling the toolbar container and the widget inside toolbar (dijitToolbar)
*
* 1. toolbar (default styling):
* .dijitToolbar - styles for outer container
*
* 2. widget inside toolbar
* .dijitToolbar .dijitButtonNode - Button widget
* .dijitComboButton - ComboButton widget
* .dijitDropDownButton - DropDownButton widget
* .dijitToggleButton - ToggleButton widget
*
* 3. hovered widget inside toolbar (ie, mouse hover on the widget inside)
* .dijitToolbar .dijitButtonNodeHover - styles for hovered Button widget
*
* 4. actived widget inside toolbar (ie, mouse down on the widget inside)
* .dijitToolbar .dijitButtonNodeActive - mouse down on Button widget
*/
.claro .dijitToolbar {
2011-11-08 16:40:44 +00:00
border-bottom: 1px solid #b5bcc7;
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;
2011-11-08 16:40:44 +00:00
padding: 2px 0 2px 4px;
zoom: 1;
}
.claro .dijitToolbar label {
2011-11-08 16:40:44 +00:00
padding: 0 3px 0 6px;
}
2012-08-14 14:59:10 +00:00
/** override claro/form/Button.css, and also ComboBox down arrow **/
.claro .dijitToolbar .dijitButton .dijitButtonNode,
.claro .dijitToolbar .dijitDropDownButton .dijitButtonNode,
.claro .dijitToolbar .dijitComboButton .dijitButtonNode,
.claro .dijitToolbar .dijitToggleButton .dijitButtonNode,
.claro .dijitToolbar .dijitComboBox .dijitButtonNode {
2011-11-08 16:40:44 +00:00
border-width: 0;
/* on hover/active, border-->1px, padding-->1px */
padding: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
-webkit-transition-property: background-color;
-moz-transition-property: background-color;
transition-property: background-color;
2013-03-18 06:26:24 +00:00
-webkit-transition-duration: 0.3s;
-moz-transition-duration: 0.3s;
transition-duration: 0.3s;
2011-11-08 16:40:44 +00:00
background-color: rgba(171, 214, 255, 0);
2013-03-18 06:26:24 +00:00
background-image: none;
/* cancel gradient for normal buttons, we don't want any gradient besides toolbar's on non-hovered buttons */
}
2012-08-14 14:59:10 +00:00
.dj_ie .claro .dijitToolbar .dijitButton .dijitButtonNode,
.dj_ie .claro .dijitToolbar .dijitDropDownButton .dijitButtonNode,
.dj_ie .claro .dijitToolbar .dijitComboButton .dijitButtonNode,
.dj_ie .claro .dijitToolbar .dijitToggleButton .dijitButtonNode,
.dj_ie .claro .dijitToolbar .dijitComboBox .dijitButtonNode {
2011-11-08 16:40:44 +00:00
background-color: transparent;
/* for IE, which doesn't understand rgba(...) */
}
2012-08-14 14:59:10 +00:00
/* hover status */
.dj_ie .claro .dijitToolbar .dijitButtonHover .dijitButtonNode,
.dj_ie .claro .dijitToolbar .dijitDropDownButtonHover .dijitButtonNode,
.dj_ie .claro .dijitToolbar .dijitComboButton .dijitButtonNodeHover,
.dj_ie .claro .dijitToolbar .dijitComboButton .dijitDownArrowButtonHover,
.dj_ie .claro .dijitToolbar .dijitToggleButtonHover .dijitButtonNode {
/* button should still turn blue on hover, so need to override .dj_ie rules above */
background-color: #abd6ff;
}
/* active status */
.dj_ie .claro .dijitToolbar .dijitButtonActive .dijitButtonNode,
.dj_ie .claro .dijitToolbar .dijitDropDownButtonActive .dijitButtonNode,
.dj_ie .claro .dijitToolbar .dijitComboButtonActive .dijitButtonNode,
.dj_ie .claro .dijitToolbar .dijitToggleButtonActive .dijitButtonNode {
/* button should still turn blue on press, so need to override .dj_ie rules above */
background-color: #abd6ff;
}
2011-11-08 16:40:44 +00:00
.claro .dijitToolbar .dijitComboButton .dijitStretch {
/* no rounded border on side adjacent to arrow */
-moz-border-radius: 2px 0 0 2px;
border-radius: 2px 0 0 2px;
}
2011-11-08 16:40:44 +00:00
.claro .dijitToolbar .dijitComboButton .dijitArrowButton {
/* no rounded border on side adjacent to button */
-moz-border-radius: 0 2px 2px 0;
border-radius: 0 2px 2px 0;
}
.claro .dijitToolbar .dijitComboBox .dijitButtonNode {
padding: 0;
}
2011-11-08 16:40:44 +00:00
/* hover status */
.claro .dijitToolbar .dijitButtonHover .dijitButtonNode,
.claro .dijitToolbar .dijitDropDownButtonHover .dijitButtonNode,
2011-11-08 16:40:44 +00:00
.claro .dijitToolbar .dijitToggleButtonHover .dijitButtonNode,
.claro .dijitToolbar .dijitComboButtonHover .dijitButtonNode {
border-width: 1px;
background-color: #abd6ff;
2013-03-18 06:26:24 +00:00
background-image: url("images/standardGradient.png");
background-repeat: repeat-x;
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;
2011-11-08 16:40:44 +00:00
padding: 1px;
}
.claro .dijitToolbar .dijitComboButtonHover .dijitButtonNode, .claro .dijitToolbar .dijitComboButtonHover .dijitDownArrowButton {
2012-08-14 14:59:10 +00:00
background-color: #f3ffff;
2011-11-08 16:40:44 +00:00
}
.claro .dijitToolbar .dijitComboButtonHover .dijitButtonNodeHover, .claro .dijitToolbar .dijitComboButtonHover .dijitDownArrowButtonHover {
background-color: #abd6ff;
}
/* active status */
.claro .dijitToolbar .dijitButtonActive .dijitButtonNode, .claro .dijitToolbar .dijitDropDownButtonActive .dijitButtonNode, .claro .dijitToolbar .dijitToggleButtonActive .dijitButtonNode {
border-width: 1px;
2012-08-14 14:59:10 +00:00
background-color: #7dbdfa;
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;
2011-11-08 16:40:44 +00:00
padding: 1px;
}
.claro .dijitToolbar .dijitComboButtonActive {
2011-11-08 16:40:44 +00:00
-webkit-transition-duration: 0.2s;
-moz-transition-duration: 0.2s;
transition-duration: 0.2s;
border-width: 1px;
padding: 0;
}
2011-11-08 16:40:44 +00:00
.claro .dijitToolbar .dijitComboButtonActive .dijitButtonNode, .claro .dijitToolbar .dijitComboButtonActive .dijitDownArrowButton {
2012-08-14 14:59:10 +00:00
background-color: #f3ffff;
2011-11-08 16:40:44 +00:00
padding: 2px;
}
2011-11-08 16:40:44 +00:00
.claro .dijitToolbar .dijitComboButtonActive .dijitButtonNodeActive {
2012-08-14 14:59:10 +00:00
background-color: #7dbdfa;
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;
}
2011-11-08 16:40:44 +00:00
.claro .dijitToolbar .dijitComboButtonActive .dijitDownArrowButtonActive {
2012-08-14 14:59:10 +00:00
background-color: #7dbdfa;
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;
}
2011-11-08 16:40:44 +00:00
/* Avoid double border between button and arrow */
.claro .dijitToolbar .dijitComboButtonHover .dijitDownArrowButton, .claro .dijitToolbar .dijitComboButtonActive .dijitDownArrowButton {
border-left-width: 0;
}
2011-11-08 16:40:44 +00:00
.claro .dijitToolbar .dijitComboButtonHover .dijitDownArrowButton {
padding-left: 2px;
/* since there's no left border, don't reduce from 2px --> 1px */
}
2011-11-08 16:40:44 +00:00
/* toggle button checked status */
.claro .dijitToolbar .dijitToggleButtonChecked .dijitButtonNode {
2011-11-08 16:40:44 +00:00
margin: 0;
/* remove margin and add a border */
border-width: 1px;
border-style: solid;
background-image: none;
2012-08-14 14:59:10 +00:00
border-color: #759dc0;
2011-11-08 16:40:44 +00:00
background-color: #ffffff;
padding: 1px;
}
.claro .dijitToolbarSeparator {
2011-11-08 16:40:44 +00:00
/* separator icon in the editor sprite */
2012-08-14 14:59:10 +00:00
background: url("../../icons/images/editorIconsEnabled.png");
}
2011-11-08 16:40:44 +00:00
/* Toolbar inside of disabled Editor */
.claro .dijitDisabled .dijitToolbar {
2011-11-08 16:40:44 +00:00
background: none;
background-color: #efefef;
border-bottom: 1px solid #d3d3d3;
}
.claro .dijitToolbar .dijitComboBoxDisabled .dijitArrowButtonInner {
background-position: 0 50%;
}