PluginProbe ʕ •ᴥ•ʔ
Author Website Templates – Create Writer, Author & Publisher Websites Easily / 1.1.9
Author Website Templates – Create Writer, Author & Publisher Websites Easily v1.1.9
trunk 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9
author-website-templates / src / template-library / style.scss
author-website-templates / src / template-library Last commit date
LibraryButton.js 2 weeks ago LibraryModal.js 2 weeks ago index.js 2 weeks ago style.scss 2 weeks ago
style.scss
291 lines
1 .awt-library-modal {
2 max-width: 90vw !important;
3 width: 1200px !important;
4 height: 85vh !important;
5 border-radius: 12px !important;
6 overflow: hidden !important;
7 display: flex;
8 flex-direction: column;
9
10 .components-modal__content {
11 padding: 0 !important;
12 display: flex;
13 flex-direction: column;
14 height: 100%;
15 margin-top: 10px;
16 }
17
18 .components-modal__header {
19 display: none; // ডিফল্ট হেডার �
20 ফ করে দিচ্ছি
21 }
22 }
23
24 /* --- Header --- */
25 .awt-library-header {
26 display: flex;
27 justify-content: space-between;
28 align-items: center;
29 padding: 15px 25px;
30 border-bottom: 1px solid #e0e0e0;
31 background: #fff;
32 flex-shrink: 0;
33
34 .awt-header-left {
35 display: flex;
36 align-items: center;
37 gap: 30px;
38
39 .awt-brand {
40 margin: 0;
41 font-size: 18px;
42 font-weight: 700;
43 color: #2271b1;
44 }
45
46 .awt-tabs {
47 display: flex;
48 background: #f0f0f1;
49 padding: 4px;
50 border-radius: 6px;
51
52 .awt-tab {
53 background: transparent;
54 border: none;
55 padding: 6px 16px;
56 font-size: 13px;
57 font-weight: 500;
58 cursor: pointer;
59 border-radius: 4px;
60 transition: all 0.2s;
61
62 &.active {
63 background: #fff;
64 color: #2271b1;
65 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
66 }
67 }
68 }
69 }
70
71 .awt-header-right {
72 display: flex;
73 align-items: center;
74 gap: 15px;
75
76 .awt-search-wrapper {
77 position: relative;
78
79 input {
80 padding-left: 32px;
81 height: 36px;
82 border-radius: 4px;
83 border: 1px solid #ddd;
84 min-width: 250px;
85 }
86
87 svg {
88 position: absolute;
89 left: 8px;
90 top: 50%;
91 transform: translateY(-50%);
92 fill: #999;
93 width: 18px;
94 }
95 }
96 }
97 }
98
99 /* --- Body --- */
100 .awt-library-body {
101 display: flex;
102 flex: 1;
103 overflow: hidden;
104 background: #f8f9fa;
105 }
106
107 /* Sidebar */
108 .awt-library-sidebar {
109 width: 220px;
110 background: #fff;
111 border-right: 1px solid #e0e0e0;
112 padding: 20px;
113 overflow-y: auto;
114
115 h3 {
116 font-size: 12px;
117 text-transform: uppercase;
118 color: #757575;
119 margin-bottom: 15px;
120 letter-spacing: 0.5px;
121 }
122
123 ul {
124 list-style: none;
125 margin: 0;
126 padding: 0;
127
128 li {
129 margin-bottom: 5px;
130
131 button {
132 width: 100%;
133 text-align: left;
134 background: none;
135 border: none;
136 padding: 8px 12px;
137 border-radius: 4px;
138 cursor: pointer;
139 font-size: 14px;
140 color: #333;
141 transition: background 0.2s;
142
143 &:hover {
144 background: #f0f0f1;
145 }
146
147 &.active {
148 background: #e6f0ff;
149 color: #2271b1;
150 font-weight: 500;
151 }
152 }
153 }
154 }
155 }
156
157 /* Content Grid */
158 .awt-library-content {
159 flex: 1;
160 padding: 25px;
161 overflow-y: auto;
162
163 .awt-template-grid {
164 display: grid;
165 grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
166 gap: 25px;
167 }
168
169 .awt-template-card {
170 background: #fff;
171 border-radius: 8px;
172 overflow: hidden;
173 border: 1px solid #e0e0e0;
174 transition: transform 0.2s, box-shadow 0.2s;
175
176
177 .awt-card-preview {
178 height: auto;
179 background: #f0f0f1;
180 position: relative;
181 display: flex;
182 align-items: flex-start;
183 /* Changed from center to accommodate top alignment */
184 justify-content: center;
185 overflow: hidden;
186 /* Ensure overflow is hidden */
187
188 img.awt-pattern-img {
189 width: 100%;
190 height: 100%;
191 object-fit: cover;
192 object-position: top center;
193 transition: transform 0.3s ease;
194 /* Default transition */
195 }
196
197 /* Full Page Specific Styles */
198 &.is-full-page {
199 height: 350px;
200 /* Taller container */
201
202 img.awt-pattern-img {
203 height: auto;
204 min-height: 100%;
205 transition: transform 2.5s ease-in-out;
206 /* Smooth scroll */
207 }
208
209 &:hover {
210 img.awt-pattern-img {
211 transform: translateY(calc(-100% + 350px));
212 /* Scroll to bottom */
213 }
214 }
215 }
216
217 .placeholder-preview {
218 font-size: 60px;
219 color: #cbd5e1;
220 font-weight: 700;
221 align-self: center;
222 /* Center placeholder if image fails */
223 }
224
225 .awt-card-overlay {
226 position: absolute;
227 top: 0;
228 left: 0;
229 width: 100%;
230 height: 100%;
231 background: rgba(255, 255, 255, 0.9);
232 display: flex;
233 align-items: center;
234 justify-content: center;
235 opacity: 0;
236 transition: opacity 0.2s;
237 z-index: 2;
238 /* Ensure overlay is above image */
239 }
240
241 }
242
243 &:hover {
244 transform: translateY(-3px);
245 box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
246 border-color: #2271b1;
247
248 .awt-card-overlay {
249 opacity: 1;
250 background-color: rgba(255, 255, 255, 0);
251 }
252 }
253
254 .awt-card-footer {
255 padding: 12px 15px;
256 border-top: 1px solid #f0f0f1;
257 display: flex;
258 justify-content: space-between;
259 align-items: center;
260
261 h4 {
262 margin: 0;
263 font-size: 14px;
264 color: #333;
265 white-space: nowrap;
266 overflow: hidden;
267 text-overflow: ellipsis;
268 flex: 1;
269 margin-right: 10px;
270 }
271
272 .awt-badge {
273 background: #e6f0ff;
274 color: #2271b1;
275 font-size: 10px;
276 font-weight: 600;
277 padding: 2px 6px;
278 border-radius: 4px;
279 text-transform: uppercase;
280 letter-spacing: 0.5px;
281 }
282 }
283 }
284 }
285
286 .awt-empty-state {
287 text-align: center;
288 padding: 50px;
289 color: #757575;
290 font-size: 16px;
291 }