PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 4.0.8
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v4.0.8
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 2.3.5 2.3.6 2.4.0 2.4.1 2.4.10 2.4.11 2.4.12 2.4.13 2.4.14 2.4.15 2.4.16 2.4.17 2.4.18 2.4.19 2.4.2 2.4.20 2.4.21 All 88 releases
post-carousel / src / components / icon-picker / editor.scss

editor.scss in Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 4.0.8, at src/components/icon-picker/editor.scss

174 lines 4.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .sp-smart-post-icon-picker-area {
2 display: flex;
3 flex-direction: column;
4 gap: 8px;
5 position: relative;
6
7 .sp-smart-post-component-title {
8 margin-bottom: 0;
9 }
10
11 .sp-smart-post-icon-picker {
12 display: flex;
13 justify-content: center;
14 align-items: center;
15 cursor: pointer;
16 border-radius: 1px;
17 border: 1px solid #F0F0F0;
18 height: 120px;
19 margin-bottom: 15px;
20 flex-direction: column;
21 gap: 5px;
22 position: relative;
23 .sp-smart-post-icon-picker-close-btn.sp-smart-post-icon-picker-btn{
24 height: 20px;
25 width: 20px;
26 font-size: 15px;
27 position: absolute;
28 top: 3px;
29 right: 3px;
30 color: #787878;
31 background-color: #DCDCDE;
32 }
33
34 }
35
36 .sp-smart-post-icon-picker-active-icon {
37 font-size: 56px;
38 color: #50575e;
39 }
40
41 // add and remove button.
42 .sp-smart-post-icon-picker-btn {
43 display: flex;
44 justify-content: center;
45 align-items: center;
46 cursor: pointer;
47 border: none;
48 outline: none;
49 font-weight: 700;
50 border-radius: 20%;
51
52 &.sp-smart-post-icon-picker-add-btn {
53 height: 56px;
54 width: 56px;
55 font-size: 56px;
56 color: white;
57 background-color: #333333;
58 }
59
60 &.sp-smart-post-icon-picker-close-btn {
61 height: 20px;
62 width: 20px;
63 font-size: 15px;
64 position: absolute;
65 top: 3px;
66 right: 3px;
67 color: #787878;
68 background-color: #DCDCDE;
69 }
70 }
71 }
72
73 // popup.
74 .components-popover__content:has(.sp-smart-post-icon-picker-popup) {
75 box-shadow: 0 15px 24px rgba(0, 0, 0, .22), 0 19px 76px rgba(0, 0, 0, .3);
76 border-radius: 6px;
77 background-color: #fff;
78 width: 360px;
79 padding: 16px 8px 16px 20px;
80
81 .sp-smart-post-icon-picker-popup {
82 .sp-smart-post-icon-picker-popup-top-section {
83 display: flex;
84 flex-direction: column;
85 padding-right: 12px;
86
87 .sp-smart-post-icon-search-heading {
88 font-size: 13px;
89 font-weight: 500;
90 line-height: 16px;
91 color: #1E1E1E;
92 }
93
94 .sp-smart-post-icon-search-sub-heading {
95 font-size: 11px;
96 line-height: 16px;
97 color: #757575;
98 }
99
100 .sp-smart-post-icon-picker-search-and-category-wrapper {
101 width: 100%;
102 display: flex;
103 gap: 8px;
104 margin-top: 8px;
105
106 .sp-smart-post-icon-picker-search,
107 .sp-smart-post-icon-picker-category {
108 line-height: 1;
109 height: 32px;
110 padding: 8px 10px;
111 margin: 0;
112 border: 1px solid #DDDDDD;
113
114 &:focus {
115 outline: none;
116 box-shadow: none;
117 }
118 }
119
120 .sp-smart-post-icon-picker-search {
121 width: 60%
122 }
123
124 .sp-smart-post-icon-picker-category {
125 width: 40%;
126 }
127 }
128 }
129
130 .sp-smart-post-icon-picker-list {
131 display: grid;
132 grid-template-columns: repeat(6, 1fr);
133 gap: 8px;
134 column-gap: 11.2px;
135 overflow-y: auto;
136 max-height: 236px;
137 margin-top: 16px;
138 padding-right: 8px;
139
140 .sp-smart-post-icon-picker-item {
141 height: 36px;
142 width: 44px;
143 border: 1px solid #DDDDDD;
144 font-size: 20px;
145 border-radius: 4px;
146 color: #757575;
147 display: flex;
148 justify-content: center;
149 align-items: center;
150 cursor: pointer;
151 position: relative;
152
153 &.active {
154 background-color: #757575;
155 color: #fff;
156 }
157 }
158
159 &::-webkit-scrollbar {
160 width: 4px;
161 height: 18px;
162 }
163
164 &::-webkit-scrollbar-track {
165 background: #f1f1f1;
166 }
167
168 &::-webkit-scrollbar-thumb {
169 background-color: #a8a8a8;
170 border-radius: 4px;
171 }
172 }
173 }
174 }