|
11 | 11 | $fontFamily: "Lato", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif; |
12 | 12 | } |
13 | 13 |
|
| 14 | +/* #4460 */ |
| 15 | +.SearchBox { |
| 16 | + box-shadow: 0 1rem 6rem rgba(0, 0, 0, 0.18), 0 0.3rem 1rem rgba(0, 0, 0, 0.17); |
| 17 | +} |
| 18 | +
|
| 19 | +.SearchBox { |
| 20 | + @include foo { |
| 21 | + margin-left: sg-layout-width(logo-shopify) / 2 * -1 + sg-offset-x(page-nav) / 2; |
| 22 | + } |
| 23 | +} |
| 24 | +
|
| 25 | +.SearchBox { |
| 26 | + box-shadow: 0 1rem 6rem rgba(0, 0, 0, 0.18), 0 0.3rem 1rem rgba(0, 0, 0, 0.17) !important; |
| 27 | +} |
| 28 | +
|
| 29 | +.demo { |
| 30 | + background-position: 0 0, 0 spacing(tight), spacing(tight) -1 * spacing(tight), -1 * spacing(tight) 0; |
| 31 | +} |
| 32 | +
|
| 33 | +/* #4604 */ |
| 34 | +.this-will-not-wrap { |
| 35 | + background: transparent url(/long/path/to/dummy-image.svg) -1000px center no-repeat; |
| 36 | +} |
| 37 | +
|
| 38 | +.this-will-wrap-correctly { |
| 39 | + background: transparent url(/long/path/to/dummy-image.svg) 1000px center no-repeat; |
| 40 | +} |
| 41 | +
|
| 42 | +.this-will-also-wrap-but-incorrectly { |
| 43 | + background: transparent url(/even/longer/path/to/dummy-image.svg) -1000px center no-repeat; |
| 44 | +} |
| 45 | +
|
| 46 | +
|
14 | 47 | =====================================output===================================== |
15 | 48 | div { |
16 | 49 | border-left: 1px solid |
|
24 | 57 | sans-serif; |
25 | 58 | } |
26 | 59 |
|
| 60 | +/* #4460 */ |
| 61 | +.SearchBox { |
| 62 | + box-shadow: |
| 63 | + 0 1rem 6rem rgba(0, 0, 0, 0.18), |
| 64 | + 0 0.3rem 1rem rgba(0, 0, 0, 0.17); |
| 65 | +} |
| 66 | +
|
| 67 | +.SearchBox { |
| 68 | + @include foo { |
| 69 | + margin-left: sg-layout-width(logo-shopify) / 2 * -1 + |
| 70 | + sg-offset-x(page-nav) / 2; |
| 71 | + } |
| 72 | +} |
| 73 | +
|
| 74 | +.SearchBox { |
| 75 | + box-shadow: |
| 76 | + 0 1rem 6rem rgba(0, 0, 0, 0.18), |
| 77 | + 0 0.3rem 1rem rgba(0, 0, 0, 0.17) !important; |
| 78 | +} |
| 79 | +
|
| 80 | +.demo { |
| 81 | + background-position: |
| 82 | + 0 0, |
| 83 | + 0 spacing(tight), |
| 84 | + spacing(tight) -1 * spacing(tight), |
| 85 | + -1 * spacing(tight) 0; |
| 86 | +} |
| 87 | +
|
| 88 | +/* #4604 */ |
| 89 | +.this-will-not-wrap { |
| 90 | + background: transparent url(/long/path/to/dummy-image.svg) -1000px center |
| 91 | + no-repeat; |
| 92 | +} |
| 93 | +
|
| 94 | +.this-will-wrap-correctly { |
| 95 | + background: transparent url(/long/path/to/dummy-image.svg) 1000px center |
| 96 | + no-repeat; |
| 97 | +} |
| 98 | +
|
| 99 | +.this-will-also-wrap-but-incorrectly { |
| 100 | + background: transparent url(/even/longer/path/to/dummy-image.svg) -1000px |
| 101 | + center no-repeat; |
| 102 | +} |
| 103 | +
|
27 | 104 | ================================================================================ |
28 | 105 | `; |
0 commit comments