blob: 987a0eaa12412428c6545a5b65e82b84b2cd1524 (
plain) (
blame)
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
|
.calculator {
width: 100%;
height: 100%;
position: relative;
background-color: #000;
display: flex;
flex-direction: column;
background-color: var(--color-window-content);
}
.display {
height: 20%;
background-color: var(--color-text);
color: var(--color-window-content);
display: flex;
flex-direction: column;
padding-right: 1em;
> div:nth-child(1) {
font-size: 1em;
padding-top: .5em;
white-space: nowrap;
text-align: right;
}
> div:nth-child(2) {
font-size: 2.5em;
flex-grow: 1;
display: flex;
align-items: center;
justify-content: flex-end;
}
}
.keys {
height: 80%;
width: 100%;
display: flex;
& > div {
height: 100%;
display: flex;
& > div {
height: 25%;
display: flex;
justify-content: center;
align-items: center;
border: 1px solid var(--color-window-buttons);
transition: .3s background-color;
font-size: 2em;
}
&:nth-of-type(1) {
width: 75%;
flex-wrap: wrap;
background-color: var(--color-window-popup);
& > div {
width: 33.3%;
flex-grow: 1;
&:hover {
background-color: var(--color-window-content);
}
&:first-of-type {
order: 2;
}
&:nth-of-type(12) {
order: 3;
}
}
}
&:nth-of-type(2) {
width: 25%;
flex-direction: column;
& > div {
width: 100%;
background-color: var(--color-window-menu-alt);
&:hover {
background-color: var(--color-window-content);
}
}
}
}
}
|