| 1 |
.wpupg-admin-modal { |
| 2 |
|
| 3 |
input[type=checkbox]=checkbox] { |
| 4 |
border-radius: 4px; |
| 5 |
border-color: hsl(0,0%,80%); |
| 6 |
margin-top: 10px; |
| 7 |
} |
| 8 |
|
| 9 |
input[type=text]=text], |
| 10 |
input[type=number]=number], |
| 11 |
input[type=url]=url], |
| 12 |
input[type=email]=email], |
| 13 |
textarea { |
| 14 |
width: 100%; |
| 15 |
max-width: 600px; |
| 16 |
border-radius: 4px; |
| 17 |
border-color: hsl(0,0%,80%); |
| 18 |
padding: 10px; |
| 19 |
margin: 0; |
| 20 |
line-height: 1; |
| 21 |
|
| 22 |
&::placeholder { |
| 23 |
color: #444; |
| 24 |
opacity: 0.333; |
| 25 |
} |
| 26 |
|
| 27 |
&[type=number]=number] { |
| 28 |
height: 39px; |
| 29 |
padding-right: 5px; |
| 30 |
} |
| 31 |
} |
| 32 |
|
| 33 |
input[type=number]=number] { |
| 34 |
max-width: 100px; |
| 35 |
} |
| 36 |
.wpupg-admin-modal-field-number-suffix { |
| 37 |
margin-left: 7px; |
| 38 |
} |
| 39 |
|
| 40 |
.wpupg-admin-modal-field-filter { |
| 41 |
display: flex; |
| 42 |
flex-wrap: wrap; |
| 43 |
align-items: center; |
| 44 |
|
| 45 |
input.wpupg-admin-modal-field-filter-label { |
| 46 |
margin: 0 5px 0 10px; |
| 47 |
max-width: 215px; |
| 48 |
} |
| 49 |
|
| 50 |
input.wpupg-admin-modal-field-filter-id { |
| 51 |
margin: 0 10px 0 5px; |
| 52 |
max-width: 150px; |
| 53 |
} |
| 54 |
|
| 55 |
.wpupg-admin-modal-field-filter-order-disabled { |
| 56 |
opacity: 0.1; |
| 57 |
cursor: default; |
| 58 |
} |
| 59 |
|
| 60 |
.wpupg-admin-modal-field-filter-remove { |
| 61 |
margin-left: 10px |
| 62 |
} |
| 63 |
} |
| 64 |
|
| 65 |
.wpupg-admin-modal-field-color { |
| 66 |
margin-top: 7px; |
| 67 |
} |
| 68 |
|
| 69 |
.wpupg-admin-modal-field-colors { |
| 70 |
display: flex; |
| 71 |
justify-content: space-between; |
| 72 |
align-items: center; |
| 73 |
|
| 74 |
max-width: 400px; |
| 75 |
|
| 76 |
.wpupg-admin-modal-field-colors-color { |
| 77 |
display: flex; |
| 78 |
align-items: center; |
| 79 |
|
| 80 |
.wpupg-admin-modal-field-colors-color-label { |
| 81 |
margin-left: 7px; |
| 82 |
} |
| 83 |
} |
| 84 |
} |
| 85 |
|
| 86 |
.wpupg-admin-modal-field-columns { |
| 87 |
display: flex; |
| 88 |
justify-content: space-between; |
| 89 |
align-items: center; |
| 90 |
|
| 91 |
max-width: 400px; |
| 92 |
|
| 93 |
.wpupg-admin-modal-field-columns-column { |
| 94 |
display: flex; |
| 95 |
align-items: center; |
| 96 |
} |
| 97 |
} |
| 98 |
|
| 99 |
.wpupg-admin-modal-field-radio-option { |
| 100 |
margin-bottom: 5px; |
| 101 |
|
| 102 |
&:first-child { |
| 103 |
margin-top: 8px; |
| 104 |
} |
| 105 |
|
| 106 |
input { |
| 107 |
width: 16px; |
| 108 |
height: 16px; |
| 109 |
margin-top: 1px; |
| 110 |
border-color: hsl(0,0%,80%); |
| 111 |
|
| 112 |
&:checked:before { |
| 113 |
margin: 3px; |
| 114 |
width: 8px; |
| 115 |
height: 8px; |
| 116 |
} |
| 117 |
} |
| 118 |
|
| 119 |
label { |
| 120 |
font-size: 16px; |
| 121 |
line-height: 20px; |
| 122 |
} |
| 123 |
} |
| 124 |
|
| 125 |
.wpupg-admin-modal-fields-group-header { |
| 126 |
text-align: center; |
| 127 |
font-size: 18px; |
| 128 |
font-weight: 300; |
| 129 |
text-transform: uppercase; |
| 130 |
color: #999; |
| 131 |
border-bottom: 1px solid #999; |
| 132 |
margin-bottom: 20px; |
| 133 |
padding-bottom: 10px; |
| 134 |
} |
| 135 |
|
| 136 |
.wpupg-admin-modal-field-label { |
| 137 |
font-weight: bold; |
| 138 |
margin-top: 10px; |
| 139 |
margin-bottom: 2px; |
| 140 |
font-size: 14px; |
| 141 |
} |
| 142 |
|
| 143 |
.wpupg-admin-icon-help { |
| 144 |
display: inline-block; |
| 145 |
margin-top: 0; |
| 146 |
margin-left: 5px; |
| 147 |
|
| 148 |
border: 1px solid #444; |
| 149 |
border-radius: 100%; |
| 150 |
opacity: 1; |
| 151 |
|
| 152 |
width: 16px; |
| 153 |
height: 16px; |
| 154 |
text-align: center; |
| 155 |
font-size: 12px; |
| 156 |
|
| 157 |
svg { |
| 158 |
width: 10px; |
| 159 |
height: 9px; |
| 160 |
margin-bottom: 2px; |
| 161 |
} |
| 162 |
|
| 163 |
&:hover { |
| 164 |
background-color: #444; |
| 165 |
|
| 166 |
svg { |
| 167 |
g, |
| 168 |
path { |
| 169 |
fill: white; |
| 170 |
} |
| 171 |
} |
| 172 |
} |
| 173 |
} |
| 174 |
|
| 175 |
.wpupg-admin-modal-field { |
| 176 |
margin-bottom: 30px; |
| 177 |
} |
| 178 |
|
| 179 |
.wpupg-admin-modal-field-tinymce-container { |
| 180 |
max-width: 650px; |
| 181 |
height: 100%; |
| 182 |
|
| 183 |
* { |
| 184 |
box-sizing: content-box; |
| 185 |
} |
| 186 |
|
| 187 |
textarea { |
| 188 |
border-radius: 0; |
| 189 |
box-sizing: border-box; |
| 190 |
min-height: 100px; |
| 191 |
} |
| 192 |
} |
| 193 |
} |
| 194 |
|
| 195 |
@media screen and (min-width: 782px) { |
| 196 |
.wpupg-admin-modal { |
| 197 |
.wpupg-admin-modal-field-radio-option { |
| 198 |
label { |
| 199 |
font-size: 14px; |
| 200 |
line-height: 18px; |
| 201 |
} |
| 202 |
} |
| 203 |
|
| 204 |
.wpupg-admin-modal-fields-group-header { |
| 205 |
text-align: left; |
| 206 |
} |
| 207 |
|
| 208 |
.wpupg-admin-modal-fields-group { |
| 209 |
padding-bottom: 50px; |
| 210 |
} |
| 211 |
|
| 212 |
.wpupg-admin-modal-fields { |
| 213 |
padding: 0 20px; |
| 214 |
} |
| 215 |
|
| 216 |
.wpupg-admin-modal-field-container { |
| 217 |
display: flex; |
| 218 |
width: 100%; |
| 219 |
} |
| 220 |
|
| 221 |
.wpupg-admin-modal-field-label { |
| 222 |
flex-shrink: 0; |
| 223 |
width: 180px; |
| 224 |
text-align: right; |
| 225 |
padding-right: 20px; |
| 226 |
} |
| 227 |
|
| 228 |
.wpupg-admin-modal-field-container-radio { |
| 229 |
.wpupg-admin-modal-field-label { |
| 230 |
margin-top: 2px; |
| 231 |
} |
| 232 |
} |
| 233 |
|
| 234 |
.wpupg-admin-modal-field { |
| 235 |
flex: auto; |
| 236 |
margin-bottom: 15px; |
| 237 |
} |
| 238 |
} |
| 239 |
} |