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

107 lines
2.0 KiB
SCSS
Raw Normal View History

2024-08-15 14:44:53 +03:00
.table {
2024-08-14 22:04:34 +03:00
min-width: 600px;
2023-10-02 23:10:49 +03:00
overflow: auto;
2024-08-17 19:23:19 +03:00
background: var(--p20);
padding: 1px;
2024-08-15 18:52:53 +03:00
font-size: 14px;
2024-08-17 19:23:19 +03:00
border-radius: 12px;
2023-10-02 23:10:49 +03:00
table {
2024-08-17 19:23:19 +03:00
background: var(--p20);
2024-08-15 14:44:53 +03:00
width: 100%;
2024-08-17 19:23:19 +03:00
border-collapse:separate;
border: none;
border-spacing: 0;
}
thead{
border-radius: 12px;
tr{
border-radius: 12px;
}
2023-10-02 23:10:49 +03:00
}
2024-08-17 19:23:19 +03:00
2023-10-02 23:10:49 +03:00
th {
2024-08-15 18:52:53 +03:00
font-size: 14px;
2023-10-02 23:10:49 +03:00
font-weight: normal;
white-space: nowrap;
2023-11-21 14:06:41 +02:00
max-width: 400px;
2024-08-17 19:23:19 +03:00
border: none;
background: var(--p20);
2024-08-15 18:52:53 +03:00
text-align: left;
2023-10-02 23:10:49 +03:00
padding: 8px 16px;
2024-08-17 19:23:19 +03:00
2023-10-02 23:10:49 +03:00
&.is-sort {
2024-08-15 18:52:53 +03:00
font-weight: 700;
2023-10-02 23:10:49 +03:00
}
2024-08-17 19:23:19 +03:00
&:first-child{
border-radius: 12px 0 0 0 ;
}
&:last-child{
border-radius: 0 12px 0 0;
}
2023-10-02 23:10:49 +03:00
}
td {
font-weight: normal;
white-space: nowrap;
2023-11-21 14:06:41 +02:00
max-width: 400px;
2023-10-02 23:10:49 +03:00
height: 48px;
padding: 4px 16px;
2024-08-17 19:23:19 +03:00
border: none;
2023-10-02 23:10:49 +03:00
overflow: hidden;
2024-08-15 18:52:53 +03:00
2024-08-15 14:44:53 +03:00
2024-08-15 22:11:26 +03:00
//img{
// width: 48px;
//}
2024-08-15 14:44:53 +03:00
.status{
2024-08-17 19:23:19 +03:00
color:var(--text);
2024-08-15 14:44:53 +03:00
font-size: 80%;
}
.row-name{
display: flex;
align-items: center;
gap: 6px;
}
2024-08-15 18:52:53 +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 19:23:19 +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 19:23:19 +03:00
2023-10-02 23:10:49 +03:00
tr:nth-child(odd) {
2024-08-15 14:44:53 +03:00
//background-color: #f9f9f9;
2023-10-02 23:10:49 +03:00
}
td:nth-child(odd) {
// border-left: 1px solid #e4e4e4;
// border-right: 1px solid #e4e4e4;
}
th:nth-child(odd) {
2024-08-15 18:52:53 +03:00
2023-10-02 23:10:49 +03:00
}
.field-ui-number {
text-align: right;
}
}