| 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 |
.wpupg-admin-modal-field-order { |
| 195 |
max-height: 200px; |
| 196 |
max-width: 300px; |
| 197 |
overflow: scroll; |
| 198 |
|
| 199 |
.wpupg-admin-modal-field-order-item { |
| 200 |
background-color: white; |
| 201 |
border: 1px dotted black; |
| 202 |
border-radius: 3px; |
| 203 |
|
| 204 |
padding: 2px 5px; |
| 205 |
margin-bottom: 5px; |
| 206 |
|
| 207 |
&:hover { |
| 208 |
border-style: solid; |
| 209 |
} |
| 210 |
} |
| 211 |
} |
| 212 |
|
| 213 |
.wpupg-admin-modal-field-icon { |
| 214 |
cursor: pointer; |
| 215 |
|
| 216 |
&.wpupg-admin-modal-field-icon-none { |
| 217 |
opacity: 0.3; |
| 218 |
} |
| 219 |
} |
| 220 |
} |
| 221 |
|
| 222 |
// Part of tooltip, so not inside of wpupg-admin-modal. |
| 223 |
.wpupg-admin-modal-field-icons-container { |
| 224 |
text-align: center; |
| 225 |
|
| 226 |
.wpupg-admin-modal-field-icons { |
| 227 |
display: flex; |
| 228 |
flex-wrap: wrap; |
| 229 |
max-width: 156px; |
| 230 |
|
| 231 |
.wpupg-admin-modal-field-icons-icon { |
| 232 |
margin: 5px; |
| 233 |
cursor: pointer; |
| 234 |
} |
| 235 |
} |
| 236 |
|
| 237 |
a { |
| 238 |
font-size: 0.8em; |
| 239 |
} |
| 240 |
} |
| 241 |
|
| 242 |
@media screen and (min-width: 782px) { |
| 243 |
.wpupg-admin-modal { |
| 244 |
.wpupg-admin-modal-field-radio-option { |
| 245 |
label { |
| 246 |
font-size: 14px; |
| 247 |
line-height: 18px; |
| 248 |
} |
| 249 |
} |
| 250 |
|
| 251 |
.wpupg-admin-modal-fields-group-header { |
| 252 |
text-align: left; |
| 253 |
} |
| 254 |
|
| 255 |
.wpupg-admin-modal-fields-group { |
| 256 |
padding-bottom: 50px; |
| 257 |
} |
| 258 |
|
| 259 |
.wpupg-admin-modal-fields { |
| 260 |
padding: 0 20px; |
| 261 |
} |
| 262 |
|
| 263 |
.wpupg-admin-modal-field-container { |
| 264 |
display: flex; |
| 265 |
width: 100%; |
| 266 |
} |
| 267 |
|
| 268 |
.wpupg-admin-modal-field-label { |
| 269 |
flex-shrink: 0; |
| 270 |
width: 180px; |
| 271 |
text-align: right; |
| 272 |
padding-right: 20px; |
| 273 |
} |
| 274 |
|
| 275 |
.wpupg-admin-modal-field-container-radio { |
| 276 |
.wpupg-admin-modal-field-label { |
| 277 |
margin-top: 2px; |
| 278 |
} |
| 279 |
} |
| 280 |
|
| 281 |
.wpupg-admin-modal-field { |
| 282 |
flex: auto; |
| 283 |
margin-bottom: 15px; |
| 284 |
} |
| 285 |
} |
| 286 |
} |