-
Notifications
You must be signed in to change notification settings - Fork 0
/
unitconvertor.css
100 lines (85 loc) · 1.6 KB
/
unitconvertor.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
h1{
text-align: center;
}
*{
margin:0;
padding:0;
box-sizing: border-box;
}
.converter-wrapper input {
font-family: 'Open Sans', sans-serif;
font-size: 1em;
width: 100%;
text-align: center;
margin-top: 10px;
height: 40px;
box-sizing: border-box;
border-radius: 0px !important;
}
.converter-wrapper span {
position: relative;
display: inline-block;
vertical-align: middle;
width: 100%;
}
.converter-wrapper span select {
background-color: var(--blue);
color: #fff;
font-size: inherit;
padding: 10px;
width: 100%;
border: 0;
margin: 0;
border-radius: 0px;
text-indent: 0.01px;
text-overflow: '';
}
.converter-wrapper span::before,
.converter-wrapper span::after {
content: "";
position: absolute;
pointer-events: none;
}
.converter-wrapper span::after { /* Custom dropdown arrow */
content: "\25BC";
height: 1em;
font-size: .625em;
line-height: 1;
right: 1.5em;
top: 50%;
margin-top: -.5em;
color: #fff;
}
.converter-wrapper span::before { /* Custom dropdown arrow cover */
width: 2.5em;
right: 0;
top: 0;
bottom: 0;
border-radius: 0;
background-color: var(--blue);
}
.converter-side-a,
.converter-side-b {
float: left;
margin-top: 10px;
box-sizing: border-box;
width: 45%;
}
.converter-equals {
float: left;
box-sizing: border-box;
width: 10%;
color: #007bff;
font-size: 2.4em;
line-height: 0;
text-align: center;
padding-top: 60px;
text-align: center !important;
padding-left: 10px;
}
.converter-side-a {
padding-right: 10px;
}
.converter-side-b {
padding-left: 10px;
}