-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathterminal.css
More file actions
67 lines (60 loc) · 1.42 KB
/
terminal.css
File metadata and controls
67 lines (60 loc) · 1.42 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
.terminal-content {
font-family: consolas, monospace;
margin: 20px;
overflow-y: scroll;
-webkit-user-select: text; user-select: text;
}
.terminal-content > span {
position: absolute;
width: 8px;
height: 18px;
}
.terminal-status-box {
display: none;
position: sticky;
top: 20px;
left: calc(50% - 110px);
width: 200px;
padding: 20px 20px 20px 64px;
text-align: center;
z-index: 1;
border-radius: 4px;
box-shadow: var(--clr-dark) 0 0 4px;
font-family: var(--global-font-family);
font-weight: 800;
white-space: nowrap;
color: var(--clr-dark);
background-color: var(--clr-pane);
background-image: url(mono/connect.svg);
background-size: 48px 48px;
background-position: 8px 50%;
background-repeat: no-repeat;
-webkit-user-select: none; user-select: none;
pointer-events: none;
}
.terminal-cursor {
position: absolute;
z-index: 1;
width: 3px;
height: 20px;
border-radius: 1px;
background-color: var(--clr-accent);
box-shadow: var(--clr-accent) 0 0 4px;
display: none;
transition-timing-function: ease-out;
animation: terminal-blinking 1.2s infinite;
}
.terminal-content:focus > .terminal-cursor {
display: initial;
}
@keyframes terminal-blinking {
20%{opacity:1}
50%{opacity:.1}
80%{opacity:1}
}
@keyframes terminal-shake {
15%, 85% {opacity:1; transform:rotate(-5deg)}
30%, 70% {opacity:1; transform:rotate(10deg)}
40%, 60% {opacity:1; transform:rotate(-18deg)}
50% {opacity:1; transform:rotate(18deg)}
}