ui.fancytree-w.less
3.83 KB
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
/*!
* Fancytree "Win8" skin.
*
* DON'T EDIT THE CSS FILE DIRECTLY, since it is automatically generated from
* the LESS templates.
*/
// Import common styles
@import "../skin-common.less";
/*******************************************************************************
* Styles specific to this skin.
*
* This section is automatically generated from the `ui-fancytree.less` template.
******************************************************************************/
// Borders have NO radius and NO gradients are used!
// both:
// unselected background: white
// hover bar (unselected, inactive): #E5F3FB (border: #70C0E7) 'very light blue'
// active node: #CBE8F6 (border: #26A0DA) 'light blue'
// active node with hover: wie active node
// Tree view:
// active node, tree inactive: #F7F7F7 (border: #DEDEDE) 'light gray, selected, but tree not active'
// List view:
// selected bar: --> active bar
// focus bar: transparent(white) + border 1px solid #3399FF ()
// table left/right border: #EDEDED 'light gray'
// Override the variable after the import.
// NOTE: Variables are always resolved as the last definition, even if it is
// after where it is used.
@fancy-use-sprites: true;
@fancy-hide-connectors: true;
@fancy-icon-width: 16px;
@fancy-icon-height: 16px;
@fancy-line-height: 16px;
@fancy-icon-margin-left: 3px;
// Use 'data-uri(...)' to create inline image:
@fancy-loading-url: data-uri("@{fancy-image-dir}/loading.gif");
/*******************************************************************************
* Node titles
*/
span.fancytree-title {
border: @fancy-node-border-width solid transparent; // avoid jumping, when a border is added on hover
}
span.fancytree-title:hover {
background-color: #E5F3FB;
border-color: #70C0E7;
}
.fancytree-container.fancytree-treefocus span.fancytree-focused span.fancytree-title {
border-color: #3399FF;
// outline: 1px solid #3399FF;
}
span.fancytree-active span.fancytree-title,
span.fancytree-selected span.fancytree-title { // active/selcted nodes inside inactive tree
background-color: #F7F7F7;
border-color: #DEDEDE;
}
.fancytree-container.fancytree-treefocus span.fancytree-active span.fancytree-title,
.fancytree-container.fancytree-treefocus span.fancytree-selected span.fancytree-title,
span.fancytree-active span.fancytree-title:hover,
span.fancytree-selected span.fancytree-title:hover {
background-color: #CBE8F6;
border-color: #26A0DA;
}
span.fancytree-selected span.fancytree-title {
font-style: italic;
}
/*******************************************************************************
* 'table' extension
*/
table.fancytree-ext-table tbody {
tr td {
border: 1px solid #EDEDED;
}
span.fancytree-node,
span.fancytree-node:hover { // undo standard tree css
border: none;
background: none;
}
// Title get's a white background, when hovered. Undo standard node formatting
span.fancytree-title:hover {
border: none; //1px solid transparent;
background: inherit;
background: transparent;
background: none;
filter: none;
}
tr:hover {
background-color: #E5F3FB;
outline: 1px solid #70C0E7;
}
// tr:hover td {
// outline: 1px solid #D8F0FA;
// }
// tr.fancytree-focused {
// border-color: #3399FF;
// outline: 1px dotted black;
// }
tr.fancytree-focused span.fancytree-title {
outline: 1px dotted black;
}
tr.fancytree-active:hover,
tr.fancytree-selected:hover {
background-color: #CBE8F6;
outline: 1px solid #26A0DA;
}
tr.fancytree-active { // dimmed, if inside inactive tree
background-color: #F7F7F7;
outline: 1px solid #DEDEDE;
}
tr.fancytree-selected { // dimmed, if inside inactive tree
background-color: #F7F7F7;
}
}
table.fancytree-ext-table.fancytree-treefocus tbody {
tr.fancytree-active {
background-color: #CBE8F6;
outline: 1px solid #26A0DA;
}
tr.fancytree-selected {
background-color: #CBE8F6;
}
}