PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / 1.0
GenerateBlocks v1.0
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 / url-input / editor.scss
generateblocks / src / components / url-input Last commit date
editor.scss 6 years ago index.js 6 years ago
editor.scss
97 lines
1 @import "../../common";
2
3 .gblocks-component-url-input {
4 width: 100%;
5 margin-top: 10px;
6 font-family: $default-font;
7 font-size: $default-font-size;
8 line-height: $default-line-height;
9 background: #fff;
10 border: 1px solid #e2e4e7;
11 color: #000;
12
13 .gblocks-component-url-input-flex {
14 display: flex;
15 align-items: center;
16
17 .editor-url-input {
18 width: auto;
19
20 input[type="text"]="text""] {
21 width: 100%;
22 }
23 }
24
25 .editor-url-input input[type="text"]="text""]::placeholder {
26 color: #222;
27 }
28
29 > .dashicon {
30 width: 20px;
31 color: #222;
32 }
33
34 .components-base-control__field {
35 margin-bottom: 0;
36 }
37 }
38
39 .gblocks-component-url-input-more-options {
40 padding: 10px;
41 border-top: 1px solid #e2e4e7;
42
43 .components-base-control {
44 margin-bottom: 5px;
45 }
46
47 .components-base-control .components-base-control__field {
48 margin-bottom: 0;
49 }
50
51 .components-base-control:last-child {
52 margin-bottom: 0;
53 }
54 }
55 }
56
57 .gblocks-component-url-input-float {
58 $blocks-button__link-input-width: 260px;
59
60 position: absolute;
61 min-width: $blocks-button__link-input-width;
62 max-width: $blocks-button__link-input-width;
63 box-shadow: 0 3px 30px rgba(25, 30, 35, .1);
64 z-index: 150;
65
66 // arrow.
67 &::after,
68 &::before {
69 content: " ";
70 position: absolute;
71 bottom: 100%;
72 left: 20px;
73 width: 0;
74 height: 0;
75 pointer-events: none;
76 border: solid transparent;
77 }
78 &::after {
79 border: 5px solid rgba(255, 255, 255, 0);
80 border-bottom-color: #fff;
81 }
82 &::before {
83 margin-left: -1px;
84 border: 6px solid rgba(226, 228, 231, 0);
85 border-bottom-color: #e2e4e7;
86 }
87
88 .editor-url-input__suggestions {
89 max-width: $blocks-button__link-input-width - $icon-button-size - $icon-button-size;
90 }
91 }
92
93 .block-editor-block-list__block .gblocks-component-url-input-flex input[type="text"]="text""] {
94 max-width: 100%;
95 width: 100%;
96 }
97