summaryrefslogtreecommitdiff
path: root/lib/flat/dijit/TitlePane.css
blob: f3950bce7d17aba86753bea3eaafad7f46697105 (plain)
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/* 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
 */
.flat .dijitTitlePaneTitle {
  border-style: solid;
  border-width: 1px;
  border-color: #9e9e9e;
  padding: 4px;
  border-radius: 3px;
  line-height: 20px;
  cursor: pointer;
  -webkit-transition: all 0.05s linear;
  -moz-transition: all 0.05s linear;
  -o-transition: all 0.05s linear;
  -ms-transition: all 0.05s linear;
  transition: all 0.05s linear;
  background: #fff;
  border-radius: 3px 3px 0 0;
}
.flat .dijitTitlePaneTitleHover,
.flat .dijitFieldsetTitleHover {
  -webkit-transition: all 0.1s;
  -moz-transition: all 0.1s;
  -o-transition: all 0.1s;
  -ms-transition: all 0.1s;
  transition: all 0.1s;
  background: #f2f2f2;
  border-color: #d9d9d9;
}
.flat .dijitTitlePaneTitleActive,
.flat .dijitFieldsetTitleActive {
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  -ms-transition: none;
  transition: none;
  outline: none;
  -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,0.05);
  box-shadow: inset 0 3px 5px rgba(0,0,0,0.05);
  background: #e0e0e0;
  border-color: #b3b3b3;
}
.flat .dijitFieldset {
  border-radius: 3px 3px 0 0;
}
.flat .dijitFieldset .dijitArrowNodeInner {
  display: none;
}
.flat .dijitFieldset .dijitFieldsetTitleClosed .dijitArrowNode:before {
  content: "\f006";
}
.flat .dijitTitlePane .dijitArrowNode,
.flat .dijitFieldset .dijitArrowNode {
  font-family: "flat-icon";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 18px;
  text-align: center;
}
.flat .dijitTitlePane .dijitArrowNode:before,
.flat .dijitFieldset .dijitArrowNode:before {
  content: "\f007";
}
.flat .dijitTitlePane .dijitClosed,
.flat .dijitFieldset .dijitClosed {
  border-radius: 3px;
}
.flat .dijitTitlePane .dijitClosed .dijitArrowNode:before,
.flat .dijitFieldset .dijitClosed .dijitArrowNode:before {
  content: "\f006";
}
.flat .dijitTitlePaneContentOuter {
  background-color: #fff;
  border: 1px solid #9e9e9e;
  border-top: none;
  border-radius: 0 0 3px 3px;
}
.flat .dijitFieldset {
  background-color: #fff;
  border: 1px solid #9e9e9e;
  border-radius: 3px;
}
.flat .dijitTitlePaneContentInner,
.flat .dijitFieldsetContentInner {
  padding: 8px;
}
.flat .dijitTitlePaneTextNode,
.flat .dijitFieldsetLegendNode {
  margin-left: 8px;
  margin-right: 8px;
  vertical-align: text-top;
}
.flat .dijitFieldsetLegendNode {
  cursor: default;
}