aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/include/_variables.scss
blob: e087a25482e654e5181afb4b52969345ff23aa1d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
$small-view: 800px;
$mobile-view: 500px;

$main-fonts: 'Source Sans Pro', sans-serif;
$font-regular: 400;
$font-semibold: 600;
$font-bold: 700;

$grey-background-color: #E5E5E5;
$grey-background-hover-color: #EFEFEF;
$grey-foreground-color: #585858;
$grey-foreground-hover-color: #303030;

$orange-color: #F1680D;
$orange-hover-color: #F97D46;

$cyan-color: hsl(187, 77%, 34%);

$support-button: inherit;
$support-button-heart: #e83e8c;

$bg-color: #fff;
$fg-color: #000;

$red: #FF0000;
$green: #39CC0B;

$grey-actor-name: #777272;

$expanded-horizontal-margins: 150px;
$not-expanded-horizontal-margins: 30px;

$button-height: 30px;

$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-lateral-padding: 26px;

$sub-menu-color: #F7F7F7;

$footer-height: 30px;
$footer-margin: 30px;

$footer-border-color: $header-border-color;

$separator-border-color: rgba(0, 0, 0, 0.10);

$video-miniature-width: 238px;
$video-miniature-margin-bottom: 30px;
$video-thumbnail-height: 122px;
$video-thumbnail-width: 223px;
$video-thumbnail-ratio: $video-thumbnail-width / $video-thumbnail-height;

$theater-bottom-space: 115px;

$input-background-color: $bg-color;
$input-placeholder-color: #898989;

$sub-menu-margin-bottom: 30px;

$activated-action-button-color: black;

/*** 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),
  --secondaryColor: var(--secondaryColor),

  --menuBackgroundColor: var(--menuBackgroundColor),
  --menuForegroundColor: var(--menuForegroundColor),
  --submenuColor: var(--submenuColor),

  --inputBackgroundColor: var(--inputBackgroundColor),
  --inputPlaceholderColor: var(--inputPlaceholderColor),

  --actionButtonColor: var(--actionButtonColor),
  --supportButtonColor: var(--supportButtonColor),
  --supportButtonBackgroundColor: var(--supportButtonBackgroundColor),
  --supportButtonHeartColor: var(--supportButtonHeartColor),

  --embedForegroundColor: var(--embedForegroundColor),
  --embedBigPlayBackgroundColor: var(--embedBigPlayBackgroundColor)
);

/*** theme helper ***/

@function var($variable) {
  @return map-get($variables, $variable);
}