-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
102 lines (91 loc) · 1.69 KB
/
Copy pathmain.css
File metadata and controls
102 lines (91 loc) · 1.69 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
@font-face {
font-family: "Product-sans";
src: url("fonts/Product-Sans-Regular.ttf");
}
body {
font-family: "Product-sans";
margin: 0;
padding: 0;
}
button, input {
font-family: "Product-sans";
}
.calc-container {
max-width: 300px;
margin: 0 auto;
background: #2196f3;
padding: 20px;
box-sizing: border-box;
border-radius: 8px;
border: 4px solid #0d47a1;
box-shadow: 1px 7px 15px -3px rgba(0, 0, 0, 0.5);
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.row {
position: relative;
width: 100%;
display: flex;
justify-content: space-between;
}
.row button {
width: 90%;
height: 50px;
margin: 5px;
background: transparent;
border: none;
box-shadow: 0 3px 0 #0d47a1;
border-radius: 5px;
outline: 0;
background: #fff;
cursor: pointer;
}
.row button.operator[data-operator="="] {
width: 600px;
background: #1565c0;
color: #fff;
border: none;
box-shadow: 0 3px 0 #04428a;
}
.row button:active {
transition: 0.4s ease;
transform: translateY(2px);
box-shadow: 0 0 0 #04428a;
}
button.btn-clr {
width: 50%;
height: auto;
padding: 6px 0;
margin: 0 auto 10px;
display: block;
background: #3f51b5;
border: 0;
border-radius: 30px;
box-shadow: 0 0;
color: #fff;
outline: 0;
cursor: pointer;
transform: scale(1);
transition: transform 0.4s ease;
}
button.btn-clr:active {
transform: scale(0.9);
}
.calc-view input {
display: block;
width: 100%;
background: transparent;
border: 0;
text-align: right;
padding: 10px 15px;
box-sizing: border-box;
color: #fff;
}
.calc-view input:last-child {
border-radius: 5px;
margin-bottom: 15px;
font-size: 30px;
background: #1b86da;
}