This repository has been archived by the owner on Oct 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.style.ts
103 lines (89 loc) · 2.01 KB
/
index.style.ts
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
import { css } from 'lit';
export const modalStyle = css`
.modal--overlay {
position: absolute;
top: 0;
left: 0;
z-index: 3;
width: 100%;
height: 100%;
background: rgba(var(--sv-gray-400), 0.8);
z-index: 99;
}
.modal--container {
display: flex;
align-items: center;
justify-content: center;
position: absolute;
top: 0;
left: 0;
z-index: 4;
width: 100%;
height: 100%;
background: transparent;
z-index: 99;
}
.modal--container > .modal {
background: #fff;
min-width: 370px;
min-height: 150px;
border-radius: 6px;
}
.modal--container > .modal > .modal--header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 16px;
background: rgb(var(--sv-gray-200));
border-radius: 6px 6px 0 0;
}
.modal--container > .modal > .modal--header > .text {
display: flex;
align-items: center;
}
.modal--container > .modal > .modal--header > .close {
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
color: rgb(var(--sv-gray-600));
cursor: pointer;
}
.modal--container > .modal > .modal--body {
display: flex;
align-items: center;
justify-content: center;
padding: 24px 24px 0 24px;
}
.modal--container > .modal > .modal--body > .modal--body-content {
padding: 8px 0;
text-align: center;
}
.modal--container > .modal > .modal--footer {
padding: 8px;
display: flex;
align-items: center;
justify-content: center;
gap: 24px;
padding: 24px;
}
.btn {
width: 150px;
height: 40px;
text-transform: uppercase;
}
.btn--confirm {
background: rgb(var(--sv-primary));
border-radius: 4px;
border: 1px solid rgb(var(--sv-primary));
color: #fff;
cursor: pointer;
}
.btn--cancel {
background: transparent;
border-radius: 4px;
border: 1px solid rgb(var(--sv-gray-400));
color: rgb(var(--sv-gray-400));
cursor: pointer;
}
`;