ttrss/lib/dijit/themes/claro/TitlePane.less

79 lines
2.3 KiB
Plaintext
Raw Normal View History

/* TitlePane and Fieldset
2011-11-08 16:40:44 +00:00
*
* Styling TitlePane means styling the TitlePane title and its content container (dijitTitlePane)
*
* TitlePane title:
* 1. TitlePane title (default styling):
* .dijitTitlePaneTitle - TitlePane's title div style: background-color, border
*
* 2. hovered TitlePane title (ie, mouse hover on a title bar)
* .dijitTitlePaneTitleHover - styles when mouse hover on the title div
*
* 3. active TitlePane title (ie, mouse down on a title bar)
* .dijitTitlePaneTitleActive - styles when mouse down on the title div
*
*
* TitlePane Content Container:
* 1. outer/inner container:
* .dijitTitlePaneContentOuter / dijitTitlePaneContentInner - styles for the content outer div
*/
@import "variables";
.claro .dijitTitlePaneTitle {
background-color: @unselected-background-color;
2013-03-18 06:26:24 +00:00
.standard-gradient;
2011-11-08 16:40:44 +00:00
border:1px solid @border-color;
padding: 0 7px 3px 7px;
min-height:17px;
color: @unselected-text-color;
}
.claro .dijitFieldset {
.border-radius(4px);
}
.claro .dijitTitlePaneTitleOpen, .claro .dijitTitlePaneTitleFixedOpen {
background-color: @selected-background-color;
color: @text-color;
2011-11-08 16:40:44 +00:00
}
.claro .dijitTitlePaneTitleHover {
background-color: @hovered-background-color;
border-color: @hovered-border-color;
}
.claro .dijitTitlePaneTitleActive {
background-color: @pressed-background-color;
border-color: @pressed-border-color;
2013-03-18 06:26:24 +00:00
.active-gradient;
2011-11-08 16:40:44 +00:00
}
.claro .dijitTitlePaneTitleFocus {
margin-top:3px;
padding-bottom:2px;
}
.claro .dijitTitlePane .dijitArrowNode, .claro .dijitFieldset .dijitArrowNode {
2012-08-14 14:59:10 +00:00
background-image: url(@image-arrow-sprite);
2011-11-08 16:40:44 +00:00
background-repeat: no-repeat;
height: 8px;
width: 7px;
}
.claro .dijitTitlePaneTitleOpen .dijitArrowNode, .claro .dijitFieldsetTitleOpen .dijitArrowNode,{
2011-11-08 16:40:44 +00:00
background-position: 0 0;
}
.claro .dijitTitlePaneTitleClosed .dijitArrowNode, .claro .dijitFieldsetTitleClosed .dijitArrowNode {
2011-11-08 16:40:44 +00:00
background-position: -14px 0;
}
.claro .dijitTitlePaneContentOuter {
background: @pane-background-color;
border:1px solid @border-color;
border-top:none;
}
.claro .dijitTitlePaneContentInner{
2011-11-08 16:40:44 +00:00
padding:10px;
}
.claro .dijitFieldsetContentInner {
padding: 4px;
}
.claro .dijitTitlePaneTextNode, .claro .dijitFieldsetLegendNode {
2011-11-08 16:40:44 +00:00
margin-left: 4px;
margin-right: 4px;
vertical-align:text-top;
2012-08-14 14:59:10 +00:00
}