-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathstyles.module.css
More file actions
115 lines (100 loc) · 2.43 KB
/
styles.module.css
File metadata and controls
115 lines (100 loc) · 2.43 KB
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
.root {
display: flex;
position: relative;
flex-direction: column;
min-height: 100vh;
.go-icons {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0;
line-height: 1;
}
.banners-container {
position: sticky;
bottom: 0;
.environment-banner {
background-color: var(--go-ui-color-orange);
padding: var(--go-ui-spacing-xs);
text-align: center;
text-transform: uppercase;
color: var(--go-ui-color-white);
font-weight: var(--go-ui-font-weight-medium);
@media print {
display: none;
}
}
.cookies-banner {
background-color: var(--go-ui-color-primary-blue);
width: 100%;
color: var(--go-ui-color-white);
.alert-info-icon {
font-size: 3rem;
}
}
}
.navigation-loader {
position: fixed;
transition: var(--go-ui-duration-animation-medium) width ease-out;
z-index: 1;
background-color: var(--go-ui-color-primary-blue);
width: 100%;
height: var(--go-ui-width-separator-lg);
animation: bounce-back-and-forth var(--go-ui-duration-animation-slow) ease-in-out infinite;
&.disappear {
width: 0;
animation: fade-out var(--go-ui-duration-animation-medium) ease-in forwards;
}
}
.navbar {
flex-shrink: 0;
animation: slide-down var(--go-ui-duration-animation-medium) ease-in forwards;
}
.page-content {
display: flex;
flex-direction: column;
flex-grow: 1;
opacity: 0;
animation: appear var(--go-ui-duration-animation-medium) ease-in-out forwards;
}
.footer {
flex-shrink: 0;
}
}
@keyframes bounce-back-and-forth {
0% {
left: 0;
width: 0%;
}
50% {
width: 50%;
}
100% {
left: 100%;
width: 0%;
}
}
@keyframes slide-down {
from {
transform: translateY(-0.25rem);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
@keyframes fade-out {
from { opacity: 1; }
to { opacity: 0; }
}
@keyframes appear {
from {
transform: translateY(0.25rem);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}