6 $main-fonts: 'Source Sans Pro', sans-serif;
10 $line-height-normal: 1.2;
12 $grey-background-color: #E5E5E5;
13 $grey-background-hover-color: #EFEFEF;
14 $grey-foreground-color: #585858;
15 $grey-foreground-hover-color: #303030;
16 $grey-button-outline-color: scale-color($grey-foreground-color, $alpha: -95%);
18 $main-color: hsl(24, 90%, 50%);
19 $main-color-lighter: lighten($main-color, 10%);
20 $main-color-lightest: lighten($main-color, 40%);
22 $main-hover-color: lighten($main-color, 5%);
23 $main-background-hover-color: #e9ecef;
25 $secondary-color: hsl(187, 77%, 34%);
27 $support-button: inherit;
28 $support-button-heart: #e83e8c;
36 $grey-actor-name: #777272;
38 $expanded-horizontal-margins: 150px;
39 $not-expanded-horizontal-margins: 30px;
44 $header-border-color: #e9eff6;
45 $search-input-width: 375px;
47 $menu-background: #000;
49 $menu-bottom-color: #C6C6C6;
51 $menu-lateral-padding: 26px;
53 $sub-menu-background-color: #F7F7F7;
54 $sub-menu-height: 81px;
56 $channel-background-color: #f6ede8;
58 $banner-inverted-ratio: math.div(1, 6);
60 $max-channels-width: 1200px;
65 $separator-border-color: rgba(0, 0, 0, 0.1);
67 $video-miniature-margin-bottom: 15px;
69 $video-miniature-row-name-font-size: 1.3em;
70 $video-miniature-row-mobile-name-font-size: 14px;
72 $video-miniature-row-info-font-size: 14px;
73 $video-miniature-row-mobile-info-font-size: 12px;
75 $video-thumbnail-height: 153px;
76 $video-thumbnail-width: 280px;
77 $video-thumbnail-medium-height: 114px;
78 $video-thumbnail-medium-width: 201px;
79 $video-thumbnail-small-height: 71px;
80 $video-thumbnail-small-width: 125px;
82 $theater-bottom-space: 115px;
84 $input-foreground-color: $fg-color;
85 $input-background-color: $bg-color;
86 $input-placeholder-color: #898989;
88 $textarea-foreground-color: $fg-color;
89 $textarea-background-color: $bg-color;
90 $markdown-textarea-background-color: $grey-background-hover-color;
92 $sub-menu-margin-bottom: 30px;
93 $sub-menu-margin-bottom-small-view: 10px;
95 $activated-action-button-color: #000;
97 $focus-box-shadow-form: 0 0 0 .2rem;
99 $video-watch-player-factor: math.div(16, 9);
100 $video-watch-info-margin-left: 44px;
102 $primeng-breakpoint: 960px;
106 // pass variables into a sass map,
107 // to be warned of non-existing variables
109 --mainColor: var(--mainColor),
110 --mainColorLighter: var(--mainColorLighter),
111 --mainColorLightest: var(--mainColorLightest),
113 --mainHoverColor: var(--mainHoverColor),
114 --mainBackgroundHoverColor: var(--mainBackgroundHoverColor),
116 --mainBackgroundColor: var(--mainBackgroundColor),
117 --mainForegroundColor: var(--mainForegroundColor),
119 --secondaryColor: var(--secondaryColor),
121 --greyForegroundColor: var(--greyForegroundColor),
122 --greyBackgroundColor: var(--greyBackgroundColor),
123 --greySecondaryBackgroundColor: var(--greySecondaryBackgroundColor),
125 --menuBackgroundColor: var(--menuBackgroundColor),
126 --menuForegroundColor: var(--menuForegroundColor),
128 --submenuBackgroundColor: var(--submenuBackgroundColor),
129 --channelBackgroundColor: var(--channelBackgroundColor),
131 --inputForegroundColor: var(--inputForegroundColor),
132 --inputBackgroundColor: var(--inputBackgroundColor),
133 --inputPlaceholderColor: var(--inputPlaceholderColor),
135 --textareaForegroundColor: var(--textareaForegroundColor),
136 --textareaBackgroundColor: var(--textareaBackgroundColor),
137 --markdownTextareaBackgroundColor: var(--markdownTextareaBackgroundColor),
139 --actionButtonColor: var(--actionButtonColor),
140 --activatedActionButtonColor: var(--activatedActionButtonColor),
142 --supportButtonColor: var(--supportButtonColor),
143 --supportButtonBackgroundColor: var(--supportButtonBackgroundColor),
144 --supportButtonHeartColor: var(--supportButtonHeartColor),
146 --embedForegroundColor: var(--embedForegroundColor),
147 --embedBigPlayBackgroundColor: var(--embedBigPlayBackgroundColor),
149 --horizontalMarginContent: var(--horizontalMarginContent),
150 --videosHorizontalMarginContent: var(--videosHorizontalMarginContent),
151 --mainColWidth: var(--mainColWidth)
154 // SASS type check our CSS variables
155 @function pvar($variable) {
156 @if map-has-key($variables, $variable) {
157 @return map-get($variables, $variable);
159 @error 'ERROR: Variable #{$variable} does not exist';
163 /*** z-index groups ***/
170 search-typeahead: 12650,
175 help-popover : 17000,
178 notification : 18000,
183 @function z($label) {
184 @return map-get($zindex, $label);