Debian Codegraph @

dijit/themes/claro/Tree.css

raw symbols SCIP
1 /* Tree
2 *
3 * Styling Tree mostly means styling the TreeRow (dijitTreeRow)
4 * There are 4 basic states to style:
5 *
6 * Tree Row:
7 * 1. tree row (default styling):
8 * .dijitTreeRow - styles for each row of the tree
9 *
10 * 2. hovered tree row (mouse hover on a tree row)
11 * .dijitTreeRowHover - styles when mouse over on one row
12 *
13 * 3. active tree row (mouse down on a tree row)
14 * .dijitTreeRowActive - styles when mouse down on one row
15 *
16 * 4. selected tree row
17 * dijitTreeRowSelected - style when the row has been selected
18 *
19 * Tree Expando:
20 * dijitTreeExpando - the expando at the left of the text of each tree row
21 *
22 * Drag and Drop on TreeNodes: (insert line on dijitTreeContent node so it'll aligned w/ target element)
23 * .dijitTreeNode .dojoDndItemBefore/.dojoDndItemAfter - use border style simulate a separate line
24 */
25 .claro .dijitTreeNode {
26 zoom: 1;
27 /* force layout on IE (TODO: may not be needed anymore) */
28
29 }
30 .claro .dijitTreeIsRoot {
31 background-image: none;
32 }
33 /* Styling for basic tree node (unhovered, unselected)
34 * Also use this styling when dropping between items on the tree (in other words, don't
35 * use hover effect)
36 */
37 .claro .dijitTreeRow,
38 .claro .dijitTreeNode .dojoDndItemBefore,
39 .claro .dijitTreeNode .dojoDndItemAfter {
40 /* so insert line shows up on IE when dropping after a target element */
41
42 padding: 4px 0 2px 0;
43 background-color: none;
44 background-color: transparent;
45 background-color: rgba(171, 214, 255, 0);
46 background-position: 0 0;
47 background-repeat: repeat-x;
48 border: solid 0 transparent;
49 color: #000000;
50 -webkit-transition-property: background-color, border-color;
51 -moz-transition-property: background-color, border-color;
52 transition-property: background-color, border-color;
53 -webkit-transition-duration: 0.25s;
54 -moz-transition-duration: 0.25s;
55 transition-duration: 0.25s;
56 -webkit-transition-timing-function: ease-out;
57 -moz-transition-timing-function: ease-out;
58 transition-timing-function: ease-out;
59 }
60 .claro .dijitTreeRowSelected {
61 background-color: #cfe5fa;
62 background-image: url("images/standardGradient.png");
63 background-repeat: repeat-x;
64 background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
65 background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
66 background-image: -o-linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
67 background-image: linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
68 _background-image: none;
69 padding: 3px 0 1px;
70 border-color: #759dc0;
71 border-width: 1px 0;
72 color: #000000;
73 }
74 .claro .dijitTreeRowHover {
75 background-color: #abd6ff;
76 background-image: url("images/standardGradient.png");
77 background-repeat: repeat-x;
78 background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
79 background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
80 background-image: -o-linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
81 background-image: linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
82 _background-image: none;
83 padding: 3px 0 1px;
84 border-color: #759dc0;
85 border-width: 1px 0;
86 color: #000000;
87 -webkit-transition-duration: 0.25s;
88 -moz-transition-duration: 0.25s;
89 transition-duration: 0.25s;
90 }
91 .claro .dijitTreeRowActive {
92 background-color: #7dbdfa;
93 background-image: url("images/activeGradient.png");
94 background-repeat: repeat-x;
95 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%);
96 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%);
97 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%);
98 background-image: linear-gradient(rgba(190, 190, 190, 0.98) 0px, rgba(255, 255, 255, 0.65) 3px, rgba(255, 255, 255, 0) 100%);
99 _background-image: none;
100 padding: 3px 0 1px;
101 border-color: #759dc0;
102 border-width: 1px 0;
103 color: #000000;
104 }
105 .claro .dijitTreeRowFocused {
106 background-repeat: repeat;
107 }
108 /* expando (open/closed) icon */
109 .claro .dijitTreeExpando {
110 background-image: url("images/treeExpandImages.png");
111 width: 16px;
112 height: 16px;
113 background-position: -35px 0;
114 /* for dijitTreeExpandoOpened */
115
116 }
117 .dj_ie6 .claro .dijitTreeExpando {
118 background-image: url("images/treeExpandImages8bit.png");
119 }
120 .claro .dijitTreeRowHover .dijitTreeExpandoOpened {
121 background-position: -53px 0;
122 }
123 .claro .dijitTreeExpandoClosed {
124 background-position: 1px 0;
125 }
126 .claro .dijitTreeRowHover .dijitTreeExpandoClosed {
127 background-position: -17px 0;
128 }
129 .claro .dijitTreeExpandoLeaf,
130 .dj_ie6 .claro .dijitTreeExpandoLeaf {
131 background-image: none;
132 }
133 .claro .dijitTreeExpandoLoading {
134 background-image: url("../../icons/images/loadingAnimation.gif");
135 background-position: 0 0;
136 }
137 /* Drag and Drop on TreeNodes
138 * Put insert line on dijitTreeContent node so it's aligned w/
139 * (ie, indented equally with) target element, even
140 * though dijitTreeRowNode is the actual "drag object"
141 */
142 .claro .dijitTreeNode .dojoDndItemBefore .dijitTreeContent {
143 border-top: 2px solid #759dc0;
144 }
145 .claro .dijitTreeNode .dojoDndItemAfter .dijitTreeContent {
146 border-bottom: 2px solid #759dc0;
147 }