| 1 |
/** |
| 2 |
* TinyMCE and QuickTag Modals |
| 3 |
*/ |
| 4 |
#convertkit-modal-body #convertkit-modal-body-body { |
| 5 |
/* Scroll inner contents so that modal height doesn't need to exceed screen resolution. */ |
| 6 |
overflow-y: auto; |
| 7 |
} |
| 8 |
#convertkit-modal-body-body .notice-error { |
| 9 |
background: #f5eeee; |
| 10 |
border: 1px solid #c3c4c7; |
| 11 |
border-left-width: 4px; |
| 12 |
box-shadow: 0 1px 1px rgba(0,0,0,.04); |
| 13 |
margin: 20px 20px 0 20px; |
| 14 |
padding: 1px 12px; |
| 15 |
border-left-color: #d63638; |
| 16 |
} |
| 17 |
.convertkit-option { |
| 18 |
display: grid; |
| 19 |
grid-template-areas: "left right"; |
| 20 |
grid-template-columns: 150px auto; |
| 21 |
grid-column-gap: 5px; |
| 22 |
grid-row-gap: 5px; |
| 23 |
justify-items: start; |
| 24 |
text-align: left; |
| 25 |
padding: 10px 15px; |
| 26 |
border-width: 1px 0; |
| 27 |
border-style: solid; |
| 28 |
border-top: none; |
| 29 |
border-bottom-color: #dfdfdf; |
| 30 |
background-color: #f5f5f5; |
| 31 |
-webkit-box-sizing: border-box; |
| 32 |
-moz-box-sizing: border-box; |
| 33 |
box-sizing: border-box; |
| 34 |
} |
| 35 |
.convertkit-option:nth-child(odd) { |
| 36 |
background-color: #fcfcfc; |
| 37 |
} |
| 38 |
.convertkit-option div.left { |
| 39 |
width: 100%; |
| 40 |
grid-area: left; |
| 41 |
-webkit-box-sizing: border-box; |
| 42 |
-moz-box-sizing: border-box; |
| 43 |
box-sizing: border-box; |
| 44 |
} |
| 45 |
.convertkit-option div.left *:not(input) { |
| 46 |
line-height: 27px; |
| 47 |
} |
| 48 |
.convertkit-option div.right { |
| 49 |
width: 100%; |
| 50 |
line-height: 27px; |
| 51 |
grid-area: right; |
| 52 |
-webkit-box-sizing: border-box; |
| 53 |
-moz-box-sizing: border-box; |
| 54 |
box-sizing: border-box; |
| 55 |
} |
| 56 |
.convertkit-option input, |
| 57 |
.convertkit-option select { |
| 58 |
border: 1px solid #8c8f94; |
| 59 |
} |
| 60 |
.convertkit-option p { |
| 61 |
white-space: normal; |
| 62 |
} |
| 63 |
|
| 64 |
/** |
| 65 |
* Ensures consistent styling applied to 'Select color' button |
| 66 |
* provided by WordPress' color picker across TinyMCE and QuickTag modals |
| 67 |
*/ |
| 68 |
.convertkit-option .wp-color-result-text { |
| 69 |
background: #f6f7f7; |
| 70 |
border-radius: 0 2px 2px 0; |
| 71 |
border-left: 1px solid #c3c4c7; |
| 72 |
color: #50575e; |
| 73 |
display: block; |
| 74 |
line-height: 2.54545455; |
| 75 |
padding: 0 6px; |
| 76 |
font-size: 11px; |
| 77 |
text-align: center; |
| 78 |
} |
| 79 |
|