PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / 1.6.0
GenerateBlocks v1.6.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 5 years ago index.js 3 years ago svgs-general.js 5 years ago svgs-social.js 5 years ago
editor.scss
115 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 display: inline-flex;
48 line-height: 0;
49 }
50
51 .gb-icon svg {
52 height: 1em;
53 width: 1em;
54 fill: currentColor;
55 }
56
57 button.components-icon-picker-item {
58 width: 50px;
59 height: 50px;
60 font-size: 30px;
61 line-height: 50px;
62 background: #efefef;
63 cursor: pointer;
64 border: 1px solid #ddd;
65 margin-bottom: 10px;
66
67 svg {
68 height: 1em;
69 width: 1em;
70 }
71 }
72
73 .components-icon-picker-item > span {
74 display: flex;
75 align-items: center;
76 justify-content: center;
77 }
78
79 .components-icon-picker-item:hover, .components-icon-picker-item:focus {
80 background: #fafafa;
81 }
82
83 .gb-svg-html .components-base-control {
84 margin-bottom: 0;
85 }
86
87 .gb-icon-preview {
88 font-size: 25px;
89 display: flex;
90 align-items: center;
91
92 svg {
93 margin-right: 10px;
94 width: 1em;
95 height: 1em;
96 }
97 }
98
99 .block-editor-block-inspector .gb-icon-chooser .components-panel__body {
100 border-color: #ddd;
101 margin-top: 0;
102
103 button.components-panel__body-toggle {
104 background: #fafafa;
105 }
106
107 &.is-opened {
108 background: #fafafa;
109 }
110
111 &:last-child {
112 border-bottom: 1px solid #ddd;
113 }
114 }
115