PluginProbe
Forumax – AI Powered Advanced Community Forum Plugin / 2.4.4
Forumax – AI Powered Advanced Community Forum Plugin v2.4.4
2.4.4 2.4.3 2.4.2 2.4.1 2.4.0 trunk 1.0.8 1.1.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 2.0.0 2.1.0 All 29 releases
bbp-core / includes / features / bbpc_attachments / scss / front.scss

front.scss in Forumax – AI Powered Advanced Community Forum Plugin 2.4.4, at includes/features/bbpc_attachments/scss/front.scss

292 lines 7.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .bbp-attachments {
2 ol.with-icons {
3 display: flex;
4 gap: 15px;
5 list-style: none;
6 padding: 0;
7 margin-bottom: 0;
8 flex-wrap: wrap;
9
10 li {
11 .wp-caption {
12 margin-bottom: 0;
13
14 .wp-caption-text {
15 .d4p-bba-actions {
16 color: #f90000;
17 margin-top: 10px;
18 display: block;
19
20 &:hover {
21 a {
22 color: #f90000;
23 }
24 }
25 }
26 }
27 }
28 &:hover {
29 transition: all 0.3s;
30
31 img {
32 border-color: var(--black_100);
33 }
34 }
35 }
36
37 a {
38 text-decoration: none;
39 img {
40 border-radius: 10px;
41 border: solid 1px var(--black_50);
42 padding: 6px;
43 }
44 }
45 }
46 }
47
48 .bbp-attachments,
49 .bbp-attachments-errors {
50 border-top: 1px solid var(--black_75);
51 margin-top: 30px;
52 padding: 30px 0;
53
54 }
55
56 #bbpress-forums {
57 .bbp-attachments,
58 .bbp-attachments-errors {
59 h6 {
60 margin: 0 0 5px !important;
61 font-size: 1.2em;
62 font-weight: bold;
63 line-height: 1.4em;
64 }
65
66 ol {
67 margin: 0 !important;
68 list-style: decimal inside none;
69
70 &:after {
71 content: "";
72 display: table;
73 clear: both;
74 }
75 }
76
77 li {
78 &:last-child {
79 margin: 0 !important;
80 }
81 }
82 }
83
84 .bbp-attachments-errors {
85 li {
86 line-height: 16px;
87 margin: 0 0 8px !important;
88 }
89 }
90
91 .bbp-attachments-count {
92 background: transparent url(gfx/icons.png);
93 display: inline-block;
94 width: 16px;
95 height: 16px;
96 float: left;
97 margin-right: 4px;
98 }
99
100 .bbp-attachments-errors {
101 ol {
102 &.with-icons {
103 li {
104 padding: 0;
105 list-style: none;
106 line-height: 20px;
107
108 .bbp-atticon {
109 background: transparent url(gfx/icons.png) no-repeat;
110 display: block;
111 width: 16px;
112 height: 16px;
113 float: left;
114 margin: 2px 4px 0 0;
115
116 &.bbp-atticon-error {
117 background-position: 0 -288px;
118 }
119 }
120
121 .d4p-bbp-att-wrapper {
122 display: block;
123 padding: 0 0 0 20px;
124 }
125 }
126 }
127 }
128 }
129
130 .bbp-attachments {
131 ol {
132 &.with-icons {
133 list-style: none;
134
135 li {
136 padding: 0;
137 list-style: none;
138 }
139 }
140
141 li {
142 line-height: 20px;
143 margin: 0 0 8px !important;
144
145 span.d4p-bba-actions {
146 color: #f90000;
147 margin-top: 10px;
148 display: block;
149 }
150
151 a {
152 text-decoration: none;
153 }
154
155 &.d4p-bbp-attachment {
156 padding: 0;
157 height: auto;
158
159 &.bbp-inline {
160 float: left;
161 margin-right: 5px !important;
162 }
163
164 .wp-caption {
165 padding: 5px;
166 margin: 0;
167 height: auto;
168
169 p.wp-caption-text {
170 margin: 5px 0 !important;
171 padding: 0;
172 border: 0;
173 word-wrap: break-word;
174 line-height: 1.3em;
175 }
176
177 img {
178 margin: 0;
179 }
180 }
181 }
182
183 a {
184 img {
185 display: block;
186 }
187 }
188 }
189 }
190
191 ol.with-icons.d4p-bba-thumbnails {
192 display: flex;
193 gap: 10px;
194 list-style: none;
195 padding: 0;
196 .bbp-atthumb {
197 border: none !important;
198 }
199 }
200
201 ol {
202 &.with-icons {
203 li {
204 .bbp-atticon {
205 background: transparent url(gfx/icons.png) no-repeat;
206 display: block;
207 width: 16px;
208 height: 16px;
209 float: left;
210 margin: 2px 4px 0 0;
211
212
213 &.bbp-atticon-ai {
214 background-position: 0 -128px;
215 }
216
217 &.bbp-atticon-archive {
218 background-position: 0 -144px;
219 }
220
221 &.bbp-atticon-audio {
222 background-position: 0 -256px;
223 }
224
225 &.bbp-atticon-code {
226 background-position: 0 -32px;
227 }
228
229 &.bbp-atticon-documents {
230 background-position: 0 -240px;
231 }
232
233 &.bbp-atticon-excel {
234 background-position: 0 -64px;
235 }
236
237 &.bbp-atticon-generic {
238 background-position: 0 -16px;
239 }
240
241 &.bbp-atticon-html {
242 background-position: 0 -208px;
243 }
244
245 &.bbp-atticon-icon {
246 background-position: 0 -272px;
247 }
248
249 &.bbp-atticon-image {
250 background-position: 0 -96px;
251 }
252
253 &.bbp-atticon-pdf {
254 background-position: 0 -192px;
255 }
256
257 &.bbp-atticon-powerpoint {
258 background-position: 0 -176px;
259 }
260
261 &.bbp-atticon-psd {
262 background-position: 0 -112px;
263 }
264
265 &.bbp-atticon-text {
266 background-position: 0 -160px;
267 }
268
269 &.bbp-atticon-video {
270 background-position: 0 -224px;
271 }
272
273 &.bbp-atticon-word {
274 background-position: 0 -80px;
275 }
276
277 &.bbp-atticon-xml {
278 background-position: 0 -48px;
279 }
280 }
281
282 .d4p-bbp-att-wrapper {
283 display: block;
284 padding: 0 0 0 20px;
285
286 }
287 }
288 }
289 }
290 }
291 }
292