-
Notifications
You must be signed in to change notification settings - Fork 2
/
cookiePolicy.css
79 lines (61 loc) · 1.04 KB
/
cookiePolicy.css
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
/**
* Cookie Policy
*
*/
.cookiePolicy {
/* Positioning */
position: fixed;
bottom: 0;
right: 0;
left: 0;
z-index: 50;
/* Hide by default */
opacity: 0;
visibility: hidden;
transition: all 300ms ease-in-out;
transform: translateY(30px);
/* Styling */
padding: 20px;
background-color: #555;
color: #fff;
}
/* This class is added to show the banner */
.cookiePolicy.is-visible {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.cookiePolicy-container {
position: relative;
}
.cookiePolicy-title {
margin-bottom: 1.5em;
padding-right: 40px; /* So that the close button has some space */
/* Styling */
color: #f1f1f1;
text-transform: uppercase;
}
.cookiePolicy-message {
/* Styling */
margin-bottom: 1.5em;
}
/*
.cookiePolicy-title,
.cookiePolicy-message {
@include respond-min($bp-single-col) {
max-width: 70%;
}
}
*/
.cookiePolicy-close {
position: absolute;
top: 0;
right: 0;
width: 20px;
height: 20px;
cursor: pointer;
/* Styling */
background-color: #fff;
color: #000;
text-align: center;
}