231. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2021-05-13 09:09:03 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

231.1 Files compared

#LocationFileLast Modified
1/Applications/Ampps/www/Porto 3.2.2/Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Checkout/web/css/source/module_cart.less2016-05-11 16:09:06 +0000
2/Applications/Ampps/www/Porto v4.0.0/Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Checkout/web/css/source/module_cart.less2021-02-03 10:36:04 +0000

231.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged621056
Changed29112
Inserted1892
Removed1427

231.3 Comparison options

WhitespaceConsecutive whitespace is treated as a single space
Character caseDifferences in character case are significant
Line endingsDifferences in line endings (CR and LF characters) are ignored
CR/LF charactersNot shown in the comparison detail
Active line-pairing rules

231.4 Active regular expressions

No regular expressions were active.

231.5 Comparison detail

1 // /** 1 // /**
2 //  * Copyright © 2015 Magento. All rights reserved. 2 //  * Copyright © 2015 Magento. All rights reserved.
3 //  * See COPYING.txt for license details. 3 //  * See COPYING.txt for license details.
4 //  */ 4 //  */
5  5 
6 @mobile-cart-padding: 15px; 6 @mobile-cart-padding: 15px;
7 @cart-price-color: @color-gray40; 7 @cart-price-color: @color-gray40;
8 @cart-item-cell-padding-top: 20px; 8 @cart-item-cell-padding-top: 20px;
9     
10 // 9 //
11 //  Common 10 //  Common
12 //  _____________________________________________ 11 //  _____________________________________________
13  12 
14 & when (@media-common = true) { 13 & when (@media-common = true) {
15  14 
16     // 15     //
17     //  Shopping cart 16     //  Shopping cart
18     //  --------------------------------------------- 17     //  ---------------------------------------------
19  18 
20     .checkout-cart-index { 19     .checkout-cart-index {
21         .page-main {    
22             padding-left: 0;    
23             padding-right: 0;    
24         }    
25         .page-title-wrapper { 20         .page-title-wrapper {
26             padding-left: @layout__width-xs-indent; 21             padding: 2rem 0;
27             padding-right: @layout__width-xs-indent; 22             .page-title {
    23               font-size: 1.25rem;
    24               font-weight: 700;
    25               letter-spacing: -.03em;
    26               margin-bottom: 0;
    27             }
28         } 28         }
29     } 29     }
30  30 
31     //  Cart container 31     //  Cart container
32     .cart-container { 32     .cart-container {
33         .form-cart { 33         .form-cart {
34             &:extend(.abs-shopping-cart-items all); 34             &:extend(.abs-shopping-cart-items all);
35         } 35         }
36     } 36     }
37  37 
38     //  Summary block 38     //  Summary block
39     .cart-summary { 39     .cart-summary {
    40         @border-color__base: #e7e7e7;
40         &:extend(.abs-add-box-sizing all); 41         &:extend(.abs-add-box-sizing all);
41         .lib-css(background, @sidebar__background-color); 42         .lib-css(background, @sidebar__background-color);
42         margin-bottom: @indent__m; 43         background: #fff;
43         padding: 1px 0 @indent__m; 44         border-radius: 0;
44         background: #fbfbfb; 45         padding: 24px 30px;
45         border: 1px solid #ddd; 46         border: 2px solid #e7e7e7;
46         border-radius: 8px; 47         margin-bottom: 15px;
47         > .title { 48         > .title {
48             .lib-font-size(24); 49             .lib-font-size(10);
49             display: none; 50             text-transform: uppercase;
50             font-weight: @font-weight__light; 51             font-weight: 700;
51             margin
12px 0;
 52             letter-spacing: -.01em;
    53             margin-bottom20px
;
    54             padding-bottom: 0.25rem;
    55             line-height: 19px;
    56             color: #222529;
52         } 57         }
53     
54         .block { 58         .block {
55             form:not(:last-of-type) { 59             form:not(:last-of-type) {
56                 .fieldset { 60                 .fieldset {
57                     margin: 0 @indent__m; 61                     margin: 0 10px;
58                 } 62                 }
59             } 63             }
60     
61             .price { 64             .price {
62                 font-weight: @font-weight__bold; 65                 font-weight: @font-weight__bold;
63             } 66             }
64     
65             .field { 67             .field {
66                 margin: 0 16px; 68                 margin: 0 10px;
67                 &.note { 69                 &.note {
68                     display: none; 70                     display: none;
69                 } 71                 }
70             } 72             }
71     
72             .actions-toolbar { 73             .actions-toolbar {
73                 > .primary { 74                 > .primary {
74                     text-align: left; 75                     text-align: left;
75                     .action.primary { 76                     .action.primary {
76                         &:extend(.abs-revert-to-action-secondary all); 77                         &:extend(.abs-revert-to-action-secondary all);
77                         width: auto; 78                         width: auto;
78                     } 79                     }
79                 } 80                 }
80             } 81             }
81  82 
82             .fieldset.estimate { 83             .fieldset.estimate {
83                 > .legend, 84                 > .legend,
84                 > .legend + br { 85                 > .legend + br {
85                     &:extend(.abs-no-display all); 86                     &:extend(.abs-no-display all);
86                 } 87                 }
87             } 88             }
88             &:extend(.abs-cart-block all); 89             &:extend(.abs-cart-block all);
89             .title { 90             .title {
    91                 border-color: @border-color__base;
    92                 padding-left: 10px;
    93                 &:after {
    94                     right: 13px;
    95                 }
90                 strong { 96                 strong {
91                     .lib-font-size(14); 97                   letter-spacing: -.01em;
92                     font-weight: @font-weight__semibold; 98                   
font-size14px;
    99                   font-weight: 600;
93                 } 100                 }
94             } 101             }
95             .item-options { 102             .item-options {
96                 margin: 0 16px; 103                 margin: 0 9px;
97                 .field { 104                 .field {
98                     .radio { 105                     .radio {
99                         float: left; 106                         float: left;
100                         margin-right: 8px; 107                         margin-right: 8px;
101                     } 108                     }
102                     .radio { 109                     .radio {
103                         + .label { 110                         + .label {
104                             display: block; 111                             display: block;
105                             margin: 0; 112                             margin: 0;
106                             overflow: hidden; 113                             overflow: hidden;
107                             font-weight: 400; 114                             font-weight: 400;
    115                             line-height: 1.2;
108                         } 116                         }
109                     } 117                     }
110                 } 118                 }
111             } 119             }
112         } 120         }
113     
114         .page-main & { 121         .page-main & {
115             .block { 122             .block {
116                 margin-bottom: 0; 123                 margin-bottom: 0;
117             } 124             }
118         } 125         }
119     
120         .checkout-methods-items { 126         .checkout-methods-items {
121             &:extend(.abs-reset-list all); 127             &:extend(.abs-reset-list all);
122             margin: @indent__base 0 0; 128             margin: @indent__base 0 0;
123             padding: 0 @mobile-cart-padding;    
124             text-align: center; 129             text-align: center;
125             .action.primary.checkout { 130             .action.primary.checkout {
126                 &:extend(.abs-button-l all); 131                 &:extend(.abs-button-l all);
127                 width: 100%; 132                 width: 100%;
    133                 font-size: 15px;
    134                 letter-spacing: -.015em;
    135                 color: #fff;
    136                 background-color: #222529;
    137                 border: none;
    138                 &:hover {
    139                   background-color: #31373d;
    140                 }
    141                 &::after {
    142                   content: '\e8c4';
    143                   font-family: 'porto-icons';
    144                   padding-left: 1rem;
    145                 }
128             } 146             }
129             .item { 147             .item {
130                 margin-bottom: @indent__m; 148                 margin-bottom: @indent__m;
131                 &:last-child { 149                 &:last-child {
132                     margin-bottom: 0; 150                     margin-bottom: 0;
133                 } 151                 }
134             } 152             }
135         } 153         }
136     
137         .message { 154         .message {
138             padding-left: @indent__base; 155             padding-left: @indent__base;
139             > *:first-child:before { 156             > *:first-child:before {
140                 display: none; 157                 display: none;
141             } 158             }
142         } 159         }
143         &:extend(.abs-adjustment-incl-excl-tax all); 160         &:extend(.abs-adjustment-incl-excl-tax all);
144     } 161     }
145  162 
146     //  Totals block 163     //  Totals block
147     .cart-totals { 164     .cart-totals {
    165         @border-color__base: #e7e7e7;
    166         font-size: 13px;
    167         padding: 0;
148         &:extend(.abs-sidebar-totals all); 168         &:extend(.abs-sidebar-totals all);
    169         border-color: @border-color__base;
149         tbody, 170         tbody,
150         tfoot { 171         tfoot {
    172           .mark,.amount {
    173             padding: 5px 10px;
    174           }
    175           .grand.totals {
    176             .amount,.mark {
    177               border-color: @border-color__base;
    178             }
151             .mark { 179             .mark {
152                 text-align: left; 180                 text-align: left;
    181                 padding: 18px 12px;
    182                 font-size: 1rem;
    183                 letter-spacing: -.01em;
    184                 font-weight: 600;
    185                 color: #222529;
    186                 line-height: 19px;
    187             }
    188             .amount {
    189               color: #222529;
    190               text-align: right;
    191               font-weight: 700;
    192               font-size: 22px;
    193               padding: 10px;
    194               line-height: 1.4;
    195             }
    196             strong {
    197               margin: 0;
    198               font-weight: inherit;
    199               line-height: inherit;
    200               padding: 0;
    201             }
153             } 202           }
154         } 203         }
155     } 204     }
156  205 
157     //  Products table 206     //  Products table
158     .cart { 207     .cart {
    208       @border-color__base: #e7e7e7;
159         &.table-wrapper { 209         &.table-wrapper {
160             .product-item-name > a { 210             .product-item-name > a {
161                 font-size: 14px; 211                 font-size: 14px;
    212                 font-weight: 500;
    213                 margin-bottom: 0;
162                 &, &:hover { 214                 &, &:hover {
163                     color: @_link-color; 215                     color: #222529;
164                 } 216                 }
165             } 217             }
166             .product-image-container { 218             .product-image-container {
167                 border: 1px solid #ccc; 219                 background: none;
168                 border-radius: 5px; 220                 display: block;
169                 padding: 3px;    
170             } 221             }
171             .cart { 222             .cart {
172                 thead { 223                 thead {
173                     tr th.col { 224                   tr th.col {
174                         border-bottom: @border-width__base solid @border-color__base; 225                     border-bottom: @border-width__base solid @border-color__base;
175                         padding-bottom: 12px; 226                     padding
10px;
176                         padding-top24px;    
177                         font-size: 14px; 227                     font-size: 14px;
178                         font-weight: 600; 228                     font-weight: 600;
    229                     color: #212529;
    230                     text-transform: uppercase;
    231                     text-align: left;
    232                     &.subtotal {
    233                       text-align: right;
    234                     }
179                     } 235                   }
180                 } 236                 }
181                 tbody { 237                 tbody {
182                     td { 238                     td {
183                         border: 0; 239                         border: 0;
184                     } 240                     }
185                 } 241                 }
186                 > .item { 242                 > .item {
187                     border-bottom: @border-width__base solid @border-color__base; 243                     border-bottom: @border-width__base solid @border-color__base;
188                     position: relative; 244                     position: relative;
189                 } 245                 }
190             } 246             }
191             .col { 247             .col {
192                 vertical-align: middle; 248                 vertical-align: middle;
193                 &.price, 249                 &.price,
194                 &.subtotal, 250                 &.subtotal,
195                 &.msrp { 251                 &.msrp {
196                     font-size: 14px; 252                     font-size: 14px;
197                     text-aligncenter; 253                     text-alignleft;
198                     &:extend(.abs-incl-excl-tax all); 254                     .price {
    255                       font-size: 14px;
    256                       font-weight: inherit;
    257                     }
    258                 }
    259                 &.subtotal {
    260                   text-align: right;
    261                   .price {
    262                     color: #222529 !important;
    263                     font-size: 16px;
    264                     font-weight: 600 !important;
199                 } 265                   }
200                 &.subtotal .price {    
201                     color: @theme-color;    
202                 } 266                 }
203                 &.qty { 267                 &.qty {
204                     text-aligncenter; 268                     text-alignleft;
205                     .label { 269                     .label {
206                         &:extend(.abs-visually-hidden all); 270                         &:extend(.abs-visually-hidden all);
207                     } 271                     }
208                     .input-text {    
209                         text-align: center;    
210                         width: 45px;    
211                     }    
212                     .field.qty { 272                     .field.qty {
213                         min-width: 67px; 273                       position: relative;
    274                       display: inline-block;
214                     } 275                     }
215                 } 276                 }
216                 > .price { 277                 > .price {
217                     .lib-css(color, @primary__color__lighter); 278                     .lib-font-size(10);
218                     .lib-font-size(18);    
219                     font-weight: @font-weight__bold;    
220                 } 279                 }
221             } 280             }
222  281 
223             .item-actions { 282             .item-actions {
224                 td { 283                 td {
225                     padding-bottom: 0; 284                     padding-bottom: 0;
226                     padding-left: @mobile-cart-padding; 285                     padding-left: @mobile-cart-padding;
227                     padding-right: @mobile-cart-padding; 286                     padding-right: @mobile-cart-padding;
228                     white-space: normal; 287                     white-space: normal;
229                 } 288                 }
230             } 289             }
231             .item { 290             .item {
232                 .col.item { 291                 .col.item {
233                     display: block; 292                     display: block;
234                     min-height: 75px; 293                     min-height: 75px;
235                     padding: 15px @mobile-cart-padding @indent__s 90px; 294                     padding: 20px 10px;
236                     position: relative; 295                     position: relative;
237                 } 296                 }
238             } 297             }
239  298 
240             .actions-toolbar { 299             .actions-toolbar {
241                 &:extend(.abs-add-clearfix all); 300                 &:extend(.abs-add-clearfix all);
242                 min-height: 20px; 301                 min-height: 20px;
243                 padding-bottom: 30px; 302                 padding-bottom: 30px;
244                 position: relative; 303                 position: relative;
245                 > .action-edit, 304                 > .action-edit,
246                 > .action-delete { 305                 > .action-delete {
247                     position: absolute; 306                     position: absolute;
248                     right: 16px; 307                     right: 16px;
249                     top: 0; 308                     top: 0;
250                     .lib-icon-font( 309                     .lib-icon-font(
251                     @icon-edit, 310                     @icon-edit,
252                     @_icon-font-size: 18px, 311                     @_icon-font-size: 18px,
253                     @_icon-font-line-height: 20px, 312                     @_icon-font-line-height: 20px,
254                     @_icon-font-text-hide: true, 313                     @_icon-font-text-hide: true,
255                     @_icon-font-color: @minicart-icons-color, 314                     @_icon-font-color: #222529,
256                     @_icon-font-color-hover: @primary__color, 315                     @_icon-font-color-hover: @primary__color,
257                     @_icon-font-color-active: @minicart-icons-color 316                     @_icon-font-color-active: @minicart-icons-color
258                     ); 317                     );
259                 } 318                 }
260                 > .action-delete { 319                 > .action-delete {
261                     &:extend(.abs-action-button-as-link all); 320                     &:extend(.abs-action-button-as-link all);
262                     right: 0; 321                     right: 0;
263                     .lib-icon-font-symbol( 322                     .lib-icon-font-symbol(
264                     @_icon-font-content: @icon-trash 323                     @_icon-font-content: @icon-trash
265                     ); 324                     );
266                 } 325                 }
267             } 326             }
268             .action { 327             .action {
269                 margin-right: 15px; 328                 margin-right: 15px;
270                 &:last-child { 329                 &:last-child {
271                     margin-right: 0; 330                     margin-right: 0;
272                 } 331                 }
273                 &.help.map { 332                 &.help.map {
274                     &:extend(.abs-action-button-as-link all); 333                     &:extend(.abs-action-button-as-link all);
275                     font-weight: @font-weight__regular; 334                     font-weight: @font-weight__regular;
276                 } 335                 }
277             } 336             }
278  337 
279             .product { 338             .product {
280                 &-item-photo { 339                 &-item-photo {
281                     display: block; 340                     display: block;
282                     left: @mobile-cart-padding; 341                     left: @mobile-cart-padding;
283                     max-width: 65px; 342                     max-width: 80px;
284                     padding: 0; 343                     padding: 0;
285                     position: absolute; 344                     position: absolute;
286                     top: 15px; 345                     top: 15px;
287                     width: 100%; 346                     width: 100%;
288                     border: 0; 347                     border: 0;
289                     border-radius: 0; 348                     border-radius: 0;
    349                     &:hover {
    350                       box-shadow: none;
    351                     }
290                 } 352                 }
291                 &-item-name { 353                 &-item-name {
292                     .lib-font-size(18); 354                     .lib-font-size(10);
293                     display: block; 355                     display: block;
294                     margin: 0; 356                     margin: 0;
295                     margin-top10px; 357                     margin-top0;
296                 } 358                 }
297             } 359             }
298             .gift-registry-name-label { 360             .gift-registry-name-label {
299                 &:after { 361                 &:after {
300                     content: ':'; 362                     content: ':';
301                 } 363                 }
302             } 364             }
303  365 
304             //  Product options 366             //  Product options
305             .item-options { 367             .item-options {
306                 margin-bottom: 0; 368                 margin-bottom: 0;
307                 &:extend(.abs-product-options-list all); 369                 &:extend(.abs-product-options-list all);
308                 &:extend(.abs-add-clearfix all); 370                 &:extend(.abs-add-clearfix all);
309             } 371             }
310  372 
311             .product-item-name + .item-options { 373             .product-item-name + .item-options {
312                 margin-top@indent__base; 374                 margin-top8px;
313             } 375             }
314  376 
315             .cart-tax-total { 377             .cart-tax-total {
316                 &:extend(.abs-tax-total all); 378                 &:extend(.abs-tax-total all);
317                 &-expanded { 379                 &-expanded {
318                     &:extend(.abs-tax-total-expanded all); 380                     &:extend(.abs-tax-total-expanded all);
319                 } 381                 }
320             } 382             }
321             .product-image-wrapper { 383             .product-image-wrapper {
322                 &:extend(.abs-reset-image-wrapper all); 384                 &:extend(.abs-reset-image-wrapper all);
323             } 385             }
324             .action.configure { 386             .action.configure {
325                 display: inline-block; 387                 display: inline-block;
326                 margin: @indent__s 0 0; 388                 margin: @indent__s 0 0;
327             } 389             }
328             .item .message { 390             .item .message {
329                 margin-top: @indent__base; 391                 margin-top: @indent__base;
330             } 392             }
331         } 393         }
    394         &.actions {
    395           &:extend(.abs-action-cart-button all);
    396         }
332     } 397     }
333  398 
334     //  Discount 399     //  Discount
335     .cart-discount { 400     .cart-discount {
336         border-bottom: @border-width__base solid @border-color__base; 401         border-bottom: @border-width__base solid @border-color__base;
337         clear: left; 402         clear: left;
338         &:extend(.abs-discount-block all); 403         &:extend(.abs-discount-block all);
    404         margin-top: -60px;
    405         .block > .title {
    406           display: none;
    407         }
    408         .actions-toolbar {
    409           &:extend(.abs-action-cart-button all);
    410         }
339     } 411     }
340  412 
341     //  Empty cart 413     //  Empty cart
342     .cart-empty { 414     .cart-empty {
343         padding-left: @layout__width-xs-indent; 415         padding-left: 10px;
344         padding-right: @layout__width-xs-indent; 416         padding-right: 10px;
345     } 417     }
346  418 
347     .cart-tax-info + .cart-tax-total { 419     .cart-tax-info + .cart-tax-total {
348         display: block; 420         display: block;
349     } 421     }
350 } 422 }
351  423 
352 // 424 //
353 //  Mobile 425 //  Mobile
354 //  _____________________________________________ 426 //  _____________________________________________
355  427 
356 .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) { 428 .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) {
357     .cart { 429     .cart {
358         .table.items { 430         .table.items {
359             .col.item, 431             .col.item,
360             .item-actions td { 432             .item-actions td {
361                 &:extend(.abs-col-no-prefix all); 433                 &:extend(.abs-col-no-prefix all);
362             } 434             }
363             .col.qty { 435             .col.qty {
364                 text-align: center; 436                 text-align: center;
365             } 437             }
366             tbody > tr > td:last-child { 438             tbody > tr > td:last-child {
367                 &:extend(.abs-no-border-bottom-top all); 439                 &:extend(.abs-no-border-bottom-top all);
368             } 440             }
369         } 441         }
370     } 442     }
371     .cart-totals { 443     .cart-totals {
372         .totals { 444         .totals {
373             &:extend(.abs-sidebar-totals-mobile all); 445             &:extend(.abs-sidebar-totals-mobile all);
374         } 446         }
375     } 447     }
376 } 448 }
377  449 
378 .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) { 450 .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
379     //  Cart container 451     //  Cart container
    452     @border-color__base: #e7e7e7;
380     .cart-container { 453     .cart-container {
381         .form-cart { 454         .form-cart {
382             .actions.main { 455             .actions.main {
383                 text-align: center; 456                 text-align: center;
384             } 457             }
385         } 458         }
386     } 459     }
387  460 
388     .cart-discount { 461     .cart-discount {
389         border-bottom: @border-width__base solid @border-color__base; 462         border-bottom: @border-width__base solid @border-color__base;
    463         margin-top: 0;
390     } 464     }
391  465 
392     .cart { 466     .cart {
393         &.table-wrapper { 467         &.table-wrapper {
394             border-top: @border-width__base solid @border-color__base; 468           border-top: @border-width__base solid @border-color__base;
395             thead { 469           thead {
396                 .col { 470               .col {
397                     &.item, 471                   &.item,
398                     &.qty, 472                   &.qty,
399                     &.price, 473                   &.price,
400                     &.subtotal, 474                   &.subtotal,
401                     &.msrp { 475                   &.msrp {
402                         display: none; 476                       display: none;
403                     } 477                   }
404                 } 478               }
405             } 479           }
406             .col { 480           .col {
    481               &.item,
407                 &.qty, 482               &.qty,
408                 &.price, 483               &.price,
409                 &.subtotal, 484               &.subtotal,
410                 &.msrp { 485               &.msrp {
411                     box-sizing: border-box; 486                   box-sizing: border-box;
412                     display: block; 487                   display: block;
413                     float: left; 488                   float: none;
414                     white-space: nowrap; 489                   white-space: nowrap;
415                     width: 33%; 490                   width: 100%;
    491                   text-align: center;
416                     &:before { 492                   &:before {
417                         content: attr(data-th); 493                       content: attr(data-th);
418                         display: block; 494                       display: block;
419                         font-weight: @font-weight__semibold; 495                       font-weight: @font-weight__semibold;
420                         padding-bottom: 10px; 496                       padding-bottom: 10px;
421                     } 497                   }
422                 } 498               }
423                 &.msrp { 499               &.msrp {
424                     white-space: normal; 500                   white-space: normal;
425                 } 501               }
426             } 502           }
427             .item .col.item { 503           .item .col.item {
428                 padding-bottom: 0; 504               padding-bottom: 0;
429             } 505           }
430             tbody > tr > td:last-child { 506           tbody > tr > td:last-child {
431                 border: 0; 507               border: 0;
432             } 508           }
    509           .product-item-photo {
    510             position: relative;
    511             left: 0;
    512             top: 0;
    513             margin: 0 auto 10px;
    514             min-height: auto;
    515           }
    516           .product-item-name + .item-options {
    517               margin-top: 0;
    518               text-align: center;
    519               display: inline-block;
    520           }
    521           .product-item-details {
    522             text-align: center;
    523           }
433         } 524         }
434     } 525     }
435  526 
436     .cart-totals { 527     .cart-totals {
437         padding-left: @mobile-cart-padding;    
438         padding-right: @mobile-cart-padding;    
439         .table-wrapper { 528         .table-wrapper {
440             border-top: 0; 529             border-top: 0;
441         } 530         }
442         .totals { 531         .totals {
443             tbody > tr:not(:last-child) > td:last-child { 532             tbody > tr:not(:last-child) > td:last-child {
444                 border: 0; 533                 border: 0;
445             } 534             }
446         } 535         }
447     } 536     }
448 } 537 }
449  538 
450 // 539 //
451 //  Common 540 //  Common
452 //  _____________________________________________ 541 //  _____________________________________________
453  542 
454 & when (@media-common = true) { 543 & when (@media-common = true) {
455     //  Cross sell 544     //  Cross sell
456     .block { 545     .block {
457         &.crosssell { 546         &.crosssell {
458             .lib-css(padding, 0 @mobile-cart-padding); 547             .lib-css(padding, 0 @mobile-cart-padding);
459             margin-top: 70px; 548             margin-top: 70px;
460             .product-item-info { 549             .product-item-info {
461                 width: 200px; 550                 width: 200px;
462             } 551             }
463         } 552         }
464     } 553     }
465 } 554 }
466  555 
467 // 556 //
468 //  Desktop 557 //  Desktop
469 //  _____________________________________________ 558 //  _____________________________________________
470  559 
471 .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { 560 .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
472     .checkout-cart-index { 561     .checkout-cart-index {
473         .page-main { 562         .page-main {
474             padding-left: @layout__width-xs-indent; 563             padding-left: 10px;
475             padding-right: @layout__width-xs-indent; 564             padding-right: 10px;
476         } 565         }
477         .page-title-wrapper { 566         .page-title-wrapper {
478             &:extend(.abs-revert-side-paddings all); 567             &:extend(.abs-revert-side-paddings all);
479         } 568         }
480     } 569     }
481  570 
482     //  Cart container 571     //  Cart container
483     .cart-container { 572     .cart-container {
484         &:extend(.abs-add-clearfix-desktop all); 573         &:extend(.abs-add-clearfix-desktop all);
485         .form-cart { 574         .form-cart {
486             &:extend(.abs-shopping-cart-items-desktop all); 575             &:extend(.abs-shopping-cart-items-desktop all);
487             .actions.main { 576             .actions.main {
488                 text-align: right; 577                 text-align: right;
489             } 578             }
490         } 579         }
491         .widget { 580         .widget {
492             float: left; 581             float: left;
493         } 582         }
494     } 583     }
495  584 
496     //  Summary block 585     //  Summary block
497     .cart-summary { 586     .cart-summary {
498         .lib-layout-column(2, 2, @layout-column-checkout__width-left); 587         .lib-layout-column(2, 2, @layout-column-checkout__width-left);
499         padding: 1px @indent__base @indent__m; 588         padding: 24px 30px;
500             
501         > .title { 589         > .title {
502             display: block; 590             display: block;
503         } 591         }
504         .fieldset { 592         .fieldset {
505             .actions-toolbar { 593             .actions-toolbar {
506                 margin-left: 0; 594                 margin-left: 0;
507                 > .secondary { 595                 > .secondary {
508                     float: none; 596                     float: none;
509                 } 597                 }
510             } 598             }
511         } 599         }
512         .block { 600         .block {
513             > .title {    
514                 padding-left: 0;    
515                 &:after {    
516                     right: 3px;    
517                 }    
518             }    
519             .content { 601             .content {
520                 &:extend(.abs-revert-side-paddings all); 602                 padding-left: 10px;
    603                 padding-right: 10px;
521             } 604             }
522             .fieldset { 605             .fieldset {
523                 .field { 606                 .field {
524                     .lib-form-field-type-revert(@_type: block); 607                     .lib-form-field-type-revert(@_type: block);
525                     margin: 0 0 @indent__s; 608                     margin: 0 0 @indent__s;
526                 } 609                 }
527             } 610             }
528         } 611         }
529         .checkout-methods-items { 612         .checkout-methods-items {
530             padding: 0; 613             padding: 0;
531         } 614         }
532     } 615     }
533  616 
534     //  Products table 617     //  Products table
535     .cart { 618     .cart {
536         &.table-wrapper { 619         &.table-wrapper {
537             .items { // Google Chrome version 44.0.2403.107 m fix 620             .items { // Google Chrome version 44.0.2403.107 m fix
538                 min-width: 100%; 621                 min-width: 100%;
539                 width: auto; 622                 width: auto;
540             } 623             }
541             tbody td { 624             tbody td {
542                 padding-top: @cart-item-cell-padding-top; 625                 padding-top: @cart-item-cell-padding-top;
543             } 626             }
544  627 
545             .item { 628             .item {
546                 .col.item { 629                 .col.item {
547                     padding: @cart-item-cell-padding-top 8px @indent__base 0; 630                     padding: 20px 10px;
548                 } 631                 }
549             } 632             }
550  633 
551             .item-actions td { 634             .item-actions td {
552                 padding: 0; 635                 padding: 0;
553             } 636             }
554  637 
555             .product { 638             .product {
556                 &-item-photo { 639                 &-item-photo {
557                     display: table-cell; 640                     display: table-cell;
558                     max-width: 100%; 641                     max-width: 98px;
559                     padding-right: @indent__base; 642                     padding-right: @indent__base;
560                     position: static; 643                     position: static;
561                     vertical-align: middle; 644                     vertical-align: middle;
562                     width: 1%; 645                     width: 1%;
563                 } 646                 }
564                 &-item-details { 647                 &-item-details {
565                      648 
566                 } 649                 }
567                 &-item-details { 650                 &-item-details {
568                     display: table-cell; 651                     display: table-cell;
569                     vertical-align: middle; 652                     vertical-align: middle;
570                     white-space: normal; 653                     white-space: normal;
571                     width: 99%; 654                     width: 99%;
572                 } 655                 }
573             } 656             }
574         } 657         }
575     } 658     }
576  659 
577     //  Discount 660     //  Discount
578     .cart-discount { 661     .cart-discount {
579         &:extend(.abs-discount-block-desktop all); 662         &:extend(.abs-discount-block-desktop all);
580         .lib-layout-column(2, 1, @layout-column-checkout__width-main); 663         .lib-layout-column(2, 1, @layout-column-checkout__width-main);
581         border: 0; 664         border: 0;
582         box-sizing: border-box; 665         box-sizing: border-box;
583         padding-right: 4%; 666         padding-right: 4%;
584     } 667     }
585  668 
586     //  Empty cart 669     //  Empty cart
587     .cart-empty { 670     .cart-empty {
588         &:extend(.abs-revert-side-paddings all); 671         &:extend(.abs-revert-side-paddings all);
589     } 672     }
590  673 
591     //  Cross sell 674     //  Cross sell
592     .block { 675     .block {
593         &.crosssell { 676         &.crosssell {
594             .lib-layout-column(2, 1, @layout-column-checkout__width-main); 677             .lib-layout-column(2, 1, @layout-column-checkout__width-main);
595             &:extend(.abs-add-box-sizing-desktop all); 678             &:extend(.abs-add-box-sizing-desktop all);
596             padding: 0 4% 0 0; 679             padding: 0 4% 0 0;
597             .products-grid .product-item { 680             .products-grid .product-item {
598                 width: 100%/4; 681                 width: 100%/4;
599             } 682             }
600         } 683         }
601     } 684     }
602 } 685 }