2011-11-08 16:40:44 +00:00
|
|
|
/* BorderContainer
|
2010-11-15 07:39:52 +00:00
|
|
|
|
2011-11-08 16:40:44 +00:00
|
|
|
Splitters and gutters separate panes within a BorderContainer. Splitters can be moved up and down (horizonal splitters) or left and right (vertical splitters), while Gutters are static. A "thumb" is the slit on a Splitter that indicates it is movable.
|
|
|
|
|
|
|
|
Styling the BorderContainer widget consists of the following:
|
|
|
|
|
|
|
|
.dijitBorderContainer - for border and padding of the entire border container
|
|
|
|
|
|
|
|
.dijitSplitContainer-child, .dijitBorderContainer-child - for border or child panes of the border container. By default borders are put on all children of BorderContainer.
|
|
|
|
|
|
|
|
.dijitBorderContainer-dijitTabContainerTop,
|
|
|
|
.dijitBorderContainer-dijitTabContainerBottom,
|
|
|
|
.dijitBorderContainer-dijitTabContainerLeft,
|
|
|
|
.dijitBorderContainer-dijitTabContainerRight,
|
|
|
|
.dijitBorderContainer-dijitAccordionContainer -for border of the border containers within TabContainer or AccordionContainer widget
|
|
|
|
|
|
|
|
.dijitBorderContainer-dijitBorderContainer - for border and padding of nested BorderContainers
|
|
|
|
|
|
|
|
Splitters and gutters:
|
|
|
|
|
|
|
|
.dijitSplitterH, .dijitGutterH - for height, background, and border of a horizontal splitter and gutter
|
|
|
|
.dijitSplitterH .dijitSplitterThumb - for color, height/width of the thumb on a horizontal splitter
|
|
|
|
.dijitSplitterV, .dijitGutterV - - for height, background, and border of a vertical splitter and gutter
|
|
|
|
.dijitSplitterV .dijitSplitterThumb - for color, height/width of the thumb on a vertical splitter
|
|
|
|
.dijitSplitterHHover - for background-color of a hovered horizontal splitter
|
|
|
|
.dijitSplitterHHover .dijitSplitterThumb - for background-color of a hovered thumb on a horizontal splitter
|
|
|
|
.dijitSplitterVHover - for background-color of a hovered vertical splitter
|
|
|
|
.dijitSplitterVHover .dijitSplitterThumb - for background-color of a hovered thumb on a vertical splitter
|
|
|
|
.dijitSplitterHActive - for background-color of an active horizontal splitter
|
|
|
|
.dijitSplitterVActive - for background-color of an active horizontal splitter
|
|
|
|
*/
|
2010-11-15 07:39:52 +00:00
|
|
|
.claro .dijitBorderContainer {
|
2011-11-08 16:40:44 +00:00
|
|
|
/* matches the width of the splitters between panes */
|
|
|
|
|
|
|
|
padding: 5px;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
.claro .dijitSplitContainer-child, .claro .dijitBorderContainer-child {
|
|
|
|
/* By default put borders on all children of BorderContainer,
|
|
|
|
* to give illusion of borders on the splitters themselves.
|
|
|
|
*/
|
|
|
|
|
|
|
|
border: 1px #b5bcc7 solid;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitBorderContainer-dijitTabContainerTop,
|
|
|
|
.claro .dijitBorderContainer-dijitTabContainerBottom,
|
|
|
|
.claro .dijitBorderContainer-dijitTabContainerLeft,
|
|
|
|
.claro .dijitBorderContainer-dijitTabContainerRight,
|
|
|
|
.claro .dijitBorderContainer-dijitAccordionContainer {
|
2011-11-08 16:40:44 +00:00
|
|
|
/* except that TabContainer defines borders on it's sub-nodes (tablist and dijitTabPaneWrapper),
|
|
|
|
* so override rule setting border on domNode
|
|
|
|
*/
|
|
|
|
|
|
|
|
border: none;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitBorderContainer-dijitBorderContainer {
|
2011-11-08 16:40:44 +00:00
|
|
|
/* make nested BorderContainers look like a single big widget with lots of splitters */
|
|
|
|
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
/* Splitters and gutters */
|
|
|
|
.claro .dijitSplitterH, .claro .dijitGutterH {
|
|
|
|
background: none;
|
|
|
|
border: 0;
|
|
|
|
height: 5px;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitSplitterH .dijitSplitterThumb {
|
2011-11-08 16:40:44 +00:00
|
|
|
background: #b5bcc7 none;
|
|
|
|
height: 1px;
|
|
|
|
top: 2px;
|
|
|
|
width: 19px;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
.claro .dijitSplitterV, .claro .dijitGutterV {
|
|
|
|
background: none;
|
|
|
|
border: 0;
|
|
|
|
width: 5px;
|
|
|
|
margin: 0;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitSplitterV .dijitSplitterThumb {
|
2011-11-08 16:40:44 +00:00
|
|
|
background: #b5bcc7 none;
|
|
|
|
height: 19px;
|
|
|
|
left: 2px;
|
|
|
|
width: 1px;
|
|
|
|
margin: 0;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
/* hovered splitter */
|
2010-11-15 07:39:52 +00:00
|
|
|
.claro .dijitSplitterHHover {
|
2011-11-08 16:40:44 +00:00
|
|
|
font-size: 1px;
|
2012-08-14 14:59:10 +00:00
|
|
|
background: url("../layout/images/splitterHorizontalHover.png") no-repeat center top;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitSplitterHHover .dijitSplitterThumb {
|
2012-08-14 14:59:10 +00:00
|
|
|
background: #759dc0 none;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitSplitterVHover {
|
2011-11-08 16:40:44 +00:00
|
|
|
font-size: 1px;
|
2012-08-14 14:59:10 +00:00
|
|
|
background: url("../layout/images/splitterVerticalHover.png") no-repeat center left;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitSplitterVHover .dijitSplitterThumb {
|
2012-08-14 14:59:10 +00:00
|
|
|
background: #759dc0 none;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
.dj_ie6 .dijitSplitterHHover, .dj_ie6 .claro .dijitSplitterVHover {
|
|
|
|
background-color: #cfe5fa;
|
|
|
|
background-image: none;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
/* active splitter */
|
|
|
|
.claro .dijitSplitterHActive, .claro .dijitSplitterVActive {
|
|
|
|
font-size: 1px;
|
|
|
|
background-color: #abd6ff;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|