|
2 | 2 | // * Copyright © 2015 Magento. All rights reserved.
|
3 | 3 | // * See COPYING.txt for license details.
|
4 | 4 | // */
|
5 |
| -#merchandiser-app { |
6 |
| - .merchandiser-toolbar { |
7 |
| - float: right; |
8 |
| - } |
| 5 | + |
| 6 | +.merchandiser-app { |
| 7 | + &:extend(.abs-clearfix all); |
9 | 8 |
|
10 | 9 | ul.tabs {
|
11 | 10 | float: right;
|
12 | 11 | }
|
13 | 12 |
|
14 |
| - .clearfix { |
15 |
| - clear: both; |
16 |
| - } |
17 |
| - |
18 | 13 | #catalog_category_merchandiser {
|
19 | 14 | div.grid {
|
20 | 15 | padding: 0;
|
|
30 | 25 | }
|
31 | 26 |
|
32 | 27 | .tabs {
|
| 28 | + &:extend(.abs-clearfix all); |
33 | 29 | list-style: none;
|
34 | 30 | overflow: hidden;
|
35 | 31 | li {
|
|
59 | 55 | height: 340px;
|
60 | 56 | float: left;
|
61 | 57 | border: 1px solid #7d7d7d;
|
62 |
| - margin:0 25px 20px 0; |
| 58 | + margin: 0 25px 20px 0; |
63 | 59 | padding: 10px;
|
64 | 60 | background-color: #fff;
|
65 | 61 | }
|
|
74 | 70 | a {
|
75 | 71 | text-decoration: none;
|
76 | 72 | color: #7d7d7d;
|
77 |
| - float:left; |
| 73 | + float: left; |
78 | 74 | display: inline-block;
|
79 | 75 | }
|
80 | 76 | a:last-child {
|
81 |
| - float:right; |
| 77 | + float: right; |
82 | 78 | }
|
83 | 79 | }
|
84 | 80 | .info-block {
|
|
92 | 88 | input {
|
93 | 89 | width: 50px;
|
94 | 90 | height: 25px;
|
95 |
| - float:left; |
| 91 | + float: left; |
96 | 92 | margin-right: 5px;
|
97 | 93 | }
|
98 | 94 | a {
|
|
110 | 106 | }
|
111 | 107 | }
|
112 | 108 |
|
| 109 | + .draggable-handle { |
| 110 | + &:extend(.abs-draggable-handle all); |
| 111 | + } |
| 112 | + |
113 | 113 | table.data-grid {
|
114 | 114 | th.col-draggable-position {
|
115 | 115 | width: 10px;
|
116 | 116 | margin: 0 auto 0 auto;
|
117 | 117 | }
|
118 |
| - td.col-draggable-position span.draggable-handle { |
119 |
| - width: 8px; |
120 |
| - height: 14px; |
121 |
| - line-height: 14px; |
122 |
| - background: url(../Magento_Backend/images/draggable-handle-vertical.png) no-repeat 0 0; |
123 |
| - cursor: ns-resize; |
124 |
| - color: #b2b0ad; |
125 |
| - display: block; |
126 |
| - } |
127 | 118 | td.col-position {
|
128 |
| - >* { |
| 119 | + > * { |
129 | 120 | float: left;
|
130 | 121 | margin-right: 5px;
|
131 | 122 | }
|
|
198 | 189 | display: none;
|
199 | 190 | }
|
200 | 191 |
|
201 |
| - .smart_category_table { |
202 |
| - width: 100%; |
203 |
| - border-collapse:collapse; |
204 |
| - margin-bottom: 5px; |
205 |
| - border-spacing:0 5px; |
206 |
| - overflow: auto; |
207 |
| - display:block; |
208 |
| - } |
209 |
| - |
210 |
| - .smart_category_table tr:nth-of-type(odd) { |
211 |
| - background:#eee; |
212 |
| - } |
213 |
| - |
214 |
| - .smart_category_table th { |
215 |
| - background: #333; |
216 |
| - color: white; |
217 |
| - font-weight: bold; |
218 |
| - } |
219 |
| - |
220 |
| - .smart_category_table td, th { |
221 |
| - padding: 6px; |
222 |
| - border: 1px solid #ccc; |
223 |
| - text-align: left; |
224 |
| - } |
225 | 192 | .smart_category {
|
226 |
| - display:block; |
227 |
| - clear:both; |
| 193 | + display: block; |
| 194 | + clear: both; |
228 | 195 | margin-bottom: 5px;
|
229 | 196 | }
|
230 | 197 |
|
231 | 198 | .mode_select {
|
232 |
| - float:right; |
| 199 | + float: right; |
233 | 200 | }
|
234 | 201 |
|
235 | 202 | .add_product_sku {
|
236 |
| - float:left; |
| 203 | + float: left; |
237 | 204 | display: block;
|
238 | 205 | margin: 5px;
|
239 | 206 | }
|
|
242 | 209 | display: block;
|
243 | 210 | margin: 5px;
|
244 | 211 | }
|
| 212 | + |
| 213 | + .automatic_sorting { |
| 214 | + margin-bottom: 5px; |
| 215 | + margin-top: 5px; |
| 216 | + } |
245 | 217 | }
|
246 | 218 |
|
247 | 219 | #catalog_category_add_product_tabs_content {
|
|
252 | 224 | }
|
253 | 225 | .data-grid-search-control-wrap {
|
254 | 226 | .massassign_textarea, .massassign_buttons, .massassign_messages {
|
255 |
| - display:block; |
256 |
| - margin:5px; |
| 227 | + display: block; |
| 228 | + margin: 5px; |
257 | 229 | }
|
258 | 230 | }
|
259 | 231 | }
|
|
265 | 237 | height: 340px;
|
266 | 238 | float: left;
|
267 | 239 | border: 1px solid #7d7d7d;
|
268 |
| - margin:0 15px 15px 0; |
| 240 | + margin: 0 15px 15px 0; |
269 | 241 | padding: 10px;
|
270 | 242 | }
|
271 | 243 | }
|
| 244 | + |
| 245 | +// |
| 246 | +// Merchandiser manage rools |
| 247 | +// --------------------------------------------- |
| 248 | + |
| 249 | +.manage-rules-panel { |
| 250 | + box-sizing: border-box; |
| 251 | + margin: @indent__base 0 0; |
| 252 | + .message { |
| 253 | + margin: 0 0 @indent__base; |
| 254 | + } |
| 255 | + .admin__data-grid-wrap { |
| 256 | + padding-bottom: 0; |
| 257 | + } |
| 258 | + .smart-category-table { |
| 259 | + .action-delete { |
| 260 | + .action-icon(); |
| 261 | + &:before { |
| 262 | + &:extend(.abs-icon all); |
| 263 | + content: @icon-delete__content; |
| 264 | + } |
| 265 | + > span { |
| 266 | + display: none; |
| 267 | + } |
| 268 | + } |
| 269 | + } |
| 270 | + .hidden { |
| 271 | + + .action-secondary { |
| 272 | + margin-top: @indent__base; |
| 273 | + } |
| 274 | + } |
| 275 | +} |
| 276 | + |
| 277 | +// |
| 278 | +// Merchandiser toolbar |
| 279 | +// --------------------------------------------- |
| 280 | + |
| 281 | +.regular-category-settings { |
| 282 | + &:extend(.abs-clearfix all); |
| 283 | + margin: 0 0 @indent__base; |
| 284 | + .actions { |
| 285 | + float: right; |
| 286 | + } |
| 287 | +} |
| 288 | + |
| 289 | +.merchandiser-toolbar { |
| 290 | + float: left; |
| 291 | + width: 80%; |
| 292 | + .admin__field { |
| 293 | + display: inline-block; |
| 294 | + margin-right: @indent__s; |
| 295 | + } |
| 296 | +} |
| 297 | + |
| 298 | +.merchandiser-toolbar, |
| 299 | +.manage-rules-sorting { |
| 300 | + .admin__field { |
| 301 | + > .admin__field-label { |
| 302 | + margin-right: @indent__xs; |
| 303 | + text-align: left; |
| 304 | + span { |
| 305 | + white-space: nowrap; |
| 306 | + } |
| 307 | + } |
| 308 | + } |
| 309 | +} |
| 310 | + |
| 311 | +// |
| 312 | +// Match products by rule switcher |
| 313 | +// --------------------------------------------- |
| 314 | + |
| 315 | +// ToDo UI: refactor when refactoring yes/no switcher |
| 316 | +.smart-category-switcher { |
| 317 | + &:extend(.abs-clearfix all); |
| 318 | + margin: 0 0 @indent__base; |
| 319 | + .actions-switch { |
| 320 | + display: inline-block; |
| 321 | + margin-left: @indent__xs; |
| 322 | + vertical-align: top; |
| 323 | + .actions-switch-label { |
| 324 | + width: 35px; |
| 325 | + } |
| 326 | + .actions-switch-checkbox { |
| 327 | + position: absolute; |
| 328 | + z-index: -1; |
| 329 | + } |
| 330 | + } |
| 331 | +} |
| 332 | + |
| 333 | +// |
| 334 | +// Merchandiser tabs |
| 335 | +// --------------------------------------------- |
| 336 | + |
| 337 | +// ToDo UI: refactor merchant tabs |
| 338 | +.merchandiser-tabs { |
| 339 | + &:extend(.abs-clearfix all); |
| 340 | + border-top: 1px solid @color-gray80; |
| 341 | + padding: @indent__base 0 0; |
| 342 | + .merchandiser-tab { |
| 343 | + border-top: 0 !important; |
| 344 | + clear: both; |
| 345 | + } |
| 346 | +} |
0 commit comments