716 lines
13 KiB
SCSS
Raw Normal View History

.clear {
clear: both;
}
/* JsTree */
/*righ click */
.vakata-context {
z-index: 10052 !important;
}
#admin_hierarhija_jstree {
padding-bottom: 20px;
}
/* SUPERADMIN HIERARHIJA */
.hierarhija-levi-meni {
float: left;
display: block;
padding: 10px 8px;
margin: 20px 10px 0 0;
width: 155px;
min-height: 250px;
background-color: $strong_blue_super_light;
& > div {
font-weight: bold;
padding-bottom: 10px;
&.h-tabela {
padding: 2px;
background: #fff;
min-height: 240px;
border: 1px solid #e2e2e2;
max-height: 340px;
overflow: auto;
}
& > table {
font-weight: normal;
width: 100%;
cursor: pointer;
& td.h-ime-shranjeno {
padding-bottom: 5px;
border-bottom: 1px solid #e2e2e2;
display: block;
float: left;
width: 121px;
.h-ime-prikaz {
display: block;
width: 130px;
word-wrap: break-word;
&.h-urejanje {
width: 112px;
}
}
&.editable-hierarhija {
width: 107px;
}
}
}
}
}
td.h-ime-shranjeno:hover {
color: #0c377a !important;
}
.hierarhija_fieldset {
padding-bottom: 1em;
float: left;
display: block;
}
.h-sa-div-inline {
display: inline-block;
float: left;
min-width: 12em;
padding-right: 2em;
}
.h-sa-div-inline label {
clear: both;
display: block;
}
.h-sa-div-inline.nivo select {
width: 10em;
}
.h-sa-div-inline.submit {
padding-top: 1.5em;
padding-left: 1em;
}
.h-sa-list {
padding-top: 1em;
}
.h-sa-nivo-primer select {
margin: 5px;
}
.izgradnja_hierarhije {
width: auto;
display: block;
.izberi-uporabnika {
float: left;
display: inline-block;
margin: 0 5px 0 14px;
}
}
.h-form-field {
padding: 1.3em 0;
}
.h-form-field label {
width: 22em;
padding: 0 1em;
display: block;
float: left;
text-align: right;
}
.h-form-options {
display: block;
float: left;
min-width: 25em;
}
.h-form-options textarea {
height: 6em;
width: 40em;
}
.h-required {
border: 1px solid red !important;
}
.h-email-user {
min-width: 0;
margin-right: 10px;
}
.h-opozorilo {
float: left;
color: red;
font-style: italic;
display: none;
}
.hierarhija-filter {
min-width: 75px;
display: block;
float: left;
}
.upload-file {
border: solid $strong_blue_darken 1px;
background: #fff;
font-size: 11px;
display: block !important;
width: 100%;
max-width: 360px;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
box-shadow: 0 0 0 2px #fff;
&:hover {
border: solid $red 1px;
}
.NFI-button {
height: 22px;
line-height: 22px;
background: $strong_blue;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
color: #fff;
width: 30%;
font-weight: 700;
}
.NFI-button:hover {
background: $red;
}
.NFI-filename {
width: 66%;
height: 20px;
margin: 0 !important;
padding: 0 !important;
display: block !important;
-webkit-appearance: none !important;
-moz-appearance: none !important;
appearance: none !important;
border: none !important;
}
}
/* MENI HIERARHIJA UČITELJ IN SUPERADMIN */
.hierarhija-navigacija {
&.ucitelj {
padding-bottom: 20px;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
border: 1px solid $strong_blue_very_lighten;
background-color: $strong_blue_super_light;
font-weight: bold;
}
li {
float: left;
a {
display: block;
color: $strong_blue;
text-align: center;
padding: 10px 12px;
font-weight: 500;
text-decoration: none;
&a:hover:not(.active) {
color: $strong_blue_darken;
background-color: #ddd;
}
&.active {
color: white;
background-color: $orange;
}
}
}
}
.hierarhija-desni-link {
float: right !important;
display: inline-block;
}
.hierarhija-desni-link a {
display: inline-block !important;
}
/* end meni hierarhija - superadmin */
.hierarhija-status-ucitelji {
padding-top: 20px;
}
.hierarhija-status-ucitelji,
.hierarhija-status-admin,
.hierarhija-tabela {
border-spacing: 0;
th {
padding: 8px 10px;
text-align: left;
border: 1px solid #ddd;
}
td {
padding: 8px 10px;
text-align: left;
border: 1px solid #ddd;
}
}
.hierarhija-nov-nivo, .hierarhija-urejanje {
cursor: pointer;
display: block;
float: left;
margin: 0 10px;
}
.hierarhija-elementi {
float: left;
margin: 0 10px;
display: inline-block;
}
.hierarhija-inline {
float: left;
display: inline-block;
margin-right: 2px;
}
.sifranti-brisanje {
display: block;
float: left;
clear: both;
}
.sifranti-brisanje > .brisi-x {
float: left;
padding: 4px 0px;
margin: -2px 5px;
}
.sifranti-razmik {
padding: 10px 5px;
}
.sifranti-razmik > ul {
padding: 0;
}
/* ON - OFF gumb */
.onoffswitch {
position: relative;
width: 56px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
.onoffswitch-checkbox {
display: none;
}
.onoffswitch-label {
display: block;
overflow: hidden;
cursor: pointer;
border-radius: 18px;
border: 3px solid $strong_blue_lighten;
}
.onoffswitch-inner {
display: block;
width: 200%;
margin-left: -100%;
transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
display: block;
float: left;
width: 50%;
height: 15px;
padding: 0;
line-height: 15px;
font-size: 14px;
color: white;
font-family: Trebuchet, Arial, sans-serif;
font-weight: bold;
box-sizing: border-box;
}
.onoffswitch-inner:before {
content: "Da";
padding-left: 10px;
background-color: $strong_blue_lighten;
border: 3px solid $strong_blue_lighten;
color: #fff;
}
.onoffswitch-inner:after {
content: "Ne";
padding-right: 10px;
background-color: $strong_blue_lighten;
border: 3px solid $strong_blue_lighten;
color: #FFF;
text-align: right;
}
.onoffswitch-switch {
display: block;
width: 14px;
margin: 0.5px;
background: #fff;
position: absolute;
top: 0;
bottom: 0;
right: 37px;
border: 2px solid $strong_blue_lighten;
border-radius: 18px;
transition: all 0.3s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
right: 0;
}
.editable-hierarhija {
border: 1px dashed #0c377a !important;
}
#div_odprto_vprasanje > table {
margin: 35px 0 !important;
}
/* end ON - OFF */
/***** TOOGLE RADIO BUTTON *****/
.wrapper {
/*margin: 100px 0;*/
}
.toggle_radio {
position: relative;
background: rgba(12, 92, 196, .6);
margin: 4px auto;
overflow: hidden;
padding: 0 !important;
-webkit-border-radius: 50px;
-moz-border-radius: 50px;
border-radius: 50px;
position: relative;
height: 26px;
width: 354px;
}
.toggle_radio > * {
float: left;
}
.toggle_radio input[type=radio] {
display: none;
/*position: fixed;*/
}
.toggle_radio label {
color: rgba(255, 255, 255, .9);
z-index: 0;
display: block;
width: 170px;
height: 20px;
margin: 3px 3px;
-webkit-border-radius: 50px;
-moz-border-radius: 50px;
border-radius: 50px;
cursor: pointer;
z-index: 1;
text-align: center;
margin-top: -7px;
}
.toggle_option_slider {
width: 172px;
height: 20px;
position: absolute;
top: 3px;
-webkit-border-radius: 50px;
-moz-border-radius: 50px;
border-radius: 50px;
background: #ffe6d6 !important;
}
#seznam_toggle:checked ~ .toggle_option_slider {
background: rgba(255, 255, 255, .3);
left: 3px;
}
#tabela_toggle:checked ~ .toggle_option_slider {
background: rgba(255, 255, 255, .3);
left: 179px;
}
/***** END TOOGLE RADIO BUTTON *****/
/***** Hierarhija prikaz v tabeli in izbira opcij *****/
.prikaz-sifrantov {
width: 100%;
clear: both;
}
.prikaz-sifrantov .gumb {
padding: 20px 0;
}
.prikaz-sifrantov .tabela, .prikaz-sifrantov .gumb {
display: inline-block;
float: left;
}
.table-prikaz-izbranih-sifrantov {
border-spacing: 0;
padding: 0 35px 25px;
}
table.tabela-obroba {
border-spacing: 0;
}
.tabela-obroba th {
color: gray;
background-color: #eff2f7;
}
.tabela-obroba th, .tabela-obroba td {
padding: 8px 10px;
border: 1px solid #ddd;
}
.error-display{
color: $rdeca;
font-style: italic;
}
.error-email {
display: block;
float: left;
color: $rdeca;
}
.vpis-sifrantov {
display: block;
float: left;
.error-email {
display: block;
float: left;
color: $rdeca;
padding-top: 50px;
padding-left: 12px;
}
.tabela-vpis-sifrantov {
float: left;
#gumb {
td {
text-align: right;
border: none;
button {
margin: 10px 10px 0;
}
}
}
}
}
.table-prikaz-izbranih-sifrantov th {
padding: 0 15px;
}
.table-prikaz-izbranih-sifrantov td {
padding: 8px 10px;
border: 1px solid #ddd;
}
.table-prikaz-izbranih-sifrantov span {
float: right;
cursor: pointer;
}
.inline-element-hierarhije {
width: 30%;
display: inline-block;
float: left;
padding: 0 15px;
}
.inline-element-hierarhije .gumb {
padding-top: 20px;
}
.custom-datatables, .custom-datatables th, .custom-datatables td {
border: 1px solid #ddd !important;
}
#vpis-sifrantov-admin-tabela_wrapper #vpis-sifrantov-admin-tabela_filter,
#hierarhija-status-admin_wrapper #hierarhija-status-admin_filter {
padding: 10px 0 20px !important;
}
#vpis-sifrantov-admin-tabela > tbody > tr {
vertical-align: top;
}
.h-uporabnik {
display: inline-block;
float: right;
padding: 4px 0 0 16px;
cursor: pointer;
}
.h-select2 {
min-width: 100px;
display: inline-block;
float: left;
}
.h-uporabnik-prikazi {
clear: both;
display: block;
padding-top: 10px;
font-size: 11px;
}
.h-uporabnik-prikazi ul {
list-style: inherit !important;
padding-left: 23px !important;
> li {
padding: 4px 0px
}
}
/***** END Hierarhija prikaz v tabeli in izbira opcij *****/
/***** DataTables pot do slik *****/
/*table.dataTable thead th {
background-color: #eff2f7 !important;
}*/
table.dataTable thead .sorting_asc {
background: url('/admin/survey/modules/mod_hierarhija/img/sort_asc.png') no-repeat top right;
}
table.dataTable thead .sorting_desc {
background: url('/admin/survey/modules/mod_hierarhija/img/sort_desc.png') no-repeat top right;
}
table.dataTable thead .sorting {
background: url('/admin/survey/modules/mod_hierarhija/img/sort_both.png') no-repeat top right;
}
table.dataTable thead .sorting_asc_disabled {
background: url('/admin/survey/modules/mod_hierarhija/img/sort_asc_disabled.png') no-repeat top right;
}
table.dataTable thead .sorting_desc_disabled {
background: url('/admin/survey/modules/mod_hierarhija/img/sort_desc_disabled.png') no-repeat top right;
}
tr.aktivno-urejanje {
background: #ffe6d6 !important;
}
/***** END DataTables pot do slik *****/
/* Okvirčke */
.okvircek {
width: 522px;
border: 1px dashed #b9c5d9;
padding: 3px 25px 18px;
.oznaci {
padding: 0px 10px;
}
}
/* ikoe pri uporabnikih in datatables */
.uporabniki-ikona-tabela {
display: block;
float: right;
cursor: pointer;
}
.zamenjava-uporabnika-v-strukturi {
#st_zamenjav_uporabnikov {
padding-bottom: 20px;
padding-top: 20px;
color: $oranzna;
}
#find-email.error, #replace-email.error {
border: 1px solid $oranzna !important;
}
.error-label {
float: right;
color: $oranzna;
display: none;
}
}
// srije data tables
#skrij-datatables {
width: 100%;
height: 365px;
z-index: 1;
top: 427px;
position: absolute;
background: white;
display: none;
}
/*.link {
cursor: pointer;
color: $modra;
&:hover {
color: $oranzna;
}
}*/
.stevilo-evalvirancev {
color: $modra;
display: inline-block;
margin-left: 3px;
text-align: center;
float: right;
}
.help-text {
color: grey;
display: block;
width: 56%;
padding: 10px 0;
}
#primer-sifrantov {
&.pregled {
padding: 22px;
}
td {
padding-top: 6px;
padding-right: 13px;
}
thead {
font-size: 14px;
color: $modra;
}
}
/***** Sweet alert 1ka barvna modifikacija *****/
/* error */
.sweet-alert .sa-icon.sa-error {
border-color: $red !important;
}
.sweet-alert .sa-icon.sa-error .sa-line {
background-color: $red !important;
}
/* warning - klicaj */
.sweet-alert .sa-icon.sa-warning {
border-color: #ffe6d6 !important;
}
.sweet-alert .sa-icon.sa-warning .sa-line {
background-color: #ffe6d6 !important;
}
.sweet-alert button {
color: $modra !important;
background-color: #fff !important;
background-image: none !important;
border: 1px solid $modra !important;
}
.sweet-alert button:hover {
color: #fff !important;
background-color: $modra !important;
border-color: $modra !important;
}
/***** END Sweet alert 1ka barvna modifikacija *****/
#hierarhija-container {
.status-gumbi {
padding: 13px 0;
display: block;
float: right;
}
.kosarica {
padding-bottom: 22px;
.ui-state-highlight {
padding: 19px;
width: 44%;
}
#seznamKod {
padding: 0 15px 10px;
> .koda {
padding: 10px;
background: $zelo_svetlo_modra;
border-color: $svetlo_modra;
width: 45%;
margin: 10px 0;
cursor: move;
.izbrisi {
cursor: pointer;
}
}
}
}
}