-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.scss
More file actions
85 lines (84 loc) · 1.35 KB
/
style.scss
File metadata and controls
85 lines (84 loc) · 1.35 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
* {
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
background-color: #24282a;
height: 100vh;
}
.calc-body {
width: 300px;
height: 400px;
display: grid;
grid-template-rows: 30% 70%;
}
.calc-display {
background-color: #37414d;
padding: 20px;
display: grid;
grid-template-rows: 1fr 2fr;
border-radius: 20px 20px 0px 0px;
input {
border: none;
background-color: #37414d;
color: white;
width: 100%;
}
}
.expression {
font-size: 25px;
}
.result {
font-size: 30px;
text-align: end;
}
.calc-buttons {
display: grid;
grid-gap: 10px;
grid-template-columns: 1fr 1fr 1fr 1fr;
background-color: #e4e7ee;
padding: 20px;
border-radius: 0px 0px 20px 20px;
}
.equal {
grid-column: 3/5;
background-color: #ed7908;
}
.btn {
display: block;
border-radius: 10px;
font-size: 20px;
color: white;
border: none;
box-shadow: 1px 1px 10px -2px #000000;
cursor: pointer;
}
.clear {
background-color: #3183e0;
}
.math-operation {
background-color: #4f5962;
}
.num {
background-color: #7a8196;
}
.dot {
background-color: #7a8196;
}
.bracket {
background-color: #4f5962;
}
.disabled {
animation: disabledAdded 0.5s linear forwards;
cursor: default;
}
@keyframes disabledAdded {
0% {
background-color: #4f5962;
}
100% {
background-color: #9eadbb;
}
}