-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathui.css
More file actions
112 lines (93 loc) · 1.75 KB
/
ui.css
File metadata and controls
112 lines (93 loc) · 1.75 KB
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
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
body {
margin: 0;
}
.cinematicui {
position: absolute;
overflow: hidden;
width: 100%;
height: 100%;
}
.first-line, .second-line {
height: 140px;
background-color: #000;
width: 100%;
position: absolute;
left: 0;
transform: translateY(0);
transition: transform .6s;
}
.first-line {
top: 0;
}
.second-line {
bottom: 0;
}
.messages {
font-family: 'Open Sans', sans-serif;
position: absolute;
width: 800px;
left: calc(50% - 400px);
background-color: rgba(0,0,0,.8);
bottom: 160px;
color: #fff;
border-radius: 12px;
padding: 30px;
opacity: 1;
transition: opacity .6s, height .6s;
transition-delay: .6s;
}
.messages section {
opacity: 1;
transition: opacity 200ms
}
.updatingui .messages section {
opacity: 0;
}
.messages .arrow {
position: absolute;
top: -20px;
left: 200px;
width: 0;
height: 0;
border-left: 20px solid transparent;
border-right: 20px solid transparent;
border-bottom: 20px solid rgba(0,0,0,.8);
}
.messages .from {
font-size: 22px;
line-height: 18px;
color: #ee8f67;
}
.messages .message {
font-size: 18px;
}
.messages .buttons {
display: flex;
}
.messages .buttons .btn {
cursor: pointer;
margin-right: 20px;
border-radius: 30px;
border: 2px solid #fff;
padding: 16px 28px;
transition: color .3s;
}
.messages .buttons .btn:hover {
color: #ee8f67;
}
.mt:first-child {
margin-top: 0;
}
.mt {
margin-top: 26px;
}
.hiddenui .first-line {
transform: translateY(-140px);
}
.hiddenui .second-line {
transform: translateY(140px);
}
.hiddenui .messages {
opacity: 0;
}