From d790bd4b4898adfbe33cb5e04f05d359750804c8 Mon Sep 17 00:00:00 2001 From: Set Hallstrom Date: Fri, 11 Sep 2020 11:27:57 +0200 Subject: [PATCH] button color --- _sass/_player.scss | 2 +- _sass/photos/components/_button.scss | 66 ---------------------------- 2 files changed, 1 insertion(+), 67 deletions(-) delete mode 100644 _sass/photos/components/_button.scss diff --git a/_sass/_player.scss b/_sass/_player.scss index 56cf158..53682f4 100644 --- a/_sass/_player.scss +++ b/_sass/_player.scss @@ -219,7 +219,7 @@ a[id^="btn"]::-moz-focus-inner { } .button:hover { background-color: var(--accent2); - color: var(--fg); + } > div { flex: 1 1 auto; diff --git a/_sass/photos/components/_button.scss b/_sass/photos/components/_button.scss deleted file mode 100644 index 2d5afcc..0000000 --- a/_sass/photos/components/_button.scss +++ /dev/null @@ -1,66 +0,0 @@ -/// -/// Lens by HTML5 UP -/// html5up.net | @ajlkn -/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -/// - -/* Button */ - - input[type="submit"], - input[type="reset"], - input[type="button"], - button, - .button { - @include vendor('appearance', 'none'); - @include vendor('transition', ( - 'background-color #{_duration(transition)} ease-in-out', - 'border-color #{_duration(transition)} ease-in-out', - 'color #{_duration(transition)} ease-in-out' - )); - background-color: transparent; - border-radius: _size(border-radius); - border: solid 1px _palette(border); - color: _palette(fg-bold); - cursor: pointer; - display: inline-block; - line-height: 1; - padding: 0.75em 1.5em; - text-align: center; - text-decoration: none; - white-space: nowrap; - - &:hover { - border-color: _palette(accent); - color: _palette(accent); - - &:active { - background-color: transparentize(_palette(accent), 0.85); - } - } - - &.icon { - padding-left: 1.35em; - - &:before { - margin-right: 0.5em; - } - } - - &.fit { - width: 100%; - } - - &.small { - font-size: 0.8em; - } - - &.large { - font-size: 1.35em; - } - - &.disabled, - &:disabled { - @include vendor('pointer-events', 'none'); - opacity: 0.25; - } - } \ No newline at end of file