]>
git.wh0rd.org - tt-rss.git/blob - lib/dijit/themes/claro/Tree.css
3 * Styling Tree mostly means styling the TreeRow (dijitTreeRow)
4 * There are 4 basic states to style:
7 * 1. tree row (default styling):
8 * .dijitTreeRow - styles for each row of the tree
10 * 2. hovered tree row (mouse hover on a tree row)
11 * .dijitTreeRowHover - styles when mouse over on one row
13 * 3. active tree row (mouse down on a tree row)
14 * .dijitTreeRowActive - styles when mouse down on one row
16 * 4. selected tree row
17 * dijitTreeRowSelected - style when the row has been selected
20 * dijitTreeExpando - the expando at the left of the text of each tree row
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
25 .claro .dijitTreeNode {
27 /* force layout on IE (TODO: may not be needed anymore) */
30 .claro .dijitTreeIsRoot {
31 background-image: none
;
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
37 .claro .dijitTreeRow, .claro .dijitTreeNode .dojoDndItemBefore, .claro .dijitTreeNode .dojoDndItemAfter {
38 /* so insert line shows up on IE when dropping after a target element */
40 padding: 4px 1px 2px 0;
42 /* replaced by border for selected/hovered row */
44 background-color: none
;
45 background-color: transparent
;
46 background-color: rgba
(171, 214, 255, 0);
47 background-position: 0 0;
48 background-repeat: repeat-x
;
49 border-color: rgba
(118, 157, 192, 0);
52 -webkit-transition-property: background-color
, border-color
;
53 -moz-transition-property: background-color
, border-color
;
54 transition-property: background-color
, border-color
;
55 -webkit-transition-duration: 0.25s;
56 -moz-transition-duration: 0.25s;
57 transition-duration: 0.25s;
58 -webkit-transition-timing-function: ease-out
;
59 -moz-transition-timing-function: ease-out
;
60 transition-timing-function: ease-out
;
62 .claro .dijitTreeRowSelected {
63 background-repeat: repeat-x
;
64 background-color: #cfe5fa;
65 background-image: url
("images/commonHighlight.png");
68 border: solid
1px #759dc0;
71 .claro .dijitTreeRowHover {
72 background-color: #abd6ff;
73 background-image: url
("images/commonHighlight.png");
76 border: solid
1px #759dc0;
78 -webkit-transition-duration: 0.25s;
79 -moz-transition-duration: 0.25s;
80 transition-duration: 0.25s;
82 .claro .dijitTreeRowActive {
83 background-color: #7dbdfa;
84 background-image: url
("images/commonHighlight.png");
85 background-position: 0 -177px;
88 border: solid
1px #759dc0;
91 .dj_ie6 .claro .dijitTreeRow {
92 background-image: none
;
94 .claro .dijitTreeRowFocused {
95 background-repeat: repeat
;
97 /* expando (open/closed) icon */
98 .claro .dijitTreeExpando {
99 background-image: url
("images/treeExpandImages.png");
102 background-position: -35px 0;
103 /* for dijitTreeExpandoOpened */
106 .dj_ie6 .claro .dijitTreeExpando {
107 background-image: url
("images/treeExpandImages8bit.png");
109 .claro .dijitTreeRowHover .dijitTreeExpandoOpened {
110 background-position: -53px 0;
112 .claro .dijitTreeExpandoClosed {
113 background-position: 1px 0;
115 .claro .dijitTreeRowHover .dijitTreeExpandoClosed {
116 background-position: -17px 0;
118 .claro .dijitTreeExpandoLeaf, .dj_ie6 .claro .dijitTreeExpandoLeaf {
119 background-image: none
;
121 .claro .dijitTreeExpandoLoading {
122 background-image: url
("images/loadingAnimation.gif");
124 /* Drag and Drop on TreeNodes
125 * Put insert line on dijitTreeContent node so it's aligned w/
126 * (ie, indented equally with) target element, even
127 * though dijitTreeRowNode is the actual "drag object"
129 .claro .dijitTreeNode .dojoDndItemBefore .dijitTreeContent {
130 border-top: 2px solid
#759dc0;
132 .claro .dijitTreeNode .dojoDndItemAfter .dijitTreeContent {
133 border-bottom: 2px solid
#759dc0;