PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / 1.7.2
GenerateBlocks v1.7.2
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 / unit-control / editor.scss
generateblocks / src / components / unit-control Last commit date
editor.scss 3 years ago index.js 3 years ago
editor.scss
86 lines
1 .gblocks-unit-control {
2 &__disabled {
3 .gblocks-unit-control__input > *:not(.gblocks-unit-control__override-action):not(.popover-slot) {
4 opacity: 0.5;
5 }
6 }
7
8 &__override-action {
9 position: absolute;
10 right: 30px;
11 top: 0;
12
13 button.components-button {
14 width: 30px;
15 height: 30px;
16 min-width: 30px;
17 padding: 0;
18 justify-content: center !important;
19
20 svg {
21 width: 20px;
22 margin: 0 !important;
23 }
24 }
25 }
26
27 &__input {
28 display: flex;
29 align-items: flex-start;
30 position: relative;
31
32 .components-base-control:first-child {
33 flex-grow: 1;
34 }
35
36 .components-base-control,
37 .components-base-control__field {
38 margin-bottom: 0;
39 }
40
41 select {
42 appearance: none;
43 background: transparent;
44 border-radius: 0px 2px 2px 0px;
45 box-sizing: border-box;
46 color: rgb(85, 93, 102);
47 display: block;
48 font-size: 8px;
49 letter-spacing: -0.5px;
50 outline: none;
51 padding: 2px 3px;
52 text-align-last: center;
53 text-transform: uppercase;
54 width: 30px;
55 cursor: pointer;
56 height: 100%;
57 margin: 0;
58
59 &:disabled {
60 background: none;
61 color: rgb(85, 93, 102);
62 border-color: rgb(85, 93, 102);
63 }
64 }
65 }
66
67 &__unit-select {
68 -moz-box-align: center;
69 align-items: center;
70 align-self: stretch;
71 box-sizing: border-box;
72 display: flex;
73 }
74
75 &__popover {
76 margin-top: 5px;
77 border: 0;
78
79 .components-popover__content {
80 box-shadow: 0 0 0;
81 border: 0;
82 outline: 0;
83 }
84 }
85 }
86