-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcookie.css
More file actions
109 lines (93 loc) · 1.78 KB
/
Copy pathcookie.css
File metadata and controls
109 lines (93 loc) · 1.78 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
/* PAGE STYLES */
:root {
font-size: 16px;
}
* {
box-sizing: border-box;
}
.cookie-pin-title {
position: fixed;
top: 1.875rem;
bottom: 1.875rem;
left: 0;
right: 0;
display: flex;
justify-content: center;
align-items: center;
font-family: 'Exo', sans-serif;
font-weight: 800;
font-size: 800%;
letter-spacing: 0.0625rem;
color: #f3f3f3;
user-select: none;
z-index: 90000;
text-align: center;
}
/* COOKIE POPUP STYLES */
.cookie-popup {
position: static;
z-index: 20000;
font-size: 0.875rem;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
position: fixed;
bottom: -6.25rem;
left: 1.25rem;
right: 1.25rem;
padding: 0.625rem 0.9375rem;
box-shadow: 0 0 0.625rem 0 rgba(0, 0, 0, .15);
line-height: 150%;
transition: opacity .5s;
opacity: 0;
}
.cookie-popup--short {
right: none;
width: 21.875rem;
}
.cookie-popup--dark {
background: #000;
color: #fff;
}
.cookie-popup--not-accepted {
opacity: 1;
animation: cookie-popup-in .5s ease forwards;
}
.cookie-popup--accepted {
opacity: 0;
}
.cookie-popup a {
color: skyblue;
}
.cookie-popup a:visited {
color: skyblue;
text-decoration: none;
}
.cookie-popup-actions {
flex: 1;
text-align: right;
}
.cookie-popup-actions button {
color: rgb(73, 187, 111);
border: none;
background: none;
font-family: inherit;
font-style: inherit;
font-size: inherit;
font-weight: bold;
text-transform: uppercase;
font-size: 0.75rem;
padding: 0;
cursor: pointer;
}
.cookie-popup-actions button:hover {
text-decoration: underline;
}
@keyframes cookie-popup-in {
from {
bottom: -6.25rem;
}
to {
bottom: 1.25rem;
}
}