Takaaki Sato 6 years ago committed by GitHub
parent
commit
56f8386848
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      sass/mixins.scss

6
sass/mixins.scss

@ -115,12 +115,12 @@
// -------------------------------------------------- // --------------------------------------------------
@mixin hairline($type, $color, $offset) { @mixin hairline($type, $color, $offset) {
@if $type == single { @if $type == single {
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#{$color}' x='0' y='0' width='100%' height='0.5'/></svg>"); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='%23{$color}' x='0' y='0' width='100%' height='0.5'/></svg>");
background-position: $offset 100%; background-position: $offset 100%;
} @else if $type == double { } @else if $type == double {
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#{$color}' x='0' y='0' width='100%' height='0.5'/></svg>"), background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='%23{$color}' x='0' y='0' width='100%' height='0.5'/></svg>"),
url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#{$color}' x='0' y='0' width='100%' height='0.5'/></svg>"); url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='%23{$color}' x='0' y='0' width='100%' height='0.5'/></svg>");
background-position: $offset 100%, $offset 0; background-position: $offset 100%, $offset 0;
} }
background-repeat: no-repeat; background-repeat: no-repeat;

Loading…
Cancel
Save