|
119 | 119 | z-index: 2;
|
120 | 120 | }
|
121 | 121 |
|
122 |
| -.details-section .row.box-model :matches(.top, .right, .bottom, .left) { |
| 122 | +.details-section .row.box-model :is(.top, .right, .bottom, .left) { |
123 | 123 | display: inline-block;
|
124 | 124 | vertical-align: middle;
|
125 | 125 | }
|
126 | 126 |
|
127 |
| -.details-section .row.box-model :matches(.top, .right, .bottom, .left):not(.editing), |
128 |
| -.details-section .row.box-model :matches(.top-left, .top-right, .bottom-right, .bottom-left) { |
| 127 | +.details-section .row.box-model :is(.top, .right, .bottom, .left):not(.editing), |
| 128 | +.details-section .row.box-model :is(.top-left, .top-right, .bottom-right, .bottom-left) { |
129 | 129 | margin: 0 0.25em;
|
130 | 130 | }
|
131 | 131 |
|
132 |
| -.details-section .row.box-model :matches(.top-left, .top-right, .bottom-right, .bottom-left) { |
| 132 | +.details-section .row.box-model :is(.top-left, .top-right, .bottom-right, .bottom-left) { |
133 | 133 | position: absolute;
|
134 | 134 | }
|
135 | 135 |
|
136 |
| -.details-section .row.box-model :matches(.top-left, .top-right) { |
| 136 | +.details-section .row.box-model :is(.top-left, .top-right) { |
137 | 137 | top: 4px;
|
138 | 138 | }
|
139 | 139 |
|
140 |
| -.details-section .row.box-model :matches(.bottom-left, .bottom-right):not(.editing) { |
| 140 | +.details-section .row.box-model :is(.bottom-left, .bottom-right):not(.editing) { |
141 | 141 | bottom: 3px;
|
142 | 142 | }
|
143 | 143 |
|
144 |
| -.details-section .row.box-model :matches(.bottom-left, .bottom-right).editing { |
| 144 | +.details-section .row.box-model :is(.bottom-left, .bottom-right).editing { |
145 | 145 | bottom: 2px;
|
146 | 146 | }
|
147 | 147 |
|
148 |
| -.details-section .row.box-model :matches(.top-left, .bottom-left):not(.editing) { |
| 148 | +.details-section .row.box-model :is(.top-left, .bottom-left):not(.editing) { |
149 | 149 | left: 3px;
|
150 | 150 | }
|
151 | 151 |
|
152 |
| -.details-section .row.box-model :matches(.top-left, .bottom-left).editing { |
| 152 | +.details-section .row.box-model :is(.top-left, .bottom-left).editing { |
153 | 153 | left: 1px;
|
154 | 154 | }
|
155 | 155 |
|
156 |
| -.details-section .row.box-model :matches(.top-right, .bottom-right):not(.editing) { |
| 156 | +.details-section .row.box-model :is(.top-right, .bottom-right):not(.editing) { |
157 | 157 | right: 3px;
|
158 | 158 | }
|
159 | 159 |
|
160 |
| -.details-section .row.box-model :matches(.top-right, .bottom-right).editing { |
| 160 | +.details-section .row.box-model :is(.top-right, .bottom-right).editing { |
161 | 161 | right: 1px;
|
162 | 162 | }
|
163 | 163 |
|
|
176 | 176 | color: var(--text-color);
|
177 | 177 | }
|
178 | 178 |
|
179 |
| - .details-section .row.box-model:not(.hovered) .box:matches(.margin, .border, .padding, .content), |
180 |
| - .details-section .row.box-model .box.active:matches(.margin, .border, .padding, .content) { |
| 179 | + .details-section .row.box-model:not(.hovered) .box:is(.margin, .border, .padding, .content), |
| 180 | + .details-section .row.box-model .box.active:is(.margin, .border, .padding, .content) { |
181 | 181 | color: black;
|
182 | 182 | }
|
183 | 183 |
|
|
0 commit comments