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 / image-picker / editor.scss

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

63 lines 1.3 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-image-picker {
4 .components-base-control__field {
5 display: flex;
6 flex-wrap: wrap;
7 justify-content: space-between;
8
9 > .components-base-control__label {
10 min-width: 100%;
11 }
12 }
13
14 .ghostkit-component-image-picker-item {
15 display: flex;
16 flex-direction: column;
17 flex-shrink: 0;
18 align-items: center;
19 justify-content: flex-end;
20 width: calc(50% - 4px);
21 padding: 4px;
22 margin: 4px 0;
23 overflow: hidden;
24 color: inherit;
25 cursor: pointer;
26 background: none;
27 border: none;
28 border-radius: 4px;
29
30 &:hover {
31 color: $dark-gray-900;
32 background: $light-gray-100;
33 }
34
35 &.ghostkit-component-image-picker-item-active {
36 color: $dark-gray-900;
37 outline: 2px solid transparent;
38 outline-offset: -2px;
39 box-shadow: 0 0 0 2px $dark-gray-500;
40 }
41
42 &:focus {
43 color: $dark-gray-900;
44 outline: 2px solid transparent;
45 outline-offset: -2px;
46 box-shadow: 0 0 0 2px $blue-medium-focus;
47 }
48
49 img {
50 display: block;
51 border: 1px solid rgba($dark-gray-500, 0.2);
52 border-radius: 4px;
53 outline: 1px solid transparent;
54 }
55
56 span {
57 display: block;
58 padding: 4px 2px;
59 text-align: center;
60 }
61 }
62 }
63