233 lines
4.5 KiB
SCSS
Raw Normal View History

2022-04-07 01:18:24 +02:00
//Gumbi
.dt-buttons {
2022-06-13 11:23:16 +02:00
margin: 0 12px 16px 0;
}
.dataTables_length{
margin: 0 16px 16px 0 !important;
2022-04-07 01:18:24 +02:00
}
button.dt-button {
font-weight: 400;
2022-04-22 03:31:31 +02:00
padding: 0 16px;
height: 28px;
2022-04-07 01:18:24 +02:00
margin-right: 4px;
background-color: $white;
border: 1px solid $gray;
border-radius: 2px;
&:hover {
background-color: darken($white, 5%);
2022-04-07 01:18:24 +02:00
}
&.active {
border-color: $blue;
}
2022-04-22 03:31:31 +02:00
span {
font-size: 14px !important;
}
2022-04-07 01:18:24 +02:00
}
//Dodatni gumbi za vidnost stolpcev
.dt-button-collection {
padding-top: 48px;
}
button.buttons-columnVisibility {
color: $black;
background-color: $white;
border: 1px solid $gray;
2022-04-07 01:18:24 +02:00
&:hover {
background-color: darken($white, 5%);
2022-04-07 01:18:24 +02:00
}
&.active {
border-color: $blue;
2022-04-07 01:18:24 +02:00
}
margin-bottom: 8px;
margin-right: 4px;
}
// Search + število prikazanih
.dataTables_length {
margin-left: 12px;
select {
border: 1px solid $dark-gray;
box-sizing: border-box;
border-radius: 2px;
cursor: pointer;
font-size: 16px;
padding: 3px 7px;
2022-04-22 03:31:31 +02:00
height: 28px;
2022-04-07 01:18:24 +02:00
option {
font-size: 16px;
line-height: 18px;
}
}
}
.dataTables_filter {
input {
border: 1px solid $dark-gray;
box-sizing: border-box;
border-radius: 2px;
2022-04-22 03:31:31 +02:00
height: 28px;
2022-04-07 01:18:24 +02:00
font-size: 16px;
padding: 9px 7px;
}
2022-04-22 03:31:31 +02:00
margin-bottom: 16px;
2022-04-07 01:18:24 +02:00
}
.dataTables_info {
2022-04-22 03:31:31 +02:00
margin-top: 30px;
padding-top: 0 !important;
2022-04-22 03:31:31 +02:00
}
.select-info{
display: none;
}
2022-04-22 03:31:31 +02:00
table.usersTable {
margin-left: 14px;
margin-right: 14px;
width: calc(100% - 2*14px);
white-space: nowrap;
border-collapse: collapse !important;
thead,
tbody {
th {
font-weight: $semi-bold !important;
background-color: $light-gray !important;
padding: 8px 10px !important;
2022-04-22 03:31:31 +02:00
}
td,
th {
border: 1px solid $gray;
vertical-align: middle;
border-collapse: collapse !important;
}
td {
font-size: 14px !important;
}
}
}
table.dataTable{
&.no-footer {
border-bottom: none !important;
}
thead th {
border-bottom: none !important;
font-weight: $semi-bold !important;
background-color: $light-gray !important;
padding: 8px 10px !important;
2022-04-22 03:31:31 +02:00
}
/*tbody td.sorting_1 {
text-align: center;
}*/
2022-04-22 03:31:31 +02:00
}
/* datatables popravki */
table.dataTable thead .sorting_asc {
background: url('/admin/survey/modules/mod_hierarhija/img/sort_asc.png') no-repeat center right !important;
}
table.dataTable thead .sorting_desc {
background: url('/admin/survey/modules/mod_hierarhija/img/sort_desc.png') no-repeat center right !important;
}
table.dataTable thead .sorting {
background: url('/admin/survey/modules/mod_hierarhija/img/sort_both.png') no-repeat center right !important;
}
table.dataTable thead .sorting_asc_disabled {
background: url('/admin/survey/modules/mod_hierarhija/img/sort_asc_disabled.png') no-repeat center right !important;
}
table.dataTable thead .sorting_desc_disabled {
background: url('/admin/survey/modules/mod_hierarhija/img/sort_desc_disabled.png') no-repeat center right !important;
}
.dataTables_paginate {
border-radius: 2px !important;
background-color: $light-gray !important;
padding: 0 !important;
margin-top: 30px;
font-size: 14px !important;
2022-04-22 03:31:31 +02:00
}
.paginate_button{
border: 1px solid $light-gray !important;
background: $light-gray !important;
padding: 0 !important;
height: 24px;
margin-right: 4px;
font-size: 14px !important;
2022-04-22 03:31:31 +02:00
&:last-of-type {
margin-right: 0;
}
&:hover {
background-color: darken($light-gray, 5%) !important;
color: $black !important;
}
&.current {
color: $white !important;
border: 1px solid $blue !important;
background: $blue !important;
&:hover {
background-color: darken($blue, 5%) !important;
}
}
&.disabled{
border: 1px solid transparent !important;
background: transparent !important;
}
}
.dataTables_info,
.dataTables_length,
.dataTables_length select,
.dataTables_length select option,
.dataTables_filter {
font-size: 14px !important;
label {
font-size: 14px !important;
}
}
table.dataTable {
padding: 0 !important;
td,th {
&:not(:first-of-type) {
border-left: 1px solid $gray;
}
}
}