From 63347a0ff966c7863e5b7431effa1cb0668df893 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 9 Aug 2018 14:55:06 +0200 Subject: Migrate to bootstrap 4 and ng-bootstrap --- client/src/sass/application.scss | 60 +++++++++++++++++++--------------------- 1 file changed, 28 insertions(+), 32 deletions(-) (limited to 'client/src/sass/application.scss') diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index 74759348e..b120d4090 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss @@ -42,6 +42,10 @@ input.readonly { background-color: #fff !important; } +input, textarea { + outline: none; +} + label { font-weight: $font-bold; font-size: 15px; @@ -174,9 +178,13 @@ label { @include icon(24px); position: relative; - right: -1px; + top: 3px; float: right; background-image: url('../assets/images/global/cross.svg'); + + margin: 0; + padding: 0; + opacity: 1; } } @@ -200,47 +208,35 @@ label { } } -tabset:not(.bootstrap) { - .nav { - font-size: 16px !important; - border: none !important; +// Nav customizations +.nav .nav-link { + display: flex !important; + align-items: center; + height: 30px !important; + padding: 10px 15px !important; +} - .nav-item .nav-link { - margin-right: 30px; - padding: 0; - border-radius: 3px; - border: none !important; - - .tab-link { - display: flex !important; - align-items: center; - min-height: 30px !important; - padding: 0 15px; - } +.nav.nav-pills { + font-size: 16px !important; - &, & a { - color: #000 !important; - @include disable-default-a-behaviour; - } + .nav-link.active { + font-weight: $font-semibold !important; + } - &.active, &:hover { - background-color: #F0F0F0; - } + a { + @include disable-default-a-behaviour; - &.active { - font-weight: $font-semibold !important; - } - } + color: #000; } } -tabset.bootstrap { - margin-left: 0; +ngb-tabset.bootstrap { - .nav-item .nav-link { + .nav-link { &, & a { - color: #000; @include disable-default-a-behaviour; + + color: #000 !important; } } } -- cgit v1.2.3