From a9bcc3224fbcb089ff5ec40a9331e769b130bcb1 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 27 Jan 2017 07:54:57 +0100 Subject: [PATCH] Style for radio buttons brought back --- src/Squidex/app/theme/_bootstrap.scss | 44 +++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/src/Squidex/app/theme/_bootstrap.scss b/src/Squidex/app/theme/_bootstrap.scss index c87723f5d..b9dab104e 100644 --- a/src/Squidex/app/theme/_bootstrap.scss +++ b/src/Squidex/app/theme/_bootstrap.scss @@ -146,6 +146,50 @@ body { font-weight: normal; } + &-radio { + & { + color: $color-border-dark; + cursor: pointer; + border: 1px solid $color-border; + background: transparent; + margin-right: .5rem; + font-size: 1.5rem; + font-weight: normal; + text-align: center; + width: 4.5rem; + } + + .radio-label { + display: block; + font-size: .7rem; + font-weight: bold; + margin-left: -.5rem; + margin-right: -.5rem; + line-height: 1.5rem; + } + + &.active { + & { + @include box-shadow(0, 0, 10px, .5); + background: $color-theme-blue; + border: 0; + color: $color-accent-dark; + } + + &:hover { + color: $color-accent-dark; + } + } + + &:hover { + color: $color-theme-blue; + } + + .radio-input { + display: none; + } + } + &-link { &.btn-danger { @include link-button($color-theme-error);