PluginProbe
Block Animations, Motion & Scroll Effects – Ghost Kit / 2.25.0
Block Animations, Motion & Scroll Effects – Ghost Kit v2.25.0
3.7.2 3.7.1 3.7.0 3.6.1 trunk 1.6.3 2.25.0 3.3.0 3.3.1 3.3.2 3.3.3 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6 3.5.0 3.5.1 3.6.0
ghostkit / gutenberg / components / modal / editor.scss

editor.scss in Block Animations, Motion & Scroll Effects – Ghost Kit 2.25.0, at gutenberg/components/modal/editor.scss

80 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @import "../../variables";
2
3 .ghostkit-component-modal {
4 @media (min-width: 600px) {
5 min-width: 600px;
6 max-width: 600px;
7
8 // fix for Ace editor tooltips
9 margin-left: -300px;
10 transform: none;
11
12 // position
13 &.ghostkit-component-modal-position-top {
14 top: 112px;
15 }
16 }
17
18 // size
19 @media (min-width: 840px) {
20 &.ghostkit-component-modal-size-lg {
21 min-width: 800px;
22 max-width: 800px;
23
24 // fix for Ace editor tooltips
25 margin-left: -400px;
26 transform: none;
27 }
28 }
29
30 // Fix for new WP 5.9 styles
31 body > .components-modal__screen-overlay & {
32 @media (min-width: 600px) {
33 margin-left: auto;
34
35 // position
36 &.ghostkit-component-modal-position-top {
37 top: 0;
38 margin-top: 112px;
39 }
40 }
41
42 // size
43 @media (min-width: 840px) {
44 &.ghostkit-component-modal-size-lg {
45 margin-left: auto;
46 }
47 }
48 }
49
50 // header
51 .components-modal__header {
52 .components-modal__icon-container svg {
53 display: block;
54 margin-right: 10px;
55 }
56
57 .components-modal__header-heading {
58 font-weight: 600;
59 }
60 }
61
62 // tab panel
63 .ghostkit-component-modal-tab-panel {
64 .components-tab-panel__tabs {
65 margin-top: -16px;
66 margin-right: -16px;
67 margin-left: -16px;
68
69 .ghostkit-control-tabs-tab {
70 padding: 12px 16px;
71 color: inherit;
72
73 &:focus {
74 outline: none;
75 }
76 }
77 }
78 }
79 }
80