PluginProbe
Forumax – AI Powered Advanced Community Forum Plugin / 2.5.0
Forumax – AI Powered Advanced Community Forum Plugin v2.5.0
2.5.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 All 30 releases
bbp-core / assets / frontend / scss / el-widgets / _forumPosts.scss

_forumPosts.scss in Forumax – AI Powered Advanced Community Forum Plugin 2.5.0, at assets/frontend/scss/el-widgets/_forumPosts.scss

255 lines 4.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @use "variables" as *;
2
3 .community-post {
4 border-radius: 6px;
5 box-shadow: 0 2px 4px 0 rgb(2, 47, 57, 0.1);
6 padding: 23px 30px;
7 display: flex;
8 background: var(--bs-white);
9 align-items: center;
10 justify-content: space-between;
11 margin-bottom: 10px;
12 transition: all 0.3s ease-in-out;
13 border: 1px solid var(--black_50);
14
15 &:hover {
16 box-shadow: 0 24px 40px 0 rgba(2, 47, 57, 0.12);
17 border-color: #eef3f6;
18 transform: translateX(10px);
19 }
20
21 .post-content {
22 display: flex;
23 align-items: center;
24 flex-wrap: wrap;
25 gap: 16px;
26 .author-avatar {
27 border-radius: 50%;
28 overflow: hidden;
29 margin-top: -2px;
30 }
31
32 .entry-content {
33 color: var(--black_600);
34 font-size: 16px;
35 }
36
37 img {
38 border-radius: 50%;
39 }
40 }
41 }
42
43 .community-post {
44 &.forum-item {
45 padding: 23px 15px;
46
47 .post-content {
48 p {
49 font-size: 14px;
50 line-height: 1.3;
51 }
52 }
53 }
54
55 @media(max-width: 667px) {
56 display: block;
57 }
58
59 @media(max-width: 420px) {
60 padding: 20px 15px;
61 }
62
63 .post-content {
64 .author-avatar {
65 &.forum-icon {
66 border-radius: 0;
67 margin-right: 0;
68
69 img {
70 padding: 2px;
71 }
72 }
73
74 @media(max-width: 667px) {
75 margin-right: 20px;
76 }
77
78 @media(max-width: 420px) {
79 margin-right: 15px;
80 }
81 }
82
83
84 .entry-content {
85 flex: 2;
86
87 .post-title {
88 font-size: 18px;
89 font-weight: 500;
90 margin: auto;
91 margin-bottom: 0;
92 line-height: 1.7;
93
94 a {
95 text-decoration: none;
96
97 &:hover {
98 color: var(--bbpc_brand_color);
99 }
100 }
101 }
102
103 p {
104 margin: 0;
105 }
106 }
107 }
108
109 .post-meta-wrapper {
110
111 @media(max-width: 667px) {
112 margin-top: 15px;
113 margin-left: 70px;
114 }
115
116 .post-meta-info {
117 margin: 0;
118 padding: 0;
119 list-style: none;
120
121 li {
122 &:not(:last-child) {
123 @media(max-width: 991px) {
124 margin-right: 20px;
125 }
126 }
127 }
128 }
129 }
130
131 &.style-two {
132 margin-bottom: 0;
133 border-radius: 0;
134 box-shadow: none;
135 position: relative;
136
137 .entry-content {
138 .post-title {
139 font-size: 16px;
140 }
141 }
142
143 .post-meta-wrapper {
144 .post-meta-info {
145 li {
146
147 i {
148 transition: all 0.3s ease-in-out;
149 }
150
151 &:nth-child(2) {
152
153 &:hover {
154
155 a {
156 color: #b1b5c0;
157 }
158
159 i {
160 color: #f9ae44;
161 }
162 }
163 }
164 }
165 }
166 }
167
168 .com-featured {
169 position: absolute;
170 right: 0;
171 top: -2px;
172 height: 30px;
173 width: 30px;
174 z-index: 2;
175 text-align: center;
176 color: #fff;
177 padding: 0 15px;
178
179 i {
180 z-index: 22;
181 position: relative;
182 font-size: 14px;
183 }
184
185 &:after {
186 content: '';
187 top: 0;
188 position: absolute;
189 right: 0;
190 width: 0;
191 height: 0;
192 border-left: 30px solid transparent;
193 border-right: 0 solid transparent;
194 border-top: 30px solid #00ae69;
195 z-index: 1;
196 }
197 }
198
199 .cat-wrap {
200 display: inline-block;
201 vertical-align: 3px;
202 }
203 }
204
205 .meta {
206 margin: 0;
207 padding: 0;
208 list-style: none;
209
210 li {
211 img {
212 display: inline-block;
213 vertical-align: -2px;
214 }
215
216 i,
217 img {
218 margin-right: 10px;
219 font-size: 14px;
220 }
221
222 a {
223 font-size: 14px;
224 color: #838793;
225
226 &:hover {
227 color: var(--bbpc_brand_color);
228 }
229 }
230 }
231 }
232 }
233
234 .community-post .post-meta-wrapper .post-meta-info li:first-child {
235 margin-right: 40px;
236 }
237
238 .community-post .post-meta-wrapper .post-meta-info li {
239 display: inline-block;
240 }
241
242 .forum-post-content .forum-post-btm .taxonomy,
243 .community-post.style-two .meta li {
244
245 i,
246 img {
247 margin-right: 5px;
248 }
249 }
250
251 .post-header .category-menu li {
252 i {
253 font-size: 14px;
254 }
255 }