-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
148 lines (130 loc) · 2.57 KB
/
style.css
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
/* Body Style */
body
{
font-family: arial;
}
.container
{
padding-top: 10px;
}
/***********************************/
/* Calculator Style */
.calculater
{
width: 350px;
/*height: 500px;*/
margin: auto;
padding-top: 30px;
overflow: hidden;
background: linear-gradient(rgba(92,92,92,1.0),rgba(73,73,73,1.0));
border-radius: 30px;
box-shadow: 0px 2px 10px 2px rgba(0,0,0,1.0),inset 0px -5px 10px 2px rgba(0,0,0,1.0);
user-select:none;
}
/***********************************/
/* Calculator Screen Style */
.cal_screen
{
width: 300px;
height: 80px;
margin: 0 auto;
overflow: hidden;
background: rgba(189,206,190,1.0);
border-radius: 20px;
box-shadow: inset 0px 2px 10px 2px rgba(0,0,0,0.8),inset 0px 5px 10px 2px rgba(255,255,255,0.8);
position: relative;
}
.glass_scr
{
width: 100%;
height: 50px;
border-bottom-left-radius: 185px 50px;
border-bottom-right-radius: 185px 50px;
background: rgba(205,222,206,0.5);
}
.scr_number
{
width: 100%;
height: 100%;
position: absolute;
margin: 0px;
top: 0;
font-size: 60px;
text-align: right;
padding-right: 10px;
}
/**********************************
**********************************/
/* Calculator clear buttons style */
.clear_btns
{
width: 100%;
height: 50px;
padding: 30px 0 0 0;
text-align: center;
font-size: 30px;
}
.clear
{
width: 50px;
padding: 5px 0;
color: #fff;
background: rgba(200 ,0 ,0,1);
display: inline-block;
border-radius: 50px;
float: right;
margin-right: 26px;
padding: 5px;
cursor: pointer;
box-shadow: 0px 5px 2px rgba(0,0,0,0.1),0px 0px 2px 1px rgba(0,0,0,.2);
}
.off
{
width: 50px;
padding: 5px 0;
color: #fff;
background: rgba(200 ,0 ,0,1);
display: inline-block;
border-radius: 50px;
float: left;
padding: 5px;
margin-left: 26px;
cursor: pointer;
box-shadow: 0px 5px 2px rgba(0,0,0,0.1),0px 0px 2px 1px rgba(0,0,0,.2);
}
.clear:active,.off:active
{
box-shadow: inset 0px -2px 2px rgba(0, 0, 0, 0.5),inset 0px 2px 2px rgba(0, 0, 0, 0.5);
}
/**********************************
**********************************/
/* Calculator buttons style */
.cal_btns_container
{
width: 100%;
height:auto;
text-align: center;
padding-bottom: 30px;
}
.cal_btn
{
width: 60px;
margin: 5px 7px;
padding: 0px 0;
border-radius: 10px;
background: rgba(238,238,238,1.0);
display: inline-block;
box-shadow: 0px 5px 2px rgba(0,0,0,0.1),0px 0px 2px 1px rgba(0,0,0,.2);
text-align: center;
vertical-align: top;
font-size: 50px;
cursor: pointer;
}
.cal_btn:active
{
box-shadow: inset 0px -2px 2px rgba(0, 0, 0, 0.5),inset 0px 2px 2px rgba(0, 0, 0, 0.5);
}
.equal_btn
{
background: rgba(248,179,84,1);
}