This repository has been archived by the owner on Jun 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
calculator-nc.css
129 lines (114 loc) · 2.47 KB
/
calculator-nc.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
html {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
* {
-webkit-box-sizing: inherit;
box-sizing: inherit;
}
.calc-form {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: flex-end;
-ms-flex-align: flex-end;
align-items: flex-end;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin: auto;
max-width: 40em;
}
.calc-form input, .calc-form select {
border: 1px solid #adadad !important;
background-color: #fff !important;
border-radius: 2px !important;
padding: 5px !important;
margin-bottom: 10px;
width: 100% !important;
height: 2.5em !important;
font-size: 1em !important;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.input-wrapper {
-webkit-box-flex: 0;
-ms-flex: 0 1 50%;
flex: 0 1 50%;
padding: 0 5px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
.graph-wrapper {
padding: 0;
margin: auto;
max-width: 60em;
}
.graph {
width: 100%;
height: auto;
margin-bottom: 300px;
}
.results {
max-width: 60em;
margin: auto;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.results-item {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: stretch;
-ms-flex-align: stretch;
align-items: stretch;
text-align: center;
-webkit-box-flex: 1;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
border-radius: 3px;
margin: 10px;
overflow: hidden;
}
.results-title {
padding: 10px;
background-color: #f5f5f5;
border-bottom: 2px solid #666;
}
.results-value {
padding: 10px;
background-color: #f5f5f5;
}
.final {
stroke: #7ea818;
}
.final > .results-title {
border-bottom: 2px solid #7ea818;
}
.applied {
stroke: #5b8dbd;
}
.applied > .results-title {
border-bottom: 2px solid #5b8dbd;
}
.interest {
stroke: #f80;
}
.interest > .results-title {
border-bottom: 2px solid #f80;
}