PluginProbe
Forumax – AI Powered Advanced Community Forum Plugin / 2.4.0
Forumax – AI Powered Advanced Community Forum Plugin v2.4.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 / assets / frontend / scss / el-widgets / _forumPosts.scss

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

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