|
254 | 254 | & when (@media-common = true) {
|
255 | 255 | .abs-dropdown-simple {
|
256 | 256 | .lib-dropdown(
|
257 |
| - @_dropdown-list-item-padding: 5px 5px 5px 23px, |
258 |
| - @_dropdown-list-min-width: 200px, |
259 |
| - @_icon-font-margin: 0 0 0 5px, |
260 |
| - @_icon-font-vertical-align: middle |
| 257 | + @_dropdown-list-item-padding: 5px 5px 5px 23px, |
| 258 | + @_dropdown-list-min-width: 200px, |
| 259 | + @_icon-font-margin: 0 0 0 5px, |
| 260 | + @_icon-font-vertical-align: middle |
261 | 261 | );
|
262 | 262 |
|
263 | 263 | ul.items {
|
|
300 | 300 | & when (@media-common = true) {
|
301 | 301 | .abs-remove-button-for-blocks {
|
302 | 302 | .lib-icon-font(
|
303 |
| - @icon-remove, |
304 |
| - @_icon-font-size: 12px, |
305 |
| - @_icon-font-line-height: 15px, |
306 |
| - @_icon-font-text-hide: true, |
307 |
| - @_icon-font-color: @color-gray46, |
308 |
| - @_icon-font-color-hover: @color-gray-darken4, |
309 |
| - @_icon-font-color-active: @color-gray60 |
| 303 | + @icon-remove, |
| 304 | + @_icon-font-size: 12px, |
| 305 | + @_icon-font-line-height: 15px, |
| 306 | + @_icon-font-text-hide: true, |
| 307 | + @_icon-font-color: @color-gray46, |
| 308 | + @_icon-font-color-hover: @color-gray-darken4, |
| 309 | + @_icon-font-color-active: @color-gray60 |
310 | 310 | );
|
311 | 311 | }
|
312 | 312 | }
|
|
318 | 318 | & when (@media-common = true) {
|
319 | 319 | .abs-product-link {
|
320 | 320 | font-weight: @font-weight__regular;
|
| 321 | + |
321 | 322 | > a {
|
322 | 323 | .lib-link(
|
323 |
| - @_link-color: @product-name-link__color, |
324 |
| - @_link-text-decoration: @product-name-link__text-decoration, |
325 |
| - @_link-color-visited: @product-name-link__color__visited, |
326 |
| - @_link-text-decoration-visited: @product-name-link__text-decoration__visited, |
327 |
| - @_link-color-hover: @product-name-link__color__hover, |
328 |
| - @_link-text-decoration-hover: @product-name-link__text-decoration__hover, |
329 |
| - @_link-color-active: @product-name-link__color__active, |
330 |
| - @_link-text-decoration-active: @product-name-link__text-decoration__active |
| 324 | + @_link-color: @product-name-link__color, |
| 325 | + @_link-text-decoration: @product-name-link__text-decoration, |
| 326 | + @_link-color-visited: @product-name-link__color__visited, |
| 327 | + @_link-text-decoration-visited: @product-name-link__text-decoration__visited, |
| 328 | + @_link-color-hover: @product-name-link__color__hover, |
| 329 | + @_link-text-decoration-hover: @product-name-link__text-decoration__hover, |
| 330 | + @_link-color-active: @product-name-link__color__active, |
| 331 | + @_link-text-decoration-active: @product-name-link__text-decoration__active |
331 | 332 | );
|
332 | 333 | }
|
333 | 334 | }
|
|
662 | 663 | & when (@media-common = true) {
|
663 | 664 | .abs-split-button {
|
664 | 665 | .lib-dropdown-split(
|
665 |
| - @_options-selector : ~'.items', |
666 |
| - @_dropdown-split-button-border-radius-fix: true |
| 666 | + @_options-selector : ~'.items', |
| 667 | + @_dropdown-split-button-border-radius-fix: true |
667 | 668 | );
|
668 | 669 | vertical-align: middle;
|
669 | 670 | }
|
|
743 | 744 | .abs-checkout-order-review {
|
744 | 745 | tbody > tr {
|
745 | 746 | &:extend(.abs-add-clearfix-mobile all);
|
| 747 | + |
746 | 748 | &:not(:last-child) {
|
747 | 749 | .lib-css(border-bottom, @border-width__base solid @border-color__base);
|
748 | 750 | }
|
|
795 | 797 | letter-spacing: .05em;
|
796 | 798 | text-transform: uppercase;
|
797 | 799 | .lib-icon-font(
|
798 |
| - @_icon-font-content: '', |
799 |
| - @_icon-font-size: 16px, |
800 |
| - @_icon-font-line-height: 16px, |
801 |
| - @_icon-font-margin: -2px 5px 0 0, |
802 |
| - @_icon-font-vertical-align: middle |
| 800 | + @_icon-font-content: '', |
| 801 | + @_icon-font-size: 16px, |
| 802 | + @_icon-font-line-height: 16px, |
| 803 | + @_icon-font-margin: -2px 5px 0 0, |
| 804 | + @_icon-font-vertical-align: middle |
803 | 805 | );
|
804 | 806 |
|
805 | 807 | &:hover {
|
|
874 | 876 | @abs-toggling-title();
|
875 | 877 | .lib-css(padding, @indent__s @indent__xl @indent__s @mobile-cart-padding);
|
876 | 878 | .lib-icon-font(
|
877 |
| - @icon-down, |
878 |
| - @_icon-font-size: 12px, |
879 |
| - @_icon-font-line-height: 12px, |
880 |
| - @_icon-font-text-hide: true, |
881 |
| - @_icon-font-margin: 3px 0 0, |
882 |
| - @_icon-font-position: after, |
883 |
| - @_icon-font-display: block |
| 879 | + @icon-down, |
| 880 | + @_icon-font-size: 12px, |
| 881 | + @_icon-font-line-height: 12px, |
| 882 | + @_icon-font-text-hide: true, |
| 883 | + @_icon-font-margin: 3px 0 0, |
| 884 | + @_icon-font-position: after, |
| 885 | + @_icon-font-display: block |
884 | 886 | );
|
885 | 887 | }
|
886 | 888 | }
|
|
891 | 893 | .lib-css(border-bottom, @border-width__base solid @border-color__base);
|
892 | 894 | .lib-css(padding, @indent__s @indent__xl @indent__s @layout__width-xs-indent);
|
893 | 895 | .lib-icon-font(
|
894 |
| - @icon-down, |
895 |
| - @_icon-font-size: 12px, |
896 |
| - @_icon-font-text-hide: false, |
897 |
| - @_icon-font-margin: 3px 0 0 0, |
898 |
| - @_icon-font-position: after, |
899 |
| - @_icon-font-display: block |
| 896 | + @icon-down, |
| 897 | + @_icon-font-size: 12px, |
| 898 | + @_icon-font-text-hide: false, |
| 899 | + @_icon-font-margin: 3px 0 0 0, |
| 900 | + @_icon-font-position: after, |
| 901 | + @_icon-font-display: block |
900 | 902 | );
|
901 | 903 |
|
902 | 904 | &.active {
|
903 | 905 | .lib-icon-font-symbol(
|
904 |
| - @_icon-font-content: @icon-up, |
905 |
| - @_icon-font-position: after |
| 906 | + @_icon-font-content: @icon-up, |
| 907 | + @_icon-font-position: after |
906 | 908 | );
|
907 | 909 | }
|
908 | 910 | }
|
|
918 | 920 |
|
919 | 921 | > .title {
|
920 | 922 | &:extend(.abs-toggling-title all);
|
| 923 | + |
921 | 924 | &:after {
|
922 | 925 | color: @color-gray52;
|
923 | 926 | }
|
|
932 | 935 | &.active {
|
933 | 936 | > .title {
|
934 | 937 | .lib-icon-font-symbol(
|
935 |
| - @_icon-font-content: @icon-up, |
936 |
| - @_icon-font-position: after |
| 938 | + @_icon-font-content: @icon-up, |
| 939 | + @_icon-font-position: after |
937 | 940 | );
|
938 | 941 | }
|
939 | 942 |
|
|
983 | 986 | padding: @indent__s 0 0;
|
984 | 987 |
|
985 | 988 | &:last-child {
|
986 |
| - padding-bottom: @indent__s |
| 989 | + padding-bottom: @indent__s; |
987 | 990 | }
|
988 | 991 | }
|
989 | 992 | }
|
|
1024 | 1027 | // Account pages: title
|
1025 | 1028 | // ---------------------------------------------
|
1026 | 1029 |
|
1027 |
| -& when (@media-common = true) { |
1028 |
| - .abs-account-title { |
1029 |
| - > strong, |
1030 |
| - > span { |
1031 |
| - .lib-font-size(22); |
1032 |
| - .lib-css(font-weight, @font-weight__light); |
1033 |
| - } |
1034 |
| - |
1035 |
| - .lib-css(border-bottom, 1px solid @account-title-border-color); |
1036 |
| - .lib-css(margin-bottom, @indent__m); |
1037 |
| - .lib-css(padding-bottom, @indent__s); |
| 1030 | +@abs-account-title: { |
| 1031 | + > strong, |
| 1032 | + > span { |
| 1033 | + .lib-font-size(22); |
| 1034 | + .lib-css(font-weight, @font-weight__light); |
1038 | 1035 | }
|
1039 |
| -} |
| 1036 | + |
| 1037 | + .lib-css(border-bottom, 1px solid @account-title-border-color); |
| 1038 | + .lib-css(margin-bottom, @indent__m); |
| 1039 | + .lib-css(padding-bottom, @indent__s); |
| 1040 | +}; |
| 1041 | + |
1040 | 1042 |
|
1041 | 1043 | //
|
1042 | 1044 | // Account pages: block font size
|
|
1103 | 1105 |
|
1104 | 1106 | @abs-action-print: {
|
1105 | 1107 | .lib-icon-font(
|
1106 |
| - @icon-print, |
1107 |
| - @_icon-font-size: 16px, |
1108 |
| - @_icon-font-line-height: 16px, |
1109 |
| - @_icon-font-margin: 0 4px 0 0, |
1110 |
| - @_icon-font-position: before |
| 1108 | + @icon-print, |
| 1109 | + @_icon-font-size: 16px, |
| 1110 | + @_icon-font-line-height: 16px, |
| 1111 | + @_icon-font-margin: 0 4px 0 0, |
| 1112 | + @_icon-font-position: before |
1111 | 1113 | );
|
1112 | 1114 |
|
1113 | 1115 | &:hover {
|
|
1180 | 1182 | position: relative;
|
1181 | 1183 |
|
1182 | 1184 | .lib-icon-font(
|
1183 |
| - @icon-down, |
1184 |
| - @_icon-font-size: 8px, |
1185 |
| - @_icon-font-line-height: 8px, |
1186 |
| - @_icon-font-margin: 3px 0 0 0, |
1187 |
| - @_icon-font-position: after |
| 1185 | + @icon-down, |
| 1186 | + @_icon-font-size: 8px, |
| 1187 | + @_icon-font-line-height: 8px, |
| 1188 | + @_icon-font-margin: 3px 0 0 0, |
| 1189 | + @_icon-font-position: after |
1188 | 1190 | );
|
1189 | 1191 |
|
1190 | 1192 | &:after {
|
|
1196 | 1198 |
|
1197 | 1199 | .abs-tax-total-expanded {
|
1198 | 1200 | .lib-icon-font-symbol(
|
1199 |
| - @_icon-font-content: @icon-up, |
1200 |
| - @_icon-font-position: after |
| 1201 | + @_icon-font-content: @icon-up, |
| 1202 | + @_icon-font-position: after |
1201 | 1203 | );
|
1202 | 1204 | }
|
1203 | 1205 | }
|
|
1269 | 1271 | & when (@media-common = true) {
|
1270 | 1272 | .abs-account-blocks {
|
1271 | 1273 | .block-title {
|
1272 |
| - &:extend(.abs-account-title all); |
| 1274 | + @abs-account-title(); |
1273 | 1275 |
|
1274 | 1276 | > .action {
|
1275 | 1277 | margin-left: 15px;
|
|
1311 | 1313 | & when (@media-common = true) {
|
1312 | 1314 | .abs-icon-add {
|
1313 | 1315 | .lib-icon-font(
|
1314 |
| - @_icon-font-content: @icon-expand, |
1315 |
| - @_icon-font-size: 10px, |
1316 |
| - @_icon-font-line-height: 10px, |
1317 |
| - @_icon-font-vertical-align: middle |
| 1316 | + @_icon-font-content: @icon-expand, |
| 1317 | + @_icon-font-size: 10px, |
| 1318 | + @_icon-font-line-height: 10px, |
| 1319 | + @_icon-font-vertical-align: middle |
1318 | 1320 | );
|
1319 | 1321 | }
|
1320 | 1322 | }
|
1321 | 1323 |
|
1322 | 1324 | .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
|
1323 | 1325 | .abs-icon-add-mobile {
|
1324 | 1326 | .lib-icon-font(
|
1325 |
| - @_icon-font-content: @icon-expand, |
1326 |
| - @_icon-font-size: 10px, |
1327 |
| - @_icon-font-line-height: 10px, |
1328 |
| - @_icon-font-vertical-align: middle, |
1329 |
| - @_icon-font-margin: 0 5px 0 0, |
1330 |
| - @_icon-font-display: block |
| 1327 | + @_icon-font-content: @icon-expand, |
| 1328 | + @_icon-font-size: 10px, |
| 1329 | + @_icon-font-line-height: 10px, |
| 1330 | + @_icon-font-vertical-align: middle, |
| 1331 | + @_icon-font-margin: 0 5px 0 0, |
| 1332 | + @_icon-font-display: block |
1331 | 1333 | );
|
1332 | 1334 | }
|
1333 | 1335 | }
|
|
1346 | 1348 |
|
1347 | 1349 | .action.new {
|
1348 | 1350 | &:extend(.abs-icon-add all);
|
| 1351 | + |
1349 | 1352 | &:before {
|
1350 | 1353 | margin-left: -17px;
|
1351 | 1354 | margin-right: @indent__xs;
|
|
1488 | 1491 | .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
|
1489 | 1492 | .abs-table-bordered-desktop {
|
1490 | 1493 | .lib-table-bordered(
|
1491 |
| - @_table_type: light, |
1492 |
| - @_table_border-width: 1px |
| 1494 | + @_table_type: light, |
| 1495 | + @_table_border-width: 1px |
1493 | 1496 | );
|
1494 | 1497 | }
|
1495 | 1498 | }
|
|
1507 | 1510 | position: relative;
|
1508 | 1511 | z-index: 1;
|
1509 | 1512 | }
|
| 1513 | + |
1510 | 1514 | .limiter {
|
1511 | 1515 | display: inline-block;
|
1512 | 1516 | float: right;
|
|
1638 | 1642 | & when (@media-common = true) {
|
1639 | 1643 | .abs-field-date-input {
|
1640 | 1644 | .lib-css(margin-right, @indent__s);
|
1641 |
| - width: calc(~'100% -' @icon-calendar__font-size + @indent__s); |
| 1645 | + width: calc(~'100% ' - (@icon-calendar__font-size + @indent__s)); |
1642 | 1646 | }
|
1643 | 1647 | }
|
1644 | 1648 |
|
|
1653 | 1657 |
|
1654 | 1658 | input {
|
1655 | 1659 | .lib-css(margin-right, @indent__s);
|
1656 |
| - width: calc(~'100% -' @checkout-tooltip-icon__font-size + @indent__s + @indent__xs); |
| 1660 | + width: calc(~'100%' - (@checkout-tooltip-icon__font-size + @indent__s + @indent__xs)); |
1657 | 1661 | }
|
1658 | 1662 | }
|
1659 | 1663 | }
|
|
1670 | 1674 | &:before,
|
1671 | 1675 | &:after {
|
1672 | 1676 | .lib-arrow(
|
1673 |
| - @_position: top, |
1674 |
| - @_size: @checkout-tooltip-icon-arrow__font-size, |
1675 |
| - @_color: @checkout-tooltip-content__background-color |
| 1677 | + @_position: top, |
| 1678 | + @_size: @checkout-tooltip-icon-arrow__font-size, |
| 1679 | + @_color: @checkout-tooltip-content__background-color |
1676 | 1680 | );
|
1677 | 1681 | .lib-css(margin-top, @checkout-tooltip-icon-arrow__left);
|
1678 | 1682 | .lib-css(right, @indent__s);
|
|
1710 | 1714 | .abs-checkout-title {
|
1711 | 1715 | .lib-css(padding-bottom, @checkout-step-title__padding);
|
1712 | 1716 | .lib-typography(
|
1713 |
| - @_font-size: @checkout-step-title__font-size, |
1714 |
| - @_font-weight: @checkout-step-title__font-weight, |
1715 |
| - @_font-family: false, |
1716 |
| - @_font-style: false, |
1717 |
| - @_line-height: false |
| 1717 | + @_font-size: @checkout-step-title__font-size, |
| 1718 | + @_font-weight: @checkout-step-title__font-weight, |
| 1719 | + @_font-family: false, |
| 1720 | + @_font-style: false, |
| 1721 | + @_line-height: false |
1718 | 1722 | );
|
1719 | 1723 | }
|
1720 | 1724 | }
|
|
1794 | 1798 | padding-right: @indent__base;
|
1795 | 1799 | position: relative;
|
1796 | 1800 | .lib-icon-font(
|
1797 |
| - @icon-down, |
1798 |
| - @_icon-font-size: 12px, |
1799 |
| - @_icon-font-line-height: 12px, |
1800 |
| - @_icon-font-text-hide: true, |
1801 |
| - @_icon-font-position: after |
| 1801 | + @icon-down, |
| 1802 | + @_icon-font-size: 12px, |
| 1803 | + @_icon-font-line-height: 12px, |
| 1804 | + @_icon-font-text-hide: true, |
| 1805 | + @_icon-font-position: after |
1802 | 1806 | );
|
1803 | 1807 |
|
1804 | 1808 | &:after {
|
|
1816 | 1820 |
|
1817 | 1821 | .amount .price {
|
1818 | 1822 | .lib-icon-font-symbol(
|
1819 |
| - @_icon-font-content: @icon-up, |
1820 |
| - @_icon-font-position: after |
| 1823 | + @_icon-font-content: @icon-up, |
| 1824 | + @_icon-font-position: after |
1821 | 1825 | );
|
1822 | 1826 | }
|
1823 | 1827 | }
|
|
0 commit comments