acf.css
| 1 | /*-------------------------------------------------------------------------------------------- |
| 2 | * |
| 3 | * ACF manage field groups |
| 4 | * |
| 5 | *--------------------------------------------------------------------------------------------*/ |
| 6 | |
| 7 | #icon-edit { |
| 8 | background: url(../images/sprite.png) 0 0 no-repeat; |
| 9 | } |
| 10 | |
| 11 | #acf-cols { |
| 12 | position: relative; clear: both; |
| 13 | } |
| 14 | |
| 15 | #acf-col-left { |
| 16 | margin-right: 300px; |
| 17 | } |
| 18 | |
| 19 | #acf-col-left .tablenav, |
| 20 | #acf-col-left p.search-box { |
| 21 | display: none; |
| 22 | } |
| 23 | |
| 24 | #acf-col-left .wp-list-table .check-column { |
| 25 | padding-left: 5px; |
| 26 | } |
| 27 | |
| 28 | #acf-col-left .wp-list-table th#fields { |
| 29 | width: 25%; |
| 30 | } |
| 31 | |
| 32 | #acf-col-left .tablenav.bottom { |
| 33 | display: block; |
| 34 | } |
| 35 | |
| 36 | #acf-col-left form { |
| 37 | position: relative; |
| 38 | float: left; |
| 39 | width: 100%; |
| 40 | } |
| 41 | |
| 42 | #acf-col-right { |
| 43 | float: right; |
| 44 | width: 281px; |
| 45 | padding-top: 37px !important; |
| 46 | } |
| 47 | |
| 48 | h3.h2 { |
| 49 | font-family: "HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",sans-serif; |
| 50 | font-size: 25px; |
| 51 | line-height: 29px; |
| 52 | padding: 5px 0 4px 0; |
| 53 | margin: 0; |
| 54 | font-weight: normal; |
| 55 | } |
| 56 | |
| 57 | h3.h2 span { |
| 58 | color: #ccc; |
| 59 | } |
| 60 | |
| 61 | #acf-col-left .wp-list-table { |
| 62 | border-radius: 0; |
| 63 | border: 1px solid #E1E1E1; |
| 64 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); |
| 65 | } |
| 66 | |
| 67 | |
| 68 | |
| 69 | .acf-form-table { |
| 70 | max-width: 1100px; |
| 71 | } |
| 72 | |
| 73 | .acf-form-table > tbody > tr > th, |
| 74 | .acf-form-table > tbody > tr > td { |
| 75 | padding-bottom: 30px; |
| 76 | } |
| 77 | |
| 78 | .acf-export-form { |
| 79 | display: block; |
| 80 | } |
| 81 | |
| 82 | .acf-export-form select { |
| 83 | width: 100%; |
| 84 | } |
| 85 | |
| 86 | body.custom-fields_page_acf-settings .wp-pointer-arrow { |
| 87 | left: 15px !important; |
| 88 | } |
| 89 | |
| 90 | .wp-pointer-content ol { |
| 91 | padding: 0 15px; |
| 92 | margin-left: 1.5em; |
| 93 | } |
| 94 | |
| 95 | .acf-form-table pre, |
| 96 | .acf-form-table .pre { |
| 97 | padding: 10px; |
| 98 | margin: 0; |
| 99 | font-family: Monaco,"Andale Mono","Courier New",monospace !important; |
| 100 | resize: none; |
| 101 | height: auto; |
| 102 | width: 100%; |
| 103 | padding: 0; |
| 104 | border: 0 none; |
| 105 | border-radius: 0; |
| 106 | } |
| 107 | |
| 108 | .acf-form-table select option { |
| 109 | padding: 3px; |
| 110 | } |
| 111 | |
| 112 | |
| 113 | /*-------------------------------------------------------------------------- |
| 114 | * |
| 115 | * Columns |
| 116 | * |
| 117 | *-------------------------------------------------------------------------*/ |
| 118 | |
| 119 | .row-actions .inline { |
| 120 | display: none; |
| 121 | } |
| 122 | |
| 123 | |
| 124 | /*-------------------------------------------------------------------------- |
| 125 | * |
| 126 | * Add-Ons |
| 127 | * |
| 128 | *-------------------------------------------------------------------------*/ |
| 129 | |
| 130 | #add-ons { |
| 131 | margin-bottom: 20px; |
| 132 | } |
| 133 | |
| 134 | #add-ons .add-on { |
| 135 | float: left; |
| 136 | width: 220px; |
| 137 | margin: 10px; |
| 138 | } |
| 139 | |
| 140 | #add-ons .add-on h3 { |
| 141 | margin-top: 0.5em; |
| 142 | } |
| 143 | |
| 144 | #add-ons .add-on h3 a { |
| 145 | color: inherit; |
| 146 | text-decoration: none; |
| 147 | } |
| 148 | |
| 149 | #add-ons .add-on .inner { |
| 150 | min-height: 75px; |
| 151 | } |
| 152 | |
| 153 | #add-ons .add-on-active .button { |
| 154 | padding-left: 4px; |
| 155 | } |
| 156 | |
| 157 | #add-ons .add-on-active .tick { |
| 158 | width: 14px; |
| 159 | height: 14px; |
| 160 | display: block; |
| 161 | float: left; |
| 162 | margin: 4px 5px 0 0; |
| 163 | background: url(../images/sprite.png) -18px -318px no-repeat; |
| 164 | } |
| 165 | |
| 166 | #add-ons .add-on-title { |
| 167 | float: left; |
| 168 | width: 100%; |
| 169 | margin: 25px 0 25px; |
| 170 | border-top: #F5F5F5 solid 1px; |
| 171 | } |
| 172 | |
| 173 | |
| 174 | /*-------------------------------------------------------------------------- |
| 175 | * |
| 176 | * About (post update information) |
| 177 | * |
| 178 | *-------------------------------------------------------------------------*/ |
| 179 | |
| 180 | .acf-content { |
| 181 | font-size: 15px; |
| 182 | margin: 25px 40px 0 20px; |
| 183 | max-width: 1050px; |
| 184 | position: relative; |
| 185 | } |
| 186 | |
| 187 | |
| 188 | /* |
| 189 | * Title |
| 190 | */ |
| 191 | |
| 192 | .acf-content-title h1 { |
| 193 | color: #333333; |
| 194 | font-size: 2.8em; |
| 195 | font-weight: 200; |
| 196 | line-height: 1.2em; |
| 197 | margin: 0.2em 0 0; |
| 198 | } |
| 199 | |
| 200 | .acf-content-title h2 { |
| 201 | color: #777777; |
| 202 | font-size: 24px; |
| 203 | font-weight: normal; |
| 204 | line-height: 1.6em; |
| 205 | margin: 1em 0 1.4em; |
| 206 | font-family: "HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",sans-serif; |
| 207 | } |
| 208 | |
| 209 | |
| 210 | /* |
| 211 | * Tabs |
| 212 | */ |
| 213 | |
| 214 | .acf-content .nav-tab-wrapper { |
| 215 | padding-left: 6px; |
| 216 | margin-bottom: 30px; |
| 217 | } |
| 218 | |
| 219 | .acf-content .nav-tab-wrapper .nav-tab { |
| 220 | color: #21759B; |
| 221 | font-size: 18px; |
| 222 | margin: 0 3px -1px 0; |
| 223 | padding: 4px 10px 6px; |
| 224 | vertical-align: top; |
| 225 | } |
| 226 | |
| 227 | .acf-tab-content { |
| 228 | display: none; |
| 229 | } |
| 230 | |
| 231 | .acf-tab-content.active { |
| 232 | display: block; |
| 233 | } |
| 234 | |
| 235 | |
| 236 | |
| 237 | /* |
| 238 | * Body |
| 239 | */ |
| 240 | |
| 241 | .acf-content-body { |
| 242 | margin: 0 0 30px; |
| 243 | } |
| 244 | |
| 245 | .acf-content-body hr { |
| 246 | border: 0 none; |
| 247 | border-top: #DFDFDF solid 1px; |
| 248 | background: transparent; |
| 249 | margin: 30px 0; |
| 250 | clear: both; |
| 251 | } |
| 252 | |
| 253 | .acf-content-body h3 { |
| 254 | font-size: 24px; |
| 255 | margin: 2em 0 1em; |
| 256 | } |
| 257 | |
| 258 | .acf-content-body h4 { |
| 259 | color: #464646; |
| 260 | font-size: 1em; |
| 261 | margin: 2em 0 0.6em; |
| 262 | } |
| 263 | |
| 264 | .acf-content-body h4 + p { |
| 265 | margin-top: 0.6em; |
| 266 | } |
| 267 | |
| 268 | .acf-content-body p { |
| 269 | line-height: 1.6em; |
| 270 | |
| 271 | } |
| 272 | |
| 273 | #acf-add-ons-table { |
| 274 | |
| 275 | } |
| 276 | |
| 277 | #acf-add-ons-table img { |
| 278 | display: block; |
| 279 | width: 120px; |
| 280 | } |
| 281 | |
| 282 | |
| 283 | /* |
| 284 | * Footer |
| 285 | */ |
| 286 | |
| 287 | .acf-content-footer { |
| 288 | margin: 60px 0 30px; |
| 289 | } |
| 290 | |
| 291 | |
| 292 | /* |
| 293 | * Cangelog |
| 294 | */ |
| 295 | |
| 296 | .acf-content-body ul { |
| 297 | list-style: disc outside none; |
| 298 | padding-left: 30px; |
| 299 | } |
| 300 | |
| 301 | .acf-content-body ul li { |
| 302 | margin: 12px 0; |
| 303 | } |
| 304 | |
| 305 | .acf-content-body ul li a { |
| 306 | |
| 307 | } |
| 308 | |
| 309 | |
| 310 | /* |
| 311 | * Download |
| 312 | */ |
| 313 | |
| 314 | |
| 315 | #acf-download-add-ons-table { |
| 316 | width: auto; |
| 317 | min-width: 500px; |
| 318 | } |
| 319 | |
| 320 | #acf-download-add-ons-table img { |
| 321 | width: 50px; |
| 322 | } |
| 323 | |
| 324 | #acf-download-add-ons-table td { |
| 325 | vertical-align: middle; |
| 326 | } |
| 327 | |
| 328 | #acf-download-add-ons-table td.td-image { |
| 329 | width: 50px; |
| 330 | } |
| 331 | |
| 332 | #acf-download-add-ons-table td.td-name { |
| 333 | |
| 334 | } |
| 335 | |
| 336 | #acf-download-add-ons-table td.td-download { |
| 337 | width: 90px; |
| 338 | } |
| 339 | |
| 340 | |
| 341 | /*-------------------------------------------------------------------------- |
| 342 | * |
| 343 | * Retina |
| 344 | * |
| 345 | *-------------------------------------------------------------------------*/ |
| 346 | |
| 347 | @media |
| 348 | only screen and (-webkit-min-device-pixel-ratio: 2), |
| 349 | only screen and ( min--moz-device-pixel-ratio: 2), |
| 350 | only screen and ( -o-min-device-pixel-ratio: 2/1), |
| 351 | only screen and ( min-device-pixel-ratio: 2), |
| 352 | only screen and ( min-resolution: 192dpi), |
| 353 | only screen and ( min-resolution: 2dppx) { |
| 354 | |
| 355 | #icon-edit, |
| 356 | #icon-acf, |
| 357 | #add-ons .add-on.active .tick { |
| 358 | background-image: url(../images/sprite@2x.png); |
| 359 | background-size: 100px 600px; |
| 360 | } |
| 361 | |
| 362 | |
| 363 | } |