Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
207 espaco 1
body {
2
  .ui-treetable {
3
    .ui-treetable-header {
4
      background: $datatableHeaderBg;
5
      color: $datatableHeaderTextColor;
6
      border: $datatableHeaderBorder;
7
      border-width: $datatableHeaderBorderWidth;
8
      padding: $datatableHeaderPadding;
9
      font-weight: $datatableHeaderFontWeight;
10
    }
11
 
12
    .ui-treetable-footer {
13
      background: $datatableFooterBg;
14
      color: $datatableFooterTextColor;
15
      border: $datatableFooterBorder;
16
      border-width: $datatableFooterBorderWidth;
17
      padding: $datatableFooterPadding;
18
      font-weight: $datatableFooterFontWeight;
19
    }
20
 
21
    .ui-treetable-header {
22
      text-align: left;
23
    }
24
 
25
    .ui-treetable-footer {
26
      text-align: left;
27
    }
28
 
29
    .ui-paginator {
30
      padding: $paginatorPadding;
31
 
32
      &.ui-paginator-top {
33
        border-width: $datatableTopPaginatorBorderWidth;
34
        border-radius: 0;
35
      }
36
 
37
      &.ui-paginator-bottom {
38
        border-width: $datatableBottomPaginatorBorderWidth;
39
        border-radius: 0;
40
      }
41
    }
42
 
43
    thead {
44
      th {
45
        background: $datatableHeaderCellBg;
46
        color: $datatableHeaderCellTextColor;
47
        padding: $datatableHeaderCellPadding;
48
        border: $datatableHeaderCellBorder;
49
        border-width: $datatableHeaderCellBorderWidth;
50
        text-align: left;
51
        box-sizing: content-box;;
52
        transition: $transition;
53
 
54
        .ui-column-title {
55
          font-weight: $datatableHeaderCellFontWeight;
56
          vertical-align: middle;
57
        }
58
 
59
        .ui-sortable-column-icon {
60
          margin: 0 0 0 $inlineSpacing;
61
 
62
          &.ui-icon-carat-2-n-s {
63
            @include icon_override('\e99e');
64
            vertical-align: middle;
65
          }
66
 
67
          &.ui-icon-triangle-1-n {
68
            @include icon_override('\e99f');
69
            vertical-align: middle;
70
          }
71
 
72
          &.ui-icon-triangle-1-s {
73
            @include icon_override('\e9a0');
74
            vertical-align: middle;
75
          }
76
        }
77
 
78
        .ui-sortable-column-badge {
79
          border-radius: 50%;
80
          height: $datatableSortableColumnBadgeSize;
81
          min-width: $datatableSortableColumnBadgeSize;
82
          line-height: $datatableSortableColumnBadgeSize;
83
          color: $badgeTextColor;
84
          background: $badgeBg;
85
          margin-left: $inlineSpacing;
86
          font-size: $badgeFontSize;
87
        }
88
 
89
        &.ui-sortable-column {
90
          &.ui-state-focus {
91
            @include focused-inset();
92
          }
93
        }
94
 
95
        &.ui-state-hover {
96
          background: $datatableHeaderCellHoverBg;
97
          color: $datatableHeaderCellTextHoverColor;
98
        }
99
 
100
        &.ui-state-active {
101
          background: $datatableHeaderCellHighlightBg;
102
          color: $datatableHeaderCellHighlightTextColor;
103
 
104
          &.ui-state-hover {
105
            background: $datatableHeaderCellHighlightHoverBg;
106
            color: $datatableHeaderCellHighlightTextHoverColor;
107
          }
108
        }
109
      }
110
    }
111
 
112
    .ui-treetable-data {
113
      > tr {
114
        background: $datatableBodyRowBg;
115
        color: $datatableBodyRowTextColor;
116
        transition: $transition;
117
 
118
        > td {
119
          padding: $datatableBodyCellPadding;
120
          border: $datatableBodyRowBorder;
121
          border-width: $datatableHeaderCellBorderWidth;
122
 
123
          .ui-treetable-toggler {
124
            margin-right: $inlineSpacing;
125
            margin-top: 0;
126
            transition: $transition;
127
            @include action-icon();
128
 
129
            &.ui-icon-triangle-1-e {
130
              @include icon_override("\e901");
131
            }
132
 
133
            &.ui-icon-triangle-1-s {
134
              @include icon_override("\e902");
135
            }
136
          }
137
 
138
          .ui-chkbox.ui-selection {
139
            vertical-align: middle;
140
            margin-right: $inlineSpacing * 2;
141
 
142
            .ui-icon-minus {
143
              @include icon_override("\e90f");
144
              color: $panelContentTextColor;
145
            }
146
          }
147
        }
148
 
149
        &.ui-state-hover {
150
          background: $datatableBodyRowHoverBg;
151
          color: $datatableBodyRowTextHoverColor;
152
        }
153
 
154
        &.ui-state-highlight {
155
          background: $highlightBg;
156
          color: $highlightTextColor;
157
          cursor: default;
158
 
159
          .ui-treetable-toggler {
160
            color: $highlightTextColor;
161
 
162
            &:hover {
163
              color: $highlightTextColor;
164
            }
165
          }
166
        }
167
 
168
        .ui-row-editor {
169
          .ui-icon {
170
            @include action-icon();
171
 
172
            &.ui-icon-pencil {
173
              @include icon_override('\e942');
174
            }
175
 
176
            &.ui-icon-check {
177
              @include icon_override('\e909');
178
              margin-right: $inlineSpacing;
179
            }
180
 
181
            &.ui-icon-close {
182
              @include icon_override('\e90b');
183
            }
184
          }
185
 
186
          .ui-row-editor-check {
187
            display: none;
188
          }
189
 
190
          .ui-row-editor-close {
191
            display: none;
192
          }
193
        }
194
 
195
        &.ui-row-editing {
196
          .ui-row-editor-check {
197
            display: inline-block;
198
          }
199
 
200
          .ui-row-editor-close {
201
            display: inline-block;
202
            color:$highlightTextColor;
203
          }
204
 
205
          .ui-icon {
206
            color:$highlightTextColor;
207
          }
208
        }
209
      }
210
    }
211
 
212
    tfoot {
213
      td {
214
        background: $datatableFooterCellBg;
215
        border: $datatableFooterCellBorder;
216
        border-width: $datatableFooterCellBorderWidth;
217
        color: $datatableFooterCellTextColor;
218
        padding: $datatableFooterCellPadding;
219
        font-weight: $datatableFooterCellFontWeight;
220
        box-sizing: content-box;;
221
      }
222
    }
223
 
224
    .ui-treetable-scrollable-header, .ui-treetable-scrollable-footer {
225
      background: $datatableHeaderCellBg;
226
    }
227
 
228
    .ui-column-resizer-helper {
229
      background: $datatableResizerHelperBg;
230
    }
231
 
232
    &.ui-treetable-sm {
233
      thead {
234
        > tr {
235
          > th {
236
            padding: nth($datatableHeaderCellPadding,1) * $datatableScaleSm nth($datatableHeaderCellPadding,2) * $datatableScaleSm;
237
          }
238
        }
239
      }
240
 
241
      .ui-treetable-scrollable-theadclone {
242
        > tr {
243
          > th {
244
            padding-top: 0;
245
            padding-bottom: 0;
246
          }
247
        }
248
      }
249
 
250
      .ui-treetable-data {
251
        > tr {
252
          > td {
253
            padding: nth($datatableBodyCellPadding,1) * $datatableScaleSm nth($datatableBodyCellPadding,2) * $datatableScaleSm;
254
          }
255
        }
256
      }
257
 
258
      tfoot {
259
        > tr {
260
          > td {
261
            padding: nth($datatableFooterCellPadding,1) * $datatableScaleSm nth($datatableFooterCellPadding,2) * $datatableScaleSm;
262
          }
263
        }
264
      }
265
    }
266
 
267
    &.ui-treetable-lg {
268
      thead {
269
        > tr {
270
          > th {
271
            padding: nth($datatableHeaderCellPadding,1) * $datatableScaleLg nth($datatableHeaderCellPadding,2) * $datatableScaleLg;
272
          }
273
        }
274
      }
275
 
276
      .ui-treetable-scrollable-theadclone {
277
        > tr {
278
          > th {
279
            padding-top: 0;
280
            padding-bottom: 0;
281
          }
282
        }
283
      }
284
 
285
      .ui-treetable-data {
286
        > tr {
287
          > td {
288
            padding: nth($datatableBodyCellPadding,1) * $datatableScaleLg nth($datatableBodyCellPadding,2) * $datatableScaleLg;
289
          }
290
        }
291
      }
292
 
293
      tfoot {
294
        > tr {
295
          > td {
296
            padding: nth($datatableFooterCellPadding,1) * $datatableScaleLg nth($datatableFooterCellPadding,2) * $datatableScaleLg;
297
          }
298
        }
299
      }
300
    }
301
 
302
    &.ui-treetable-gridlines {
303
      .ui-treetable-header {
304
        border-width: 1px 1px 0;
305
      }
306
 
307
      thead {
308
        > tr {
309
          > th {
310
            border: $datatableHeaderCellBorder;
311
          }
312
        }
313
      }
314
 
315
      .ui-treetable-data {
316
        > tr {
317
          > td {
318
            border-width: 1px;
319
          }
320
        }
321
      }
322
 
323
      .ui-treetable-scrollable-theadclone {
324
        > tr {
325
          > th {
326
            padding-top: 0;
327
            padding-bottom: 0;
328
            border-bottom: 0 none;
329
            border-top: 0 none;
330
          }
331
        }
332
      }
333
 
334
      tfoot {
335
        > tr {
336
          > td {
337
            border-width: 1px;
338
          }
339
        }
340
      }
341
    }
342
  }
343
}