-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathTitlePane.styl
78 lines (76 loc) · 2.25 KB
/
TitlePane.styl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/* TitlePane and Fieldset
*
* 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;
standard-gradient();
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;
}
.claro .dijitTitlePaneTitleHover {
background-color: $hovered-background-color;
border-color: $hovered-border-color;
}
.claro .dijitTitlePaneTitleActive {
background-color: $pressed-background-color;
border-color: $pressed-border-color;
active-gradient();
}
.claro .dijitTitlePaneTitleFocus {
margin-top:3px;
padding-bottom:2px;
}
.claro .dijitTitlePane .dijitArrowNode, .claro .dijitFieldset .dijitArrowNode {
background-image: url($image-arrow-sprite);
background-repeat: no-repeat;
height: 8px;
width: 7px;
}
.claro .dijitTitlePaneTitleOpen .dijitArrowNode, .claro .dijitFieldsetTitleOpen .dijitArrowNode {
background-position: 0 0;
}
.claro .dijitTitlePaneTitleClosed .dijitArrowNode, .claro .dijitFieldsetTitleClosed .dijitArrowNode {
background-position: -14px 0;
}
.claro .dijitTitlePaneContentOuter {
background: $pane-background-color;
border:1px solid $border-color;
border-top:none;
}
.claro .dijitTitlePaneContentInner {
padding:10px;
}
.claro .dijitFieldsetContentInner {
padding: 4px;
}
.claro .dijitTitlePaneTextNode, .claro .dijitFieldsetLegendNode {
margin-left: 4px;
margin-right: 4px;
vertical-align:text-top;
}