|
6 | 6 | box-sizing: border-box; |
7 | 7 | } |
8 | 8 |
|
9 | | -.s2-to-tree .select2-dropdown[dir*="ltr"] .select2-results__option.l1 { |
| 9 | +.s2-to-tree .select2-results__option.l1 { |
10 | 10 | margin-left: 0.6em; |
11 | 11 | font-size: 1em; |
12 | 12 | } |
13 | | -.s2-to-tree .select2-dropdown[dir*="ltr"] .select2-results__option.l2 { |
| 13 | +.s2-to-tree .select2-results__option.l2 { |
14 | 14 | margin-left: 1.4em; |
15 | 15 | font-size: 0.95em; |
16 | 16 | } |
17 | | -.s2-to-tree .select2-dropdown[dir*="ltr"] .select2-results__option.l3 { |
| 17 | +.s2-to-tree .select2-results__option.l3 { |
18 | 18 | margin-left: 2.2em; |
19 | 19 | font-size: 0.91em; |
20 | 20 | } |
21 | | -.s2-to-tree .select2-dropdown[dir*="ltr"] .select2-results__option.l4 { |
| 21 | +.s2-to-tree .select2-results__option.l4 { |
22 | 22 | margin-left: 3.0em; |
23 | 23 | font-size: 0.87em; |
24 | 24 | } |
25 | | -.s2-to-tree .select2-dropdown[dir*="ltr"] .select2-results__option.l5 { |
| 25 | +.s2-to-tree .select2-results__option.l5 { |
26 | 26 | margin-left: 3.8em; |
27 | 27 | font-size: 0.83em; |
28 | 28 | } |
29 | | -.s2-to-tree .select2-dropdown[dir*="ltr"] .select2-results__option.l6 { |
| 29 | +.s2-to-tree .select2-results__option.l6 { |
30 | 30 | margin-left: 4.5em; |
31 | 31 | font-size: 0.8em; |
32 | 32 | } |
33 | | -.s2-to-tree .select2-dropdown[dir*="ltr"] .select2-results__option.l7 { |
| 33 | +.s2-to-tree .select2-results__option.l7 { |
34 | 34 | margin-left: 5.3em; |
35 | 35 | font-size: 0.77em; |
36 | 36 | } |
37 | | -.s2-to-tree .select2-dropdown[dir*="ltr"] .select2-results__option.l8 { |
| 37 | +.s2-to-tree .select2-results__option.l8 { |
38 | 38 | margin-left: 6.0em; |
39 | 39 | font-size: 0.75em; |
40 | 40 | } |
41 | 41 |
|
42 | | -.s2-to-tree .select2-dropdown[dir*="ltr"] .item-label { |
43 | | - display: inline-block; |
44 | | - margin-left: 0.5em; |
45 | | - padding: 3px; |
46 | | - width: calc(100% - 11px); /* IE8 will fit the content */ |
47 | | -} |
48 | | - |
49 | | -.s2-to-tree .select2-dropdown[dir*="ltr"] li.select2-results__option.non-leaf .expand-collapse:before { /* no :: in IE8 */ |
50 | | - content: "+"; |
51 | | - position: absolute; |
52 | | - left: -0.35em; |
53 | | - top: 0.1em; |
54 | | - font-size: larger; |
55 | | -} |
56 | | - |
57 | | - |
58 | | - |
59 | | - |
60 | | - |
61 | | - |
62 | | - |
63 | 42 | .s2-to-tree .select2-dropdown[dir*="rtl"] .select2-results__option.l1 { |
64 | 43 | margin-right: 0.6em; |
65 | | - font-size: 1em; |
66 | 44 | } |
67 | 45 | .s2-to-tree .select2-dropdown[dir*="rtl"] .select2-results__option.l2 { |
68 | 46 | margin-right: 1.4em; |
69 | | - font-size: 0.95em; |
70 | 47 | } |
71 | 48 | .s2-to-tree .select2-dropdown[dir*="rtl"] .select2-results__option.l3 { |
72 | 49 | margin-right: 2.2em; |
73 | | - font-size: 0.91em; |
74 | 50 | } |
75 | 51 | .s2-to-tree .select2-dropdown[dir*="rtl"] .select2-results__option.l4 { |
76 | 52 | margin-right: 3.0em; |
77 | | - font-size: 0.87em; |
78 | 53 | } |
79 | 54 | .s2-to-tree .select2-dropdown[dir*="rtl"] .select2-results__option.l5 { |
80 | 55 | margin-right: 3.8em; |
81 | | - font-size: 0.83em; |
82 | 56 | } |
83 | 57 | .s2-to-tree .select2-dropdown[dir*="rtl"] .select2-results__option.l6 { |
84 | 58 | margin-right: 4.5em; |
85 | | - font-size: 0.8em; |
86 | 59 | } |
87 | 60 | .s2-to-tree .select2-dropdown[dir*="rtl"] .select2-results__option.l7 { |
88 | 61 | margin-right: 5.3em; |
89 | | - font-size: 0.77em; |
90 | 62 | } |
91 | 63 | .s2-to-tree .select2-dropdown[dir*="rtl"] .select2-results__option.l8 { |
92 | 64 | margin-right: 6.0em; |
93 | | - font-size: 0.75em; |
94 | 65 | } |
95 | 66 |
|
96 | | -.s2-to-tree .select2-dropdown[dir*="rtl"] .item-label { |
97 | | - display: inline-block; |
98 | | - margin-right: 0.5em; |
99 | | - padding: 3px; |
100 | | - width: calc(100% - 11px); /* IE8 will fit the content */ |
| 67 | +.s2-to-tree li.select2-results__option.non-leaf .expand-collapse:hover { |
| 68 | + color: red; |
| 69 | + cursor: pointer; |
101 | 70 | } |
102 | | - |
103 | | -.s2-to-tree .select2-dropdown[dir*="rtl"] li.select2-results__option.non-leaf .expand-collapse:before { /* no :: in IE8 */ |
| 71 | +.s2-to-tree li.select2-results__option.non-leaf .expand-collapse:before { /* no :: in IE8 */ |
104 | 72 | content: "+"; |
105 | 73 | position: absolute; |
106 | | - right: -0.35em; |
| 74 | + left: -0.35em; |
107 | 75 | top: 0.1em; |
108 | 76 | font-size: larger; |
109 | 77 | } |
110 | | - |
111 | | - |
112 | | - |
113 | | - |
114 | | - |
115 | | - |
116 | | - |
117 | | -.s2-to-tree li.select2-results__option.non-leaf .expand-collapse:hover { |
118 | | - color: red; |
119 | | - cursor: pointer; |
| 78 | +.s2-to-tree .select2-dropdown[dir*="rtl"] li.select2-results__option.non-leaf .expand-collapse:before { |
| 79 | + right: -0.35em; |
120 | 80 | } |
121 | | - |
122 | 81 | .s2-to-tree li.select2-results__option.non-leaf.opened .expand-collapse:before { |
123 | 82 | content: "−"; |
124 | 83 | } |
|
127 | 86 | color: black; |
128 | 87 | } |
129 | 88 |
|
| 89 | +.s2-to-tree .item-label { |
| 90 | + display: inline-block; |
| 91 | + margin-left: 0.5em; |
| 92 | + padding: 3px; |
| 93 | + width: calc(100% - 11px); /* IE8 will fit the content */ |
| 94 | +} |
| 95 | +.s2-to-tree .select2-dropdown[dir*="rtl"] .item-label { |
| 96 | + margin-right: 0.5em; |
| 97 | +} |
| 98 | + |
130 | 99 | .s2-to-tree li.select2-results__option { |
131 | 100 | position: relative; |
132 | 101 | padding: 0px; |
|
0 commit comments