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%);
21 $main-hover-color: lighten($main-color, 5%);
23 $secondary-color: hsl(187, 77%, 34%);
25 $support-button: inherit;
26 $support-button-heart: #e83e8c;
34 $grey-actor-name: #777272;
36 $expanded-horizontal-margins: 150px;
37 $not-expanded-horizontal-margins: 30px;
42 $header-border-color: #e9eff6;
43 $search-input-width: 375px;
45 $menu-background: #000;
47 $menu-bottom-color: #C6C6C6;
49 $menu-lateral-padding: 26px;
51 $sub-menu-background-color: #F7F7F7;
52 $sub-menu-height: 81px;
54 $channel-background-color: #f6ede8;
56 $banner-inverted-ratio: math.div(1, 6);
58 $max-channels-width: 1200px;
63 $separator-border-color: rgba(0, 0, 0, 0.1);
65 $video-miniature-margin-bottom: 15px;
67 $video-miniature-row-name-font-size: 1.3em;
68 $video-miniature-row-mobile-name-font-size: 14px;
70 $video-miniature-row-info-font-size: 14px;
71 $video-miniature-row-mobile-info-font-size: 12px;
73 $video-thumbnail-height: 153px;
74 $video-thumbnail-width: 280px;
75 $video-thumbnail-medium-height: 114px;
76 $video-thumbnail-medium-width: 201px;
77 $video-thumbnail-small-height: 71px;
78 $video-thumbnail-small-width: 125px;
80 $theater-bottom-space: 115px;
82 $input-foreground-color: $fg-color;
83 $input-background-color: $bg-color;
84 $input-placeholder-color: #898989;
86 $textarea-foreground-color: $fg-color;
87 $textarea-background-color: $bg-color;
88 $markdown-textarea-background-color: $grey-background-hover-color;
90 $sub-menu-margin-bottom: 30px;
91 $sub-menu-margin-bottom-small-view: 10px;
93 $activated-action-button-color: #000;
95 $focus-box-shadow-form: 0 0 0 .2rem;
97 $video-watch-player-factor: math.div(16, 9);
98 $video-watch-info-margin-left: 44px;
100 $primeng-breakpoint: 960px;
104 // pass variables into a sass map,
105 // to be warned of non-existing variables
107 --mainColor: var(--mainColor),
108 --mainColorLighter: var(--mainColorLighter),
109 --mainColorLightest: var(--mainColorLightest),
111 --mainHoverColor: var(--mainHoverColor),
113 --mainBackgroundColor: var(--mainBackgroundColor),
114 --mainForegroundColor: var(--mainForegroundColor),
116 --secondaryColor: var(--secondaryColor),
118 --greyForegroundColor: var(--greyForegroundColor),
119 --greyBackgroundColor: var(--greyBackgroundColor),
121 --menuBackgroundColor: var(--menuBackgroundColor),
122 --menuForegroundColor: var(--menuForegroundColor),
124 --submenuBackgroundColor: var(--submenuBackgroundColor),
125 --channelBackgroundColor: var(--channelBackgroundColor),
127 --inputForegroundColor: var(--inputForegroundColor),
128 --inputBackgroundColor: var(--inputBackgroundColor),
129 --inputPlaceholderColor: var(--inputPlaceholderColor),
131 --textareaForegroundColor: var(--textareaForegroundColor),
132 --textareaBackgroundColor: var(--textareaBackgroundColor),
133 --markdownTextareaBackgroundColor: var(--markdownTextareaBackgroundColor),
135 --actionButtonColor: var(--actionButtonColor),
136 --activatedActionButtonColor: var(--activatedActionButtonColor),
138 --supportButtonColor: var(--supportButtonColor),
139 --supportButtonBackgroundColor: var(--supportButtonBackgroundColor),
140 --supportButtonHeartColor: var(--supportButtonHeartColor),
142 --embedForegroundColor: var(--embedForegroundColor),
143 --embedBigPlayBackgroundColor: var(--embedBigPlayBackgroundColor),
145 --horizontalMarginContent: var(--horizontalMarginContent),
146 --videosHorizontalMarginContent: var(--videosHorizontalMarginContent),
147 --mainColWidth: var(--mainColWidth)
150 // SASS type check our CSS variables
151 @function pvar($variable) {
152 @if map-has-key($variables, $variable) {
153 @return map-get($variables, $variable);
155 @error 'ERROR: Variable #{$variable} does not exist';
159 /*** z-index groups ***/
166 search-typeahead: 12650,
171 help-popover : 17000,
174 notification : 18000,
179 @function z($label) {
180 @return map-get($zindex, $label);