PluginProbe
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant / 1.6
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant v1.6
2.3.2 2.3.1 2.3.0 2.2.8 2.2.7 trunk 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.11.0 1.11.1 1.11.2 1.6 1.7 1.8 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 1.9.10 1.9.11 All 60 releases
merchant / assets / css / modules / cookie-banner / cookie-banner.css

cookie-banner.css in Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant 1.6, at assets/css/modules/cookie-banner/cookie-banner.css

142 lines 3.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Cookie Banner.
3 *
4 */
5 .merchant-cookie-banner {
6 position: fixed;
7 left: 0;
8 right: 0;
9 bottom: 0;
10 width: 100%;
11 display: none;
12 }
13
14 .merchant-cookie-banner.merchant-show {
15 display: block;
16 }
17
18 .merchant-cookie-banner-inner {
19 position: relative;
20 padding: 16px;
21 display: -webkit-box;
22 display: -ms-flexbox;
23 display: flex;
24 -webkit-box-align: center;
25 -ms-flex-align: center;
26 align-items: center;
27 -webkit-box-pack: center;
28 -ms-flex-pack: center;
29 justify-content: center;
30 -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0 0 9px 1px;
31 box-shadow: rgba(0, 0, 0, 0.1) 0 0 9px 1px;
32 color: var(--merchant-text-color, #ffffff);
33 background-color: var(--merchant-background, #000000);
34 min-height: var(--merchant-modal-height, 50px);
35 }
36
37 .merchant-cookie-banner-inner a {
38 margin-left: 2px;
39 text-decoration: underline;
40 color: var(--merchant-link-color, #aeaeae);
41 }
42
43 .merchant-cookie-banner-inner a:focus, .merchant-cookie-banner-inner a:hover, .merchant-cookie-banner-inner a:visited {
44 color: var(--merchant-link-color, #aeaeae);
45 }
46
47 .merchant-cookie-close-button {
48 cursor: pointer;
49 position: absolute;
50 z-index: 1;
51 top: 0;
52 right: 0;
53 padding: 5px;
54 display: -webkit-box;
55 display: -ms-flexbox;
56 display: flex;
57 -webkit-box-align: center;
58 -ms-flex-align: center;
59 align-items: center;
60 -webkit-box-pack: center;
61 -ms-flex-pack: center;
62 justify-content: center;
63 font-size: 18px;
64 line-height: 1em;
65 opacity: 0.5;
66 -webkit-transition: all .2s;
67 transition: all .2s;
68 }
69
70 .merchant-cookie-close-button:hover {
71 opacity: 1;
72 }
73
74 .merchant-cookie-close-button svg {
75 width: 1em;
76 height: 1em;
77 fill: currentColor;
78 }
79
80 .merchant-cookie-banner-floating {
81 bottom: 35px;
82 z-index: 9999;
83 }
84
85 .merchant-cookie-banner-floating .merchant-cookie-banner-inner {
86 margin: 0 auto;
87 border-radius: 10px;
88 -webkit-box-shadow: 1px 3px 8px rgba(0, 0, 0, 0.2);
89 box-shadow: 1px 3px 8px rgba(0, 0, 0, 0.2);
90 width: var(--merchant-modal-width, 750px);
91 max-width: 95%;
92 }
93
94 .merchant-cookie-banner-fixed-bottom {
95 z-index: 999;
96 }
97
98 .merchant-cookie-banner-content {
99 font-size: 14px;
100 display: -webkit-box;
101 display: -ms-flexbox;
102 display: flex;
103 grid-gap: 10px;
104 -webkit-box-align: center;
105 -ms-flex-align: center;
106 align-items: center;
107 -webkit-box-pack: center;
108 -ms-flex-pack: center;
109 justify-content: center;
110 -ms-flex-wrap: wrap;
111 flex-wrap: wrap;
112 }
113
114 .merchant-cookie-banner-button {
115 -webkit-user-select: none;
116 -moz-user-select: none;
117 -ms-user-select: none;
118 user-select: none;
119 cursor: pointer;
120 font-weight: bold;
121 padding: 6px 20px;
122 border-radius: 4px;
123 color: var(--merchant-button-text-color, #151515);
124 background-color: var(--merchant-button-background, #dddddd);
125 }
126
127 @media (max-width: 768px) {
128 .merchant-cookie-banner-floating {
129 bottom: 15px;
130 }
131 .merchant-cookie-banner-content {
132 -webkit-box-orient: vertical;
133 -webkit-box-direction: normal;
134 -ms-flex-direction: column;
135 flex-direction: column;
136 }
137 .merchant-cookie-banner-button {
138 width: 100%;
139 text-align: center;
140 }
141 }
142