PluginProbe ʕ •ᴥ•ʔ
Advanced Ads – Ad Manager & AdSense / 2.0.24
Advanced Ads – Ad Manager & AdSense v2.0.24
2.0.24 2.0.23 2.0.22 2.0.21 1.38.0 1.39.0 1.39.1 1.39.2 1.39.3 1.39.4 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.40.0 1.40.1 1.40.2 1.41.0 1.42.0 1.42.1 1.42.2 1.43.0 1.44.0 1.44.1 1.45.0 1.45.1 1.46.0 1.47.0 1.47.1 1.47.2 1.47.3 1.47.4 1.47.5 1.48.0 1.48.1 1.49.0 1.5.0 1.5.0.1 1.5.1 1.5.2 1.5.2.1 1.5.4 1.5.4.1 1.5.5 1.50.0 1.51.0 1.51.1 1.51.2 1.51.3 1.52.0 1.52.1 1.52.2 1.52.3 1.52.4 1.53.0 1.53.1 1.53.2 1.54.0 1.54.1 1.55.0 1.56.0 1.56.1 1.56.2 1.56.3 1.56.4 1.6 1.6.1 1.6.10 1.6.10.1 1.6.10.2 1.6.11 1.6.11.1 1.6.12 1.6.13 1.6.14 1.6.15 1.6.16 1.6.17 1.6.17.1 1.6.17.2 1.6.2 1.6.2.1 1.6.3 1.6.4 1.6.4.1 1.6.5 1.6.6 1.6.6.1 1.6.7 1.6.7.1 1.6.8 1.6.8.1 1.6.8.2 1.6.8.3 1.6.9 1.6.9.1 1.6.9.2 1.6.9.3 1.6.9.4 1.7 1.7.0.1 1.7.0.2 1.7.0.3 1.7.1 1.7.1.1 1.7.1.2 1.7.1.3 1.7.1.4 1.7.1.5 1.7.10 trunk 1.7.11 1.0.1 1.7.12 1.0.2 1.7.13 1.0.3 1.7.14 1.1.0 1.7.15 1.1.1 1.7.16 1.1.2 1.7.17 1.1.3 1.7.18 1.10 1.7.19 1.10.1 1.7.2 1.10.10 1.7.2.1 1.10.11 1.7.20 1.10.12 1.7.21 1.10.2 1.7.22 1.10.3 1.7.23 1.10.4 1.7.24 1.10.5 1.7.25 1.10.6 1.7.3 1.10.7 1.7.4 1.10.8 1.7.4.1 1.10.9 1.7.4.2 1.11 1.7.4.3 1.11.1 1.7.4.4 1.11.2 1.7.4.5 1.12 1.7.5 1.13 1.7.5.1 1.13.1 1.7.6 1.13.2 1.7.7 1.13.3 1.7.8 1.13.4 1.7.9 1.13.5 1.7.9.1 1.13.6 1.7.9.2 1.13.7 1.7.9.3 1.13.8 1.8 1.14 1.8.1 1.14.1 1.8.10 1.14.10 1.8.11 1.14.11 1.8.12 1.14.2 1.8.13 1.14.3 1.8.14 1.14.4 1.8.15 1.14.5 1.8.16 1.14.6 1.8.17 1.14.7 1.8.18 1.14.8 1.8.19 1.14.9 1.8.2 1.15 1.8.20 1.16 1.8.21 1.16.1 1.8.22 1.17 1.8.23 1.17.1 1.8.24 1.17.10 1.8.25 1.17.10-rc.1 1.8.26 1.17.11 1.8.27 1.17.12 1.8.28 1.17.12-rc.1 1.8.29 1.17.2 1.8.3 1.17.3 1.8.30 1.17.4 1.8.4 1.17.5 1.8.5 1.17.6 1.8.6 1.17.7 1.8.7 1.17.8 1.8.8 1.17.9 1.8.9 1.17.9-beta.1 1.9 1.18.0 2.0.0 1.19.0 2.0.1 1.19.1 2.0.10 1.2 2.0.11 1.2.1 2.0.12 1.2.2 2.0.13 1.2.3 2.0.14 1.2.4 2.0.15 1.2.5 2.0.16 1.2.6 2.0.17 1.2.7 2.0.18 1.20.0 2.0.19 1.20.0-rc.1 2.0.2 1.20.0-rc.2 2.0.20 1.20.1 2.0.3 1.20.2 2.0.4 1.20.3 2.0.5 1.21.0 2.0.6 1.21.1 2.0.7 1.22.0 2.0.8 1.22.1 2.0.9 1.22.2 1.23.0 1.23.1 1.23.2 1.24.0 1.24.1 1.24.2 1.25.0 1.25.1 1.26.0 1.27.0 1.28.0 1.29.0 1.29.1 1.3 1.3.1 1.3.10 1.3.11 1.3.12 1.3.13 1.3.14 1.3.15 1.3.16 1.3.17 1.3.18 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.30.0 1.30.1 1.30.2 1.30.2-rc.1 1.30.3 1.30.4 1.30.4-rc.1 1.30.5 1.31.0 1.31.1 1.32.0 1.32.0-rc.1 1.33.0 1.33.1 1.33.2 1.34.0 1.35.0 1.35.1 1.36.0 1.36.1 1.36.2 1.36.3 1.37.0 1.37.1 1.37.2
advanced-ads / admin / assets / css / admin.css
advanced-ads / admin / assets / css Last commit date
admin.css 1 week ago ui.css 3 years ago
admin.css
1130 lines
1 :root {
2 --advads-ci-lightblue: #0474a2;
3 --advads-ci-darkblue: #1B183A;
4 }
5 /**
6 * DASHBOARD WIDGET
7 */
8 #advads_dashboard_widget h4 {
9 margin-top: .5em;
10 }
11 #advads_dashboard_widget a.rsswidget {
12 font-weight: 400;
13 }
14 #advads_dashboard_widget .rss-widget ul li {
15 margin-bottom: 6px;
16 }
17
18 /**
19 * OVERVIEW PAGE
20 */
21 .toplevel_page_advanced-ads #dashboard-widgets .postbox-container { width: 100% !important; }
22 .toplevel_page_advanced-ads #dashboard-widgets .postbox-container .postbox { float: left; width: 23%; min-width: 310px; margin-right: 1%; }
23 /* .toplevel_page_advanced-ads #dashboard-widgets .postbox-container .postbox + .postbox { margin-left: 1%; } */
24 .toplevel_page_advanced-ads #dashboard-widgets .postbox-container .postbox ul.list { list-style: inside; }
25 .toplevel_page_advanced-ads .metabox-holder .postbox-container .empty-container { display: none; }
26 #advads-overview { max-width: 1000px; }
27 #advads-overview .postbox.position-left { width: 49%; float: left }
28 #advads-overview .postbox.position-right { width: 49%; float: right }
29 #advads-overview .postbox.position-full { clear: both; float: none; }
30 #advads-overview #advads_overview_addons ul, #advads-overview #advads_overview_addons ul li { list-style: disc inside; }
31 #advads-overview #advads_overview_addons table th { vertical-align: top; font-weight: bold; max-width: 300px; position: relative; top: 0; }
32 #advads-overview #advads_overview_addons table tr.recommended th:before { position:absolute; top: 2px; left: 10px; font-size: .9em; content: 'Recommended'; color: green; font-weight: normal; }
33 #advads-overview #advads_overview_addons table tr.free th:before { position:absolute; top: 2px; left: 10px; font-size: .9em; content: 'Free'; color: green; }
34 #advads-overview #advads_overview_addons table tr.recommended th,
35 #advads-overview #advads_overview_addons table tr.free th { padding-top: 20px; }
36 #advads_overview_news .button-primary { margin-left: 0; }
37 #advads_overview_notices .main { position: relative; top: 0; left: 0; }
38 #advads_overview_notices .advads-loader { position: absolute; top: 0; left: 0; right: 0; bottom: 0; height: 100%; width: 100%; margin: 0 auto; opacity: 0.5; background-color: #fff; background-position: center; }
39 #advads_overview_notices #advads-support-callout p { clear: both; margin-bottom: 0; }
40
41 /**
42 * AD LIST PAGE
43 */
44 .ad_icon { max-width: 80px; width: 80px; }
45 .advads-ad-list-tooltip-content { display: none; }
46 .advads-ad-size { white-space: nowrap; }
47 .advads-bulk-edit-fields td { vertical-align: middle; }
48
49 /**
50 * AD EDIT PAGE
51 */
52 h2.hndle .advads-hndlelinks, #advads_overview_adsense_stats .advads-hndlelinks { display: inline-block; margin-left: 1em; }
53 h2.hndle .advads-hndlelinks a, #advads_overview_adsense_stats .advads-hndlelinks a { text-decoration: none; }
54 h2.hndle .advads-hndlelinks a + a, #advads_overview_adsense_stats .advads-hndlelinks a + a { margin-left: 1em; }
55 .advads-video-link-container { text-align: center; }
56 .advads-ad-metabox { position: relative; top: 0; left: 0; padding: 2em; background: #fff; }
57 .advads-ad-metabox h2 { font-weight: bold; color: #0074a2; font-size: 1.6em; margin: 0 0 1em; }
58
59 #advads-ad-injection-box hr { clear: both; }
60 #advads-ad-injection-box div pre input { width: 30em; }
61 #advads-ad-injection-box .ui-accordion .ui-accordion-header { margin-top: 0; border-radius: 0; }
62 #advads-ad-injection-box .ui-accordion .ui-accordion-content { border-radius: 0; }
63 #advads-ad-injection-box .advads-ad-injection-box-button-wrap { width: 100px; float: left; margin-right: 10px; margin-bottom: 10px; padding: 1px; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
64 #advads-ad-injection-box .advads-ad-injection-box-button-wrap .button-primary { display: block; margin-bottom: 10px; padding: 0px; width: 100%; height: 75px; background-size: 100px 75px; font-size: 1.5em; text-indent: -9999px; border: solid 1px #0085ba; }
65 #advads-ad-injection-box .advads-ad-injection-box-button-wrap .button-primary { position: relative; box-shadow: 0px 0px 2px #0085ba; }
66 #advads-ad-injection-box .advads-ad-injection-box-button-wrap button:hover { background: #0085ba !important; color: #fff; text-indent: 0; white-space: normal; cursor: pointer; }
67 #advads-ad-injection-box input[type="number"] { width: 4.5em; }
68
69 .advads-ad-injection-shortcode { width: 100%; border: none; background: #ededed; }
70 #advads-ad-injection-message-placement-created > p:first-child { font-size: 1.5em; }
71 .advads-pro-link { opacity: 0.5; }
72 .advads-pro-link:before { content: 'ADD-ON'; position: absolute; bottom: -4px; right: 2px; text-indent: 0; color: #000; text-shadow: none; font-weight: bold; font-size: .8em; }
73 .advads-pro-link:hover:before { text-indent: -9999px; }
74 .advads-ad-url { min-width: 300px; }
75
76 .advads-metabox-notices { }
77 .advads-metabox-notices li { border: solid 1px #eee; margin: -1px 0 0; padding: 5px; }
78 .advads-metabox-notices a { color: inherit; }
79 .advads-metabox-notices .error { color: #dc3232; }
80 .advads-metabox-notices .warning, .advads-message-warning { color: #de8400; }
81
82 .post-type-advanced_ads .misc-pub-visibility {
83 display: none;
84 }
85
86 .post-type-advanced_ads #poststuff .meta-box-sortables .inside {
87 margin: 0;
88 padding: 0;
89 }
90 .post-type-advanced_ads .meta-box-sortables .inside > * {
91 margin: 20px 10px;
92 }
93 .post-type-advanced_ads .meta-box-sortables .inside h4 {
94 background: linear-gradient(to top, #ECECEC, #F9F9F9) repeat scroll 0 0 #F1F1F1;
95 font-size: 15px;
96 font-weight: 400;
97 line-height: 1;
98 margin: 0;
99 padding: 10px 10px 5px;
100 }
101 .post-type-advanced_ads #advads-ad-notes { float: none; overflow: hidden; }
102 .post-type-advanced_ads #advads-ad-notes p { cursor: pointer; margin-top: 0; font-style: italic; }
103 .post-type-advanced_ads #advads-ad-notes textarea { display: none; width: 100%; height: 10em; }
104 #advanced-ad-type .description {
105 display: block;
106 margin-left: 24px;
107 }
108 .post-type-advanced_ads #advanced_ad_content_others textarea {
109 width: 100%;
110 height: 20em;
111 }
112
113 #advanced-ad-conditions {
114 text-align: left;
115 }
116 .post-type-advanced_ads h5 { font-size: 1.2em; margin: 1em 0 .5em; }
117 .advads-conditions-table label { margin-right: 1em; }
118 .advads-conditions-table td, .advads-conditions-table th { padding: 10px 0 10px 10px; }
119 .advads-conditions-table .advanced-ads-display-condition-set label { float: left; margin-right: -1px; }
120 .advads-conditions-table .advads-button { font-size: inherit; }
121 #advads-visitor-conditions-new select,
122 .advads-conditions-new select:first-letter { text-transform: uppercase; }
123 .advads-conditions-new select + .advads-loader { display: inline-block; vertical-align: middle; }
124 .advads-display-conditions-remove + h5 { display: inline-block; margin-top: 0; margin-left: 1em; }
125
126 .advads-conditions-table { border-collapse: collapse; width: 100%; }
127 .advads-conditions-table > tbody > tr { background: #eee; }
128 .advads-conditions-table > tbody > tr > td:last-child { padding-right: 10px; }
129 .advads-conditions-table tr:first-child.advads-conditions-connector { display: none; }
130 .advads-conditions-table .advads-conditions-connector td { text-align: center; }
131 .advads-conditions-table > tbody > .advads-conditions-connector-and { background: none; }
132 .advads-conditions-connector label {
133 text-transform: uppercase;
134 background: #fff;
135 border: 1px solid #aaa;
136 color: #555;
137 margin-top: 10px;
138 margin-bottom: 10px;
139 }
140 .advads-conditions-type:first-letter { text-transform: uppercase; }
141 .advads-conditions-table .advads-conditions-connector .advads-error-message { display: none; }
142
143 .post-type-advanced_ads #advads-ad-content-plain { width: 100%; }
144 .advads-conditions-single th { vertical-align: top; }
145 .advads-conditions-single { margin: 0; padding: 0 10px 0 0; line-height: 1em; }
146 select + .advads-conditions-single { display: inline-flex; flex-wrap: wrap; align-items: center; }
147 #advads-ad-display-conditions select {
148 margin-right: 10px;
149 }
150 #advads-ad-display-conditions .advads-condition-line-wrap select {
151 margin-right: 20px;
152 }
153
154 .advads-conditions-new select {
155 text-transform: capitalize;
156 }
157
158 .advads-conditions-single.disabled { display: none; opacity: .5; }
159 .advads-conditions-table .advads-conditions-single.advads-buttonset label {
160 margin: 0.5em 0.5em 0.5em 0;
161 padding-right: 0;
162 padding-left: 0.5em;
163 background: #f7f7f7;
164 height: 28px;
165 line-height: 26px;
166 color: #555;
167 font-family: inherit;
168 box-shadow: none;
169 border: 1px solid #ccc;
170 }
171 .advads-conditions-table .advads-conditions-single.advads-buttonset .advads-ui-state-active { border-color: #0074a2 !important; }
172 .advads-conditions-single.advads-buttonset label span {
173 margin: 0;
174 padding: 0;
175 line-height: inherit;
176 padding-left: 0.5em;
177 display: flex;
178 align-items: center;
179 }
180 .advads-conditions-single.advads-buttonset label span:after {
181 font-family: "dashicons";
182 padding: 0;
183 width: 28px;
184 display: inline-block;
185 border-left: 1px solid #ccc;
186 margin-left: 1em;
187 height: 28px;
188 line-height: 30px;
189 text-align: center;
190 color: #ccc;
191 }
192 .advads-conditions-single.advads-buttonset label:not(.advads-ui-state-active) span:after { content: "\f159"; }
193 .advads-conditions-single.advads-buttonset label.advads-ui-state-active span:after {
194 content: "\f12a";
195 color: white;
196 border-color: #0074a2;
197 }
198 .advads-conditions-not-selected.advads-notice-inline {
199 margin: 0;
200 }
201 .advads-conditions-single.advads-buttonset label.advads-ui-state-active:hover span:after { content: "\f153"; }
202 .advads-conditions-postids-show-search { margin-left: .5em !important; }
203 .advads-conditions-postids-list li { background: #F1F1F1; padding: 3px; }
204 .advads-conditions-postids-list .remove { margin-right: 1em; font-size: .9em; }
205 .advads-conditions-postids-autocomplete-suggestions li span.left { float: left; }
206 .advads-conditions-postids-autocomplete-suggestions li span.right { float: right; color: #aaa; font-size: .8em; }
207
208 .advads-conditions-table td:nth-of-type(2) {
209 display: flex;
210 flex-wrap: wrap;
211 align-items: center;
212 gap: 10px;
213 }
214
215 .advads-conditions-table td:nth-of-type(2) p.description {
216 flex-basis: 100%;
217 }
218
219 .advads-conditions-table td:first-of-type {
220 text-transform: capitalize;
221 }
222
223 .advads-conditions-table .advads-conditions-table-width-100 {
224 width: 100%;
225 }
226
227 #ad-targeting-box h3, #ad-targeting-box table { margin-bottom: 10px; font-size: 1.1em; }
228 #ad-targeting-box legend { margin-bottom: 5px; font-weight: 500; }
229 #ad-targeting-box hr { margin-top: 25px; }
230 #advads-display-conditions, #advads-visitor-conditions { margin-top: 0; }
231 #ad-targeting-box .advads-conditions-terms-show-search { height: 22px; line-height: 22px; font-weight: bold; font-size: 1.5em; }
232 .advads-conditions-terms-search, .advads-conditions-authors-search { display: none; }
233 #advads-ad-usage .advads-usage input { width: 300px; }
234 .post-type-advanced_ads #ad-parameters-box .advads-ad-parameters-spinner { display: block; float: none; }
235 .post-type-advanced_ads #advanced-ads-ad-parameters-size label + label { margin-left: 1em; }
236 .post-type-advanced_ads #advanced-ads-ad-parameters-size input[type="number"] { width: 4.5em; margin-left: .5em; }
237 .post-type-advanced_ads #advanced-ad-output-position label + label { margin-left: 1em; }
238 .post-type-advanced_ads #advanced-ad-output-position img { border: 1px solid #ddd; padding: 2px; }
239 .post-type-advanced_ads #advanced-ad-output-margin input[type="number"] { width: 4.5em; }
240 .post-type-advanced_ads #advanced-ad-output-margin label + label { margin-left: 1em; }
241 #advanced-ads-ad-parameters { overflow: visible; }
242
243 @media screen and (max-width: 782px) {
244 .advads-conditions-table .advads-conditions-single.advads-buttonset label {
245 height: 40px;
246 line-height: 36px;
247 }
248
249 .advads-conditions-single.advads-buttonset label span:after {
250 height: 39px;
251 line-height: 40px;
252 }
253 }
254
255 /* option lists */
256 .advads-option-list { overflow: hidden; }
257 .advads-option-list > .label { display: block; padding: 10px; font-weight: bold; color: #444; text-align: left; font-size: 100%; }
258 .advads-option-list > .label:first-letter { text-transform: uppercase; }
259 .advads-option-list > .label + div { display: block; padding: 10px; }
260 .advads-option-list > .label + div.hidden { display: none; }
261 .advads-option-list > hr { clear: both; float: none; display: block; }
262 .advads-option-list div[style*="display: none"] + hr { display: none; }
263
264 .advads-option { clear: both; float: none; display: block; overflow: hidden; }
265 .advads-option > span { display: block; float: left; width: 10em; padding: 10px; font-weight: bold; }
266 .advads-option > span:first-letter { text-transform: uppercase; }
267 .advads-option > span + div { padding: 10px; overflow: hidden; margin-left: 10em; }
268 .advads-option > span + div > label + input[type="radio"] { margin-left: 1em; }
269 .advads-option > span + div label + label { margin-left: 1em; }
270 .advads-option > span + div ul { margin: 0; }
271 .advads-option > span + div select { vertical-align: top; }
272 .advads-option > div > .description { max-width: 80%; }
273 .advads-option + .advads-option { margin-top: 20px; }
274
275 .advads-placements-table .advads-option > span { padding: 0; }
276 .advads-placements-table .advads-option > span + div { padding: 0; }
277
278 .advads-debug-output legend { text-decoration: underline; cursor: pointer; }
279
280 .advads-timestamp { padding-top: 5px; line-height: 1.76923076; white-space: nowrap; }
281 .advads-timestamp p { margin: 8px 0 6px; }
282 .advads-timestamp input { text-align: center; }
283 .advads-timestamp select { font-size: 12px; }
284 .advads-timestamp .advads-jj, .advads-timestamp .advads-hh, .advads-timestamp .advads-mn { width: 2em; }
285 .advads-timestamp .advads-aa, .advads-timestamp .advads-jj, .advads-timestamp .advads-hh, .advads-timestamp .advads-mn { padding: 6px 1px; font-size: 12px; line-height: 1.16666666; }
286 .advads-timestamp .advads-aa { width: 3.4em; }
287
288 #advads-url,
289 #advads-image-url,
290 #advads-image-title,
291 #advads-image-alt { width: 80%; }
292 .advads_image_upload { font-weight: normal; }
293 #advads-image-edit-link { text-decoration: none; vertical-align: top; }
294 #advads-image-preview { display: inline-block; max-width: calc(100% - 2em) }
295 #advads-image-preview img { max-width: 100%; height: auto; }
296
297 /* Wizard adjustments */
298 .advads-hide { display: none; }
299 #advads-wizard-controls button { text-transform: capitalize; }
300 #advads-wizard-controls button span { line-height: 32px; }
301 #advads-start-wizard.dashicons-before:before,
302 #advads-stop-wizard.dashicons-before:before { height: 15px; line-height: 0.9em; }
303
304 /* Ad list (AdSense, DFP, etc)*/
305 .aa-select-list { border: 1px solid #ddd; padding: .5rem; position: relative; display:none; overflow: hidden; }
306 .aa-select-list .label { font-weight:bold; display:block; margin:.75em auto .25rem; }
307 .aa-select-list { padding-top: 46px; }
308 .aa-select-list table, .aa-select-list table tbody { width: 100%; }
309 .aa-select-list table { margin-bottom: 10px; }
310 .aa-select-list tbody .dashicons { font-size: 1.2em; cursor: pointer; }
311 .aa-select-list thead th { font-weight: 700; }
312 .aa-select-list tbody .dashicons.disabled { color: #939393; }
313 .aa-select-list .aa-select-list-update { font-size: 20px; padding: 13px; position: absolute; top: 0; right: 47px; }
314 body.rtl .aa-select-list .aa-select-list-update { left: 47px; right: auto;}
315 .aa-select-list .aa-select-list-header { font-weight: 700; display: inline-block; font-size: 13px; line-height: 1.5em; }
316 .aa-select-list .aa-select-list-header span { display: inline-block; padding: 8px 9px; }
317 .aa-select-list-table-wrap { position: relative; }
318 .aa-select-list-table-wrap tr.selected { background-color: #dcdcfb; }
319 .aa-select-list-table-wrap tr.selected td { color: #0073aa; font-weight: bold; }
320 .aa-select-list-table-wrap { margin-left: -.5rem; margin-right: -.5rem; }
321 .aa-select-list-loading-overlay { position:absolute; background-color:rgba(255,255,255,.75); top:0; right:0; bottom:0; left:0; text-align:center; z-index: 1; display:none; }
322 @media( min-width: 783px ) { .aa-select-list { padding-top: 38px; } .aa-select-list .aa-select-list-update { padding: 9px; right: 39px; } }
323
324 #advads-support-callout a { text-decoration: none; color: inherit; }
325
326 /* Ad option tables */
327 .advads-ad-parameters-option-list-min-width input { width: 5em; border: none; text-align: right; }
328 /* hide the delete button of the first row */
329 .advads-ad-parameters-option-list tr:first-of-type .advads-tr-remove { display: none; }
330 /* todo: create a general rule */
331 .advads-option-buttons .dashicons { cursor: pointer; opacity: .5; }
332 .advads-option-buttons .dashicons:hover { opacity: 1; }
333 .advads-tr-remove:hover { color: #a00; }
334
335 /**
336 * AD GROUP LIST
337 */
338 .advanced-ads_page_advanced-ads-groups .tablenav.top { margin: 0px; padding-top: 0px; }
339 #advads-ad-group-list ul, #advads-ad-group-list ol { margin: 0; list-style-position: inside; }
340 #advads-ad-group-list .advads-group-ads tr:nth-child(odd) { background: #f9f9f9; }
341 .advads-table .advads-group-ads tbody tr td:first-child {
342 width: auto;
343 }
344 #advads-ad-group-list .column-type { width: 50px; }
345 #advads-ad-group-list .column-type img { width: 50px; height: 50px; }
346 .advads-ad-group-list-ads > div { margin: 0; padding: 3px 0; }
347 .advads-ad-group-list-ads > div:hover { background: #eee; }
348 .advads-ad-group-list-ads-weight { text-align: right; }
349 .advads-group-row .row-actions a, .advads-group-row a.edit { cursor: pointer; }
350 .advads-group-row .advads-usage { margin-top: 1em; }
351 .advads-usage code { padding: 0; background: none; }
352 .advads-group-row code { background: none; }
353 .advads-ad-group-form .advads-option { margin-top: 0; }
354 .advads-ad-group-form > td { border-bottom: 1px solid; }
355 .advads-ad-group-form label { display: inline-block; margin-bottom: 1em; }
356 .advads-ad-group-form strong { float: left; width: 180px; }
357 .advads-ad-group-form ul { float: left; }
358 fieldset.advads-group-add-ad { margin-top: 1em; }
359 .advanced-ads_page_advanced-ads-groups .advads-form .advads-form-type .advads-button-text { height: 80px; border: none; box-shadow: none; }
360 .advads-table .advads-group-row:not(:first-child) .create-first-ad { display: none; }
361 .advads-group-ads th.group-sort { cursor: pointer; }
362 .advads-group-ads th.asc::after { font-family: dashicons, sans-serif; content: '\f142'; margin-left: 3px; }
363 .advads-group-ads th.desc::after { font-family: dashicons, sans-serif; content: '\f140'; margin-left: 3px; }
364
365 /**
366 AD PLACEMENTS
367 */
368 .advanced-ads_page_advanced-ads-placements #wpbody-content > .wrap { margin-top: 20px; }
369 .advanced-ads_page_advanced-ads-placements .tablenav.top { margin-top: 0px; padding-top: 0px; }
370 .advads-placements-table { margin-top: 20px; }
371 .advads-placements-table-options { text-align: right; }
372 .advads-placements-table-options input[type="number"] { width: 4.5em; }
373 .advads-placements-table ol { margin: 0.5em 0; list-style-position: inside; }
374 th.advads-placement-sortable { cursor: pointer; }
375 th.advads-placement-sortable a { display: block; overflow: hidden; }
376 .advads-placement-sorting-indicator { display: inline-block; visibility: hidden; width: 8px; height: 4px; }
377 .advads-placement-sorting-indicator:before { content: "\f142"; font: normal 20px/1 dashicons; speak: none; display: inline-block; padding: 0; top: 0; left: -7px; color: #444; position: relative; vertical-align: middle; text-decoration: none !important; color: #444; }
378 :is(a.advads-placement-sorted, th a:hover, th a:focus) .advads-placement-sorting-indicator {
379 visibility: visible;
380 }
381 a.advads-placement-sorted {
382 cursor: default;
383 pointer-events: none;
384 text-decoration: none;
385 color: grey;
386 }
387 .advads_search_placement_name {
388 vertical-align: middle;
389 }
390 .advads-placement-conditions h4 {
391 margin-top: 0;
392 margin-bottom: 5px;
393 }
394 .advads-placement-conditions h4+ul {
395 margin-top: 0;
396 margin-bottom: 18px;
397 }
398
399 /**
400 GENERAL ELEMENTS
401 */
402 .advads-toggle-link { display: block; cursor: pointer; margin: 10px 0 0 0; }
403 .advads-toggle-link + div { margin-top: 10px; }
404 .advads-content-half { float: left; margin-right: 5%; width: 45%; min-width: 300px; }
405 .advads-box { margin-bottom: 20px; padding: 10px; background: #fff; border: solid 1px; }
406 .on-hover { display: none; }
407 tr:hover .on-hover { display: block; }
408 .advads-admin-notice { overflow: hidden; }
409 .advads-admin-notice.inline { display: block; }
410 .advads-admin-notice .button-primary { margin-left: 1em; }
411 .advads-review-image { margin-right: 10px; margin-bottom: 10px; float: left; }
412 .advads-spinner { float: none; visibility: visible; }
413 .advads-wide-input { width: 30em; }
414 .row-actions span a {
415 white-space: nowrap;
416 display: inline-block;
417 }
418 .row-actions span a:first-letter, .advads-placement-conditions li:first-letter {
419 text-transform: uppercase;
420 }
421
422 /**
423 * Branded Page Header
424 */
425 /* Hide some h1 headlines and buttons created by WordPress on our pages since we show our custom header */
426 .post-type-advanced_ads .wrap .wp-heading-inline,
427 .advanced-ads_page_advanced-ads-groups .wrap .wp-heading-inline,
428 .post-type-advanced_ads .wrap .page-title-action
429 {
430 display: none;
431 }
432
433 /**
434 * Forms to add a new ad, group, or placement
435 */
436 .advads-form-description { display: none; }
437 .advads-form .advads-form-type { position: relative; top: 0; left: 0; float: left; width: 80px; margin: 15px 0 0 15px; }
438 .advads-form .advads-form-type .advads-button { background: none; border-radius: 0; height: auto; }
439 .advads-form .advads-form-type .advads-button-text { padding: 0; width: 80px; height: 60px; border: solid 1px #0085ba; border-radius: 3px; box-shadow: 0 0 2px #0085ba; overflow: hidden; box-sizing: border-box; user-select: none; }
440 .advads-form .advads-form-type .advads-button-text img { max-width: 100%; pointer-events: none; }
441 .advads-form .advads-form-type label { display: inline-block; width: 80px; text-align: center; border: 0; padding: 0; }
442 .advads-form .advads-buttonset .advads-button.advads-ui-state-active { outline: 5px solid #2ea2cc; border: 0; }
443 .advads-form .advads-form-type label .description { padding: 10px; }
444 .advads-form .advads-notice-inline.advads-error { display: none; }
445
446 /**
447 * Custom Boxes, similar to WP Metaboxes
448 */
449 .advads-box {
450 margin-bottom: 20px;
451 padding: 0px;
452 }
453 .advads-box h2 {
454 border-bottom: 1px solid #eee;
455 font-size: 14px;
456 padding: 8px 12px;
457 margin: 0;
458 line-height: 1.4;
459 }
460 .advads-box-wrapper {
461 display: flex;
462 justify-content: space-between;
463 flex-wrap: wrap;
464 column-gap: 20px;
465 }
466 .advads-box-half {
467 flex: 1 0 calc(50% - 20px);
468 }
469 .advads-box-third {
470 flex: 1 0 calc(33% - 20px);
471 }
472
473 /**
474 WELCOME PANEL
475 */
476 .advads-admin-notice[data-notice="nl_intro"] { border: 4px solid #0073aa; }
477 .advads-admin-notice .notice-dismiss { text-decoration: none; }
478 #aa-welcome-panel h2 { margin: 0; font-size: 21px; font-weight: 400; line-height: 1.2; }
479 #aa-welcome-panel h3 { margin: 1.33em 0; font-size: 16px; }
480 #aa-welcome-panel li { font-size: 14px; }
481 #aa-welcome-panel a { text-decoration: none; }
482 .aa-welcome-panel-content { margin-left: 13px; max-width: 1500px; }
483 #aa-welcome-panel .aa-welcome-panel-column-container { clear: both; position: relative; }
484 #aa-welcome-panel .aa-welcome-panel-column { width: 32%; min-width: 200px; float: left; }
485 #aa-welcome-panel .aa-welcome-panel-column:first-child { width: 36%; }
486 #aa-welcome-panel .aa-welcome-panel-column ul { margin: 0.8em 1em 1em 0; }
487 #aa-welcome-panel .aa-welcome-panel-column li { line-height: 1.14; list-style-type: none; padding: 0 0 8px; }
488 #aa-welcome-panel .aa-welcome-panel-starter-setup p { max-width: 300px; }
489 .aa-welcome-panel-column p { margin-top: 7px; color: #444; }
490 .aa-welcome-panel-column .button { margin-left: 0; }
491
492 /**
493 - GOOGLE ADSENSE MODULE
494 -*/
495 #adsense-ad-param-error { color: #dc3232; font-weight: bold; }
496 .advads-adsense-content { width: 100%; }
497 .mapi-insert-code a, .mapi-open-selector a, .mapi-close-selector-link a { padding: 0 10px; color: inherit; }
498 #mapi-quota-message{ color: #ef8e00; font-style: italic; font-weight: bold; }
499 .aa-select-list tbody [data-mapiaction="getCode"] { color: #46b450; }
500 .aa-select-list tbody .disabled[data-mapiaction="getCode"] { color: #a7a7a7; cursor: default; }
501 .aa-select-list tbody [data-mapiaction="updateCode"] { color: #0085ba; }
502 #mapi-archived-ads { font-size: 20px; padding: 9px; position: absolute; top: 0; right: 78px; color: #72777c; cursor: pointer; }
503 body.rtl #mapi-archived-ads { left: 78px; right:auto; }
504 #remote-ad-unsupported-ad-type { background-color: #f0f0f0; padding: 8px; border: 1px solid #d6d6d6; }
505 #remote-ad-unsupported-ad-type ul { list-style-type: disc; padding-left: 20px }
506 #remote-ad-unsupported-ad-type[style*="display: block"] + p { display: none; }
507 .mapi-insert-code[style*="display: none"] + .mapi-open-selector .mapi-optional-or { display: none; }
508 #mapi-table-wrap table { border-left:none; border-right: none; }
509 #mapi-table-wrap tr { vertical-align: middle; }
510 #mapi-table-wrap td { vertical-align: inherit; }
511 #mapi-table-wrap.overflow { height: 22.2em; overflow-y: auto; }
512 #mapi-table-wrap.overflow table { position: absolute; }
513 #mapi-table-wrap .error {background-color: #e77373; position: relative;}
514 #mapi-table-wrap .error td {color: #23282d; }
515 #mapi-table-wrap .error td:first-of-type::before { content: ""; width: 5px; height: 100%; background-color: #dc3232; position: absolute; left: 0; top: 0; }
516 #mapi-table-wrap .error .unittype button { display: none; }
517 .advanced-ads-adsense-support { background-color: #fbfbfb; border: 1px solid #eee; padding: 1em; }
518 .advanced-ads-adsense-support-text { font-size: 1.4em; font-weight: 400; }
519 .advanced-ads-adsense-support .dashicons { color: #ffb900; }
520 .advads-adsense-layout-key { display: none; }
521 .mapiaction.icon-button {
522 display: block;
523 margin: 12px auto;
524 cursor: pointer;
525 }
526
527 #mapi-account-alerts > div:not(:last-of-type) {
528 margin-bottom: 10px;
529 }
530
531 @media screen and (min-width: 1368px) {
532 #mapi-account-alerts {
533 float: right;
534 }
535
536 #mapi-account-alerts .card {
537 margin-top: 0;
538 }
539 }
540
541 /**
542 * Connect to Google AdSense modal
543 */
544
545 .gadsense-modal-error {
546 background-color: #fff;
547 border: 1px solid #dc3232;
548 border-left-width: 4px;
549 padding: .75em;
550 margin: 1em 0;
551 display: none;
552 }
553
554 /**
555 - TABS + SETTINGS
556 -*/
557 #advads-tabs .nav-tab-active { background: #fff; border-bottom: 0; margin-top: 1px; }
558 .advads-tab { display: none; padding: 5px 15px; overflow: hidden; background-color: #fff; border: 1px solid #ccc; border-top: none; }
559 .advads-tab input[type="checkbox"] { margin-right: 8px; }
560 .advads-tab .form-table th, .advads-tab, .advads-tab .form-table td { padding-top: 15px; padding-bottom: 30px; vertical-align: top; }
561 .advads-tab.active { display: block; }
562 .advads-license-activate-error a { color: inherit; }
563 .advads-tab-sub-menu ul { overflow: hidden; }
564 .advads-tab-sub-menu ul li { float: left; padding-right: 0.5em; }
565 .advads-tab-sub-menu ul li a { cursor: pointer; }
566 .advads-tab-sub-menu ul li + li:before { content: '|'; }
567 .advads-tab-sub-menu ul li + li a { padding-left: 0.5em; }
568 #advads-settings-hide-by-user-role { -webkit-columns: 200px 5; /* Chrome, Safari, Opera */ -moz-columns: 200px 5; /* Firefox */ columns: 200px 5; column-gap: 10px; }
569 #advads-settings-hide-by-user-role label { display: block; }
570 .advads-settings-tab-main-form textarea { resize: both; }
571 .advads-settings-tab-main-form .description + label { display: block; margin-top: 12px; }
572
573 /* AdBlocker Settings */
574 #advads-adblocker-wrapper h3 {
575 margin-bottom: 0;
576 }
577 #advanced-ads-rebuild-assets-form td, #advanced-ads-rebuild-assets-form th {
578 padding-bottom: 0;
579 }
580 #advanced-ads-rebuild-assets-form button {
581 margin-top: 15px;
582 }
583
584 /**
585 - SUPPORT PAGE
586 -*/
587 .advads-support-form input { width: 300px; height: 1.5em; line-height: 1; font-size: 1.5em; border: 1px solid #0085ba; border-radius: 5px; }
588 .advads-support-form input.button { width: 100px; height: 1.5em; line-height: 1; font-size: 1.5em; border: 1px solid #0085ba; border-radius: 5px; }
589
590 /**
591 - PLUGIN LIST
592 -*/
593 #advanced-ads-feedback-overlay {
594 /* Height & width depends on how you want to reveal the overlay (see JS below) */
595 height: 100%;
596 width: 100%;
597 position: fixed; /* Stay in place */
598 z-index: 10000; /* Sit on top */
599 left: 0;
600 top: 0;
601 background-color: rgb(120,120,120); /* Black fallback color */
602 background-color: rgba(0,0,0, 0.5); /* Black w/opacity */
603 }
604 #advanced-ads-feedback-content {
605 position: relative;
606 top: 25%; /* 25% from the top */
607 width: 500px;
608 max-width: 100%;
609 margin: auto;
610 margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
611 max-height: 50%;
612 padding: 20px;
613 background-color: #fff;
614 overflow-y: scroll;
615 }
616 #advanced-ads-feedback-overlay-close-button { position: absolute; top: 10px; right: 10px; cursor: pointer; }
617 #advanced-ads-feedback-content textarea:not(.advanced_ads_disable_help_text),
618 #advanced-ads-feedback-content input[type="text"] { display:none; }
619 #advanced-ads-feedback-content textarea,
620 #advanced-ads-feedback-content input[type="text"] { width: 100%; }
621 #advanced-ads-feedback-content .advanced_ads_disable_reply { display:none; }
622 .advanced-ads-feedback-only-deactivate { display: block; text-align: right; }
623 .advanced-ads-feedback-review { background-color: #fbfbfb; border: 1px solid #eee; padding: 0.5em; }
624 .advanced-ads-feedback-review-text { font-size: 1.2em; font-weight: 400; }
625 .advanced-ads-feedback-review .dashicons { color: #ffb900; }
626 .row-actions .aa-get-pro { font-weight: bold; color: #0474a2; }
627
628 /**
629 - GENERAL
630 -*/
631 .advads-success-message { color: green !important; }
632 .advads-hidden { display: none; }
633 .advads-loader { display: block; width: 43px; height: 11px; background: url(../img/loader.gif) no-repeat; }
634 .advads-loader.hidden { display: none; }
635
636 /* Tooltips for help */
637 .advads-help {
638 position: relative;
639 color: #dcdcde;
640 font-weight: normal;
641 }
642 .advads-help:before {
643 content: "\f223";
644 font-family: dashicons;
645 display: inline-block;
646 line-height: 1;
647 text-decoration: inherit;
648 -webkit-font-smoothing: antialiased;
649 -moz-osx-font-smoothing: grayscale;
650 width: 20px;
651 height: 20px;
652 font-size: 20px;
653 vertical-align: top;
654 text-align: center;
655 transition: color 0.1s ease-in;
656 }
657
658 .advads-help.v-middle:before {
659 vertical-align: middle;
660 }
661
662 .advads-help.advads-help-no-icon:before {
663 content: none;
664 }
665 div:hover > .advads-help:before,
666 p:hover > .advads-help:before,
667 td:hover > .advads-help:before, /* for settings page */
668 li:hover > .advads-help:before,
669 h3:hover > .advads-help:before,
670 .advads-help:hover::before {
671 color: #0474a2;
672 }
673 .advads-help .advads-tooltip {
674 display: none;
675 width: 300px;
676 }
677 .advads-help:hover .advads-tooltip {
678 display: block;
679 left: 20px;
680 }
681
682 /* Advanced Ads Icon */
683 .advads-icon {
684 display: inline-block;
685 width: 20px;
686 height: 20px;
687 background: url(../img/logo.svg);
688 }
689
690 /* WP Admin notifications branded for Advanced Ads */
691 .advads-notice,
692 .advads-page .notice,
693 .advanced-ads_page_advanced-ads-groups .notice,
694 .advanced-ads_page_advanced-ads-groups #message {
695 border-left-color: #1B183A;
696 }
697 .wp-core-ui .notice.advads-notice .button, .wp-core-ui .notice.advads-notice p button {
698 background-color: #0474a2;
699 border-color: #0474a2;
700 color: #FFF;
701 }
702 .advads-notice.inline,
703 .advads-page .notice.inline {
704 display: block;
705 }
706 .advads-notice.inline.hidden,
707 .advads-page .notice.inline.hidden {
708 display: none;
709 }
710 .advads-notice .notice-dismiss:before,
711 .post-type-advanced_ads .notice-dismiss:before {
712 color: #1B183A;
713 }
714 .notice .advads-icon, .advads-notice .advads-icon {
715 position: relative;
716 top: 4px;
717 margin-right: 5px;
718 }
719 .advads-notice.notice-promo {
720 border: 0;
721 text-align: center;
722 color: #fff;
723 overflow: visible;
724 padding: 1px 60px;
725 background: url('../img/promo-background.svg' );
726 }
727 .advads-notice.notice-promo > p {
728 position: relative;
729 margin: .5em auto;
730 width: fit-content;
731 }
732 .advads-notice.notice-promo > p:before {
733 content: "";
734 position: absolute;
735 display: block;
736 width: 70px;
737 height: 70px;
738 top: calc(-.5em - 10px);
739 left: -65px;
740 background: url('../img/aa-promo-icon.svg') center left/contain no-repeat;
741 }
742 .advads-notice.notice.notice-promo .button{
743 background-color: transparent;
744 border-color: #fff;
745 }
746 .advads-notice.notice.notice-promo .button:focus {
747 box-shadow: none;
748 }
749 .advads-notice.notice-promo .notice-dismiss:before {
750 color: #fff;
751 }
752
753 /* Notification blocks */
754 .advads-notice-block {
755 padding-left: 4em;
756 }
757 .advads-notice-block:before {
758 font-family: dashicons;
759 color: #0474a2;
760 position: absolute;
761 top: 25px; left: 16px;
762 margin-right: 5px;
763 display: inline-block;
764 line-height: 1;
765 font-size: 20px;
766 vertical-align: top;
767 }
768 .advads-notice-block:after {
769 content: "";
770 clear: both;
771 display: block;
772 }
773
774 /* Inline Notifications */
775 span.advads-notice-inline {
776 display: inline-block;
777 }
778 .advads-notice-inline:before {
779 font-family: dashicons;
780 color: #0474a2;
781 float: left;
782 margin-right: 5px;
783 line-height: 1;
784 font-size: 20px;
785 vertical-align: top;
786 }
787 .advads-error:before {
788 content: "\f534";
789 color: #dc3232;
790 }
791 .advads-idea:before {
792 content: "\f339";
793 }
794 .advads-check:before {
795 content: "\f15e";
796 color: #1e610f;
797 font-size: 24px;
798 line-height: 20px;
799 }
800 .advads-manual:before {
801 content: "\f118";
802 }
803
804 /* Image Ad */
805 #advads_type_image_wp_media .media-sidebar .setting:not([data-setting="title"]):not([data-setting="alt"]),
806 /* fields added via the `attachment_fields_to_edit` filter */
807 #advads_type_image_wp_media .media-sidebar .compat-item { display: none; }
808
809 /* TinyMCE shortcode creator */
810 #advads-shortcode-modal-container-body .spinner { background: url(../../../../../../wp-admin/images/spinner.gif) no-repeat; -webkit-background-size: 20px 20px; background-size: 20px 20px; vertical-align: middle; width: 20px; height: 20px; }
811 #advads-select-for-shortcode { box-sizing: border-box; }
812 #advads-select-for-shortcode optgroup { font-weight: 700; font-family: Tahoma, sans-serif; }
813 #advads-select-for-shortcode optgroup option { padding-left: 20px; }
814
815 /* Filter dropdowns on the ad list table */
816 .advads-ad-list-even { background-color: #f9f9f9 !important; }
817 .advads-ad-list-odd { background-color: #fff !important; }
818 .advads-page #filter-by-date, .advads-page label[for=filter-by-date]{
819 display: none;
820 }
821
822 /* Hide 'New Ad' in menu */
823 .wp-submenu li a[href="post-new.php?post_type=advanced_ads"] { display:none !important; }
824
825 /* Filesystem */
826 #advanced-ads-rfc-dialog .cancel-button { display: inline; }
827
828 /* ads.txt */
829 .advads-ads-txt-updated { border-left: 4px solid green; padding-left: 4px; }
830 .advads-error-message.advads-ads-txt-updated { border-color: #dc3232; }
831 #advads-ads-txt-notices li { padding-top: 1em; }
832 #advads-ads-txt-notices li:nth-child(even) { background-color: #f9f9f9; }
833
834 /* Fix Safari autofill: https://stackoverflow.com/questions/38663578/how-to-hide-autofill-safari-icon-in-input-field */
835 .post-type-advanced_ads input::-webkit-contacts-auto-fill-button {
836 visibility: hidden;
837 display: none !important;
838 pointer-events: none;
839 height: 0;
840 width: 0;
841 margin: 0;
842 }
843
844 /* Pro Pitch List */
845 .advads-pro-pitch { max-width: 500px; float: left; padding: 1em; margin-right: 1em; line-height: 2; font-size: 14px; text-transform: capitalize; }
846 .advads-pro-pitch .dashicons { line-height: 1.4; }
847 #advads-tracking-pitch .advads-pro-pitch { float: none; }
848
849 /* external links */
850 a.advads-manual-icon, .advads-manual-link, .advads-external-link { text-decoration: none; }
851 .advads-ad-notice-image-name-change a.advads-manual-link { color: #2271b1;}
852
853 .advads-manual-link:after, .advads-external-link:after {
854 font-family: dashicons;
855 margin-left: .3em;
856 }
857 .advads-manual-link:after {
858 content: "\f118";
859 }
860
861 .advads-external-link:after {
862 content: "\f504";
863 }
864
865 div.advads-flex{
866 display: flex;
867 align-items: top;
868 justify-content: top;
869 flex-direction: row;
870 flex-wrap: wrap;
871 flex-flow: row wrap;
872 align-content: flex-end;
873 }
874 .advads-flex1{
875 flex: 1;
876 }
877 .advads-flex2{
878 flex: 2;
879 }
880 .advads-flex3{
881 flex: 3;
882 }
883 div.advads-stats-box{
884 margin:4pt;
885 padding:4pt;
886 }
887 div.advads-stats-box .advads-stats-age {
888 clear: right;
889 float: right;
890 text-align: right;
891 color: #bbbbbb;
892 margin-top: 5px;
893 }
894 body.rtl div.advads-stats-box .advads-stats-age {
895 clear: left;
896 float: left;
897 text-align: left;
898 }
899 div.advads-stats-box div.advads-stats-box-main{
900 font-weight: bold;
901 font-size: 18px;
902 }
903 div.advads-stats-dd-container {
904 position:relative;
905 float:right;
906 text-align:right;
907 }
908 body.rtl div.advads-stats-dd-container {
909 float:left;
910 text-align:left;
911 }
912 div.advads-stats-dd-button{
913 font-weight:bold;
914 font-size: 14px;
915 cursor:pointer;
916 }
917 div.advads-stats-dd-items{
918 background-color: #ffffff;
919 border: 1px solid #cccccc;
920 padding: 5px;
921 position:absolute;
922 overflow-y: auto;
923 overflow-x: hidden;
924 max-height:210px;
925 z-index: 1;
926 }
927 div.advads-stats-dd-item{
928 background-color: #ffffff;
929 padding: 5px;
930 cursor: pointer;
931 text-align:right;
932 min-width: 280px;
933 }
934 body.rtl div.advads-stats-dd-item{
935 text-align:left;
936 }
937 div.advads-stats-select{
938 border: none;
939 }
940 div.advads-stats-dd-item-selected{
941 background-color: #0073aa;
942 color: #ffffff;
943 font-weight: bold;
944 }
945
946 #advads_overview_adsense_stats .advads-stats-dd-button .advads-stats-dd-items {
947 display: none;
948 right: 0px;
949 width: 300px;
950 position: absolute;
951 font-weight: normal;
952 }
953 body.rtl #advads_overview_adsense_stats .advads-stats-dd-button .advads-stats-dd-items {
954 left: 0px;
955 right: auto;
956 }
957 #advads_overview_adsense_stats .advads-stats-dd-button .advads-stats-dd-items .current-filter {
958 font-weight: 700;
959 background-color: #0073aa;
960 color: #ffffff;
961 font-weight: bold;
962 }
963
964 tr.advads-clickable-row:hover{
965 cursor: pointer;
966 }
967
968 /* Set max-width for wide select elements */
969 .advads-conditions-select-wrap { display: inline-block; max-width: 100%; }
970 .advads-conditions-select-wrap select { width: 100%; }
971
972 /* table layout, mobile by default */
973 .advads-option-table { width:100%; }
974 .advads-option-table thead { display: none; }
975 .advads-option-table tbody td, .advads-option-table tfoot th { display: block; }
976 .advads-option-table tbody td:before, .advads-option-table tfoot th:before { /* display a label that is in the "data-th" attribute of the td tag */
977 content: attr( data-th );
978 display: inline-block;
979 width: 32%;
980 }
981
982 /**
983 * Tables
984 */
985 .advads-table { min-width: 80%; border-collapse: collapse; background: #fff; }
986 .advads-table tbody tr:nth-child(odd) { background-color: #f9f9f9; }
987 .advads-table tbody tr td:first-child { width: 200px; }
988 .advads-table .advads-table-name { font-size: 1.2em; }
989 .advads-table tbody tr td:last-child { width: 70px; }
990 .advads-table th { margin: 0; text-align: left; vertical-align: top; }
991 .advads-table.widefat tbody th { font-weight: bold; }
992 .advads-table th span { font-weight: normal; }
993 .advads-table td { margin: 0; padding: 10px 8px; text-align: left; vertical-align: top; }
994 .advads-table .usage-modal-link { cursor: pointer; }
995 .advads-table .advads-usage { margin-bottom: 20px; }
996 .advads-table .advads-usage input { width: 100%; }
997
998 .advads-table img {
999 height: 70px;
1000 margin-bottom: 5px;
1001 }
1002
1003 /**
1004 * Tables with flexbox
1005 */
1006 .advads-table-flex {
1007 display: flex;
1008 flex-direction: column;
1009 }
1010
1011 .advads-table-flex > div {
1012 display: flex;
1013 flex-direction: row;
1014 }
1015
1016 .advads-table-flex > div > div {
1017 flex: 1;
1018 }
1019
1020 /**
1021 * RESPONSIVE BEHAVIOR
1022 * mobile is default
1023 * we actually define behavior for larger screens here
1024 */
1025 @media screen and (min-width: 600px) {
1026 /* show ad options below the label instead of next to them */
1027 .advads-option-list > .label { float: left; width: 10em; }
1028 .advads-option-list > .label + div { float: left; max-width: calc(100% - (10em + 40px)); }
1029
1030 /* tables */
1031 .advads-option-table { width:100%; }
1032 .advads-option-table thead { display: table-header-group; }
1033 .advads-option-table tbody td, .advads-option-table tfoot th { display: table-cell; }
1034 .advads-option-table tbody td:before, .advads-option-table tfoot th:before { display: none; }
1035 .advads-option-table .advads-hide-above-medium-screen {
1036 display: none;
1037 }
1038
1039 }
1040 @media screen and (min-width: 1150px) {
1041 /* tables */
1042 .advads-option-table-responsive { width:100%; }
1043 .advads-option-table-responsive thead { display: table-header-group; }
1044 .advads-option-table-responsive tbody td, .advads-option-table-responsive tfoot th { display: table-cell; }
1045 .advads-option-table-responsive tbody td:before, .advads-option-table-responsive tfoot th:before { display: none; }
1046 }
1047 @media (min-width: 1200px) {
1048 .advads-table .advads-table-name {
1049 font-size: 1.2em;
1050 width: calc(97% - 70px);
1051 display: inline-block;
1052 vertical-align: top;
1053 }
1054 .advads-table img {
1055 height: auto;
1056 width: 65px;
1057 margin-right: 3%;
1058 display: inline-block;
1059 }
1060 }
1061 @media (min-width: 60em) {
1062 .advads-modal-content {
1063 height: 75%;
1064 margin: 5% auto;
1065 max-width: 66em;
1066 width: 85%;
1067 }
1068 }
1069 @media screen and (max-width: 500px) {
1070 .advads-placements-table .advads-option > span {
1071 float: none;
1072 width: 100%;
1073 margin-bottom: 15px;
1074 }
1075 .advads-placements-table .advads-option > span + div {
1076 margin-left: 0;
1077 }
1078 }
1079
1080 @media screen and (max-width: 782px) {
1081 .advads-placements-table.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary~td:not(.check-column) {
1082 padding-left: 10px;
1083 }
1084 .advads-placements-show-options {
1085 text-align: center;
1086 }
1087 .advads-mobile-hidden {
1088 display: none !important;
1089 }
1090 .advads-option > span + div select {
1091 margin-bottom: 15px;
1092 }
1093 .advads-modal-content .advads-option > div label {
1094 display: block;
1095 margin-left: 0;
1096 margin-bottom: 5px;
1097 padding-top: 5px;
1098 }
1099 }
1100
1101 /**
1102 MODULE ACTIVATION
1103 */
1104 .advads-sub-settings {
1105 display: none;
1106 }
1107
1108 input.advads-has-sub-settings:checked ~ .advads-sub-settings {
1109 display: block;
1110 }
1111
1112 /**
1113 Gutenberg block
1114 */
1115 .advads-block-hint {
1116 margin-top: 1em;
1117 }
1118
1119 /**
1120 * DEPRECATED
1121 */
1122 /* use "advads-notice-inline advads-error" classes instead */
1123 .advads-error-message {
1124 color: #dc3232 !important;
1125 }
1126 .advads-error-message a {
1127 color: #dc3232;
1128 text-decoration: underline;
1129 }
1130