PluginProbe ʕ •ᴥ•ʔ
Secure Custom Fields / 6.9.1
Secure Custom Fields v6.9.1
6.9.1 6.9.0 6.8.9 6.8.7 6.8.8 6.8.6 6.8.4 6.8.5 trunk 6.4.0-beta1 6.4.0-beta2 6.4.1 6.4.1-beta3 6.4.1-beta4 6.4.1-beta5 6.4.1-beta6 6.4.1-beta7 6.4.2 6.5.0 6.5.1 6.5.2 6.5.3 6.5.4 6.5.5 6.5.6 6.5.7 6.6.0 6.7.0 6.7.1 6.8.0 6.8.1 6.8.2 6.8.3
secure-custom-fields / assets / src / sass / _acf-headerbar.scss
secure-custom-fields / assets / src / sass Last commit date
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 8 months ago acf-global.scss 2 months ago acf-input.scss 1 month ago
_acf-headerbar.scss
259 lines
1 /*---------------------------------------------------------------------------------------------
2 *
3 * Hide WP default controls
4 *
5 *---------------------------------------------------------------------------------------------*/
6 .acf-admin-page {
7
8 // Prevents flicker caused by notice moving locations.
9 #wpbody-content > .notice:not(.inline, .below-h2) {
10 display: none;
11 }
12
13 h1.wp-heading-inline {
14 display: none;
15 }
16
17 .wrap .wp-heading-inline + .page-title-action {
18 display: none;
19 }
20
21 }
22
23 /*---------------------------------------------------------------------------------------------
24 *
25 * Headerbar
26 *
27 *---------------------------------------------------------------------------------------------*/
28 .acf-headerbar {
29 display: flex;
30 align-items: center;
31 position: sticky;
32 top: 32px;
33 z-index: 700;
34 box-sizing: border-box;
35 min-height: 72px;
36 margin: {
37 left: -20px;
38 };
39 padding: {
40 top: 8px;
41 right: 32px;
42 bottom: 8px;
43 left: 32px;
44 };
45 background-color: #fff;
46 box-shadow: $elevation-01;
47
48 .acf-headerbar-inner {
49 flex: 1 1 auto;
50 display: flex;
51 align-items: center;
52 justify-content: space-between;
53 max-width: $max-width;
54 gap: 8px;
55 }
56
57 .acf-page-title {
58 display: flex;
59 align-items: center;
60 gap: 8px;
61 margin: {
62 top: 0;
63 right: 16px;
64 bottom: 0;
65 left: 0;
66 };
67 padding: {
68 top: 0;
69 right: 0;
70 bottom: 0;
71 left: 0;
72 };
73
74 .acf-duplicated-from {
75 color: $gray-400;
76 }
77
78 .acf-pro-label {
79 box-shadow: none;
80 }
81 }
82
83 @media screen and (max-width: $md) {
84 position: static;
85 }
86
87 @media screen and (max-width: 600px) {
88 justify-content: space-between;
89 position: relative;
90 top: 46px;
91 min-height: 64px;
92 padding: {
93 right: 12px;
94 };
95 }
96
97 .acf-headerbar-content {
98 flex: 1 1 auto;
99 display: flex;
100 align-items: center;
101
102 @media screen and (max-width: $md) {
103 flex-wrap: wrap;
104
105 .acf-headerbar-title,
106 .acf-title-wrap {
107 flex: 1 1 100%;
108 }
109
110 .acf-title-wrap {
111 margin: {
112 top: 8px;
113 };
114 }
115
116 }
117
118 }
119
120 .acf-input-error {
121 border: 1px rgba($color-danger, 0.5) solid !important;
122 box-shadow: 0 0 0 3px rgba(209, 55, 55, 0.12), 0 0 0 rgba(255, 54, 54, 0.25) !important;
123 background-image: url("../../images/icons/icon-warning-alt-red.svg");
124 background-position: right 10px top 50%;
125 background-size: 20px;
126 background-repeat: no-repeat;
127
128 &:focus {
129 outline: none !important;
130 border: 1px rgba($color-danger, 0.8) solid !important;
131 box-shadow: 0 0 0 3px rgba(209, 55, 55, 0.16), 0 0 0 rgba(255, 54, 54, 0.25) !important;
132 }
133 }
134
135 .acf-headerbar-title-field {
136 min-width: 320px;
137
138 @media screen and (max-width: $md) {
139 min-width: 100%;
140 }
141 }
142
143 .acf-headerbar-actions {
144 display: flex;
145
146 .acf-btn {
147 margin: {
148 left: 8px;
149 };
150 }
151
152 .disabled {
153 background-color: $gray-100;
154 color: $gray-400 !important;
155 border: 1px $gray-300 solid;
156 cursor: default;
157 }
158
159 }
160
161 }
162
163 /*---------------------------------------------------------------------------------------------
164 *
165 * Edit Field Group Headerbar
166 *
167 *---------------------------------------------------------------------------------------------*/
168 .acf-headerbar-field-editor {
169 position: sticky;
170 top: 32px;
171 z-index: 1020;
172 margin: {
173 left: -20px;
174 };
175 width: calc(100% + 20px);
176
177 @media screen and (max-width: $md) {
178 position: relative;
179 top: 0;
180 width: 100%;
181 margin: {
182 left: 0;
183 };
184 padding: {
185 right: 8px;
186 left: 8px;
187 };
188 }
189
190 @media screen and (max-width: $sm) {
191 position: relative;
192 top: 46px;
193 z-index: unset;
194 }
195
196
197 .acf-headerbar-inner {
198
199 @media screen and (max-width: $md) {
200 flex-wrap: wrap;
201 justify-content: flex-start;
202 align-content: flex-start;
203 align-items: flex-start;
204 width: 100%;
205
206 .acf-page-title {
207 flex: 1 1 auto;
208 }
209
210 .acf-headerbar-actions {
211 flex: 1 1 100%;
212 margin-top: 8px;
213 gap: 8px;
214
215 .acf-btn {
216 width: 100%;
217 display: inline-flex;
218 justify-content: center;
219 margin: 0;
220 }
221
222 }
223
224 }
225
226 }
227
228 .acf-page-title {
229 margin: {
230 right: 16px;
231 };
232 }
233
234 }
235
236 .rtl .acf-headerbar,
237 .rtl .acf-headerbar-field-editor {
238 margin-left: 0;
239 margin-right: -20px;
240
241 .acf-page-title {
242 margin: {
243 left: 16px;
244 right: 0;
245 };
246 }
247
248 .acf-headerbar-actions {
249
250 .acf-btn {
251 margin: {
252 left: 0;
253 right: 8px;
254 };
255 }
256
257 }
258 }
259