-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle1.css
More file actions
328 lines (294 loc) · 10.7 KB
/
style1.css
File metadata and controls
328 lines (294 loc) · 10.7 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
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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
body {
font-family: 'Arial', sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 20px;
}
h1 {
color: #333;
}
form {
background: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
label {
margin-top: 10px;
}
input[type="number"], select {
margin: 5px 0 15px;
padding: 10px;
border-radius: 4px;
border: 1px solid #ddd;
width: calc(100%);
}
input[type="submit"], input[type="reset"] {
background-color: #5cb85c;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
margin-top: 20px; /* Separate buttons from the form */
width: auto; /* Adjust width as needed */
}
input[type="submit"]:hover, input[type="reset"]:hover {
background-color: #4cae4c;
}
.buttons-container button {
background-color: #5cb85c; /* Green background */
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
margin-top: 20px; /* Separate buttons from the form */
width: auto; /* Adjust width as needed */
}
.buttons-container button:hover {
background-color: #4cae4c; /* Slightly darker green on hover */
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
th, td {
text-align: left;
padding: 12px;
border-bottom: 1px solid #ddd;
}
tr:nth-child(even) {
background-color: #f2f2f2;
}
.info {
margin-top: 20px;
background: #ffffe0;
border-left: 3px solid #ffeb3b;
padding: 10px;
border-radius: 4px;
}
.flexDienstRow {
display: flex;
align-items: flex-start;
margin-bottom: 10px;
}
.dropdown-container {
display: flex;
flex-direction: column;
margin-right: 20px; /* Space between columns */
}
.dropdown-container label {
margin-bottom: 5px; /* Space between label and dropdown */
}
.dropdown-container select {
width: 100%; /* Adjust as needed for dropdown width */
}
select {
width: 100%; /* Ensure dropdowns take full width of container */
}
#totalBDsDisplayContainer {
margin-top: 20px;
background-color: #e7f4e4; /* Light green background */
padding: 10px;
border-radius: 8px;
border: 1px solid #d4d4d4;
display: inline-block;
}
#totalBDsDisplayContainer strong {
color: #5cb85c; /* Green color for the label */
font-size: 16px;
}
#totalBDsDisplay {
font-weight: bold;
color: #333; /* Darker text for the number */
font-size: 16px;
}
/* Style for the Hourly Wage Dropdown and its Label */
.label-hourly-wage {
display: block;
margin-top: 20px;
color: #333;
font-size: 16px;
}
#hourlyWageSelection {
margin: 5px 0 15px;
padding: 10px;
border-radius: 4px;
border: 1px solid #ddd;
width: calc(100%);
font-size: 16px;
}
/* Style for the total sum row */
.total-sum-row {
font-weight: bold;
}
.tooltip {
position: relative;
cursor: pointer;
display: inline-block;
}
.tooltip sup {
font-size: smaller;
color: black;
background-color: lightblue;
border-radius: 50%; /* Circular shape */
padding: 0 3px; /* Adjust padding to get the desired circle size */
vertical-align: top;
line-height: normal;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 400px; /* Adjust the percentage as needed */
white-space: normal;
background-color: #e6f7ff;
color: #000;
text-align: block;
border-radius: 6px;
padding: 10px 15px;
position: absolute;
z-index: 1;
top: 130%; /* Position it below the element */
left: 50%; /* Start from the middle of the element */
margin-left: -200px; /* Shift it back by half its width to center it */
opacity: 0;
transition: opacity 0.3s;
font-family: Arial, sans-serif; /* Example of a narrower font */
font-weight: normal; /* Adjust font-weight as needed */
}
.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
}
/* General container style */
.container {
max-width: 1000px; /* Adjust as needed */
margin: auto;
padding: 20px;
}
input[type="submit"] {
margin-bottom: 10px; /* Add space at the bottom */
}
input[type="reset"] {
margin-top: 10px; /* Add space on top */
margin-bottom: 30px; /* Add space at the bottom */
}
/* Mobile-specific styles */
@media screen and (max-width: 768px) {
.container {
padding: 0; /* Remove padding or set it to a smaller value */
}
input[type="number"], select, input[type="submit"], input[type="reset"] {
width: calc(100% - 23px);
}
/* Reduce padding or margins as needed on smaller screens for other elements */
.info, form {
padding: 5px;
}
/* Add margin to the bottom of the first button to separate them when stacked */
input[type="submit"]:first-of-type {
margin-bottom: 40px; /* Adjust the value as needed */
}
}
/* Style for horizontal scrolling on tables */
.table-responsive {
width: 100%; /* Use 100% width */
overflow-x: auto; /* Enable horizontal scroll if table is wider */
-webkit-overflow-scrolling: touch; /* Smooth scrolling on touch devices */
}
table {
max-width: 100%; /* This ensures the table is not wider than its container */
border-collapse: collapse;
}
/* Ensure that the results container allows for horizontal scrolling */
#results {
background-color: #fff; /* Set to white or the color you prefer */
margin-top: 20px;
padding: 10px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.advanced-section {
margin-top: 0px;
margin-bottom: 25px;
background-color: #e0f2f1; /* Slight variation in color */
padding: 10px;
border-radius: 8px;
}
.advanced-dropdown {
margin: 5px 0px 15px;
padding: 10px;
border-radius: 4px;
border: 1px solid #bbb; /* Slightly different border color */
background-color: #f0f0f0; /* Lighter background */
width: calc(100%);
}
.number-input {
margin: 5px 0 15px;
padding: 10px;
border-radius: 4px;
border: 1px solid #ddd; /* Consistent border */
width: calc(100% - 23px);
font-size: 16px; /* Consistent font size */
}
/* Style for the Entgeltfortzahlung section */
.entgeltfortzahlung-section {
background-color: #fff; /* Match form background */
padding: 15px; /* Padding inside the section */
border-radius: 8px; /* Rounded corners like form */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Shadow like form */
margin-top: 20px; /* Space above the section */
}
.entgeltfortzahlung-section h4 {
color: #333;
margin-bottom: 10px; /* Space below the heading */
}
/* Style for the table within the Entgeltfortzahlung section */
.entgeltfortzahlung-section table {
width: 100%; /* Full width of the section */
border-collapse: collapse; /* Collapse borders */
margin-top: 10px; /* Space above the table */
table-layout: fixed; /* This ensures columns are evenly spaced */
}
.entgeltfortzahlung-section th, .entgeltfortzahlung-section td {
text-align: left;
padding: 8px; /* Padding inside cells */
border-bottom: 1px solid #ddd; /* Bottom border for cells */
}
.entgeltfortzahlung-section tr:nth-child(even) {
background-color: #f2f2f2; /* Zebra striping for rows */
}
.entgeltfortzahlung-section input[type="number"] {
padding: 8px; /* Padding inside input fields */
border-radius: 4px; /* Rounded corners for input fields */
border: 1px solid #ddd; /* Border for input fields */
width: 100%; /* Full width of the cell */
}
#entgeltfortzahlungInputs {
/* height: 300px; /* Adjust the height as needed */
overflow-x: auto; /* Enable horizontal scrolling */
}
/* Entgeltfortzahlung Section Adjustments */
#entgeltfortzahlungInputs .dropdown-container select {
width: calc(100%); /* Adjust width to match other dropdowns */
}
.footnote {
font-size: 14px; /* Smaller font size for footnotes */
color: #555; /* A slightly lighter color for readability */
margin-top: 20px; /* Space above the footnote */
padding-left: 20px; /* Padding to the left for indent */
}
.footnote sup {
font-size: 10px; /* Even smaller font size for the number */
line-height: normal; /* Adjust line height to align with the text */
}
.footnote a {
text-decoration: none; /* Remove underlines from links */
color: #555; /* Same color as the text for consistency */
}
.footnote a:hover {
text-decoration: underline; /* Underline on hover for clarity */
}