source: gs3-installations/thewillow/trunk/sites/thewillow/dlcol-chatgpt/iframe-page/dl-chatgpt_files/eu_cookie_compliance.css@ 38779

Last change on this file since 38779 was 38779, checked in by davidb, 3 months ago

Files that need to be moved to <gsdl3srchome>/web to provide a static web page example using an iframe to embedd the React/NextJS based chatbot

File size: 6.3 KB
Line 
1#sliding-popup {
2 background: url('../images/gradient.png') center center scroll repeat-y transparent;
3}
4
5.sliding-popup-bottom,
6.sliding-popup-top {
7 margin: 0;
8 padding: 0;
9 width: 100%;
10 z-index: 99999;
11 left: 0;
12 text-align: center;
13}
14
15.sliding-popup-bottom {
16 position: fixed;
17}
18
19.sliding-popup-top {
20 position: relative;
21}
22
23.eu-cookie-compliance-content {
24 margin: 0 auto;
25 max-width: 80%;
26 display: inline-block;
27 text-align: left;
28 width: 100%;
29 position: relative;
30}
31
32.eu-cookie-compliance-buttons {
33 float: right; /* LTR */
34 margin: 0 0 1em 0;
35 max-width: 40%;
36}
37
38.eu-cookie-compliance-categories-buttons {
39 margin: 0 0 1em 0;
40 max-width: 60%;
41 float: left;
42}
43
44[dir="rtl"] .eu-cookie-compliance-buttons {
45 float: left;
46}
47[dir="rtl"] .eu-cookie-compliance-categories-buttons {
48 float: right;
49}
50
51.eu-cookie-compliance-more-button {
52 cursor: pointer;
53 display: inline;
54 height: auto;
55 margin: 0;
56 padding: 0;
57 border: none;
58 text-decoration: underline;
59 background: none;
60}
61
62.eu-cookie-compliance-secondary-button {
63 cursor: pointer;
64 border: none;
65 background: none;
66 margin-top: 1em;
67 padding: 0 8px;
68 vertical-align: middle;
69}
70
71.disagree-button.eu-cookie-compliance-more-button,
72.eu-cookie-compliance-agree-button,
73.eu-cookie-compliance-default-button,
74.eu-cookie-compliance-hide-button,
75.eu-cookie-compliance-more-button-thank-you,
76.eu-cookie-withdraw-button,
77.eu-cookie-compliance-save-preferences-button {
78 cursor: pointer;
79 margin-right: 5px;
80 margin-top: 1em;
81 vertical-align: middle;
82 overflow: visible;
83 width: auto;
84 -moz-box-shadow: inset 0 1px 0 0 #ffffff; /* LTR */
85 -webkit-box-shadow: inset 0 1px 0 0 #ffffff; /* LTR */
86 box-shadow: inset 0 1px 0 0 #ffffff; /* LTR */
87 background-color: #ededed;
88 background-image: -moz-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
89 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(5%, #ededed), color-stop(100%, #dfdfdf));
90 background-image: -webkit-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
91 background-image: -o-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
92 background-image: -ms-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
93 background-image: linear-gradient(to bottom, #ededed 5%, #dfdfdf 100%);
94 -moz-border-radius: 6px;
95 -webkit-border-radius: 6px;
96 border-radius: 6px;
97 border: 1px solid #dcdcdc;
98 color: #000;
99 font-family: Arial, sans-serif;
100 font-weight: bold;
101 padding: 4px 8px;
102 text-decoration: none;
103 text-shadow: 1px 1px 0 #ffffff;
104}
105
106[dir="rtl"] .eu-cookie-compliance-buttons button {
107 -moz-box-shadow: inset 0 0 0 1px #ffffff;
108 -webkit-box-shadow: inset 0 0 0 1px #ffffff;
109 box-shadow: inset 0 0 0 1px #ffffff;
110}
111
112.disagree-button.eu-cookie-compliance-more-button:hover,
113.eu-cookie-compliance-agree-button:hover,
114.eu-cookie-compliance-default-button:hover,
115.eu-cookie-compliance-hide-button:hover,
116.eu-cookie-compliance-more-button-thank-you:hover,
117.eu-cookie-withdraw-button:hover {
118 background-color: #dfdfdf;
119 background-image: -moz-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
120 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(5%, #dfdfdf), color-stop(100%, #ededed));
121 background-image: -webkit-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
122 background-image: -o-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
123 background-image: -ms-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
124 background-image: linear-gradient(to bottom, #dfdfdf 5%, #ededed 100%);
125}
126
127.disagree-button.eu-cookie-compliance-more-button:active,
128.eu-cookie-compliance-agree-button:active,
129.eu-cookie-compliance-default-button:active,
130.eu-cookie-compliance-hide-button:active,
131.eu-cookie-compliance-more-button-thank-you:active,
132.eu-cookie-withdraw-button:active {
133 position: relative;
134 top: 1px;
135}
136
137.eu-cookie-compliance-message {
138 float: left; /* LTR */
139 margin: 5px 0 0;
140 max-width: 60%;
141}
142
143.eu-cookie-compliance-banner--categories .eu-cookie-compliance-message {
144 max-width: 100%;
145}
146
147.eu-cookie-compliance-categories {
148 clear: both;
149 padding-top: 1em;
150}
151
152.eu-cookie-compliance-categories label {
153 display: inline;
154}
155
156[dir="rtl"] .eu-cookie-compliance-message {
157 float: right;
158 text-align: right;
159}
160
161.eu-cookie-compliance-message h1,
162.eu-cookie-compliance-message h2,
163.eu-cookie-compliance-message h3,
164.eu-cookie-compliance-message p {
165 font-weight: bold;
166 line-height: 1.4;
167 margin: 0 0 5px 0;
168}
169
170.eu-cookie-compliance-message h1,
171.eu-cookie-compliance-message h2,
172.eu-cookie-compliance-message h3,
173.eu-cookie-compliance-message p,
174.eu-cookie-compliance-message button,
175.eu-cookie-compliance-category label {
176 color: #fff;
177}
178
179.eu-cookie-compliance-message h1 {
180 font-size: 24px;
181}
182
183.eu-cookie-compliance-message h2 {
184 font-size: 16px;
185}
186
187.eu-cookie-compliance-message h3 {
188 font-size: 12px;
189}
190
191.eu-cookie-compliance-message p {
192 font-size: 12px;
193 display: inline;
194}
195
196.eu-cookie-withdraw-tab {
197 padding: 4px 7px;
198 cursor: pointer;
199}
200
201.sliding-popup-bottom .eu-cookie-withdraw-tab {
202 border-width: 2px 2px 0;
203 border-radius: 5px 5px 0 0;
204}
205
206.sliding-popup-top .eu-cookie-withdraw-tab {
207 border-width: 0 2px 2px;
208 border-radius: 0 0 5px 5px;
209}
210
211.eu-cookie-withdraw-wrapper.sliding-popup-top,
212.eu-cookie-withdraw-wrapper.sliding-popup-top .eu-cookie-withdraw-banner {
213 transform: scaleY(-1);
214}
215
216.eu-cookie-withdraw-tab {
217 position: absolute;
218 top: 0;
219 transform: translate(-50%, -100%);
220 left: 50%;
221}
222
223.eu-cookie-withdraw-wrapper.sliding-popup-top .eu-cookie-withdraw-tab {
224 transform: translate(-50%, -100%) scaleY(-1);
225}
226
227.eu-cookie-compliance-close-button {
228 background: url('../images/close.png');
229 width: 24px;
230 height: 24px;
231 border-width: 0;
232 font-size: 0px;
233 position: absolute;
234 right: 2px;
235 top: -12px;
236 cursor: pointer;
237}
238
239body:not(.eu-cookie-compliance-popup-open) .eu-cookie-compliance-close-button {
240 display: none;
241}
242
243@media screen and (max-width: 600px) {
244 .eu-cookie-compliance-content {
245 max-width: 95%;
246 }
247
248 .eu-cookie-compliance-categories,
249 .eu-cookie-compliance-message {
250 max-width: 100%;
251 }
252
253 .eu-cookie-compliance-buttons {
254 clear: both;
255 float: none;
256 max-width: 100%;
257 margin: 5px 0 1em;
258 }
259
260 .eu-cookie-compliance-buttons.eu-cookie-compliance-has-categories {
261 float: right;
262 margin-top: -56px;
263 }
264
265 .eu-cookie-compliance-banner--categories .eu-cookie-compliance-buttons {
266 position: initial;
267 bottom: unset;
268 right: unset;
269 }
270}
Note: See TracBrowser for help on using the repository browser.