PluginProbe
Forumax – AI Powered Advanced Community Forum Plugin / 2.2.0
Forumax – AI Powered Advanced Community Forum Plugin v2.2.0
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.2.0, at includes/features/bbpc_attachments/scss/front.scss

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