keycloak-theme/common/resources/scss/table.scss

36 lines
656 B
SCSS
Raw Permalink Normal View History

2022-11-27 03:13:27 +00:00
.ps-table {
overflow: auto;
2022-11-27 03:51:25 +00:00
border-collapse: collapse;
margin-left: -0.25rem;
width: calc(100% + 0.25rem);
td, th {
padding: 0.1rem 0.25rem;
}
tr {
border: 0;
border-left: 0.25rem solid transparent;
&:nth-child(2n) {
background-color: var(--background-darker-1);
border-left: 0.25rem solid var(--background-darker-1);
}
&:hover {
background-color: var(--background-darker-2);
border-color: var(--accent);
}
}
thead tr {
border-bottom: 4px solid var(--foreground-lighter-1);
font-weight: bold;
text-align: center;
}
thead td, th {
padding: 0.1rem 0.5rem;
}
2022-11-27 03:13:27 +00:00
}