-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtable2json.css
113 lines (99 loc) · 2.05 KB
/
table2json.css
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
.table2json .export-button {
padding: 4px 8px;
background: #fff;
border: none;
color: #000;
border: 2px solid currentColor;
border-radius: 4px;
cursor: pointer;
text-align: center;
min-width: 80px;
}
.table2json .export-button:hover {
color: rgb(0, 95, 204);
}
.table2json .export-button-wrap {
margin-bottom: 4px;
}
.table2json .export-button + .export-button {
margin-left: 8px;
}
.table2json .notification-wrapper {
display: flex;
flex-direction: column;
width: 330px;
padding: 14px 26px 14px 50px;
border-radius: 8px;
box-sizing: border-box;
border: 1px solid #ebeef5;
position: fixed;
top: 16px;
right: 16px;
z-index: 2002;
background-color: #fff;
box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);
animation: slideIn .3s ease;
overflow: hidden;
}
.table2json .notification-title {
position: relative;
font-weight: 700;
font-size: 16px;
color: #303133;
margin: 0;
}
.table2json .notification-content {
font-size: 14px;
line-height: 21px;
margin: 6px 0 0;
color: #606266;
text-align: justify;
}
.notification-title:before {
position: absolute;
top: -1px;
left: -34px;
content: '';
width: 24px;
height: 24px;
border-radius: 50%;
}
.notification-title.is-success:before {
background-color: #4ecb73;
}
.notification-title.is-error:before {
background-color: #f2637b;
}
.notification-title.is-error:after {
width: 12px;
height: 3px;
background: #fff;
border: none;
left: -28px;
top: 10px;
}
.notification-title.is-success:after {
top: 2px;
left: -26px;
width: 2px;
height: 8px;
border: 3px solid transparent;
border-bottom-color: #fff;
border-right-color: #fff;
transform: rotate(45deg);
}
.notification-title:after {
position: absolute;
content: '';
box-sizing: content-box;
}
@keyframes slideIn {
from {
transform: translateX(100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}