PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / 2.1.1
GenerateBlocks v2.1.1
trunk 1.0 1.0.1 1.0.2 1.1.0 1.1.1 1.1.2 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.7.0 1.7.1 1.7.2 1.7.3 1.8.0 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 2.0.0 2.0.1 2.0.2 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.3.0
generateblocks / src / components / number-control / editor.scss
generateblocks / src / components / number-control Last commit date
editor.scss 4 years ago index.js 3 years ago
editor.scss
73 lines
1 .gblocks-component-number-presets {
2 display: flex;
3 border: 1px solid #8c8f94;
4 padding: 2px;
5 border-radius: 3px;
6
7 .components-button {
8 border: 0;
9 box-shadow: 0 0 0;
10 height: 30px;
11
12 &:not(.has-icon) {
13 flex: 1;
14 justify-content: center;
15 font-size: 12px;
16 }
17
18 &.has-icon {
19 svg {
20 margin-right: 0;
21 }
22 }
23
24 &.is-primary {
25 color: #fff;
26 background-color: #000;
27
28 &:active,
29 &:hover {
30 background-color: #000 !important;
31 color: #fff !important;
32 }
33 }
34
35 &:active,
36 &:hover {
37 background-color: transparent !important;
38 color: currentColor !important;
39 }
40 }
41 }
42
43 .gblocks-number-component {
44 &__input {
45 display: flex;
46
47 .components-base-control {
48 flex: 1;
49 margin-bottom: 0 !important;
50
51 &__field {
52 margin-bottom: 0;
53 height: 100%;
54
55 input {
56 height: 100%;
57 min-height: 30px;
58 }
59 }
60 }
61
62 & > .components-button {
63 height: 30px;
64
65 &.has-icon {
66 svg {
67 margin-right: 0;
68 }
69 }
70 }
71 }
72 }
73