X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Finclude%2F_bootstrap-variables.scss;h=796850174472e2e321bb645c48a5449f1773bf04;hb=6f03f944c34f78b38a68128413b55186e0676949;hp=b3ab0eb2b6b3586f3be437727502dad14a88e22f;hpb=a30a136c9896c656cab98d2c92cde32c534dc098;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/include/_bootstrap-variables.scss b/client/src/sass/include/_bootstrap-variables.scss index b3ab0eb2b..796850174 100644 --- a/client/src/sass/include/_bootstrap-variables.scss +++ b/client/src/sass/include/_bootstrap-variables.scss @@ -1,10 +1,10 @@ -$dropdown-link-active-bg: inherit; +@use '_variables' as *; -$zindex-modal: 10005; $modal-footer-border-width: 0; $modal-md: 600px; $grid-breakpoints: ( + // CLASSIC BREAKPOINTS GROUP // Extra small screen / phone xs: 0, // Small screen / phone @@ -15,9 +15,18 @@ $grid-breakpoints: ( lg: 900px, // Extra large screens / wide desktops xl: 1200px, - xxl: 1600px + xxl: 1600px, + + // SCREEN GROUP + fhd: 1800px, + qhd: 2560px, + uhd: 3840px ); +@function breakpoint($label) { + @return map-get($grid-breakpoints, $label); +} + $container-max-widths: ( sm: 420px, md: 720px, @@ -32,5 +41,10 @@ $input-focus-border-color: #ced4da; $nav-pills-link-active-bg: #F0F0F0; $nav-pills-link-active-color: #000; -$zindex-dropdown: 10000; -$zindex-popover: 10000; +$dropdown-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2); +$dropdown-border-radius: 3px; +$dropdown-link-active-color: pvar(--mainForegroundColor); +$dropdown-link-active-bg: pvar(--mainBackgroundHoverColor); + +$accordion-button-active-bg: pvar(--mainColorVeryLight); +$accordion-button-active-color: pvar(--mainForegroundColor);