-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
135 lines (117 loc) · 2.29 KB
/
style.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
* {
outline: 0px dotted red;
}
.jnoty-inline {
font-size: 16px;
color: #fff;
display: inline-flex;
flex-direction: column;
align-items: flex-end;
position: fixed;
right: 0;
bottom: 0;
z-index: 1070;
}
.jnoty-inline-item {
border-radius: 2px;
background-color: #42526E;
box-shadow: 1px 2px 4px 0 rgba(117, 117, 117, 0.50);
display: inline-flex;
flex-direction: row;
align-items: stretch;
margin: 4px 18px;
max-width: 540px;
overflow: hidden;
}
.jnoty-inline-item:first-child {
animation: slide 0.4s ease;
}
.jnoty-inline-item:last-child {
margin-bottom: 18px;
}
@keyframes slide {
0% {
transform: translateX(0px);
}
100% {
transform: translateX(-40px);
}
}
.jnoty-inline-flag {
display: inline-block;
flex: none;
padding: 8px 8px;
line-height: 33px;
width: 42px;
max-width: 42px;
white-space: nowrap;
overflow: hidden;
}
svg {
display: inline-block;
vertical-align: middle;
}
.jnoty-inline-message {
line-height: 29px;
padding: 10px 16px;
}
.jnoty-inline-controls {
padding: 10px 8px;
cursor: pointer;
}
.jnoty-inline-pending .jnoty-inline-flag {
background: #00B8D9;
}
.jnoty-inline-fulfilled .jnoty-inline-flag {
background: #36B37E;
}
.jnoty-inline-rejected .jnoty-inline-flag {
background: #FF5630;
}
/**spinner**/
.jnoty-inline-flag_spinner {
display: inline-block;
width: 24px;
height: 24px;
vertical-align: middle;
border: .25em solid currentColor;
border-right-color: transparent;
border-radius: 50%;
animation: spinner-border .75s linear infinite;
}
@keyframes spinner-border {
to {
transform: rotate(360deg);
}
}
.jnoty-inline-controls_close {
display: inline-block;
border: none;
border-radius: 50%;
vertical-align: middle;
background-color: transparent;
margin: 0;
height: 26px;
width: 26px;
padding: 0px;
text-decoration: none;
color: #fff;
cursor: pointer;
text-align: center;
transition: background 250ms ease-in-out, transform 150ms ease;
-webkit-appearance: none;
-moz-appearance: none;
}
.jnoty-inline-controls_close:hover {
background-color: #6B778C;
}
.jnoty-inline-controls_close:focus {
background: #7A869A;
}
.jnoty-inline-controls_close:focus {
outline: none;
}
.jnoty-inline-controls_close:active {
transform: scale(0.99);
outline: none;
}