| 1 |
/* Helper Classes */ |
| 2 |
|
| 3 |
.pf-no-margin { |
| 4 |
margin: 0 |
| 5 |
} |
| 6 |
|
| 7 |
.pf-hidden { |
| 8 |
display: none; |
| 9 |
} |
| 10 |
.clearfloat{ |
| 11 |
clear:both; |
| 12 |
} |
| 13 |
label { |
| 14 |
display: block; |
| 15 |
margin: 0.5em 0; |
| 16 |
font-size: 14px !important; |
| 17 |
} |
| 18 |
|
| 19 |
h3 { |
| 20 |
margin: 1.5rem 0 1rem; |
| 21 |
border-bottom: 1px solid #ccc; |
| 22 |
padding-bottom:.75em; |
| 23 |
clear: both; |
| 24 |
} |
| 25 |
|
| 26 |
h3.hndle { |
| 27 |
clear:none; |
| 28 |
padding: 7px 5px; |
| 29 |
} |
| 30 |
|
| 31 |
input[type="radio"], img { |
| 32 |
vertical-align: middle; |
| 33 |
} |
| 34 |
|
| 35 |
#placement-adv-options { |
| 36 |
float: left; |
| 37 |
} |
| 38 |
|
| 39 |
.description { |
| 40 |
color: #cacaca; |
| 41 |
} |
| 42 |
.printfriendly-text2 { |
| 43 |
font-family: verdana; |
| 44 |
font-size: 14px; |
| 45 |
color: #6D9F00; |
| 46 |
} |
| 47 |
select{ |
| 48 |
display: block; |
| 49 |
margin: .5em .5em .5em 0; |
| 50 |
} |
| 51 |
select#javascript, select#website_protocol, select#password_protected, select#dynamic_content { |
| 52 |
display: inline-block; |
| 53 |
margin-bottom: 0; |
| 54 |
} |
| 55 |
input[type="radio"], input[type="checkbox"] { |
| 56 |
cursor: pointer; |
| 57 |
margin-right: 10px; |
| 58 |
vertical-align: middle; |
| 59 |
} |
| 60 |
|
| 61 |
|
| 62 |
/* WP lacks styling for type="number", so in here for now */ |
| 63 |
input[type="number"] { |
| 64 |
border-color: #DFDFDF; |
| 65 |
background-color: white; |
| 66 |
border-width: 1px; |
| 67 |
border-style: solid; |
| 68 |
-moz-border-radius: 3px; |
| 69 |
-khtml-border-radius: 3px; |
| 70 |
-webkit-border-radius: 3px; |
| 71 |
border-radius: 3px; |
| 72 |
-moz-box-sizing: border-box; |
| 73 |
-webkit-box-sizing: border-box; |
| 74 |
-ms-box-sizing: border-box; |
| 75 |
box-sizing: border-box; |
| 76 |
width: 36px; |
| 77 |
margin-right: .5em; |
| 78 |
} |
| 79 |
#css { |
| 80 |
font-size: 11px; |
| 81 |
color:#bbb; |
| 82 |
} |
| 83 |
#css input { |
| 84 |
margin: 0 6px 0 12px; |
| 85 |
vertical-align: baseline; |
| 86 |
} |
| 87 |
#pf-shortcode { |
| 88 |
margin-left: 2em; |
| 89 |
} |
| 90 |
|
| 91 |
label#pf-favicon { |
| 92 |
vertical-align: baseline; |
| 93 |
margin: 0; |
| 94 |
} |
| 95 |
|
| 96 |
.printfriendly-details input { |
| 97 |
width: 20em; |
| 98 |
} |
| 99 |
|
| 100 |
.printfriendly-details label { |
| 101 |
margin-left: 5px; |
| 102 |
margin-right: 2px; |
| 103 |
} |
| 104 |
|
| 105 |
#after-submit { |
| 106 |
border-top: 2px dashed #dfdfdf; |
| 107 |
margin:4em 0 0 0; |
| 108 |
} |
| 109 |
#addmanual-help { |
| 110 |
display: none; |
| 111 |
} |
| 112 |
|
| 113 |
#button-placement div#pages label { |
| 114 |
clear: left; |
| 115 |
} |
| 116 |
|
| 117 |
div#category-adder { |
| 118 |
float: none; |
| 119 |
} |
| 120 |
|
| 121 |
#pf-categories { |
| 122 |
display: none; |
| 123 |
float: left; |
| 124 |
position: relative; |
| 125 |
top: 1.5em; |
| 126 |
left: 20px; |
| 127 |
width: 270px; |
| 128 |
} |
| 129 |
#pf-categories h4 { |
| 130 |
margin: 0 0 0.4em 0; |
| 131 |
} |
| 132 |
|
| 133 |
#pf-categories-metabox, #category-adder { |
| 134 |
display: none; |
| 135 |
} |
| 136 |
|
| 137 |
span.description.pf-help-link { |
| 138 |
font-size: 130%; |
| 139 |
padding-left: 10px; |
| 140 |
font-style: normal; |
| 141 |
} |
| 142 |
|
| 143 |
.no-italics { |
| 144 |
font-style: normal !important; |
| 145 |
} |
| 146 |
|
| 147 |
#margin input[type="number"]{ |
| 148 |
width: 65px; |
| 149 |
} |
| 150 |
|
| 151 |
div.custom-btn.disabled { |
| 152 |
opacity: 0.5; |
| 153 |
pointer-events: none; |
| 154 |
display: none; |
| 155 |
} |
| 156 |
|
| 157 |
/* Pro Notice Alert Layout */ |
| 158 |
.pf-notice { |
| 159 |
border-left: 4px solid #fff; |
| 160 |
padding: 0 1.25rem; |
| 161 |
background: #fff; |
| 162 |
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1); |
| 163 |
margin: 5px 0 15px; |
| 164 |
display:inline-block; |
| 165 |
} |
| 166 |
|
| 167 |
.pf-col-1{ |
| 168 |
float:left; |
| 169 |
margin:0rem 1.5rem 1.5rem 0; |
| 170 |
} |
| 171 |
.pf-col-2{ |
| 172 |
float: left; |
| 173 |
margin:0rem 1.5rem 1.5rem 0; |
| 174 |
} |
| 175 |
|
| 176 |
.pf-form-element { |
| 177 |
margin: 0 0 15px 0; |
| 178 |
} |
| 179 |
|
| 180 |
.pf-btn-message { |
| 181 |
margin-left: .5rem; |
| 182 |
} |
| 183 |
|
| 184 |
/* Colors */ |
| 185 |
.pf-error { |
| 186 |
color: red; |
| 187 |
display: none; |
| 188 |
} |
| 189 |
|
| 190 |
.pf-text-success { |
| 191 |
color: #46b450; |
| 192 |
} |
| 193 |
|
| 194 |
.pf-text-warning { |
| 195 |
color: #ffb900; |
| 196 |
} |
| 197 |
|
| 198 |
.pf-text-error { |
| 199 |
color: #dc3232; |
| 200 |
} |
| 201 |
|
| 202 |
.pf-notice-success { |
| 203 |
border-left: 4px solid #46b450; |
| 204 |
} |
| 205 |
|
| 206 |
.pf-notice-warning { |
| 207 |
border-left: 4px solid #ffb900; |
| 208 |
} |
| 209 |
|
| 210 |
.pf-notice-error { |
| 211 |
border-left: 4px solid #dc3232; |
| 212 |
} |
| 213 |
|
| 214 |
.pf-alert-success{ |
| 215 |
padding:.75rem 1.25rem; |
| 216 |
color: #155724; |
| 217 |
background-color: #d4edda; |
| 218 |
border-color: #c3e6cb; |
| 219 |
border-radius: .25rem; |
| 220 |
} |
| 221 |
.pf-alert-warning{ |
| 222 |
padding:.75rem 1.25rem; |
| 223 |
color: #856404; |
| 224 |
background-color: #fff3cd; |
| 225 |
border-color: #ffeeba; |
| 226 |
border-radius: .25rem; |
| 227 |
} |
| 228 |
/* This hides messages depending on pro status */ |
| 229 |
.pf-notice-success .pf-pro-features{ |
| 230 |
display:none; |
| 231 |
} |
| 232 |
|
| 233 |
ol { |
| 234 |
list-style: circle !important; |
| 235 |
} |
| 236 |
|
| 237 |
|
| 238 |
.pf-algo-usage.pf-algo-usage-css input[type="text"] { |
| 239 |
width: 400px; |
| 240 |
} |
| 241 |
|
| 242 |
#custom-img { |
| 243 |
margin: 0 4.5em; |
| 244 |
} |
| 245 |
|
| 246 |
#enter-image-url { |
| 247 |
margin: 10px 0 0 30px; |
| 248 |
display: none; |
| 249 |
} |
| 250 |
|
| 251 |
#custom-image-rb:checked ~ #enter-image-url { |
| 252 |
display: block; |
| 253 |
} |
| 254 |
|
| 255 |
#pf-txt-attributes { |
| 256 |
display: none; |
| 257 |
margin: 1em 0; |
| 258 |
} |
| 259 |
|
| 260 |
#custom-text-rb:checked ~ #pf-txt-attributes { |
| 261 |
display: block; |
| 262 |
} |
| 263 |
|
| 264 |
#custom-logo { |
| 265 |
display: none; |
| 266 |
margin: 1em 0; |
| 267 |
} |
| 268 |
|
| 269 |
#icon-upload-an-image:checked ~ #custom-logo { |
| 270 |
display: block; |
| 271 |
} |
| 272 |
|
| 273 |
.pf-label-inline { |
| 274 |
display: flex; |
| 275 |
flex-direction: row; |
| 276 |
flex-wrap: nowrap; |
| 277 |
align-items: center; |
| 278 |
justify-content: flex-start; |
| 279 |
} |
| 280 |
|
| 281 |
.pf-label-inline label { |
| 282 |
width: 15%; |
| 283 |
} |
| 284 |
|
| 285 |
.pf-label-inline label ~ select { |
| 286 |
margin-left: 5%; |
| 287 |
} |
| 288 |
|
| 289 |
.pf-select2 { |
| 290 |
width: 50%; |
| 291 |
} |
| 292 |
|
| 293 |
.wp-core-ui select { |
| 294 |
min-width: 150px; |
| 295 |
margin-top: 0; |
| 296 |
} |
| 297 |
|
| 298 |
.pf-features .pf-bu-label { |
| 299 |
margin-top: 0; |
| 300 |
min-width: 250px; |
| 301 |
} |
| 302 |
|
| 303 |
.pf-features .pf-label-inline { |
| 304 |
align-items: flex-start; |
| 305 |
min-height: 70px; |
| 306 |
} |
| 307 |
|
| 308 |
.pf-features p.description { |
| 309 |
margin: 0 0 1em 0; |
| 310 |
} |
| 311 |
|
| 312 |
.pf-accordion > label::before { |
| 313 |
font-family: 'dashicons'; |
| 314 |
content: "\f139"; |
| 315 |
font-size: 22px; |
| 316 |
line-height: 1; |
| 317 |
vertical-align: middle; |
| 318 |
} |
| 319 |
|
| 320 |
.pf-accordion > label.ui-accordion-header-active::before { |
| 321 |
content: "\f140"; |
| 322 |
} |
| 323 |
|
| 324 |
p.description { |
| 325 |
margin: 0 0 2em 0; |
| 326 |
} |
| 327 |
|
| 328 |
p.description, span.description { |
| 329 |
font-size: 12px; |
| 330 |
} |
| 331 |
|
| 332 |
code { |
| 333 |
padding: 10px; |
| 334 |
display: block; |
| 335 |
overflow-wrap: anywhere; |
| 336 |
} |
| 337 |
|
| 338 |
code ~ p.description { |
| 339 |
margin-top: 10px; |
| 340 |
} |
| 341 |
|
| 342 |
.pf-button-img { |
| 343 |
border: none; |
| 344 |
-webkit-box-shadow: none; |
| 345 |
-moz-box-shadow: none; |
| 346 |
box-shadow: none; |
| 347 |
padding: 0; |
| 348 |
margin: 0; |
| 349 |
display: inline; |
| 350 |
vertical-align: middle; |
| 351 |
} |
| 352 |
|
| 353 |
.pf-button-img:not(:empty) ~ .pf-button-text { |
| 354 |
margin-left: 6px; |
| 355 |
} |
| 356 |
|
| 357 |
#custom-img-sizes { |
| 358 |
margin-top: 10px; |
| 359 |
} |
| 360 |
|
| 361 |
#custom_image_label img { |
| 362 |
max-width: 200px; |
| 363 |
} |
| 364 |
|
| 365 |
.small-text { |
| 366 |
font-size: smaller; |
| 367 |
} |
| 368 |
|
| 369 |
/* do not show any notices that do not belong to us */ |
| 370 |
.notice:not(.pf-notice) { |
| 371 |
display: none; |
| 372 |
} |
| 373 |
|
| 374 |
/** override bulma styles **/ |
| 375 |
|
| 376 |
.pf-regular-text { |
| 377 |
width: 25em !important; |
| 378 |
} |
| 379 |
|
| 380 |
|