106 lines
1.8 KiB
SCSS
106 lines
1.8 KiB
SCSS
table {
|
|
margin: 8px 0;
|
|
padding: 8px 0;
|
|
border-collapse: collapse;
|
|
text-align: left;
|
|
|
|
td,
|
|
th {
|
|
padding: 8px 16px;
|
|
border-top: 1px solid $gray;
|
|
vertical-align: middle;
|
|
|
|
&.center {
|
|
text-align: center;
|
|
}
|
|
&.right {
|
|
text-align: right;
|
|
}
|
|
&.left {
|
|
text-align: left;
|
|
}
|
|
|
|
&.wrap {
|
|
white-space: normal;
|
|
}
|
|
|
|
&.nowrap {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
&.lead_column {
|
|
border-right: 3px solid $gray;
|
|
}
|
|
}
|
|
|
|
th {
|
|
font-weight: $semi-bold;
|
|
background-color: $light-gray;
|
|
}
|
|
|
|
tr {
|
|
|
|
height: 40px;
|
|
|
|
&:last-of-type,
|
|
&.show_as_last_row{
|
|
|
|
td, th {
|
|
border-bottom: 1px solid $gray;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.fullwidth {
|
|
width: 100%;
|
|
}
|
|
|
|
&#passwords_table,
|
|
&#groups_table {
|
|
min-width: 421px;
|
|
}
|
|
|
|
}
|
|
|
|
//Wrapperji za horizontal scroll
|
|
div {
|
|
.table-horizontal-scroll-wrapper1 {
|
|
display: table;
|
|
table-layout: fixed;
|
|
width: 100%;
|
|
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.table-horizontal-scroll-wrapper2 {
|
|
display: table-cell;
|
|
overflow-x: auto;
|
|
width: 100%;
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
white-space: nowrap;
|
|
margin: 0px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.table-horizontal-scroll-wrapper-outer{
|
|
display: table;
|
|
table-layout: fixed;
|
|
width: 100%;
|
|
|
|
.table-horizontal-scroll-wrapper-inner{
|
|
overflow-x: auto;
|
|
width: 100%;
|
|
|
|
table {
|
|
width: 100%;
|
|
table-layout: auto !important;
|
|
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
}
|