X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Finclude%2F_variables.scss;h=43a0057748d958320c64f9f5063542d0f9ce10cb;hb=HEAD;hp=2b893a62bbe5546193908825a100178439912d79;hpb=4e56f0fff12ab9840574e7a27277fc78b195b3e2;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss index 2b893a62b..43a005774 100644 --- a/client/src/sass/include/_variables.scss +++ b/client/src/sass/include/_variables.scss @@ -1,6 +1,5 @@ @use 'sass:math'; @use 'sass:color'; -@use '~bootstrap/scss/functions' as *; $small-view: 800px; $mobile-view: 500px; @@ -18,11 +17,11 @@ $grey-foreground-hover-color: #303030; $grey-button-outline-color: color.scale($grey-foreground-color, $alpha: -95%); $main-color: hsl(24, 90%, 50%); -$main-color-lighter: lighten($main-color, 10%); -$main-color-lightest: lighten($main-color, 40%); +$main-color-lighter: color.adjust($main-color, $lightness: 10%); +$main-color-lightest: color.adjust($main-color, $lightness: 40%); $main-color-very-light: #fff5eb; -$main-hover-color: lighten($main-color, 5%); +$main-hover-color: color.adjust($main-color, $lightness: 5%); $main-background-hover-color: #e9ecef; $support-button: inherit; @@ -40,7 +39,6 @@ $expanded-horizontal-margins: 150px; $not-expanded-horizontal-margins: 30px; $button-font-size: 15px; -$button-height: 30px; $header-height: 50px; $header-border-color: #e9eff6; @@ -48,7 +46,6 @@ $search-input-width: 375px; $menu-background: #000; $menu-color: #fff; -$menu-bottom-color: #C6C6C6; $menu-width: 240px; $menu-lateral-padding: 26px; @@ -99,7 +96,6 @@ $activated-action-button-color: #212529; $focus-box-shadow-form: 0 0 0 .2rem; $form-input-font-size: 15px; -$form-input-line-height: 1.4; $video-watch-player-factor: math.div(16, 9); $video-watch-info-margin-left: 44px; @@ -135,6 +131,7 @@ $variables: ( --inputForegroundColor: var(--inputForegroundColor), --inputBackgroundColor: var(--inputBackgroundColor), --inputPlaceholderColor: var(--inputPlaceholderColor), + --inputBorderColor: var(--inputBorderColor), --textareaForegroundColor: var(--textareaForegroundColor), --textareaBackgroundColor: var(--textareaBackgroundColor), @@ -176,7 +173,7 @@ $zindex: ( tooltip : 14000, loadbar : 15000, privacymsg : 17500, - header : 17500, + root-header : 17500, help-popover : 17600, dropdown : 17600, modal : 19000,