Files
mareike/public/css/costunits.css
T
2026-05-23 18:08:27 +02:00

134 lines
3.2 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
.costunit-list table tr th {
font-weight: normal;
width: 150px !important;
padding-right: 20px;
font-size: 10pt;
line-height: 1.8em;
vertical-align: top;
}
.costunit-list table tr td {
font-size: 10pt;
line-height: 1.8em;
}
.costunit-list table tr td:not(:last-child) {
font-weight: normal;
width: 150px;
padding-right: 20px;
vertical-align: top;
}
.costunit-list table tr td input[type="button"] {
width: 350px;
}
.costunit-list table
{
width: calc(100% - 50px) !important;
border-style: solid;
border-width: 1px;
border-color: #cccccc;
border-radius: 10px;
margin-bottom: 20px;
padding: 10px;
box-shadow: 5px 5px 10px #e0e0e0;
}
.costunit-list table thead td {
font-weight: bolder;
font-size: 12pt;
}
/* ═══════════════════════════════════════════
RESPONSIVE TABLET (640px 1023px)
═══════════════════════════════════════════ */
@media (max-width: 1023px) {
.costunit-list table {
width: 100% !important;
font-size: 0.88rem;
}
.costunit-list table tr td input[type="button"] {
width: 100%;
margin-bottom: 6px;
}
.costunit-list table tr th {
width: 120px !important;
font-size: 0.88rem;
}
}
/* ═══════════════════════════════════════════
RESPONSIVE SMARTPHONE (< 640px)
═══════════════════════════════════════════ */
@media (max-width: 639px) {
.costunit-list table {
width: 100% !important;
padding: 8px !important;
}
.costunit-list table thead,
.costunit-list table tbody,
.costunit-list table tfoot,
.costunit-list table tr,
.costunit-list table td,
.costunit-list table th {
display: block !important;
width: 100% !important;
}
.costunit-list table td[rowspan] {
width: 100% !important;
}
.costunit-list table tr {
display: flex !important;
flex-wrap: wrap;
align-items: center;
gap: 4px;
margin-bottom: 4px;
}
.costunit-list table tr th {
flex: 0 0 140px;
font-size: 0.82rem !important;
width: 140px !important;
padding-right: 8px;
}
.costunit-list table tr td {
flex: 1;
font-size: 0.82rem;
padding-right: 0;
}
.costunit-list table thead tr td {
font-size: 1rem !important;
padding: 6px 0 !important;
border-bottom: 1px solid #ddd;
margin-bottom: 8px;
}
.costunit-list table tr td:last-child {
flex: 0 0 100%;
display: flex;
flex-direction: column;
gap: 6px;
padding-top: 8px;
}
.costunit-list table tr td input[type="button"] {
width: 100% !important;
margin: 0 !important;
font-size: 0.85rem;
padding: 10px;
}
.costunit-list .link {
display: inline-block;
margin: 4px 0;
font-size: 0.85rem;
}
}