From 78de8f1a1f423a86c05f361e87012a8ea1f1211b Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Sat, 1 Jul 2017 15:33:02 +0800 Subject: IMPORTANT: Replace all rem units to px --- src/sliders.less | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/sliders.less') diff --git a/src/sliders.less b/src/sliders.less index 779117d..c90c334 100644 --- a/src/sliders.less +++ b/src/sliders.less @@ -5,7 +5,7 @@ background: transparent; display: block; width: 100%; - height: 2.4rem; + height: @unit-6; &:focus { .control-shadow(); @@ -18,26 +18,26 @@ background: @primary-color; border: 0; border-radius: 50%; - height: 1.2rem; - margin-top: -.5rem; + height: @unit-3; + margin-top: -5px; transition: transform .2s ease; - width: 1.2rem; + width: @unit-3; } &::-moz-range-thumb { background: @primary-color; border: 0; border-radius: 50%; - height: 1.2rem; + height: @unit-3; transition: transform .2s ease; - width: 1.2rem; + width: @unit-3; } &::-ms-thumb { background: @primary-color; border: 0; border-radius: 50%; - height: 1.2rem; + height: @unit-3; transition: transform .2s ease; - width: 1.2rem; + width: @unit-3; } &:active { @@ -72,19 +72,19 @@ &::-webkit-slider-runnable-track { background: @bg-color-dark; border-radius: @border-radius; - height: .2rem; + height: @unit-h; width: 100%; } &::-moz-range-track { background: @bg-color-dark; border-radius: @border-radius; - height: .2rem; + height: @unit-h; width: 100%; } &::-ms-track { background: @bg-color-dark; border-radius: @border-radius; - height: .2rem; + height: @unit-h; width: 100%; } &::-ms-fill-lower { -- cgit v1.3.1-26-gb76a From a8ba146553cdbe25c782aea323a8f7df0ad664f0 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Tue, 15 Aug 2017 16:06:33 +0800 Subject: IMPORTANT: Change back to rem unit, and default html font size is 20px. --- docs/components.html | 8 +- docs/css/docs.css | 175 +++++---- docs/dist/spectre-exp.css | 176 ++++----- docs/dist/spectre-exp.min.css | 2 +- docs/dist/spectre-icons.css | 120 +++---- docs/dist/spectre-icons.min.css | 2 +- docs/dist/spectre.css | 766 ++++++++++++++++++++-------------------- docs/dist/spectre.min.css | 2 +- docs/elements.html | 6 +- docs/experimentals.html | 2 +- docs/getting-started.html | 134 +++---- docs/index.html | 6 +- docs/src/docs.less | 165 +++++---- docs/utilities.html | 34 +- src/badges.less | 6 +- src/bars.less | 2 +- src/buttons.less | 4 +- src/calendars.less | 2 +- src/carousels.less | 12 +- src/codes.less | 2 +- src/comparison-sliders.less | 2 +- src/forms.less | 6 +- src/menus.less | 6 +- src/mixins.less | 57 ++- src/modals.less | 3 +- src/normalize.less | 1 + src/pagination.less | 6 +- src/parallax.less | 2 +- src/popovers.less | 2 +- src/sliders.less | 2 +- src/typography.less | 12 +- src/utilities.less | 1 - src/utilities/position.less | 65 +--- src/utilities/shadow.less | 16 - src/variables.less | 52 +-- 35 files changed, 935 insertions(+), 924 deletions(-) delete mode 100644 src/utilities/shadow.less (limited to 'src/sliders.less') diff --git a/docs/components.html b/docs/components.html index a61a3bd..3143683 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1273,7 +1273,7 @@