From 3d6068c5c9c3eee2fe5dc002f8554a6b637de7af Mon Sep 17 00:00:00 2001 From: lostinlight Date: Tue, 16 Jul 2019 01:18:28 +0300 Subject: [PATCH] Fix button styles --- themes/starter/source/assets/scss/modules/_buttons.scss | 3 +-- themes/starter/source/assets/scss/modules/_sidebar.scss | 2 +- themes/starter/source/assets/scss/partials/_layout.scss | 2 +- themes/starter/source/assets/scss/partials/_utils.scss | 1 + 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/themes/starter/source/assets/scss/modules/_buttons.scss b/themes/starter/source/assets/scss/modules/_buttons.scss index 5da7634..12cf6cf 100644 --- a/themes/starter/source/assets/scss/modules/_buttons.scss +++ b/themes/starter/source/assets/scss/modules/_buttons.scss @@ -13,7 +13,7 @@ text-align: center; text-decoration: none; font-size: .85rem; - margin: 4em .4em 0; + margin: 1.5em .4em 0; border: none; padding-top: 4px; background: black; @@ -75,7 +75,6 @@ z-index: $zIndex--3; background-color: rgba($white, .25); display: inline-block; - margin-left: -2.5em; } .i-sidebar .hidden:checked + .popup { diff --git a/themes/starter/source/assets/scss/modules/_sidebar.scss b/themes/starter/source/assets/scss/modules/_sidebar.scss index dc5c2b7..fbbbaf6 100644 --- a/themes/starter/source/assets/scss/modules/_sidebar.scss +++ b/themes/starter/source/assets/scss/modules/_sidebar.scss @@ -97,7 +97,7 @@ } @media screen and (max-width: $mq-xsmall) { - .share-wrapper .u-extra { + .u-extra { margin-bottom: 0; } diff --git a/themes/starter/source/assets/scss/partials/_layout.scss b/themes/starter/source/assets/scss/partials/_layout.scss index ef5411e..898b2b5 100644 --- a/themes/starter/source/assets/scss/partials/_layout.scss +++ b/themes/starter/source/assets/scss/partials/_layout.scss @@ -153,7 +153,7 @@ dfn { &:active, &:focus { background: $black; - box-shadow: 0px 2px 4px 0px $asphalt; + box-shadow: 0px 2px 4px 0px $grey; } } diff --git a/themes/starter/source/assets/scss/partials/_utils.scss b/themes/starter/source/assets/scss/partials/_utils.scss index 4ecc1a1..f26fba9 100644 --- a/themes/starter/source/assets/scss/partials/_utils.scss +++ b/themes/starter/source/assets/scss/partials/_utils.scss @@ -16,6 +16,7 @@ .contents .u-extra { visibility: visible; opacity: 1; + margin-bottom: 2em; } .u-emphasize {