PluginProbe
Post Grid Gutenberg Blocks – PostX / 5.1.1
Post Grid Gutenberg Blocks – PostX v5.1.1
5.1.1 5.1.0 5.0.41 5.0.39 5.0.38 5.0.37 5.0.36 5.0.35 5.0.34 5.0.33 5.0.32 5.0.31 5.0.30 5.0.29 5.0.28 5.0.27 5.0.26 5.0.25 5.0.23 5.0.24 5.0.22 5.0.21 5.0.20 5.0.19 5.0.18 All 240 releases
ultimate-post / assets / css / ultp-notice.css

ultp-notice.css in Post Grid Gutenberg Blocks – PostX 5.1.1, at assets/css/ultp-notice.css

256 lines 5.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * PostX admin notices: campaign banners and the data-collection consent notice.
3 * Loaded only on admin pages where one of them shows. Keep every selector scoped to its notice.
4 */
5
6 /* Countdown banner */
7 .ultp-notice-wrapper.ultp-banner-notice {
8 height: auto !important;
9 padding: 0 !important;
10 position: relative;
11 box-sizing: border-box;
12 background-repeat: no-repeat;
13 background-size: cover;
14 background-position: center;
15 }
16 .ultp-notice-wrapper.ultp-banner-notice .ultp-banner-link {
17 width: 100%;
18 text-decoration: none;
19 display: block;
20 }
21 .ultp-notice-wrapper.ultp-banner-notice .ultp-banner-content {
22 display: flex;
23 justify-content: space-between;
24 align-items: center;
25 max-width: 700px;
26 margin: 0 auto;
27 padding: 10px 16px;
28 gap: 16px;
29 }
30 .ultp-notice-wrapper.ultp-banner-notice .ultp-banner-side-image {
31 display: block;
32 max-width: 100%;
33 height: auto;
34 max-height: 32px;
35 }
36 .ultp-notice-wrapper.ultp-banner-notice .ultp-banner-main .ultp-banner-main-text {
37 color: #ffffff;
38 }
39 .ultp-notice-wrapper.ultp-banner-notice .ultp-banner-main {
40 display: flex;
41 flex-direction: column;
42 gap: 4px;
43 align-items: center;
44 justify-content: center;
45 font-weight: 700;
46 font-size: 18px;
47 color: #333333;
48 line-height: 1.2;
49 text-align: center;
50 }
51
52 @media screen and (max-width: 1100px) {
53 /* .ultp-notice-wrapper.ultp-banner-notice .ultp-banner-content {
54 flex-direction: column;
55 } */
56 .ultp-notice-wrapper.ultp-banner-notice .ultp-banner-content .ultp-banner-main-text {
57 display: none;
58 }
59 }
60 @media screen and (max-width: 490px) {
61 .ultp-notice-wrapper.ultp-banner-notice {
62 display: none;
63 }
64 }
65 @media screen and (max-width: 782px) {
66 .ultp-notice-wrapper.ultp-banner-notice .ultp-banner-content {
67 justify-content: center;
68 padding: 12px 32px 12px 12px;
69 }
70 .ultp-notice-wrapper.ultp-banner-notice .ultp-banner-main {
71 font-size: 22px;
72 line-height: 28px;
73 }
74 }
75 @media screen and (max-width: 480px) {
76 .ultp-notice-wrapper.ultp-banner-notice .ultp-banner-content {
77 padding: 10px 32px 10px 10px;
78 }
79 .ultp-notice-wrapper.ultp-banner-notice .ultp-banner-main {
80 font-size: 18px;
81 line-height: 24px;
82 }
83 }
84
85 /* Text and button notice */
86 .ultp-content-notice-wrapper {
87 border: 1px solid #c3c4c7;
88 border-left: 3px solid #037fff;
89 margin: 15px 0 !important;
90 display: flex;
91 align-items: center;
92 background-color: #eef0f4;
93 width: 100%;
94 padding: 10px 0;
95 position: relative;
96 box-sizing: border-box;
97 }
98
99 .ultp-content-notice-wrapper.notice {
100 margin: 10px 0;
101 width: calc(100% - 20px);
102 }
103
104 .wrap .ultp-content-notice-wrapper.notice {
105 width: 100%;
106 }
107
108 .ultp-content-notice-icon {
109 margin-left: 15px;
110 }
111
112 .ultp-content-notice-discout-icon {
113 margin-left: 10px;
114 }
115
116 .ultp-content-notice-icon img {
117 max-width: 42px;
118 height: 70px;
119 }
120
121 .ultp-content-notice-discout-icon img {
122 height: 70px;
123 width: 70px;
124 object-fit: contain;
125 }
126
127 .ultp-notice-content-wrapper {
128 display: flex;
129 flex-direction: column;
130 gap: 8px;
131 font-size: 14px;
132 line-height: 20px;
133 margin-left: 15px;
134 }
135
136 .ultp-content-notice-buttons {
137 display: flex;
138 align-items: center;
139 gap: 15px;
140 }
141
142 .ultp-content-notice-btn {
143 font-weight: 600;
144 text-transform: uppercase !important;
145 padding: 2px 10px !important;
146 background-color: #0322ff;
147 border: none !important;
148 }
149
150 .ultp-content-discount_btn {
151 background-color: #ffffff;
152 text-decoration: none;
153 border: 1px solid #0322ff;
154 padding: 5px 10px;
155 border-radius: 5px;
156 font-weight: 500;
157 text-transform: uppercase;
158 color: #0322ff !important;
159 text-decoration: none !important;
160 }
161
162 .ultp-content-notice-wrapper .ultp-content-notice-close {
163 position: absolute;
164 right: 2px;
165 top: 5px;
166 text-decoration: none;
167 color: #b6b6b6;
168 font-family: dashicons;
169 font-size: 16px;
170 line-height: 20px;
171 }
172
173 .ultp-content-notice-wrapper .ultp-content-notice-close-icon {
174 font-size: 14px;
175 }
176
177 /* Image banner */
178 .ultp-notice-wrapper.ultp-image-notice-wrapper {
179 padding: 0 !important;
180 position: relative;
181 box-sizing: border-box;
182 overflow: hidden;
183 border-radius: 0px;
184 border: none !important;
185 }
186 .ultp-notice-wrapper.ultp-image-notice-wrapper .ultp-image-banner {
187 position: relative;
188 line-height: 0;
189 }
190 .ultp-notice-wrapper.ultp-image-notice-wrapper .ultp-btn-image {
191 display: block;
192 }
193 .ultp-notice-wrapper.ultp-image-notice-wrapper .ultp-btn-image img {
194 display: block;
195 width: 100%;
196 height: auto;
197 border-radius: 0;
198 }
199 .ultp-notice-wrapper.ultp-image-notice-wrapper .ultp-content-notice-close {
200 top: 4px;
201 right: 4px;
202 position: absolute;
203 z-index: 999;
204 }
205 @media screen and (max-width: 650px) {
206 .ultp-image-notice-wrapper {
207 display: none;
208 }
209 }
210
211 /* Data-collection consent notice */
212 .ultp-consent-box {
213 width: 656px;
214 padding: 16px !important;
215 border: 1px solid #070707;
216 border-left-width: 4px;
217 border-radius: 4px;
218 background-color: #fff;
219 position: relative;
220 width: 100%;
221 box-sizing: border-box;
222 }
223 .ultp-consent-content {
224 display: flex;
225 justify-content: flex-start;
226 align-items: flex-end;
227 gap: 26px;
228 }
229
230 .ultp-consent-text-first {
231 font-size: 14px;
232 font-weight: 600;
233 color: #070707;
234 }
235 .ultp-consent-text-last {
236 margin: 4px 0 0;
237 font-size: 14px;
238 color: #070707;
239 }
240
241 .ultp-consent-accept {
242 background-color: #070707;
243 color: #fff !important;
244 border: none;
245 padding: 6px 10px;
246 border-radius: 4px;
247 cursor: pointer;
248 font-size: 12px;
249 font-weight: 600;
250 text-decoration: none;
251 }
252 .ultp-consent-accept:hover {
253 background-color:rgb(38, 38, 38);
254 color: #fff;
255 }
256