X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Finclude%2F_variables.scss;h=3780b750120150ac463948a9c4e058cfb2f584c5;hb=457bb213b273a9b206cc5654eb085cede4e916ad;hp=f1f7551264508849e215ce9e62418df5a97c7cb7;hpb=8afc19a6121569da054462c7cb351a3f13030a32;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss index f1f755126..3780b7501 100644 --- a/client/src/sass/include/_variables.scss +++ b/client/src/sass/include/_variables.scss @@ -1,16 +1,26 @@ +$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; -$black-background: #000; -$grey-background: #f6f2f2; -$red-error: #FF0000; +$red: #FF0000; +$green: #39CC0B; + +$grey-actor-name: #777272; $expanded-horizontal-margins: 150px; $not-expanded-horizontal-margins: 30px; @@ -21,10 +31,13 @@ $header-height: 50px; $header-border-color: #e9eff6; $search-input-width: 375px; +$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; $footer-height: 30px; $footer-margin: 30px; @@ -34,4 +47,29 @@ $footer-border-color: $header-border-color; $video-thumbnail-height: 110px; $video-thumbnail-width: 200px; -$theater-bottom-space: 85px; +$theater-bottom-space: 115px; + +$input-background-color: $bg-color; +$input-placeholder-color: #898989; + +/*** map theme ***/ + +// pass variables into a sass map, +// to be warned of non-existing variables +$variables: ( + --mainColor: var(--mainColor), + --mainHoverColor: var(--mainHoverColor), + --mainBackgroundColor: var(--mainBackgroundColor), + --mainForegroundColor: var(--mainForegroundColor), + --menuBackgroundColor: var(--menuBackgroundColor), + --menuForegroundColor: var(--menuForegroundColor), + --submenuColor: var(--submenuColor), + --inputColor: var(--inputColor), + --inputPlaceholderColor: var(--inputPlaceholderColor) +); + +/*** theme helper ***/ + +@function var($variable) { + @return map-get($variables, $variable); +}