decorator-modular.css
9.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
/* 店铺装修管理列表样式 */
.hover-me {
display: inline-block;
position: relative;
width: 24px;
height: 24px;
background: url('/static/assets/images/decorator/more-icon.png') no-repeat 0 0;
cursor: pointer; /* 鼠标经过手状 */
margin-left: 2px;
top: 5px;
}
.hover-left {
position: absolute;
top: -6px;
left: 20px;
width: 20px;
height: 164px;
}
.hover-pop {
position: absolute;
margin-left: 35px;
top: -6px;
z-index: 9999;
display: inline-block;
}
.hover-right {
display: inline-block;
border-radius: 3px;
border: 1px solid #dce4e6;
box-shadow: 1px 1px 2px #f2f2f2;
overflow: auto;
width: 300px;
height: 164px;
background: #FFFFFF;
}
.hover-pop .pop-arrow {
display: inline-block;
width: 10px;
position: absolute;
top: 10px;
left: -10px;
height: 15px;
background: url(/static/assets/images/decorator/chat-pop.png) no-repeat 0 0;
}
/*店铺装修模块化样式*/
.decorator-container {
clear: both;
overflow: hidden;
}
/* 所有字体样式 */
.decorator-container .title {
font-family: microsoft yahei;
}
/* 重写装修模板内所有的按钮样式 */
.decorator-container .btn {
padding: 5px 25px;
font-size: 15px;
}
/* 重新顶级导航背景颜色 */
.navbar-default {
background: #FFFFFF;
box-shadow: 0px 0px 15px rgba(0,0,0,.2);
}
/* yoho logo样式 */
.navbar-header .logo {
width: 160px;
height: 30px;
}
/* 顶级导航中字体样式 */
.navbar-header .title {
color: #444444;
font-size: 20px;
margin-left: 20px;
font-weight: bold;
}
/* PC/APP 装修TAB页 */
.platform-tab {
position: absolute;
margin-top: 4px;
}
.platform-tab li {
margin-left: 160px;
}
.platform-tab img {
margin-right: 10px;
}
.platform-tab .platform-title {
font-family: microsoft yahei;
font-size: 16px;
position: relative;
top: 2px;
}
/* 顶级导航 */
.navbar {
border-radius: 0 !important;
height: 60px;
}
.navbar-decorator-right {
margin-top: 15px !important;
}
.navbar-decorator-right .btn {
margin-left: 10px;
}
.shop-name {
font-size: 18px;
margin-right: 30px;
vertical-align: bottom;
font-family: microsoft yahei;
}
/* 左侧模板列表页 */
.decorator-left {
position: absolute;
top: 60px;
background: #E7E7E7;
bottom: 0;
width: 200px;
overflow: hidden;
box-shadow: 0px 0px 15px rgba(0,0,0,.2);
}
/* 底部按钮 */
.left-footer {
position: absolute;
width: 200px;
bottom: 0;
height: 60px;
background: #FFFFFF;
border: 1px solid #E7E7E7;
box-shadow: 0px 0px 15px rgba(0,0,0,.2);
}
.left-footer .save-btn {
margin-left: 10px;
margin-top: 5px;
position: relative;
top: 8px;
}
/*.left-footer .btn {
position: relative;
top: 50%;
transform: translateY(-50%);
margin-left: 8px;
margin-right: 5px;
}*/
/* 覆盖bootstrap默认样式 */
.dropdown-menu {
min-width: 100px;
}
.dropdown-menu li {
margin-top: 2px;
}
.dropdown-menu>li>a {
color: #FFFFFF;
}
.template-list-parent {
position: absolute;
bottom: 60px;
top: 28px;
width: 100%;
overflow-y: auto;
}
/* 左侧模板列表 */
.template-list {
text-align: center;
}
.template-list .title {
font-size: 14px;
color: #444444;
margin-left: -25%;
font-weight: bold;
}
.template-list .template {
background: url('/static/assets/images/decorator/template-logo.png');
margin-bottom: 10px;
margin-left: 62px;
width: 76px;
height: 98px;
cursor: pointer;
}
.template-list .selected-template {
background: url('/static/assets/images/decorator/template-selected-logo.png');
margin-bottom: 10px;
margin-left: 62px;
width: 76px;
height: 98px;
box-shadow: 0px 0px 16px rgba(0,0,0,.4);
cursor: pointer;
}
.create-time {
margin-bottom: 30px;
}
.create-time img {
margin-right: 5px;
margin-top: -3px;
}
.decorator-template .template-name {
font-size: 14px;
color: #444444;
position: relative;
top: 50%;
transform: translateY(-50%);
font-family: microsoft yahei;
}
.decorator-template .template-del-icon {
position: absolute;
margin-top: -108px;
margin-left: 20px;
z-index: 21;
width: 20px;
height: 20px;
}
.decorator-template .published-template-icon {
position: absolute;
margin-top: -108px;
margin-left: 6px;
z-index: 21;
width: 32px;
height: 20px;
}
/* 装修主体 */
.decorator-right {
position: absolute;
top: 60px;
left: 200px;
bottom: 0;
overflow: hidden;
}
.app-template {
margin-top: 38px;
margin-left: 480px;
height: 800px;
overflow-y: auto;
overflow-x: hidden;
background: #F0F0F0;
border: 1px dashed;
box-shadow: 0px 0px 15px rgba(0,0,0,.8);
}
.pc-template {
margin-top: 38px;
width: 1150px;
height: 800px;
overflow-y: auto;
overflow-x: hidden;
background: #F0F0F0;
border: 1px dashed;
}
/* 适配笔记本电脑 */
@media screen and (max-device-height: 900px) {
.app-template {
height: 680px;
}
.pc-template {
height: 680px;
}
}
@media screen and (max-device-height: 800px) {
.app-template {
height: 600px;
}
.pc-template {
height: 800px;
}
}
@media screen and (max-device-width: 1920px) {
.app-template {
margin-left: 572.5px;
}
.pc-template {
margin-left: 285px;
}
.platform-tab {
left: 718px;
}
}
@media screen and (max-device-width: 1440px) {
.app-template {
margin-left: 332.5px;
}
.pc-template {
margin-left: 45px;
}
.platform-tab {
left: 478px;
}
}
/* 编辑框 */
.modular-editor {
position: relative;
margin-bottom: 15px;
background: #FFFFFF; /* 模块背景色 */
box-shadow: 0px 0px 5px rgba(0,0,0,.2);
}
.modular-editor .editor-border{
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0px;
border: 2px solid #666666;
background: #E7E7E7; /* 蒙版颜色 */
opacity: 0.6; /* 蒙版透明度 */
z-index: 21;
}
/* 对APP端店招特殊处理 */
.modular-editor .editor-border-app-banner{
width: 100%;
height: 117px;
position: absolute;
top: 0;
left: 0px;
border: 1px solid #666666;
background: #E7E7E7; /* 蒙版颜色 */
opacity: 0.6; /* 蒙版透明度 */
}
/* 删除图标 */
.modular-editor .del-icon {
position: absolute;
display: block;
top: 2px;
right: 2px;
z-index: 21;
}
/* 对于高度比较小的模块,删除图标放置在左边 */
.modular-editor .del-icon-left {
position: absolute;
display: block;
left: 2px;
bottom: 2px;
z-index: 21;
}
/* 编辑图标 */
.modular-editor .editor-icon {
position: absolute;
display: block;
bottom: 2px;
right: 2px;
z-index: 21;
}
/* 添加模块图标 */
.modular-editor .add-module-icon {
position: absolute;
display: block;
bottom: 2px;
right: 37px;
z-index: 21;
}
/* 添加模块图标 */
.modular-editor .add-module-icon-right {
position: absolute;
display: block;
bottom: 2px;
right: 2px;
z-index: 21;
}
/* 重写编辑框中按钮样式 */
.editor-dialog .btn {
padding: 5px 25px;
font-size: 15px;
}
/* 图片上传按钮样式 */
.editor-dialog .upload-image {
cursor: pointer;
height: 40px;
top: 0px;
width: 40px;
margin-left: -15px;
}
/* 关联类型下拉框字体 */
.editor-dialog .link-type {
font-family: microsoft yahei;
font-size: 12.5px;
}
/* 商品分类下拉框 */
.editor-dialog .category-resource {
font-family: microsoft yahei;
font-size: 12.5px;
}
.editor-dialog .select-product {
color: #fff;
background-color: #5cb85c;
border-color: #4cae4c;
font-size: 12px;
}
.editor-dialog .unselect-product {
color: #fff;
background-color: #f0ad4e;
border-color: #eea236;
font-size: 12px;
}
.editorTip .module-tips {
font-family: microsoft yahei;
font-style: italic;
}
.editorTitle .content {
font-family: microsoft yahei;
font-size: 16px;
padding: 0;
text-align: left;
margin-bottom: 24px;
}
.editorTitle .observe {
width: 100px;
display: inline-block;
padding: 7px;
}
.editor-header .title {
font-family: microsoft yahei;
font-size: 14px;
padding: 0;
text-align: left;
}
/* 设置滚动条的样式 */
.decorator-container ::-webkit-scrollbar {
width:5px;
}
/* 滚动槽 */
.decorator-container ::-webkit-scrollbar-track {
border-radius:10px;
}
/* 滚动条滑块 */
.decorator-container ::-webkit-scrollbar-thumb {
border-radius:10px;
background: #C6C6C6;
}
/* 保存模板弹出框提示信息 */
.save-template-tips {
font-family: microsoft yahei;
font-style: italic;
color: red;
margin-top: 5px;
}
.copy-link{
position: absolute;
left: 0;
z-index: 5;
background-repeat: no-repeat;
background-position: 0px 0px;
width: 40px;
height: 40px;
line-height: 40px;
text-align: center;
border-style: solid;
border-width: 1px;
border-color: #ccc;
}