blob: f224e898f1d726db92447b1ba99b2cb73336236a (
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
|
@mixin chameleon-table($primaryStyleName : v-table) {
.#{$primaryStyleName}-table {
line-height: $line-height;
}
.#{$primaryStyleName}-header-wrap,
.#{$primaryStyleName}-header-drag {
background: #c9c9c9 url(../../img/grad-light-top.png) repeat-x;
height: 1.4em;
line-height: normal;
}
.#{$primaryStyleName}-caption-container,
.#{$primaryStyleName}-header-drag {
padding-top: .2em;
padding-right: 4px;
}
.#{$primaryStyleName}-header-drag {
padding-left: .3em;
}
.#{$primaryStyleName}-resizer {
background: transparent;
border-right: 1px solid #b3b3b3;
padding-left: 1px;
height: 1.4em;
}
/* Targets the same element as .#{$primaryStyleName}-resizer */
div.#{$primaryStyleName}-focus-slot-left {
background: transparent;
border-left: 2px solid #b3b3b3;
border-right: none;
padding-left: 0;
padding-right: 1px;
float: left;
margin: 0;
}
.#{$primaryStyleName}-row,
.#{$primaryStyleName}-row-odd {
background: transparent;
}
.#{$primaryStyleName}-generated-row {
background: #c9c9c9;
}
.#{$primaryStyleName} tr.v-selected {
background-image: url(../../img/grad-light-top2.png);
background-position: 0 -1px;
}
div.#{$primaryStyleName}-focus-slot-right {
background: transparent;
border-right: 2px solid #b3b3b3;
padding-left: 0;
margin: 0;
}
.#{$primaryStyleName}-column-selector {
margin-top: -1.35em;
}
.#{$primaryStyleName}-cell-content {
border-right: none;
padding-right: 7px;
}
.#{$primaryStyleName}-caption-container .v-icon {
vertical-align: middle;
margin: -0.37em 2px 0 0;
}
.#{$primaryStyleName}-header-drag .v-icon {
vertical-align: middle;
}
/* column selector */
.v-contextmenu .v-on,
.v-contextmenu .v-off {
display: block;
background: transparent url(../../icons/bullet.png) no-repeat 0 4px;
padding-left: 12px;
}
.v-contextmenu .v-off {
background-image: none;
color: #666;
}
.v-contextmenu .gwt-MenuItem-selected .v-on {
background-image: url(../../icons/bullet-white.png);
}
.#{$primaryStyleName}-scrollposition {
font-size: 11.7px;
opacity: .85;
filter: alpha(opacity=85);
}
/*******************************************************************************
* Small
******************************************************************************/
.#{$primaryStyleName}-small .#{$primaryStyleName}-caption-container,
.#{$primaryStyleName}-small .#{$primaryStyleName}-body {
font-size: $chameleon-font-size-small;
}
.#{$primaryStyleName}-small .#{$primaryStyleName}-resizer,
.#{$primaryStyleName}-small .#{$primaryStyleName}-header-wrap {
height: 1.2em;
}
.#{$primaryStyleName}-small .#{$primaryStyleName}-column-selector {
margin-top: -1.2em;
}
/*******************************************************************************
* Big
******************************************************************************/
.#{$primaryStyleName}-big .#{$primaryStyleName}-caption-container,
.#{$primaryStyleName}-big .#{$primaryStyleName}-body {
font-size: $chameleon-font-size-big;
}
.#{$primaryStyleName}-big .#{$primaryStyleName}-caption-container {
padding-top: .3em;
}
.#{$primaryStyleName}-big .#{$primaryStyleName}-resizer,
.#{$primaryStyleName}-big .#{$primaryStyleName}-header-wrap {
height: 1.8em;
}
.#{$primaryStyleName}-big .#{$primaryStyleName}-column-selector {
margin-top: -1.5em;
}
/*******************************************************************************
* Striped
******************************************************************************/
.#{$primaryStyleName}-striped .#{$primaryStyleName}-row-odd {
background-color: #e6e6e6;
}
/*******************************************************************************
* Strong
******************************************************************************/
.#{$primaryStyleName}-strong .#{$primaryStyleName}-caption-container {
font-weight: bold;
}
/*******************************************************************************
* Borderless
******************************************************************************/
.#{$primaryStyleName}-borderless .#{$primaryStyleName}-header-wrap,
.#{$primaryStyleName}-borderless .#{$primaryStyleName}-body {
border: none;
}
div.#{$primaryStyleName}-borderless .#{$primaryStyleName}-body {
background: transparent;
}
}
|