PluginProbe
Block Animations, Motion & Scroll Effects – Ghost Kit / 3.5.1
Block Animations, Motion & Scroll Effects – Ghost Kit v3.5.1
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 / settings / pages / blocks.scss

blocks.scss in Block Animations, Motion & Scroll Effects – Ghost Kit 3.5.1, at settings/pages/blocks.scss

152 lines 2.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @import "../../gutenberg/variables";
2
3 .ghostkit-settings-blocks {
4 display: flex;
5 align-items: flex-start;
6 }
7
8 .ghostkit-settings-blocks-left {
9 flex: 1;
10 max-width: 190px;
11 }
12
13 .ghostkit-settings-blocks-right {
14 flex: 3;
15 padding-left: 40px;
16 }
17
18 .ghostkit-settings-blocks-categories {
19 margin: 0;
20
21 li {
22 margin: 0;
23 }
24
25 button {
26 position: relative;
27 display: block;
28 width: 100%;
29 padding: 10px 20px;
30 margin-right: 15px;
31 margin-bottom: 7px;
32 color: $dark-gray-100;
33 text-align: left;
34 cursor: pointer;
35 background: none;
36 border: none;
37 border-radius: 4px;
38 outline: none;
39 transition: 0.2s color, 0.2s background-color;
40
41 &:hover {
42 color: $dark-gray-700;
43 background-color: $light-gray-300;
44 }
45
46 &.ghostkit-settings-blocks-categories-button-active {
47 color: #fff;
48 background-color: $dark-gray-500;
49 }
50
51 .ghostkit-settings-blocks-categories-button-indicator {
52 position: absolute;
53 top: 50%;
54 right: 10px;
55 width: 5px;
56 height: 5px;
57 margin-top: -2.5px;
58 background-color: $dark-gray-500;
59 border-radius: 100%;
60 }
61 }
62 }
63
64 .ghostkit-settings-blocks-items-head {
65 display: flex;
66 flex-wrap: wrap;
67 align-items: flex-start;
68 padding: 0 25px;
69 margin-top: 10px;
70 margin-bottom: 10px;
71
72 &.ghostkit-settings-blocks-items-head-hidden {
73 visibility: hidden;
74 opacity: 0;
75 }
76
77 .ghostkit-settings-blocks-items-head-count {
78 font-weight: 300;
79 color: $light-gray-900;
80 }
81
82 .ghostkit-settings-blocks-all-check {
83 margin-left: auto;
84
85 .components-form-toggle {
86 margin-right: 0;
87 }
88 }
89 }
90
91 .ghostkit-settings-blocks-items {
92 margin: 0;
93
94 .ghostkit-settings-blocks-item {
95 position: relative;
96 padding: 25px;
97 padding-right: 80px;
98 margin-bottom: 20px;
99 background-color: #fff;
100 border-radius: 4px;
101 box-shadow: 0 0 0 1px $light-gray-400;
102 transition: 0.2s opacity;
103
104 &.ghostkit-settings-blocks-item-disabled {
105 opacity: 0.3;
106 }
107
108 h3 {
109 display: flex;
110 align-items: center;
111 margin-top: 0;
112 margin-bottom: 10px;
113 margin-bottom: 0;
114 font-weight: 400;
115
116 .ghostkit-settings-blocks-item-icon {
117 display: inline-block;
118 width: 30px;
119 margin-right: 5px;
120 margin-bottom: -4px;
121 font-size: 15px;
122 line-height: 15px;
123
124 svg {
125 max-width: 20px;
126 max-height: 20px;
127 }
128 }
129 }
130
131 .ghostkit-settings-blocks-item-description {
132 margin-top: 15px;
133 font-weight: 300;
134 color: $light-gray-900;
135 }
136
137 .ghostkit-settings-blocks-item-preview-url {
138 margin-top: 10px;
139 }
140
141 .ghostkit-settings-blocks-item-check {
142 position: absolute;
143 top: 23px;
144 right: 25px;
145
146 .components-form-toggle {
147 margin-right: 0;
148 }
149 }
150 }
151 }
152