2011-11-08 16:40:44 +00:00
|
|
|
/* Accordion
|
|
|
|
*
|
|
|
|
* Styling AccordionContainer basically means styling the accordion pane (dijitAccordionInnerContainer)
|
|
|
|
* and the title inside of it (dijitAccordionTitle). There are 4 basic states to style:
|
|
|
|
*
|
|
|
|
* 1. closed pane (and default styling):
|
|
|
|
* .dijitAccordionInnerContainer - container for each accordion child
|
|
|
|
* .dijitAccordionTitle - title for each accordion child
|
|
|
|
*
|
|
|
|
* 2. active closed pane (ie, mouse down on a title bar)
|
|
|
|
* .dijitAccordionInnerContainerActive - for background-color, border
|
|
|
|
* .dijitAccordionInnerContainerActive dijitAccordionTitle - for text color
|
|
|
|
*
|
|
|
|
* 3. open pane (expanded child)
|
|
|
|
* .dijitAccordionChildWrapper - wraps around the child widget (typically ContentPane)
|
|
|
|
* setting a margin so that there's blue trim all the way around the child
|
|
|
|
*
|
|
|
|
* These rules need to override the closed pane active:
|
|
|
|
*
|
|
|
|
* .dijitAccordionInnerContainerSelected - for background-color, border
|
|
|
|
* .dijitAccordionInnerContainerSelected .dijitAccordionTitle - for text color
|
|
|
|
*
|
|
|
|
* 4. hovered pane, open or closed
|
|
|
|
* The selectors below affect hovering over both a closed pane (ie, hovering a title bar),
|
|
|
|
* and hovering over an open pane. Also, treat mouse down on an open pane as a hover:
|
|
|
|
*
|
|
|
|
* .dijitAccordionInnerContainerHover, .dijitAccordionInnerContainerSelectedActive - for background-color, border
|
|
|
|
* .dijitAccordionInnerContainerHover .dijitAccordionTitle - for text color
|
|
|
|
*/
|
2010-11-15 07:39:52 +00:00
|
|
|
.claro .dijitAccordionContainer {
|
2011-11-08 16:40:44 +00:00
|
|
|
border: none;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitAccordionInnerContainer {
|
2011-11-08 16:40:44 +00:00
|
|
|
background-color: #efefef;
|
|
|
|
/* gray, for closed pane */
|
|
|
|
|
|
|
|
border: solid 1px #b5bcc7;
|
|
|
|
margin-bottom: 1px;
|
|
|
|
-webkit-transition-property: background-color, border;
|
|
|
|
-moz-transition-property: background-color, border;
|
|
|
|
transition-property: background-color, border;
|
|
|
|
-webkit-transition-duration: 0.3s;
|
|
|
|
-moz-transition-duration: 0.3s;
|
|
|
|
transition-duration: 0.3s;
|
|
|
|
-webkit-transition-timing-function: linear;
|
|
|
|
-moz-transition-timing-function: linear;
|
|
|
|
transition-timing-function: linear;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitAccordionTitle {
|
2011-11-08 16:40:44 +00:00
|
|
|
background-color: transparent;
|
|
|
|
/* pick up color from dijitAccordionInnerContainer */
|
|
|
|
|
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: 5px 7px 2px 7px;
|
|
|
|
min-height: 17px;
|
2012-08-14 14:59:10 +00:00
|
|
|
color: #494949;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
.claro .dijitAccordionContainer .dijitAccordionChildWrapper {
|
|
|
|
/* this extends the blue trim styling of the title bar to wrapping around the node.
|
|
|
|
* done by setting margin
|
|
|
|
*/
|
|
|
|
|
|
|
|
background-color: #ffffff;
|
2012-08-14 14:59:10 +00:00
|
|
|
border: 1px solid #759dc0;
|
2011-11-08 16:40:44 +00:00
|
|
|
margin: 0 2px 2px;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitAccordionContainer .dijitAccordionContainer-child {
|
2011-11-08 16:40:44 +00:00
|
|
|
/* this is affecting the child widget itself */
|
|
|
|
|
|
|
|
padding: 9px;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
/* Active state for closed pane */
|
2010-11-15 07:39:52 +00:00
|
|
|
.claro .dijitAccordionInnerContainerActive {
|
2012-08-14 14:59:10 +00:00
|
|
|
border: 1px solid #759dc0;
|
|
|
|
background-color: #7dbdfa;
|
2011-11-08 16:40:44 +00:00
|
|
|
-webkit-transition-duration: 0.1s;
|
|
|
|
-moz-transition-duration: 0.1s;
|
|
|
|
transition-duration: 0.1s;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitAccordionInnerContainerActive .dijitAccordionTitle {
|
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
|
|
|
color: #000000;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
/* Open (a.k.a. selected) pane */
|
2010-11-15 07:39:52 +00:00
|
|
|
.claro .dijitAccordionInnerContainerSelected {
|
2012-08-14 14:59:10 +00:00
|
|
|
border-color: #759dc0;
|
2011-11-08 16:40:44 +00:00
|
|
|
background-color: #cfe5fa;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitAccordionInnerContainerSelected .dijitAccordionTitle {
|
2011-11-08 16:40:44 +00:00
|
|
|
color: #000000;
|
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
|
|
|
/* avoid effect when clicking the title of the open pane */
|
|
|
|
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
/* Hovering open or closed pane */
|
2012-08-14 14:59:10 +00:00
|
|
|
.claro .dijitAccordionInnerContainerHover .dijitAccordionTitle {
|
2011-11-08 16:40:44 +00:00
|
|
|
/* both open and closed */
|
|
|
|
|
|
|
|
color: #000000;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
.claro .dijitAccordionInnerContainerHover, .claro .dijitAccordionInnerContainerSelectedActive {
|
|
|
|
/* note: clicking the currently selected Accordion pane should have no effect, so treating same as hover. */
|
|
|
|
|
2012-08-14 14:59:10 +00:00
|
|
|
border: 1px solid #759dc0;
|
2011-11-08 16:40:44 +00:00
|
|
|
background-color: #abd6ff;
|
|
|
|
-webkit-transition-duration: 0.2s;
|
|
|
|
-moz-transition-duration: 0.2s;
|
|
|
|
transition-duration: 0.2s;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
.claro .dijitAccordionInnerContainerSelectedHover .dijitAccordionChildWrapper, .claro .dijitAccordionInnerContainerSelectedActive .dijitAccordionChildWrapper {
|
|
|
|
background-color: #ffffff;
|
2013-03-18 06:26:24 +00:00
|
|
|
border: 1px solid #759dc0;
|
2011-11-08 16:40:44 +00:00
|
|
|
-webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.25);
|
|
|
|
-moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.25);
|
|
|
|
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.25);
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|