-
Notifications
You must be signed in to change notification settings - Fork 0
/
prestamos.css
195 lines (164 loc) · 3.25 KB
/
prestamos.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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
@import url('https://fonts.googleapis.com/css?family=DM+Sans&display=swap');
* {
box-sizing: border-box;
}
body {
background: linear-gradient(to right, royalblue, darkblue);
font-family: 'DM Sans', sans-serif;
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
margin: 0;
}
#contenedor, #contenedorTabla {
background-color: #FFF;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
overflow: hidden;
width: 400px;
max-width: 100%;
margin: 20px;
}
#contenedorTabla {
width: 800px;
max-height: 820px;
overflow-y: scroll;
}
::-webkit-scrollbar {
width: 12px;
height: 12px;
}
::-webkit-scrollbar-track {
border: 1px solid rgba(0, 0, 0, 0.3);
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.3);
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: royalblue;
}
.header, thead {
border-bottom: 1px solid #F0F0F0;
background-color: #F7F7F7;
padding: 20px 40px;
}
.header h2 {
margin: 0;
}
#frmPrestamo {
padding: 30px 40px;
}
#frmPrestamo .control, #amortizaciones .control, .radios {
margin-bottom: 10px;
padding-bottom: 20px;
position: relative;
}
#frmPrestamo .control label {
margin-bottom: 5px;
}
#frmPrestamo .control input, #frmPrestamo .control select {
border: 2px solid #F0F0F0;
border-radius: 4px;
font-family: inherit;
font-size: 14px;
padding: 10px;
width: 100%;
}
#frmPrestamo .control input:focus {
outline: 0;
border-color: royalblue;
}
#frmPrestamo button {
background: rgba(65, 105, 225, 90%);
border: 2px solid royalblue;
border-radius: 4px;
color: #FFF;
display: block;
font-family: inherit;
font-size: medium;
padding: 10px;
margin-top: 20px;
width: 100%;
}
table {
border: 2px solid royalblue;
border-collapse: collapse;
border-radius: 4px;
width: 100%;
text-align: center;
font-family: inherit;
font-size: 0.9em;
padding: 10px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
table thead tr {
background: royalblue;
color: white;
text-align: left;
font-weight: bold;
}
table thead, td {
padding: 12px 15px;
}
table tbody tr {
border-bottom: 1px solid #F0F0F0;
}
table tbody tr:nth-last-of-type(even) {
background-color: #F3F3F3;
}
table tbody tr:last-of-type {
border-bottom: 2px solid royalblue;
}
table tbody tr:hover {
color: white;
background: rgba(65, 105, 225, 90%);
}
table tfoot {
background: royalblue;
color: white;
}
.radios {
padding: 10px 20px;
}
.radioContenedor {
display: inline-block;
position: relative;
cursor: pointer;
user-select: none;
padding-left: 30px;
margin: 10px;
}
.radioContenedor input {
display: none;
}
.radioContenedor .circle {
left: 0;
top: 0;
width: 25px;
height: 25px;
border-radius: 50px;
position: absolute;
display: inline-block;
background-color: rgba(65, 105, 225, 90%);
border-bottom: 2px solid royalblue;
}
.radioContenedor:hover .circle {
background-color: royalblue;
}
.radioContenedor input:checked + .circle {
background-color: royalblue;
}
.radioContenedor input:checked + .circle:after {
content: '';
height: 10px;
width: 10px;
background-color: white;
position: absolute;
border-radius: 50%;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}