-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinvoice-messages.scss
156 lines (135 loc) · 4.25 KB
/
invoice-messages.scss
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
@mixin button-animated {
user-select: none;
cursor: pointer;
transition: opacity 0.35s ease-out;
&:hover {
opacity: 0.9;
transition: none;
}
&:active {
opacity: 0.8;
}
}
.invoice-message {
color: #2c3036;
&__main {
position: relative;
display: flex;
align-items: flex-start;
justify-content: space-between;
padding: 18px 32px 18px 52px;
border: 1px solid #c6c7ca;
border-bottom: none;
border-radius: 4px;
font-size: 14px;
}
&__content {
padding-right: 30px;
&:before {
content: "";
position: absolute;
display: block;
top: 19px;
left: 21px;
width: 18px;
height: 15px;
background-size: cover;
background-image: url('data:image/svg+xml;utf8,<svg enable-background="new 0 0 18.2 15" viewBox="0 0 18.2 15" width="18.2" height="15" xmlns="http://www.w3.org/2000/svg"><g fill="none" stroke="%234da967" stroke-width="1.8"><path d="m2.7.9h12.8c1 0 1.8.8 1.8 1.8v9.6c0 1-.8 1.8-1.8 1.8h-11-1.8c-1 0-1.8-.8-1.8-1.8v-9.6c0-1 .8-1.8 1.8-1.8z"/><path d="m1.1 1.6 8 6.4 8-6.9" stroke-linejoin="round"/></g></svg>');
}
}
&__title {
font-weight: 700;
margin-bottom: 9px;
}
&__text {
color: #7a7a7a;
}
&__additional {
flex-shrink: 0;
}
&__footer {
position: relative;
display: flex;
align-items: center;
min-height: 33px;
font-size: 13px;
color: #fff;
background-color: #06233b;
padding: 5px 52px;
border-radius: 0 0 4px 4px;
box-sizing: border-box;
&:before {
content: "";
display: block;
position: absolute;
left: 22px;
background-size: cover;
}
}
&__footer-icon {
position: absolute;
left: 22px;
}
&_success {
.invoice-message {
&__footer {
background-color: #4da967;
&:before {
width: 20px;
height: 20px;
background-image: url('data:image/svg+xml;utf8,<svg fill="none" viewBox="0 0 20 20" width="20" height="20" xmlns="http://www.w3.org/2000/svg"><g stroke-linecap="round"><circle cx="10" cy="10" r="9.15" stroke="%23caffd9" stroke-width="1.7"/><path d="m7 9.2 2.88235 2.8 4.11765-4" stroke="%23fff" stroke-linejoin="round" stroke-width="2"/></g></svg>');
}
}
}
}
&_danger {
.invoice-message {
&__footer {
background-color: #e8857f;
&:before {
width: 20px;
height: 21px;
background-image: url('data:image/svg+xml;utf8,<svg fill="none" height="21" viewBox="0 0 20 21" width="20" xmlns="http://www.w3.org/2000/svg"><path d="m8.75781 5.52344h2.44529v2.92187l-.6328 5.37499h-1.16405l-.64844-5.37499zm.05469 9.21876h2.3281v2.2578h-2.3281z" fill="%23fff"/><circle cx="10" cy="10.8462" r="9.15" stroke="%23f8d8d7" stroke-linecap="round" stroke-width="1.7"/></svg>');
}
}
}
}
@media screen and (max-width: 767px) {
&__main {
flex-direction: column;
}
&__content {
margin-bottom: 16px;
}
}
}
.invoice-message-view-button {
@include button-animated;
display: flex;
align-items: center;
color: #2c3036;
font-weight: 700;
text-decoration: none;
&:before {
content: "";
display: block;
width: 20px;
height: 18px;
margin-right: 10px;
background-image: url('data:image/svg+xml;utf8,<svg fill="none" height="18" viewBox="0 0 20 18" width="20" xmlns="http://www.w3.org/2000/svg"><path d="m10.75 3.99998c0-.41421-.3358-.75-.75-.75-.41421 0-.75.33579-.75.75zm-1.28033 9.95892c.29289.2929.76773.2929 1.06063 0l4.773-4.77298c.2929-.2929.2929-.76777 0-1.06066-.2929-.2929-.7678-.2929-1.0607 0l-4.2426 4.24264-4.24264-4.24264c-.29289-.2929-.76777-.2929-1.06066 0-.29289.29289-.29289.76776 0 1.06066zm-.21967-9.95892v9.42862h1.5v-9.42862z" fill="%23989caa"/><path d="m.765 2.68421c0-1.05995.85926-1.91921 1.91921-1.91921h14.63159c1.0599 0 1.9192.85926 1.9192 1.91921v12.63159c0 1.0599-.8593 1.9192-1.9192 1.9192h-12.3158-2.31579c-1.05995 0-1.91921-.8593-1.91921-1.9192z" stroke="%23989caa" stroke-width="1.53"/></svg>');
}
}
.invoice-message-button {
@include button-animated;
display: flex;
align-items: center;
text-align: center;
color: #fff;
font-weight: 700;
text-decoration: none;
font-size: 14px;
padding: 0 15px;
background-color: #4da967;
height: 34px;
border-radius: 4px;
}