/
rtl.less
65 lines (54 loc) · 1.24 KB
/
rtl.less
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
/*
* RTL Styles
*/
.ui-grid[dir=rtl] {
.ui-grid-header-cell,
.ui-grid-footer-cell,
.ui-grid-cell {
float: right !important;
}
.ui-grid-column-menu-button {
position: absolute;
left: 1px;
top: 0;
right: inherit;
}
.ui-grid-cell:first-child,
.ui-grid-header-cell:first-child,
.ui-grid-footer-cell:first-child {
border-right: 0;
}
.ui-grid-cell:last-child, .ui-grid-header-cell:last-child {
border-right: @gridBorderWidth solid @borderColor;
border-left: 0;
}
.ui-grid-header-cell:first-child .ui-grid-vertical-bar,
.ui-grid-footer-cell:first-child .ui-grid-vertical-bar,
.ui-grid-cell:first-child .ui-grid-vertical-bar {
width: 0;
}
.ui-grid-menu-button {
z-index: 2;
position: absolute;
left: 0;
right: auto;
background: @headerBackgroundColor;
border: @gridBorderWidth solid @borderColor;
cursor: pointer;
min-height: 27px;
font-weight: normal;
}
.ui-grid-menu-button .ui-grid-menu {
left: 0;
right: auto;
}
// Position filter-cancel button on the left for rtl grids
.ui-grid-filter-container .ui-grid-filter-button {
right: initial;
left: 0;
[class^="ui-grid-icon"] {
right: initial;
left: 10px;
}
}
}