diff options
author | Andrey V.Kosteltsev <AKosteltsev@IBS.RU> | 2022-05-22 22:18:44 +0300 |
---|---|---|
committer | Anna Tsyganova <ATSyganova@IBS.RU> | 2022-06-27 11:04:23 +0300 |
commit | 8330b704e5f53ab7fea3738b5ef85bbc9c16252d (patch) | |
tree | 16ece936969910d82ece08889b3077c3696790f5 /src/assets/styles/bmc/custom/_base.scss | |
parent | 35bfaa38529a43366b9c40772adb7349085286da (diff) | |
download | webui-vue-8330b704e5f53ab7fea3738b5ef85bbc9c16252d.tar.xz |
Created from master@fedc7344df80d87050966a4903f7aff32fddd259sila-redesign-patch
Diffstat (limited to 'src/assets/styles/bmc/custom/_base.scss')
-rw-r--r-- | src/assets/styles/bmc/custom/_base.scss | 94 |
1 files changed, 79 insertions, 15 deletions
diff --git a/src/assets/styles/bmc/custom/_base.scss b/src/assets/styles/bmc/custom/_base.scss index c11e046c..4902f87a 100644 --- a/src/assets/styles/bmc/custom/_base.scss +++ b/src/assets/styles/bmc/custom/_base.scss @@ -1,50 +1,114 @@ -dt, -legend, -label { - color: gray("800"); - font-size: 14px; - font-weight: 400; - line-height: 1.4285; +/* W3C standard + сейчас только для Firefox */ +* { + scrollbar-width: thin; + scrollbar-color: $gray-20 $gray-5; +} + +/* для Chrome/Edge/Safari */ +*::-webkit-scrollbar { + height: 12px; + width: 8px; +} + +*::-webkit-scrollbar-track { + background: $gray-5; +} + +*::-webkit-scrollbar-thumb { + background-color: $gray-20; + border-radius: 5px; + border: 3px solid $gray-5; } h1, .h1 { - font-size: 2.625rem; - font-weight: 300; + font-size: 1.75rem !important; + font-weight: 700; line-height: 1.238; } h2, .h2 { - font-size: 2.25rem; - font-weight: 300; + font-size: 1.25rem !important; + font-weight: 500; line-height: 1.3333; } h3, .h3 { - font-size: 1.75rem; + font-size: 1rem !important; font-weight: 400; line-height: 1.2857; } h4, .h4 { - font-size: 1.25rem; + font-size: 0.875rem !important; font-weight: 400; line-height: 1.3; } h5, .h5 { - font-size: 1rem; + font-size: 0.75rem !important; font-weight: 500; line-height: 1.375; } h6, .h6 { - font-size: 0.875rem; + font-size: 0.625rem !important; font-weight: 500; line-height: 1.2857; } + +.page-section { + margin-bottom: 2rem !important; +} + +.nav-link--current{ + background-color: $red-light-background !important; + color: $red !important; + &:hover, + &:focus { + background-color: $red-light-background !important; + color: $red !important; + } +} + +.nav > :first-child { + border-top: 1px solid $gray-20; +} + +.nav-link { + background-color: $gray-5; +} + +.btn-link:active, .nav-link:active { + background-color: $red-light-background !important; + color: $red !important; +} + +.nav-item { + & > button, & > a { + border-bottom: 1px solid $gray-20; + } +} + +.app-header .navbar { + height: 53px !important; +} + +.app-header .navbar-text, .app-header .nav-link, .app-header .btn-link { + border-radius: $border-radius; + &:hover { + background-color: $red-40 !important; + } + &:active { + background-color: $red-active !important; + } + &:focus { + outline: 0; + } +}
\ No newline at end of file |