PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 12.3.2
Jetpack – WP Security, Backup, Speed, & Growth v12.3.2
16.3-a.5 16.3-a.7 16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 All 506 releases
jetpack / modules / widgets / eu-cookie-law / style.css

style.css in Jetpack – WP Security, Backup, Speed, & Growth 12.3.2, at modules/widgets/eu-cookie-law/style.css

135 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .widget_eu_cookie_law_widget {
2 animation: fadeIn 800ms;
3 border: none;
4 bottom: 1em;
5 left: 1em;
6 margin: 0;
7 padding: 0;
8 position: fixed;
9 right: 1em;
10 width: auto;
11 z-index: 50001;
12 }
13
14 @keyframes fadeIn {
15 from { opacity: 0; visibility: hidden; }
16 to { opacity: 1; visibility: visible; }
17 }
18
19 .widget_eu_cookie_law_widget.widget.top {
20 bottom: auto;
21 top: 1em;
22 }
23
24 .admin-bar .widget_eu_cookie_law_widget.widget.top {
25 top: 3em;
26 }
27
28 amp-consent.widget_eu_cookie_law_widget.widget.top {
29 top: 1em;
30 margin: 0;
31 }
32
33 .admin-bar amp-consent.widget_eu_cookie_law_widget.widget.top {
34 top: 0;
35 margin-top: 3em;
36 }
37
38 #eu-cookie-law {
39 background-color: #fff;
40 border: 1px solid #dedede;
41 color: #2e4467;
42 font-size: 12px;
43 line-height: 1.5;
44 overflow: hidden;
45 padding: 6px 6px 6px 15px;
46 position: relative;
47 }
48
49 #eu-cookie-law a,
50 #eu-cookie-law a:active,
51 #eu-cookie-law a:visited {
52 color: inherit;
53 cursor: inherit;
54 text-decoration: underline;
55 }
56
57 #eu-cookie-law a:hover {
58 cursor: pointer;
59 text-decoration: none;
60 }
61
62 #eu-cookie-law.negative {
63 background-color: #000;
64 border: none;
65 color: #fff;
66 }
67
68 #eu-cookie-law.hide {
69 opacity: 0;
70 visibility: hidden;
71 transition: opacity 400ms, visibility 400ms;
72 }
73
74 /**
75 * Using a highly-specific rule to make sure that certain form styles
76 * will be reset
77 */
78 #eu-cookie-law form {
79 margin-bottom: 0;
80 position: static;
81 }
82
83 /**
84 * Using a highly-specific rule to make sure that all button styles
85 * will be reset
86 */
87 #eu-cookie-law input,
88 #eu-cookie-law input:hover,
89 #eu-cookie-law input:focus {
90 background: #f3f3f3;
91 border: 1px solid #dedede;
92 border-radius: 4px;
93 -moz-border-radius: 3px;
94 -webkit-border-radius: 3px;
95 color: #2e4453;
96 cursor: pointer;
97 display: inline;
98 float: right;
99 font-family: inherit;
100 font-size: 14px;
101 font-weight: inherit;
102 line-height: inherit;
103 margin: 0 0 0 5%;
104 padding: 8px 12px;
105 position: static;
106 text-transform: none;
107 }
108
109 #eu-cookie-law.negative input,
110 #eu-cookie-law.negative input:hover,
111 #eu-cookie-law.negative input:focus {
112 background: #282828;
113 border-color: #535353;
114 color: #fff;
115 }
116
117 @media ( max-width: 600px ) {
118 #eu-cookie-law {
119 padding-bottom: 55px;
120 }
121 #eu-cookie-law input.accept {
122 bottom: 8px;
123 position: absolute;
124 right: 8px;
125 }
126 }
127
128 /**
129 * Tweak position of the Customizer edit button to make it more obvious this
130 * is an editable widget rather than a normal accept cookies banner.
131 */
132 .widget_eu_cookie_law_widget .customize-partial-edit-shortcut > button {
133 left: 0;
134 }
135