-
Notifications
You must be signed in to change notification settings - Fork 0
/
cookie-consent.css
70 lines (60 loc) · 1.16 KB
/
cookie-consent.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
.mscc-has-consent button.cookie-consent-btn {
display: none;
}
button.cookie-consent-btn {
background: none;
border: 0;
color: #4a4a4a;
font-weight: bold;
}
button.cookie-consent-btn svg {
position: absolute;
z-index: 2;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
width: 50px;
height: 50px;
background: rgba(0, 0, 0, 0.5);
border-radius: 100px;
}
.has-embed {
position: relative;
}
.m-rich-content-block .has-embed,
.entry-content .has-embed,
.m-rich-content-block .embed-iframe,
.entry-content .embed-iframe {
margin: 16px 0 8px;
}
.oembed-container iframe[data-src] {
width: 100%;
}
iframe[data-src] {
background: #eee;
border: 1px solid #ddd;
pointer-events: none;
}
iframe[data-src] + button.cookie-consent-btn {
display: block;
position: absolute;
top: 44%;
width: 100%;
z-index: 9;
}
iframe[data-src] + button.cookie-consent-btn--image {
display: block;
position: absolute;
top: 0;
width: 100%;
z-index: 9;
padding: 0;
}
iframe[data-src] + button.cookie-consent-btn--image img {
width: 100%;
}
.oembed-container {
position: relative;
}