Files
lucent-laravel/front/sass/_table.scss
T

141 lines
2.0 KiB
SCSS
Raw Normal View History

2024-08-15 14:44:53 +03:00
.table {
2024-08-17 20:31:04 +03:00
min-width: 600px;
overflow: auto;
background: var(--p20);
padding: 1px;
font-size: 14px;
border-radius: 12px;
table {
2024-08-17 19:23:19 +03:00
background: var(--p20);
2024-08-17 20:31:04 +03:00
width: 100%;
border-collapse: separate;
border: none;
border-spacing: 0;
}
thead {
2024-08-17 19:23:19 +03:00
border-radius: 12px;
2023-10-02 23:10:49 +03:00
2024-08-17 20:31:04 +03:00
tr {
border-radius: 12px;
2023-10-02 23:10:49 +03:00
}
2024-08-17 19:23:19 +03:00
2024-08-17 20:31:04 +03:00
}
th {
font-size: 14px;
font-weight: normal;
white-space: nowrap;
max-width: 400px;
border: none;
background: var(--p20);
text-align: left;
padding: 8px 16px;
&.is-sort {
font-weight: 700;
2023-10-02 23:10:49 +03:00
}
2024-08-17 20:31:04 +03:00
&:first-child {
border-radius: 12px 0 0 0;
2023-10-02 23:10:49 +03:00
}
2024-08-17 20:31:04 +03:00
&:last-child {
border-radius: 0 12px 0 0;
2023-10-02 23:10:49 +03:00
}
2024-08-17 20:31:04 +03:00
}
td {
font-weight: normal;
white-space: nowrap;
max-width: 400px;
height: 48px;
padding: 4px 16px;
border: none;
overflow: hidden;
2023-10-02 23:10:49 +03:00
2024-08-17 20:31:04 +03:00
//img{
// width: 48px;
//}
2024-08-17 19:23:19 +03:00
2024-08-17 20:31:04 +03:00
.status {
color: var(--text);
font-size: 80%;
2023-10-02 23:10:49 +03:00
}
2024-08-17 20:31:04 +03:00
.row-name {
display: flex;
align-items: center;
gap: 6px;
2023-10-02 23:10:49 +03:00
}
2024-08-15 18:52:53 +03:00
2024-08-17 20:31:04 +03:00
.title-td-contents {
display: flex;
align-items: center;
gap: 6px;
font-size: 14px;
line-height: 14px;
2023-10-02 23:10:49 +03:00
}
2024-08-17 20:31:04 +03:00
}
2023-10-02 23:10:49 +03:00
2024-08-17 20:31:04 +03:00
tbody {
tr {
border-radius: 12px;
background: var(--p10);
border: none;
&:has(input:checked) {
background: var(--p30);
}
&:hover {
background: var(--p20);
}
2023-10-02 23:10:49 +03:00
}
2024-08-17 20:31:04 +03:00
}
tr:nth-child(odd) {
//background-color: #f9f9f9;
}
td:nth-child(odd) {
// border-left: 1px solid #e4e4e4;
// border-right: 1px solid #e4e4e4;
}
th:nth-child(odd) {
}
.field-ui-number {
text-align: right;
}
2024-09-27 16:48:05 +03:00
.references{
display: flex;
gap: 4px;
.reference{
font-size: 13px;
border-radius: 12px;
background: var(--p30);
padding: 1px 5px;
}
}
2024-08-17 20:31:04 +03:00
}
.file-table-row {
display: flex;
align-items: center;
gap: 5px;
& > div {
display: flex;
flex-flow: column;
gap: 5px;
}
2023-10-02 23:10:49 +03:00
}