X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Finclude%2F_variables.scss;h=0e71a18673180785e65bc3384b2cfc1018b7e673;hb=11dd0c2e4202e7ad68d8b7e6706de846401d29ff;hp=792a3f9c2f1157577607237d5cd824a2820e831d;hpb=9a0fc8409c7a783348ec212fa9f38d0a98413467;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss index 792a3f9c2..0e71a1867 100644 --- a/client/src/sass/include/_variables.scss +++ b/client/src/sass/include/_variables.scss @@ -1,12 +1,18 @@ +$small-view: 800px; +$mobile-view: 500px; + $main-fonts: 'Source Sans Pro', sans-serif; $font-regular: 400; $font-semibold: 600; $font-bold: 700; -$grey-color: #E5E5E5; -$grey-hoover-color: #EFEFEF;; +$grey-background-color: #E5E5E5; +$grey-background-hover-color: #EFEFEF; +$grey-foreground-color: #585858; +$grey-foreground-hover-color: #303030; + $orange-color: #F1680D; -$orange-hoover-color: #F97D46; +$orange-hover-color: #F97D46; $bg-color: #fff; $fg-color: #000; @@ -29,7 +35,7 @@ $menu-background: #000; $menu-color: #fff; $menu-bottom-color: #C6C6C6; $menu-width: 240px; -$menu-left-padding: 26px; +$menu-lateral-padding: 26px; $sub-menu-color: #F7F7F7; @@ -38,27 +44,18 @@ $footer-margin: 30px; $footer-border-color: $header-border-color; -$video-thumbnail-height: 110px; -$video-thumbnail-width: 200px; +$separator-border-color: rgba(0, 0, 0, 0.10); -$theater-bottom-space: 85px; +$video-miniature-width: 238px; +$video-thumbnail-height: 122px; +$video-thumbnail-width: 223px; -$input-color: $bg-color; +$theater-bottom-space: 115px; + +$input-background-color: $bg-color; $input-placeholder-color: #898989; -/*** theme ***/ - -body { - // now beware node-sass requires interpolation - // for css custom properties #{$var} - --mainColor: #{$orange-color}; - --mainHoverColor: #{$orange-hoover-color}; - --mainBackgroundColor: #{$bg-color}; - --mainForegroundColor: #{$fg-color}; - --submenuColor: #{$sub-menu-color}; - --inputColor: #{$input-color}; - --inputPlaceholderColor: #{$input-placeholder-color}; -} +$sub-menu-margin-bottom: 30px; /*** map theme ***/ @@ -69,6 +66,8 @@ $variables: ( --mainHoverColor: var(--mainHoverColor), --mainBackgroundColor: var(--mainBackgroundColor), --mainForegroundColor: var(--mainForegroundColor), + --menuBackgroundColor: var(--menuBackgroundColor), + --menuForegroundColor: var(--menuForegroundColor), --submenuColor: var(--submenuColor), --inputColor: var(--inputColor), --inputPlaceholderColor: var(--inputPlaceholderColor)