$amePostboxBorderColor: #ccd0d4; //Was #e5e5e5 before WP 5.3. $amePostboxShadow: 0 1px 1px rgba(0, 0, 0, 0.04); @mixin ame-emulated-postbox($toggleWidth: 36px, $horizontalPadding: 12px) { $borderColor: $amePostboxBorderColor; $headerBackground: #fff; position: relative; box-shadow: $amePostboxShadow; background: $headerBackground; margin-bottom: 20px; border: 1px solid $borderColor; .ws-ame-postbox-header { $headerFontSize: 14px; position: relative; font-size: $headerFontSize; margin: 0; line-height: 1.4; border-bottom: 1px solid $borderColor; h3 { padding: 10px $horizontalPadding; margin: 0; font-size: 1em; line-height: 1; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } .ws_tooltip_trigger { .dashicons { height: $headerFontSize; line-height: $headerFontSize; } } } .ws-ame-postbox-toggle { color: #72777c; background: transparent; display: block; font: normal 20px/1 dashicons; text-align: center; cursor: pointer; border: none; position: absolute; top: 0; right: 0; bottom: 0; width: $toggleWidth; height: 100%; padding: 0; &:hover { color: #23282d; } &:active, &:focus { outline: none; padding: 0; } &:before { content: '\f142'; display: inline-block; vertical-align: middle; } &:after { display: inline-block; content: ""; vertical-align: middle; height: 100%; } } .ws-ame-postbox-content { border-top: none; padding: $horizontalPadding; } &.ws-ame-closed-postbox { .ws-ame-postbox-content { display: none; } .ws-ame-postbox-toggle:before { content: '\f140'; //downward triangle } .ws-ame-postbox-header { border-bottom: none; } } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
_boxes.scss | File | 1.71 KB | 0644 |
|
_dashicons.scss | File | 13.69 KB | 0644 |
|
_forms.scss | File | 548 B | 0644 |
|
_indeterminate-checkbox.scss | File | 816 B | 0644 |
|
_input-group.scss | File | 301 B | 0644 |
|
_main-tabs.scss | File | 1004 B | 0644 |
|
_test-access-screen.scss | File | 1.92 KB | 0644 |
|
_ui-constants.scss | File | 223 B | 0644 |
|
admin.css | File | 3.43 KB | 0644 |
|
force-dashicons.css | File | 27.58 KB | 0644 |
|
force-dashicons.css.map | File | 3.03 KB | 0644 |
|
force-dashicons.scss | File | 857 B | 0644 |
|
jquery.qtip.css | File | 12.38 KB | 0644 |
|
jquery.qtip.min.css | File | 8.77 KB | 0644 |
|
menu-editor.css | File | 44.93 KB | 0644 |
|
menu-editor.css.map | File | 25.3 KB | 0644 |
|
menu-editor.scss | File | 39.94 KB | 0644 |
|
screen-meta-old-wp.css | File | 1.78 KB | 0644 |
|
screen-meta.css | File | 1.12 KB | 0644 |
|
style-classic.css | File | 2.71 KB | 0644 |
|
style-modern-one.css | File | 4.81 KB | 0644 |
|
style-modern-one.css.map | File | 1.13 KB | 0644 |
|
style-modern-one.scss | File | 6.26 KB | 0644 |
|
style-wp-grey.css | File | 5 KB | 0644 |
|