pro
2 weeks ago
_acf-headerbar.scss
1 year ago
_acf-icon-picker.scss
1 year ago
_admin-inputs.scss
1 year ago
_admin-toolbar.scss
1 year ago
_btn.scss
1 year ago
_dark.scss
1 year ago
_edit-field-group.scss
1 year ago
_field-group.scss
1 year ago
_field-picker.scss
1 year ago
_field-type-icons.scss
1 year ago
_fields.scss
1 month ago
_forms.scss
11 months ago
_global.scss
1 year ago
_icons.scss
1 year ago
_input.scss
1 year ago
_list-table.scss
1 year ago
_media.scss
1 year ago
_mixins.scss
1 year ago
_post-types-taxonomies.scss
1 year ago
_postbox.scss
1 year ago
_pro-upgrade.scss
1 year ago
_sub-field-groups.scss
1 year ago
_tools.scss
1 year ago
_typography.scss
1 year ago
_updates.scss
1 year ago
_variables.scss
1 year ago
acf-dark.scss
1 year ago
acf-field-group.scss
7 months ago
acf-global.scss
2 months ago
acf-input.scss
1 month ago
_tools.scss
185 lines
| 1 | /*--------------------------------------------------------------------------------------------- |
| 2 | * |
| 3 | * Tools page layout |
| 4 | * |
| 5 | *---------------------------------------------------------------------------------------------*/ |
| 6 | #acf-admin-tools { |
| 7 | |
| 8 | .postbox-header { |
| 9 | display: none; // Hide native WP postbox headers |
| 10 | } |
| 11 | |
| 12 | .acf-meta-box-wrap.-grid { |
| 13 | margin: { |
| 14 | top: 0; |
| 15 | right: 0; |
| 16 | bottom: 0; |
| 17 | left: 0; |
| 18 | }; |
| 19 | |
| 20 | .postbox { |
| 21 | width: 100%; |
| 22 | clear: none; |
| 23 | float: none; |
| 24 | margin: { |
| 25 | bottom: 0; |
| 26 | }; |
| 27 | |
| 28 | @media screen and (max-width: $md) { |
| 29 | flex: 1 1 100%; |
| 30 | } |
| 31 | |
| 32 | } |
| 33 | |
| 34 | } |
| 35 | |
| 36 | .acf-meta-box-wrap.-grid .postbox:nth-child(odd) { |
| 37 | margin: { |
| 38 | left: 0; |
| 39 | }; |
| 40 | } |
| 41 | |
| 42 | .meta-box-sortables { |
| 43 | display: grid; |
| 44 | grid-template-columns: repeat(2, 1fr); |
| 45 | grid-template-rows: repeat(1, 1fr); |
| 46 | grid-column-gap: 32px; |
| 47 | grid-row-gap: 32px; |
| 48 | |
| 49 | @media screen and (max-width: $md) { |
| 50 | display: flex; |
| 51 | flex-wrap: wrap; |
| 52 | justify-content: flex-start; |
| 53 | align-content: flex-start; |
| 54 | align-items: center; |
| 55 | grid-column-gap: 8px; |
| 56 | grid-row-gap: 8px; |
| 57 | } |
| 58 | |
| 59 | } |
| 60 | |
| 61 | } |
| 62 | |
| 63 | /*--------------------------------------------------------------------------------------------- |
| 64 | * |
| 65 | * Tools export pages |
| 66 | * |
| 67 | *---------------------------------------------------------------------------------------------*/ |
| 68 | #acf-admin-tools { |
| 69 | |
| 70 | &.tool-export { |
| 71 | |
| 72 | .inside { |
| 73 | margin: 0; |
| 74 | } |
| 75 | |
| 76 | // ACF custom postbox header |
| 77 | .acf-postbox-header { |
| 78 | margin: { |
| 79 | bottom: 24px; |
| 80 | }; |
| 81 | } |
| 82 | |
| 83 | // Main postbox area |
| 84 | .acf-postbox-main { |
| 85 | border: none; |
| 86 | margin: 0; |
| 87 | padding: { |
| 88 | top: 0; |
| 89 | right: 24px; |
| 90 | bottom: 0; |
| 91 | left: 0; |
| 92 | }; |
| 93 | } |
| 94 | |
| 95 | .acf-postbox-columns { |
| 96 | margin: { |
| 97 | top: 0; |
| 98 | right: 280px; |
| 99 | bottom: 0; |
| 100 | left: 0; |
| 101 | }; |
| 102 | padding: 0; |
| 103 | |
| 104 | .acf-postbox-side { |
| 105 | padding: 0; |
| 106 | |
| 107 | .acf-panel { |
| 108 | margin: 0; |
| 109 | padding: 0; |
| 110 | } |
| 111 | |
| 112 | &:before { |
| 113 | display: none; |
| 114 | } |
| 115 | |
| 116 | .acf-btn { |
| 117 | display: block; |
| 118 | width: 100%; |
| 119 | text-align: center; |
| 120 | } |
| 121 | |
| 122 | } |
| 123 | |
| 124 | } |
| 125 | |
| 126 | .meta-box-sortables { |
| 127 | display: block; |
| 128 | } |
| 129 | |
| 130 | .acf-panel { |
| 131 | border: none; |
| 132 | |
| 133 | h3 { |
| 134 | margin: 0; |
| 135 | padding: 0; |
| 136 | color: $gray-700; |
| 137 | @extend .p4; |
| 138 | |
| 139 | &:before { |
| 140 | display: none; |
| 141 | } |
| 142 | |
| 143 | } |
| 144 | |
| 145 | } |
| 146 | |
| 147 | .acf-checkbox-list { |
| 148 | margin: { |
| 149 | top: 16px; |
| 150 | }; |
| 151 | border: { |
| 152 | width: 1px; |
| 153 | style: solid; |
| 154 | color: $gray-300; |
| 155 | }; |
| 156 | border-radius: $radius-md; |
| 157 | |
| 158 | li { |
| 159 | display: inline-flex; |
| 160 | box-sizing: border-box; |
| 161 | width: 100%; |
| 162 | height: 48px; |
| 163 | align-items: center; |
| 164 | margin: 0; |
| 165 | padding: { |
| 166 | right: 12px; |
| 167 | left: 12px; |
| 168 | }; |
| 169 | border-bottom: { |
| 170 | width: 1px; |
| 171 | style: solid; |
| 172 | color: $gray-200; |
| 173 | }; |
| 174 | |
| 175 | &:last-child { |
| 176 | border-bottom: none; |
| 177 | } |
| 178 | |
| 179 | } |
| 180 | |
| 181 | } |
| 182 | |
| 183 | } |
| 184 | |
| 185 | } |