@toolspack/ttd-pdfjs 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,220 @@
1
+ /* 改变主题色变量 */
2
+ $--color-primary: #336FFF;
3
+ $--color-text-primary: #222222 !default;
4
+ $--color-text-regular: #606266 !default;
5
+ $--color-text-secondary: #909399 !default;
6
+ // $--color-text-placeholder: #C9C9C9 !default;
7
+ $--color-text-placeholder: #cccccc !default;
8
+ $--input-focus-border: #3388FF;
9
+ $--border-color-base: #ccc !default;
10
+
11
+ /* 改变 icon 字体路径变量,必需 */
12
+ $--font-path: '~element-ui/lib/theme-chalk/fonts';
13
+
14
+ $--input-color: $--color-text-primary !default;
15
+ $--input-border-color: $--border-color-base !default;
16
+
17
+
18
+ .el-form-item__label {
19
+ color: #666666;
20
+ }
21
+
22
+ /* 产品创设, 为了使label和title的间距 减小 */
23
+ .el-form--label-top .el-form-item__label {
24
+ padding: 0 0 3px 0;
25
+ }
26
+
27
+ .el-form--inline .el-form-item {
28
+ margin-right: 16px;
29
+ }
30
+
31
+ .el-radio__input.is-checked+.el-radio__label {
32
+ color: inherit
33
+ }
34
+
35
+
36
+ /* 为了使MessageBox 的按钮 变大 (element-ui 使用small) */
37
+ .el-message-box {
38
+ .el-message-box__btns {
39
+ .el-button {
40
+ padding: 12px 23px
41
+ }
42
+ }
43
+ }
44
+
45
+ .el-checkbox__input.is-disabled.is-checked {
46
+ .el-checkbox__inner::after {
47
+ border-color: #336FFF;
48
+ }
49
+ }
50
+
51
+ .el-checkbox.no-label {
52
+ .el-checkbox__label {
53
+ display: none;
54
+ }
55
+ }
56
+
57
+ .el-radio {
58
+ .el-radio__inner {
59
+ width: 20px;
60
+ height: 20px;
61
+
62
+ &:after {
63
+ width: 10px;
64
+ height: 10px
65
+ }
66
+ }
67
+
68
+ .el-radio__input.is-checked:not(.is-disabled) {
69
+ .el-radio__inner {
70
+ background: #fff;
71
+ }
72
+
73
+ .el-radio__inner:after {
74
+ background: #336FFF;
75
+ }
76
+ }
77
+ }
78
+
79
+ /* 修改按钮组的圆角 */
80
+ .el-radio-group {
81
+
82
+ // .el-radio-button:first-child {
83
+ // .el-radio-button__inner {
84
+ // border-radius: 22px 0 0 22px
85
+ // }
86
+ // }
87
+
88
+ // .el-radio-button:last-child {
89
+ // .el-radio-button__inner {
90
+ // border-radius: 0 22px 22px 0
91
+ // }
92
+ // }
93
+ }
94
+
95
+ .el-dialog {
96
+ /* 为了不让继承 容器元素的值 (page-bottom) */
97
+ text-align: left;
98
+ line-height: initial;
99
+ border-radius: 10px;
100
+
101
+ .el-dialog__header {
102
+ padding: 30px 30px 10px 30px
103
+ }
104
+
105
+ .el-dialog__body {
106
+ padding: 10px 30px 20px 30px
107
+ }
108
+
109
+ .el-dialog__footer {
110
+ border-radius: 0 0 10px 10px;
111
+ }
112
+ }
113
+
114
+ .el-message-box {
115
+ height: 300px;
116
+ width: 400px;
117
+ position: relative;
118
+ color: #222;
119
+
120
+ .el-message-box__content {
121
+ font-size: 16px;
122
+ color: #222;
123
+ position: absolute;
124
+ top: 40%;
125
+ transform: translate(0, -40%);
126
+ left: 0;
127
+ right: 0;
128
+ }
129
+
130
+ .el-message-box__btns {
131
+ position: absolute;
132
+ left: 0;
133
+ right: 0;
134
+ bottom: 0;
135
+ padding: 15px 30px;
136
+ background: #F5F5F5;
137
+ }
138
+ }
139
+
140
+ .messageMaxWith {
141
+ max-width: 300px;
142
+
143
+ .el-message__content {
144
+ line-height: 1.5em;
145
+ }
146
+ }
147
+
148
+ .el-upload--picture-card,
149
+ .el-upload-list--picture-card .el-upload-list__item {
150
+ width: 120px;
151
+ height: 120px;
152
+ text-align: center;
153
+ }
154
+
155
+ .el-upload--picture-card {
156
+ line-height: 120px;
157
+
158
+ .el-icon-plus {
159
+ font-size: 36px;
160
+ }
161
+ }
162
+
163
+ .avatar-uploade {
164
+ overflow: hidden;
165
+
166
+ .avatar-uploade-img {
167
+ width: 120px;
168
+ height: 120px;
169
+ }
170
+ }
171
+
172
+
173
+ .plyr--audio .plyr__control.plyr__tab-focus, .plyr--audio .plyr__control:hover, .plyr--audio .plyr__control[aria-expanded=true] {
174
+ background: $--color-primary !important;
175
+ }
176
+ .plyr--full-ui input[type=range] {
177
+ color: $--color-primary !important;
178
+ }
179
+
180
+ .el-alert--primary.is-light {
181
+ color: $--color-primary !important;
182
+ background-color: rgba(51, 111, 255, 0.1);
183
+ }
184
+
185
+ .alert-reset {
186
+ .el-alert__icon{
187
+ width: 16px;
188
+ font-size: 20px;
189
+ align-self: flex-start;
190
+ }
191
+ .el-alert__title {
192
+ font-size: 16px;
193
+ font-weight: 600;
194
+ }
195
+ .el-alert__description {
196
+ font-size: 14px;
197
+ line-height: 22px;
198
+ word-break: break-word;
199
+ }
200
+ }
201
+
202
+ .alert-reset.el-alert--error {
203
+ .el-alert__description {
204
+ color: #9E9494;
205
+ }
206
+ }
207
+
208
+ // 自定义el-tab样式
209
+ .custom-tab .el-tabs__item {
210
+ padding: 14px 0 0 0;
211
+ width: 184px;
212
+ height: 56px;
213
+ line-height: 24px;
214
+ font-size: 16px;
215
+ font-weight: 600;
216
+ text-align: center;
217
+ }
218
+ .custom-tab .el-tabs__header {
219
+ margin: 0 0 24px;
220
+ }
@@ -0,0 +1,59 @@
1
+ /* input 和 button 的样式控制 */
2
+
3
+
4
+ .gray-btn {
5
+ color: #222222;
6
+ border-color: #cccccc;
7
+
8
+ &:hover {
9
+ color: #38f;
10
+ border-color: #38f;
11
+ background-color: #fff;
12
+ }
13
+
14
+ &:active {
15
+ color: #fff;
16
+ background-color: #38f;
17
+ border-color: #38f;
18
+ }
19
+
20
+ &:disabled {
21
+ color: #ccc;
22
+ background-color: #F5F5F5;
23
+ border: 1px solid #E0E0E0;
24
+ }
25
+ }
26
+
27
+ .el-button--danger {
28
+ border-color: #FF3838;
29
+ background: #ffffff;
30
+ color: #FF3838;
31
+
32
+ &:hover {
33
+ color: #FF0511;
34
+ }
35
+ }
36
+
37
+
38
+ .el-input__inner {
39
+ border-radius: 2px;
40
+ padding: 0 10px;
41
+
42
+ }
43
+
44
+ .el-input__inner::-ms-reveal {
45
+ display: none;
46
+ }
47
+
48
+
49
+ .el-form-item.is-success .el-input__inner,
50
+ .el-form-item.is-success .el-input__inner:focus,
51
+ .el-form-item.is-success .el-textarea__inner,
52
+ .el-form-item.is-success .el-textarea__inner:focus {
53
+ border-color: #E0E0E0
54
+ }
55
+
56
+ .el-input.is-disabled .el-input__inner {
57
+ border: 1px solid #E0E0E0;
58
+ color: #CCCCCC;
59
+ }