Skip to content

Commit d4df588

Browse files
author
Avaer Kazmer
committed
Add new label.html ui
1 parent 59d6145 commit d4df588

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

label.html

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<style>
5+
* {
6+
box-sizing: border-box;
7+
}
8+
body {
9+
margin: 0;
10+
font-family: 'Open Sans';
11+
font-size: 12px;
12+
}
13+
.wrap {
14+
display: flex;
15+
width: 2048px;
16+
height: 256px;
17+
padding: 30px;
18+
}
19+
.label {
20+
margin-right: 30px;
21+
padding: 30px;
22+
flex: 1;
23+
background-color: #f2f3f5;
24+
border-radius: 40px;
25+
font-size: 120px;
26+
text-overflow: ellipsis;
27+
white-space: nowrap;
28+
overflow: hidden;
29+
}
30+
.icon {
31+
display: flex;
32+
width: calc(256px - 30px * 2);
33+
height: calc(256px - 30px * 2);
34+
font-size: 120px;
35+
color: #FFF;
36+
justify-content: center;
37+
align-items: center;
38+
}
39+
.icon.primary {
40+
background-color: #5c6bc0;
41+
}
42+
.icon.secondary {
43+
background-color: #f44336;
44+
}
45+
.icon.margin {
46+
margin-right: 30px;
47+
}
48+
</style>
49+
</head>
50+
<body>
51+
<div class=wrap>
52+
<div class=label>{{{label}}}</div>
53+
<div class="icon primary margin">
54+
<i class="fal fa-expand-arrows"></i>
55+
</div>
56+
<div class="icon secondary">
57+
<i class="fal fa-trash-alt secondary"></i>
58+
</div>
59+
</div>
60+
</body>
61+
</html>

0 commit comments

Comments
 (0)