PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / 2.2.0
GenerateBlocks v2.2.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 / icon-picker / editor.scss
generateblocks / src / components / icon-picker Last commit date
editor.scss 2 years ago index.js 2 years ago svgs-general.js 5 years ago svgs-social.js 2 years ago
editor.scss
99 lines
1 .gblocks-icon-chooser {
2 display: -ms-flexbox;
3 display: flex;
4 -ms-flex-wrap: wrap;
5 flex-wrap: wrap;
6 list-style: none;
7 margin-top: 0;
8 margin-left: -3px;
9
10 li {
11 display: block;
12 margin: 0 0 3px 3px;
13 padding: 0;
14
15 button.components-button {
16 background: #fafafa;
17 color: #000;
18 height: 30px;
19 width: 30px;
20 border: 0;
21 border-radius: 0;
22 -webkit-box-shadow: none;
23 box-shadow: none;
24 padding: 8px;
25 line-height: normal;
26 font-size: 15px;
27 justify-content: center;
28
29 span {
30 line-height: 0;
31 }
32
33 &:hover {
34 background: #fff;
35 box-shadow: none;
36 }
37
38 svg {
39 width: 1em;
40 height: 1em;
41 }
42 }
43 }
44 }
45
46 .gb-icon {
47 line-height: 0;
48 }
49
50 .gb-icon svg {
51 fill: currentColor;
52 }
53
54 button.components-icon-picker-item {
55 width: 50px;
56 height: 50px;
57 font-size: 30px;
58 line-height: 50px;
59 background: #efefef;
60 cursor: pointer;
61 border: 1px solid #ddd;
62 margin-bottom: 10px;
63
64 svg {
65 height: 1em;
66 width: 1em;
67 }
68 }
69
70 .components-icon-picker-item > span {
71 display: flex;
72 align-items: center;
73 justify-content: center;
74 }
75
76 .components-icon-picker-item:hover, .components-icon-picker-item:focus {
77 background: #fafafa;
78 }
79
80 .gb-svg-html .components-base-control {
81 margin-bottom: 0;
82 }
83
84 .gb-icon-preview {
85 font-size: 25px;
86 display: flex;
87 align-items: center;
88
89 svg {
90 margin-right: 10px;
91 width: 1em;
92 height: 1em;
93 }
94 }
95
96 .gblocks-icon-panel:not(:first-child) {
97 border-top: 1px solid #eee !important;
98 }
99