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
| /* #ifdef H5 */
| * {
| font-family: Arial, "Microsoft Yahei", "微软雅黑";
| }
|
| .uni-page-head-btn {
| display: inline-flex;
| align-items: center;
| }
| /* #endif */
|
| // 主题
| .cl-page {
| &.theme-default {
| // 渐变色
| .cl-tag.cl-tag--primary:not(.is-plain),
| .cl-button--primary:not(.is-plain) {
| background: linear-gradient(120deg, rgba($cl-color-primary, 0.7), $cl-color-primary);
| border: 0;
| }
|
| .cl-button {
| &.is-custom {
| height: 80rpx;
| font-size: 30rpx;
| width: 100%;
| }
| }
| }
|
| &.theme-grey {
| $color: #f6f7fa;
|
| @mixin set() {
| background-color: $color;
| border-color: $color;
| }
|
| .cl-button--default,
| .cl-input,
| .cl-select-inner,
| .cl-upload,
| .cl-textarea,
| .cl-checkbox.is-border,
| .cl-search__input {
| @include set();
| }
|
| .cl-upload {
| border: 0;
| }
| }
| }
|
| // 其他
| .mp-html {
| // #ifndef MP
| img,
| // #endif
| image {
| display: block;
| max-width: 100%;
| }
|
| .hl-pre {
| border-radius: 20rpx;
| box-sizing: border-box;
| // width 看页面情况设置,如:calc(100vw - 48rpx)
| }
| }
|
| @import "./common.scss";
|
|