PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / 1.7.1
GenerateBlocks v1.7.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 / icon-picker / editor.scss
generateblocks / src / components / icon-picker Last commit date
editor.scss 3 years ago index.js 3 years ago svgs-general.js 5 years ago svgs-social.js 5 years ago
editor.scss
101 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 height: 1em;
52 width: 1em;
53 fill: currentColor;
54 }
55
56 button.components-icon-picker-item {
57 width: 50px;
58 height: 50px;
59 font-size: 30px;
60 line-height: 50px;
61 background: #efefef;
62 cursor: pointer;
63 border: 1px solid #ddd;
64 margin-bottom: 10px;
65
66 svg {
67 height: 1em;
68 width: 1em;
69 }
70 }
71
72 .components-icon-picker-item > span {
73 display: flex;
74 align-items: center;
75 justify-content: center;
76 }
77
78 .components-icon-picker-item:hover, .components-icon-picker-item:focus {
79 background: #fafafa;
80 }
81
82 .gb-svg-html .components-base-control {
83 margin-bottom: 0;
84 }
85
86 .gb-icon-preview {
87 font-size: 25px;
88 display: flex;
89 align-items: center;
90
91 svg {
92 margin-right: 10px;
93 width: 1em;
94 height: 1em;
95 }
96 }
97
98 .gblocks-icon-panel:not(:first-child) {
99 border-top: 1px solid #eee !important;
100 }
101