| 1 |
/* ppn-frontend.css */ |
| 2 |
/* network shortcode frontend styles, extracted from style.css */ |
| 3 |
/* |
| 4 |
* SECTIONS: |
| 5 |
* CONTAINER + HEADER |
| 6 |
* PROGRAM STYLES |
| 7 |
* EPISODE STYLES |
| 8 |
* DOWNLOAD LINK |
| 9 |
* SUBSCRIBE FORM |
| 10 |
* GRID VIEW |
| 11 |
* LIST VIEW |
| 12 |
* PROGRAM VIEW MISC |
| 13 |
* APPLICATION FORM |
| 14 |
* DISPLAY UTILITIES |
| 15 |
* SUBSCRIBE + SHARE STYLES |
| 16 |
*/ |
| 17 |
|
| 18 |
/* CONTAINER + HEADER */ |
| 19 |
|
| 20 |
.ppn-container { |
| 21 |
margin: 10px; |
| 22 |
font-family: 'Montserrat', sans-serif; |
| 23 |
} |
| 24 |
|
| 25 |
.ppn-header { |
| 26 |
text-align: center; |
| 27 |
} |
| 28 |
|
| 29 |
#ppn-header p { |
| 30 |
font-size: 18px; |
| 31 |
} |
| 32 |
|
| 33 |
#ppn-header h2 { |
| 34 |
font-size: 30px; |
| 35 |
text-shadow: 0 3px 4px rgba(63, 63, 63, 0.2); |
| 36 |
font-weight: 400; |
| 37 |
} |
| 38 |
|
| 39 |
#ppn-episode h3 { |
| 40 |
color: var(--pp-color-secondary); |
| 41 |
} |
| 42 |
|
| 43 |
#ppn-episode i { |
| 44 |
margin-top: 7px; |
| 45 |
display: block; |
| 46 |
padding: 0 0 0 55px; |
| 47 |
} |
| 48 |
|
| 49 |
/* PROGRAM STYLES */ |
| 50 |
|
| 51 |
.ppn-program-description, .ppn-program-talent-name { |
| 52 |
text-align: left; |
| 53 |
letter-spacing: 0; |
| 54 |
color: var(--pp-color-gray-800); |
| 55 |
font-weight: bold; |
| 56 |
opacity: 1; |
| 57 |
} |
| 58 |
|
| 59 |
.ppn-program-url a { |
| 60 |
text-align: left; |
| 61 |
letter-spacing: 0; |
| 62 |
color: var(--pp-color-secondary); |
| 63 |
opacity: 1; |
| 64 |
} |
| 65 |
|
| 66 |
div.ppn-artwork-inline { |
| 67 |
float: left; |
| 68 |
} |
| 69 |
|
| 70 |
.ppn-list-artwork, .ppn-program-artwork { |
| 71 |
max-width: 100%; |
| 72 |
} |
| 73 |
|
| 74 |
.ppn-program-row { |
| 75 |
border: 1px solid var(--pp-color-gray-600); |
| 76 |
padding: 20px; |
| 77 |
} |
| 78 |
|
| 79 |
.ppn-program-title { |
| 80 |
margin-top: 0; |
| 81 |
overflow: hidden; |
| 82 |
text-overflow: ellipsis; |
| 83 |
} |
| 84 |
|
| 85 |
@media screen and (max-width: 480px) { |
| 86 |
.ppn-program-title { |
| 87 |
font-size: larger; |
| 88 |
} |
| 89 |
} |
| 90 |
|
| 91 |
.ppn-program-detail * { |
| 92 |
color: var(--pp-color-gray-800); |
| 93 |
} |
| 94 |
|
| 95 |
.ppn-program-detail h2 { |
| 96 |
font-weight: bolder; |
| 97 |
} |
| 98 |
|
| 99 |
.ppn-program-sub-title { |
| 100 |
color: var(--pp-color-gray-800); |
| 101 |
font-size: x-large; |
| 102 |
font-weight: bolder; |
| 103 |
padding-top: 10px; |
| 104 |
} |
| 105 |
|
| 106 |
/* EPISODE STYLES */ |
| 107 |
|
| 108 |
.ppn-episode-title { |
| 109 |
color: var(--pp-color-gray-800); |
| 110 |
font-weight: bolder; |
| 111 |
} |
| 112 |
|
| 113 |
.ppn-episode-row { |
| 114 |
outline: 1px solid var(--pp-color-gray-600); |
| 115 |
padding: 20px; |
| 116 |
} |
| 117 |
|
| 118 |
.ppn-episode-date { |
| 119 |
color: var(--pp-color-gray-800); |
| 120 |
font-style: italic; |
| 121 |
font-size: larger; |
| 122 |
} |
| 123 |
|
| 124 |
.ppn-episode-description { |
| 125 |
color: var(--pp-color-gray-800); |
| 126 |
font-size: medium; |
| 127 |
} |
| 128 |
|
| 129 |
/* DOWNLOAD LINK */ |
| 130 |
|
| 131 |
.ppn-download-link { |
| 132 |
width: 150px; |
| 133 |
max-width: 250px; |
| 134 |
background-color: var(--pp-color-secondary); |
| 135 |
text-align: center; |
| 136 |
min-height: 40px; |
| 137 |
} |
| 138 |
|
| 139 |
@media screen and (max-width: 480px) { |
| 140 |
.ppn-download-link { |
| 141 |
max-width: 100%; |
| 142 |
} |
| 143 |
} |
| 144 |
|
| 145 |
.ppn-download-link div { |
| 146 |
color: var(--pp-color-white); |
| 147 |
font-weight: 100; |
| 148 |
font-size: 18px; |
| 149 |
line-height: 40px; |
| 150 |
vertical-align: middle; |
| 151 |
} |
| 152 |
|
| 153 |
.ppn-download-arrow { |
| 154 |
display: inline-block; |
| 155 |
background-image: url(../images/download.svg); |
| 156 |
background-repeat: no-repeat; |
| 157 |
width: 30px; |
| 158 |
height: 30px; |
| 159 |
} |
| 160 |
|
| 161 |
/* SUBSCRIBE FORM */ |
| 162 |
|
| 163 |
/* shared sub-alert structure */ |
| 164 |
.sub-success, |
| 165 |
.sub-error { |
| 166 |
display: flex; |
| 167 |
width: 100%; |
| 168 |
margin-bottom: 10px; |
| 169 |
} |
| 170 |
|
| 171 |
.sub-success { |
| 172 |
border: 1px solid #06843A; |
| 173 |
color: #06843A; |
| 174 |
} |
| 175 |
|
| 176 |
.sub-success-icon { |
| 177 |
background-color: #06843A; |
| 178 |
margin: -1px; |
| 179 |
} |
| 180 |
|
| 181 |
.sub-success-icon-check { |
| 182 |
width: 100%; |
| 183 |
height: 100%; |
| 184 |
min-height: 50px; |
| 185 |
min-width: 80px; |
| 186 |
background-size: 40px 40px !important; |
| 187 |
background: url(../images/circlecheck.svg) center no-repeat; |
| 188 |
} |
| 189 |
|
| 190 |
.sub-error { |
| 191 |
border: 1px solid #B2201A; |
| 192 |
color: #B2201A; |
| 193 |
} |
| 194 |
|
| 195 |
.sub-error-icon { |
| 196 |
background-color: #B2201A; |
| 197 |
margin: -1px; |
| 198 |
} |
| 199 |
|
| 200 |
.sub-error-icon-check { |
| 201 |
width: 100%; |
| 202 |
height: 100%; |
| 203 |
min-height: 50px; |
| 204 |
min-width: 80px; |
| 205 |
background-size: 40px 40px !important; |
| 206 |
background: url(../images/circleerror.svg) center no-repeat; |
| 207 |
} |
| 208 |
|
| 209 |
.sub-alert-text { |
| 210 |
padding: 15px; |
| 211 |
vertical-align: center; |
| 212 |
} |
| 213 |
|
| 214 |
.sub-form { |
| 215 |
padding: 20px; |
| 216 |
} |
| 217 |
|
| 218 |
.sub-checkbox-cl { |
| 219 |
display: none; |
| 220 |
} |
| 221 |
|
| 222 |
.sub-checkbox-cl-label { |
| 223 |
display: inline-block; |
| 224 |
position: relative; |
| 225 |
vertical-align: middle; |
| 226 |
margin: 5px; |
| 227 |
cursor: pointer; |
| 228 |
font-weight: normal; |
| 229 |
} |
| 230 |
|
| 231 |
.sub-checkbox-cl + .sub-checkbox-cl-label:before { |
| 232 |
content: ''; |
| 233 |
background: var(--pp-color-gray-300); |
| 234 |
border-radius: 5px; |
| 235 |
border: 2px solid var(--pp-color-gray-300); |
| 236 |
display: inline-block; |
| 237 |
vertical-align: middle; |
| 238 |
width: 20px; |
| 239 |
height: 20px; |
| 240 |
padding: 2px; |
| 241 |
margin-right: 10px; |
| 242 |
text-align: center; |
| 243 |
} |
| 244 |
|
| 245 |
.sub-checkbox-cl:checked + .sub-checkbox-cl-label:after { |
| 246 |
content: ""; |
| 247 |
padding: 2px; |
| 248 |
text-align: center; |
| 249 |
position: absolute; |
| 250 |
width: 1px; |
| 251 |
height: 12px; |
| 252 |
border: solid #1C7CD5; |
| 253 |
border-width: 0 3px 3px 0; |
| 254 |
transform: rotate(45deg); |
| 255 |
-webkit-transform: rotate(45deg); |
| 256 |
-ms-transform: rotate(45deg); |
| 257 |
top: 6px; |
| 258 |
left: 6px; |
| 259 |
} |
| 260 |
|
| 261 |
.sub-checkbox-cl:checked { |
| 262 |
background: #1C7CD5; |
| 263 |
} |
| 264 |
|
| 265 |
.sub-btn { |
| 266 |
width: 150px; |
| 267 |
height: 40px; |
| 268 |
text-align: center; |
| 269 |
border: none; |
| 270 |
border-radius: var(--pp-border-radius); |
| 271 |
margin-top: 10px; |
| 272 |
background-color: var(--pp-color-secondary); |
| 273 |
color: var(--pp-color-white); |
| 274 |
cursor: pointer; |
| 275 |
} |
| 276 |
|
| 277 |
/* screen-reader-only: visually hidden but accessible */ |
| 278 |
.ppn-form-div .sr-only { |
| 279 |
position: absolute; |
| 280 |
width: 1px; |
| 281 |
height: 1px; |
| 282 |
padding: 0; |
| 283 |
margin: -1px; |
| 284 |
overflow: hidden; |
| 285 |
clip: rect(0, 0, 0, 0); |
| 286 |
border: 0; |
| 287 |
} |
| 288 |
|
| 289 |
.ppn-form-div { |
| 290 |
max-width: 600px; |
| 291 |
margin: 0 auto; |
| 292 |
} |
| 293 |
|
| 294 |
.ppn-form-div .form-control { |
| 295 |
width: 100%; |
| 296 |
box-sizing: border-box; |
| 297 |
padding: 10px 14px; |
| 298 |
margin-bottom: 14px; |
| 299 |
border: 1px solid var(--pp-color-gray-400); |
| 300 |
border-radius: var(--pp-border-radius); |
| 301 |
font-size: 15px; |
| 302 |
font-family: inherit; |
| 303 |
line-height: 1.5; |
| 304 |
} |
| 305 |
|
| 306 |
.ppn-form-div .form-control:focus { |
| 307 |
border-color: var(--pp-color-secondary); |
| 308 |
outline: none; |
| 309 |
box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.2); |
| 310 |
} |
| 311 |
|
| 312 |
.ppn-form-div textarea.form-control { |
| 313 |
resize: vertical; |
| 314 |
} |
| 315 |
|
| 316 |
.ppn-form-div .form-group br { |
| 317 |
display: none; |
| 318 |
} |
| 319 |
|
| 320 |
/* GRID VIEW */ |
| 321 |
|
| 322 |
.ppn-grid-header { |
| 323 |
margin: 20px 0; |
| 324 |
justify-content: center; |
| 325 |
grid-gap: 12px; |
| 326 |
} |
| 327 |
|
| 328 |
.ppn-grid-rows { |
| 329 |
position: relative; |
| 330 |
top: 0; |
| 331 |
left: 0; |
| 332 |
width: 100%; |
| 333 |
margin-bottom: 0; |
| 334 |
} |
| 335 |
|
| 336 |
.ppn-grid-cell { |
| 337 |
position: relative; |
| 338 |
align-content: center; |
| 339 |
} |
| 340 |
|
| 341 |
/* hover effect via modifier class, toggled by shortcode attr */ |
| 342 |
.ppn-grid-cell--hover { |
| 343 |
transition: transform 0.2s ease, box-shadow 0.2s ease; |
| 344 |
} |
| 345 |
|
| 346 |
.ppn-grid-cell--hover:hover { |
| 347 |
transform: scale(1.1); |
| 348 |
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25); |
| 349 |
} |
| 350 |
|
| 351 |
.ppn-grid-img { |
| 352 |
align-items: center; |
| 353 |
justify-content: center; |
| 354 |
display: block; |
| 355 |
} |
| 356 |
|
| 357 |
.ppn-grid-title { |
| 358 |
line-height: 1.5em; |
| 359 |
height: 3em; |
| 360 |
overflow: hidden; |
| 361 |
} |
| 362 |
|
| 363 |
.ppn-grid-title:hover { |
| 364 |
cursor: hand; |
| 365 |
} |
| 366 |
|
| 367 |
.ppn-title { |
| 368 |
font-size: 100%; |
| 369 |
margin-top: 5px; |
| 370 |
padding-bottom: 5px; |
| 371 |
color: var(--pp-color-white); |
| 372 |
} |
| 373 |
|
| 374 |
.ppn-title a { |
| 375 |
color: inherit; |
| 376 |
} |
| 377 |
|
| 378 |
.ppn-img { |
| 379 |
width: 100%; |
| 380 |
height: 100%; |
| 381 |
position: absolute; |
| 382 |
object-fit: cover; |
| 383 |
} |
| 384 |
|
| 385 |
.square { |
| 386 |
position: relative; |
| 387 |
display: block; |
| 388 |
width: 100%; |
| 389 |
padding-bottom: 100%; |
| 390 |
} |
| 391 |
|
| 392 |
.square:after { |
| 393 |
content: ""; |
| 394 |
display: block; |
| 395 |
} |
| 396 |
|
| 397 |
/* centered content container for grid cells */ |
| 398 |
.ppn-centered-content { |
| 399 |
margin-left: auto; |
| 400 |
margin-right: auto; |
| 401 |
outline: 1px solid var(--pp-color-gray-800); |
| 402 |
} |
| 403 |
|
| 404 |
/* bg color when grid titles are displayed */ |
| 405 |
.ppn-centered-content--titled { |
| 406 |
background-color: var(--pp-color-gray-800); |
| 407 |
} |
| 408 |
|
| 409 |
/* LIST VIEW */ |
| 410 |
|
| 411 |
.ppn-list-description { |
| 412 |
color: var(--pp-color-gray-800); |
| 413 |
font-size: medium; |
| 414 |
margin-bottom: 15px; |
| 415 |
} |
| 416 |
|
| 417 |
/* PROGRAM VIEW MISC */ |
| 418 |
|
| 419 |
.podcast-filename { |
| 420 |
margin-top: 2%; |
| 421 |
margin-bottom: 1%; |
| 422 |
} |
| 423 |
|
| 424 |
.audio-tag-filename { |
| 425 |
width: 100%; |
| 426 |
margin: 2%; |
| 427 |
} |
| 428 |
|
| 429 |
.podcast-summary-paragraph { |
| 430 |
color: black; |
| 431 |
font-size: small; |
| 432 |
} |
| 433 |
|
| 434 |
.text-decoration-none { |
| 435 |
text-decoration: none; |
| 436 |
} |
| 437 |
|
| 438 |
/* APPLICATION FORM */ |
| 439 |
|
| 440 |
.app-paragraphs { |
| 441 |
color: var(--pp-color-gray-900); |
| 442 |
margin: 0; |
| 443 |
font-size: large; |
| 444 |
} |
| 445 |
|
| 446 |
.app-form-border { |
| 447 |
border: none; |
| 448 |
} |
| 449 |
|
| 450 |
.tos-color { |
| 451 |
color: var(--pp-color-secondary); |
| 452 |
} |
| 453 |
|
| 454 |
/* DISPLAY UTILITIES */ |
| 455 |
|
| 456 |
.display-inline { |
| 457 |
display: inline; |
| 458 |
} |
| 459 |
|
| 460 |
.display-inline-block { |
| 461 |
display: inline-block; |
| 462 |
} |
| 463 |
|
| 464 |
.word-break { |
| 465 |
word-break: break-all; |
| 466 |
} |
| 467 |
|
| 468 |
/* SUBSCRIBE + SHARE STYLES */ |
| 469 |
|
| 470 |
.ppn-subscribe-style { |
| 471 |
color: white; |
| 472 |
padding: 3px; |
| 473 |
} |
| 474 |
|
| 475 |
.ppn-share-style { |
| 476 |
color: white; |
| 477 |
padding: 5px; |
| 478 |
} |
| 479 |
|
| 480 |
.ppn-margin-bottom { |
| 481 |
margin-bottom: 0; |
| 482 |
} |
| 483 |
|
| 484 |
.ppn-claim-style { |
| 485 |
font-family: Roboto, Arial, Helvetica, sans-serif; |
| 486 |
} |
| 487 |
|
| 488 |
.ppn-padding { |
| 489 |
padding: 0; |
| 490 |
} |
| 491 |
|