From 61d9bbf80de160179debf993747f569944705c0f Mon Sep 17 00:00:00 2001 From: sinofp Date: Thu, 21 Feb 2019 23:53:57 +0800 Subject: [PATCH 1/5] fix(readme-zh-ch.md): fix chinese typo --- .github/README-zh-CN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/README-zh-CN.md b/.github/README-zh-CN.md index 9d90f81..d0693ee 100644 --- a/.github/README-zh-CN.md +++ b/.github/README-zh-CN.md @@ -44,7 +44,7 @@ yarn add nes.css NES.css 只提供组件. 你需要定义你自己的布局. -默认字体[Press Start 2P](https://fonts.google.com/specimen/Press+Start+2P?selection.family=Press+Start+2P) 只支持英文字符. 当你把这个框架与其他非英语的语言一起使用的时候, 请使用另外的字体. 请根据这个关于Google Fonts的 [说明](https://developers.google.com/fonts/docs/getting_started) 了解如何把它引入项目, 或者按照如下方式简单引人: +默认字体[Press Start 2P](https://fonts.google.com/specimen/Press+Start+2P?selection.family=Press+Start+2P) 只支持英文字符. 当你把这个框架与其他非英语的语言一起使用的时候, 请使用另外的字体. 请根据这个关于Google Fonts的 [说明](https://developers.google.com/fonts/docs/getting_started) 了解如何把它引入项目, 或者按照如下方式简单引入: ```html From 34298ab24eac341707087ec3d9733e7571028993 Mon Sep 17 00:00:00 2001 From: BcRikko Date: Fri, 22 Feb 2019 22:46:54 +0900 Subject: [PATCH 2/5] fix(icon-mixin.scss): fix style on firefox use @supports (-moz-appearance: meterbar) instead of @-moz-document url-prefix() --- scss/utilities/icon-mixin.scss | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/scss/utilities/icon-mixin.scss b/scss/utilities/icon-mixin.scss index 1fd110a..d884bc5 100644 --- a/scss/utilities/icon-mixin.scss +++ b/scss/utilities/icon-mixin.scss @@ -38,10 +38,10 @@ $color: nth($colors, $dot); @if $color == $default-color { $ret: $ret + ($j * $size) + " " + ($i * $size); - $moz: $moz + ($j * $size) + " " + ($i * $size) + "0 0.020px"; + $moz: $moz + ($j * $size) + " " + ($i * $size) + " 0 0.020em"; } @else { - $ret: $ret + ($j * $size) + " " + ($i * $size) + "" + $color; - $moz: $moz + ($j * $size) + " " + ($i * $size) + "0 0.020px " + $color; + $ret: $ret + ($j * $size) + " " + ($i * $size) + " " + $color; + $moz: $moz + ($j * $size) + " " + ($i * $size) + " 0 0.020em " + $color; } } } @@ -51,7 +51,9 @@ height: $size; color: $default-color; box-shadow: unquote($ret); - @-moz-document url-prefix() { - -webkit-box-shadow: unquote($moz); + + // firefox only style + @supports (-moz-appearance: meterbar) { + box-shadow: unquote($moz); } } From 1c84665b1a8bbb466f57fa9f76b78988802c8294 Mon Sep 17 00:00:00 2001 From: Tommaso Poletti Date: Fri, 22 Feb 2019 15:28:49 +0100 Subject: [PATCH 3/5] fix blurred borders in safari --- scss/utilities/rounded-corners-mixin.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scss/utilities/rounded-corners-mixin.scss b/scss/utilities/rounded-corners-mixin.scss index 7d00e5d..91f1bf9 100644 --- a/scss/utilities/rounded-corners-mixin.scss +++ b/scss/utilities/rounded-corners-mixin.scss @@ -16,7 +16,7 @@ border-image-slice: 3; border-image-width: 3; - border-image-repeat: space; + border-image-repeat: stretch; @if $isDark { @include border-image($color-white); @@ -34,7 +34,7 @@ border-image-slice: 2; border-image-width: 2; - border-image-repeat: space; + border-image-repeat: stretch; @if $isDark { @include compact-border-image($color-white); From bef258ac792051ac3477aa2b2c8ca5e7d4730c6c Mon Sep 17 00:00:00 2001 From: Tommaso Poletti Date: Fri, 22 Feb 2019 16:45:08 +0100 Subject: [PATCH 4/5] revert for make a commit that passes the commitlint :) --- scss/utilities/rounded-corners-mixin.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/utilities/rounded-corners-mixin.scss b/scss/utilities/rounded-corners-mixin.scss index 91f1bf9..1015433 100644 --- a/scss/utilities/rounded-corners-mixin.scss +++ b/scss/utilities/rounded-corners-mixin.scss @@ -16,7 +16,7 @@ border-image-slice: 3; border-image-width: 3; - border-image-repeat: stretch; + border-image-repeat: space; @if $isDark { @include border-image($color-white); From 972ea984816e4d2ec1a40264e2b49eb37b15dd21 Mon Sep 17 00:00:00 2001 From: Tommaso Poletti Date: Fri, 22 Feb 2019 16:55:14 +0100 Subject: [PATCH 5/5] fix(rounded-corners-mixin.scss): fix blurred borders --- scss/utilities/rounded-corners-mixin.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/utilities/rounded-corners-mixin.scss b/scss/utilities/rounded-corners-mixin.scss index 1015433..91f1bf9 100644 --- a/scss/utilities/rounded-corners-mixin.scss +++ b/scss/utilities/rounded-corners-mixin.scss @@ -16,7 +16,7 @@ border-image-slice: 3; border-image-width: 3; - border-image-repeat: space; + border-image-repeat: stretch; @if $isDark { @include border-image($color-white);