udemy-go-web-1/static/admin/scss/components/_tables.scss

59 lines
1.0 KiB
SCSS

/* Tables */
.table {
margin-bottom: 0;
thead {
th {
border-top: 0;
border-bottom-width: 1px;
font-weight: bold;
font-size: .875rem;
i {
margin-left: 0.325rem;
}
}
}
th,
td {
vertical-align: middle;
line-height: 1;
white-space: nowrap;
padding: $table-cell-padding;
}
td {
font-size: $default-font-size;
img {
width: 36px;
height: 36px;
border-radius: 100%;
}
.badge {
margin-bottom: 0;
}
}
&.table-borderless {
border: none;
tr,
td,
th {
border: none;
}
}
&.table-bordered {
border-top: 1px solid $border-color;
}
&.table-hover {
thead,
tbody {
tr {
cursor: pointer;
}
}
}
}
.table > :not(:last-child) > :last-child > *, .jsgrid .jsgrid-table > :not(:last-child) > :last-child > * {
border-bottom-color: $border-color;
}
.table > :not(:first-child), .jsgrid .jsgrid-table > :not(:first-child) {
border-top: none;
}