forked from cdwharton/cookieCuttr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cookiecuttr.css
89 lines (89 loc) · 2.55 KB
/
cookiecuttr.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
80
81
82
83
84
85
86
87
88
89
.cc-cookies {
background: none repeat scroll 0 0 rgba(86, 86, 86, 0.95);
color: #FFFFFF;
font-size: 13px;
font-weight: 700;
left: 0;
padding: 0.5em 5%;
position: fixed;
text-align: center;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.35);
top: 0;
width: 90%;
z-index: 99999;
}
.cc-cookies a, .cc-cookies a:hover {
color: #FFFFFF;
text-decoration: underline;
}
.cc-cookies a:hover {
text-decoration: none;
}
.cc-overlay {
height: 100%;
padding-top: 25%;
}
.cc-cookies-error {
background: none repeat scroll 0 0 #FFFFFF;
border: 1px solid #CCCCCC;
color: #333333;
float: left;
font-size: 18px;
margin: 1em 0 2em;
padding: 2em 5%;
text-align: center;
width: 90%;
}
.cc-cookies a.cc-cookie-accept, .cc-cookies-error a.cc-cookie-accept, .cc-cookies a.cc-cookie-decline, .cc-cookies-error a.cc-cookie-decline, .cc-cookies a.cc-cookie-reset {
background: none repeat scroll 0 0 #7DAF3B;
border-radius: 3px;
box-shadow: 0 0 2px rgba(0, 0, 0, 0.25);
color: #FFFFFF;
display: inline-block;
padding: 0.5em 0.75em;
text-decoration: none;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.35);
transition: background 0.25s ease-in 0s;
}
.cc-cookies a.cc-cookie-decline, .cc-cookies-error a.cc-cookie-decline {
background: none repeat scroll 0 0 #AF3B3B;
margin-left: 0.5em;
}
.cc-cookies a.cc-cookie-reset {
background: none repeat scroll 0 0 #F15B00;
}
.cc-cookies a.cc-cookie-accept:hover, .cc-cookies-error a.cc-cookie-accept:hover, .cc-cookies a.cc-cookie-decline:hover, .cc-cookies-error a.cc-cookie-decline:hover, .cc-cookies a.cc-cookie-reset:hover {
background: none repeat scroll 0 0 #000000;
transition: background 0.25s ease-in 0s;
}
.cc-cookies-error a.cc-cookie-accept, .cc-cookies-error a.cc-cookie-decline {
display: block;
margin-top: 1em;
}
.cc-cookies.cc-discreet {
left: auto;
padding: 0.5em 1em;
top: auto;
width: auto;
}
.cc-cookies.cc-discreet a.cc-cookie-reset {
background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
padding: 0;
text-decoration: underline;
text-shadow: none;
}
.cc-cookies.cc-discreet a.cc-cookie-reset:hover {
text-decoration: none;
}
@media screen and (max-width: 768px) {
.cc-cookies a.cc-cookie-accept, .cc-cookies a.cc-cookie-decline, .cc-cookies a.cc-cookie-reset {
display: block;
margin: 1em 0;
}
}
@media screen and (max-width: 480px) {
.cc-cookies {
float: left;
position: relative;
}
}