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