-
Notifications
You must be signed in to change notification settings - Fork 1
/
common-styles.js
79 lines (66 loc) · 1.53 KB
/
common-styles.js
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
import {html} from 'lit-element';
export const CommonStyles = html` <style>
*[hidden] {
display: none !important;
}
:host {
display: block;
width: 100%;
--paper-input-container-underline: {
display: none;
}
--paper-input-container-underline-focus: {
display: none;
}
--paper-input-container-underline-disabled: {
display: none;
}
}
:host {
--paper-input-container-underline_-_display: none;
--paper-input-container-underline-focus_-_display: none;
--paper-input-container-underline-disabled_-_display: none;
}
paper-button {
font-weight: 700;
margin: 0 0;
padding: 0 0;
}
#uploadingSpinner {
width: 18px;
height: 18px;
}
iron-icon[icon='done'] {
color: var(--etools-upload-success-color, #72c300);
}
iron-icon[icon='error-outline'],
.delete-button {
color: var(--etools-upload-danger-color, #ea4022);
}
.delete-button {
color: #f1572a;
}
.upload-button {
color: var(--etools-upload-primary-color, var(--primary-color));
margin-inline-end: 8px;
}
paper-button:focus {
outline: 0;
box-shadow: 0 0 5px 5px rgba(170, 165, 165, 0.2);
background-color: rgba(170, 165, 165, 0.2);
}
:host([readonly]) .upload-button {
color: var(--secondary-text-color, rgba(0, 0, 0, 0.54));
}
:host([disabled]) .upload-button {
pointer-events: none;
opacity: 0.33;
}
.upload-button iron-icon {
margin-inline-end: 8px;
}
iron-icon {
min-width: 22px;
min-height: 22px;
}
</style>`;