PluginProbe
Block Animations, Motion & Scroll Effects – Ghost Kit / 3.3.2
Block Animations, Motion & Scroll Effects – Ghost Kit v3.3.2
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 / typography / editor.scss

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

113 lines 2.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @import "../../variables";
2
3 /**
4 * Typography Component CSS
5 */
6 .ghostkit-control-typography {
7 display: flex;
8 flex-wrap: wrap;
9
10 .ghostkit-typography-font-control {
11 flex: 1;
12 min-width: 50%;
13 max-width: 100%;
14 padding-right: 20px;
15 }
16
17 .ghostkit-typography-weight-control {
18 flex: 1 0 33.3%;
19 max-width: 33%;
20 }
21
22 .ghostkit-typography-size-control,
23 .ghostkit-typography-line-control,
24 .ghostkit-typography-letter-control {
25 flex: 1;
26 min-width: 33.3%;
27 max-width: 100%;
28 }
29
30 .ghostkit-typography-font-control ~ .ghostkit-typography-size-control,
31 .ghostkit-typography-weight-control ~ .ghostkit-typography-size-control,
32 .ghostkit-typography-font-control ~ .ghostkit-typography-line-control,
33 .ghostkit-typography-weight-control ~ .ghostkit-typography-line-control,
34 .ghostkit-typography-font-control ~ .ghostkit-typography-letter-control,
35 .ghostkit-typography-weight-control ~ .ghostkit-typography-letter-control {
36 margin-top: 20px;
37 }
38
39 .ghostkit-typography-size-control + .ghostkit-typography-line-control,
40 .ghostkit-typography-line-control + .ghostkit-typography-letter-control {
41 padding-left: 20px;
42 }
43
44 // Information control.
45 .ghostkit-typography-information-control.ghostkit-typography-font-control {
46 flex: 1 0 80%;
47 padding-right: 0;
48 padding-left: 20px;
49 font-style: italic;
50 color: $light-gray-900;
51 }
52
53 // Category control.
54 .ghostkit-typography-font-category-control-toggle {
55 height: 32px;
56 border: 1px solid $dark-gray-200;
57
58 &:hover,
59 &:focus {
60 border-color: $dark-gray-500;
61 box-shadow: none !important;
62 }
63
64 svg {
65 width: 19px;
66 height: auto;
67 margin: 0 4px;
68 }
69 }
70 }
71
72 .ghostkit-typography-font-category-control-menu {
73 svg {
74 width: 19px;
75 height: auto;
76 margin: 0 4px;
77 }
78
79 .components-popover:not(.is-mobile) .components-popover__content {
80 min-width: 200px;
81 }
82
83 .components-menu-group {
84 padding: 0;
85
86 .components-button svg {
87 margin-right: 10px !important;
88 margin-left: 5px !important;
89 }
90 }
91
92 .components-menu-item__button {
93 display: flex;
94
95 .components-menu-items__item-icon {
96 order: -1;
97 }
98 }
99 }
100
101 .ghostkit-typography-badge-pro {
102 height: 14px;
103 padding: 0 5px;
104 margin-left: auto;
105 font-size: 8px;
106 font-weight: 600;
107 line-height: 14px;
108 color: #fff;
109 text-align: center;
110 background-color: $blue-wordpress-700;
111 border-radius: 10px;
112 }
113