PluginProbe
Block Animations, Motion & Scroll Effects – Ghost Kit / 3.4.1
Block Animations, Motion & Scroll Effects – Ghost Kit v3.4.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 / gutenberg / blocks / gif / styles / editor.scss

editor.scss in Block Animations, Motion & Scroll Effects – Ghost Kit 3.4.1, at gutenberg/blocks/gif/styles/editor.scss

86 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Editor Variables
3 */
4 @import "../../../variables";
5 @import "./style";
6
7 .ghostkit-gif-wrap {
8 .components-base-control__field {
9 text-align: center;
10 }
11
12 .components-placeholder__label svg {
13 margin-right: 1ch;
14 }
15 }
16
17 .ghostkit-gif-input-container {
18 z-index: 1;
19 display: flex;
20 flex-direction: row;
21 flex-wrap: wrap;
22 justify-content: center;
23 width: 100%;
24 max-width: 400px;
25 margin-bottom: 10px;
26
27 .ghostkit-gif-input {
28 flex: 1;
29 min-width: 100px;
30
31 .components-base-control__field {
32 margin-bottom: 0;
33 }
34
35 .components-text-control__input {
36 height: 36px;
37 }
38 }
39 }
40
41 .ghostkit-gif-thumbnails-container {
42 display: grid;
43 grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
44 grid-gap: 10px;
45 width: 100%;
46 margin-bottom: 13px;
47
48 .components-panel & {
49 grid-template-columns: 1fr 1fr;
50 }
51 }
52
53 .ghostkit-gif-thumbnail-container {
54 width: 100%;
55 padding: 0;
56 padding-bottom: 100%;
57 cursor: pointer;
58 background-repeat: no-repeat;
59 background-position: 50% 50%;
60 background-size: cover;
61 border: none;
62 border-radius: 3px;
63 transition: 0.2s box-shadow;
64
65 &:hover {
66 box-shadow: 0 0 0 2px $dark-gray-500;
67 }
68
69 &:focus {
70 outline: 0;
71 box-shadow: 0 0 0 2px $blue-medium-500;
72 }
73 }
74
75 .components-panel__body-gif-branding {
76 svg {
77 display: block;
78 max-width: 200px;
79 margin: 0 auto;
80 }
81
82 svg path {
83 fill: $dark-gray-150;
84 }
85 }
86