233 lines
4.5 KiB
SCSS
233 lines
4.5 KiB
SCSS
//Gumbi
|
|
.dt-buttons {
|
|
margin: 0 12px 16px 0;
|
|
}
|
|
|
|
.dataTables_length{
|
|
margin: 0 16px 16px 0 !important;
|
|
}
|
|
|
|
button.dt-button {
|
|
|
|
font-weight: 400;
|
|
|
|
padding: 0 16px;
|
|
height: 28px;
|
|
|
|
margin-right: 4px;
|
|
|
|
background-color: $white;
|
|
border: 1px solid $gray;
|
|
border-radius: 2px;
|
|
|
|
&:hover {
|
|
background-color: darken($white, 5%);
|
|
}
|
|
|
|
&.active {
|
|
border-color: $blue;
|
|
}
|
|
|
|
span {
|
|
font-size: 14px !important;
|
|
}
|
|
}
|
|
|
|
//Dodatni gumbi za vidnost stolpcev
|
|
.dt-button-collection {
|
|
padding-top: 48px;
|
|
}
|
|
|
|
button.buttons-columnVisibility {
|
|
color: $black;
|
|
background-color: $white;
|
|
border: 1px solid $gray;
|
|
&:hover {
|
|
background-color: darken($white, 5%);
|
|
}
|
|
|
|
&.active {
|
|
border-color: $blue;
|
|
}
|
|
|
|
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;
|
|
|
|
height: 28px;
|
|
|
|
option {
|
|
font-size: 16px;
|
|
line-height: 18px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.dataTables_filter {
|
|
|
|
input {
|
|
border: 1px solid $dark-gray;
|
|
box-sizing: border-box;
|
|
border-radius: 2px;
|
|
|
|
height: 28px;
|
|
font-size: 16px;
|
|
padding: 9px 7px;
|
|
}
|
|
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.dataTables_info {
|
|
margin-top: 30px;
|
|
padding-top: 0 !important;
|
|
}
|
|
|
|
.select-info{
|
|
display: none;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
/*tbody td.sorting_1 {
|
|
text-align: center;
|
|
}*/
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
|
|
.paginate_button{
|
|
|
|
border: 1px solid $light-gray !important;
|
|
background: $light-gray !important;
|
|
padding: 0 !important;
|
|
height: 24px;
|
|
margin-right: 4px;
|
|
font-size: 14px !important;
|
|
&: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;
|
|
}
|
|
}
|
|
}
|
|
|