439 lines
9.8 KiB
SCSS
439 lines
9.8 KiB
SCSS
/*
|
|
Knjiznica v urejanju ankete
|
|
*/
|
|
|
|
// Popup ima nestandarden padding
|
|
.library_popup{
|
|
padding: 0;
|
|
|
|
h2{
|
|
padding: 16px 0 8px 0;
|
|
|
|
.faicon{
|
|
padding-left: 16px;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Popup knjiznica v urejanju ankete - tabi
|
|
.lib_tabs{
|
|
display: flex;
|
|
|
|
.tab{
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
width: 50%;
|
|
height: 40px;
|
|
//margin-bottom: 16px;
|
|
margin-top: -16px;
|
|
|
|
background-color: $light-gray;
|
|
|
|
&.active{
|
|
color: $blue;
|
|
background-color: $white;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Popup knjiznica - vsebina
|
|
.tab_content{
|
|
display: flex;
|
|
|
|
.content_left{
|
|
width: 300px;
|
|
height: 540px;
|
|
max-height: 540px;
|
|
overflow-y: auto;
|
|
padding: 16px;
|
|
|
|
border-right: 1px $gray solid;
|
|
|
|
> ul {
|
|
margin-left: 0 !important;
|
|
}
|
|
|
|
ul{
|
|
margin: 0 0 0 16px;
|
|
padding: 0;
|
|
|
|
li.folder_item{
|
|
cursor: pointer;
|
|
position: relative;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
|
|
box-sizing: border-box;
|
|
height: 40px;
|
|
width: 100%;
|
|
padding: 0 8px;
|
|
margin-bottom: 8px;
|
|
|
|
border: 1px solid $gray;
|
|
border-radius: 2px;
|
|
|
|
transition: 0.2s;
|
|
|
|
.faicon.arrow:before{
|
|
content: "\f078";
|
|
}
|
|
.faicon.folder:before,
|
|
.faicon.clipboard:before{
|
|
font-weight: 400;
|
|
color: $dark-gray2;
|
|
}
|
|
&.active{
|
|
border-color: $blue;
|
|
background-color: $light-gray;
|
|
|
|
.faicon.folder:before,
|
|
.faicon.clipboard:before{
|
|
font-weight: 600;
|
|
color: $blue;
|
|
}
|
|
}
|
|
&.open{
|
|
.faicon.arrow:before{
|
|
content: "\f077";
|
|
}
|
|
}
|
|
|
|
&.no_arrow .faicon.arrow:before{
|
|
display: none;
|
|
}
|
|
|
|
&.droppable_folder.drag-hover{
|
|
//border-color: $blue;
|
|
background-color: $gray;
|
|
}
|
|
|
|
&:hover{
|
|
background-color: $light-gray;
|
|
|
|
.dots_ver{
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
span{
|
|
margin-right: 8px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.folder_item_child_count{
|
|
font-size: 12px;
|
|
color: $very-dark-gray;
|
|
}
|
|
|
|
.dots_ver{
|
|
display: none;
|
|
|
|
position: absolute;
|
|
right: 0;
|
|
padding: 7px 8px;
|
|
margin-right: 0;
|
|
|
|
&.active{
|
|
display: block !important;
|
|
}
|
|
}
|
|
|
|
.folder_item_settings{
|
|
@include hover_basic();
|
|
|
|
position: absolute;
|
|
z-index: 9999;
|
|
right: 0;
|
|
top: 38px;
|
|
|
|
border-radius: 2px;
|
|
|
|
ul li{
|
|
color: $blue;
|
|
|
|
transition: 0.2s;
|
|
|
|
&:hover{
|
|
color: $dark-blue;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
|
|
.content_right{
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
width: 760px;
|
|
|
|
.folder_title{
|
|
margin-bottom: 16px;
|
|
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
|
|
.faicon{
|
|
margin-right: 8px;
|
|
color: $blue;
|
|
|
|
&:before{
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.question_list{
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
height: 440px;
|
|
max-height: 440px;
|
|
overflow-y: auto;
|
|
padding: 16px;
|
|
|
|
border-bottom: 1px $gray solid;
|
|
|
|
.spacer{
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.survey_title{
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
position: relative;
|
|
|
|
box-sizing: border-box;
|
|
min-height: 36px;
|
|
max-width: 100%;
|
|
width: 710px;
|
|
padding: 0 16px;
|
|
margin: 0 0 8px 0;
|
|
|
|
border: 1px $gray solid;
|
|
border-radius: 2px;
|
|
|
|
&:first-child{
|
|
margin-top: 0;
|
|
}
|
|
|
|
&:hover{
|
|
background-color: $light-gray;
|
|
}
|
|
|
|
&.active{
|
|
border-color: $blue;
|
|
|
|
.faicon:before{
|
|
color: $blue;
|
|
}
|
|
}
|
|
|
|
span{
|
|
margin-right: 8px;
|
|
font-size: 14px;
|
|
|
|
&.faicon:before{
|
|
color: $dark-gray2;
|
|
}
|
|
}
|
|
}
|
|
|
|
.survey_questions{
|
|
display: none;
|
|
}
|
|
|
|
.question_item_holder,
|
|
.folder_item_holder{
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
&.active{
|
|
.question_item_info{
|
|
background-color: $light-gray;
|
|
}
|
|
}
|
|
|
|
>label{
|
|
margin-right: 8px;
|
|
|
|
&:before{
|
|
letter-spacing: 0;
|
|
}
|
|
}
|
|
|
|
.question_item_info,
|
|
.folder_item_info{
|
|
display: flex;
|
|
align-items: center;
|
|
position: relative;
|
|
|
|
box-sizing: border-box;
|
|
height: 36px;
|
|
max-width: 100%;
|
|
width: 705px;
|
|
padding: 0 16px;
|
|
|
|
border: 1px $gray solid;
|
|
border-radius: 2px;
|
|
|
|
&.folder_item_info{
|
|
width: 730px;
|
|
}
|
|
|
|
&:hover{
|
|
background-color: $light-gray;
|
|
|
|
.dots_ver,
|
|
.monitor{
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
&.ui-draggable-dragging{
|
|
//width: 200px;
|
|
}
|
|
|
|
span{
|
|
margin-right: 8px;
|
|
font-size: 14px;
|
|
|
|
&.faicon{
|
|
color: $blue;
|
|
}
|
|
}
|
|
|
|
.item_type{
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.right_icons{
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
|
|
display: flex;
|
|
}
|
|
|
|
.dots_ver{
|
|
display: none;
|
|
|
|
padding: 7px 8px;
|
|
margin-right: 0;
|
|
|
|
&:before{
|
|
color: $black;
|
|
}
|
|
|
|
&.active{
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.monitor{
|
|
display: none;
|
|
|
|
padding: 7px 8px;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.folder_empty:before{
|
|
color: $dark-gray2;
|
|
}
|
|
|
|
.item_settings{
|
|
@include hover_basic();
|
|
|
|
position: absolute;
|
|
z-index: 9999;
|
|
right: 0;
|
|
top: 35px;
|
|
|
|
width: 140px;
|
|
|
|
border-radius: 2px;
|
|
|
|
ul li{
|
|
color: $blue;
|
|
|
|
transition: 0.2s;
|
|
|
|
&:hover{
|
|
color: $dark-blue;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.selected_items{
|
|
align-self: flex-end;
|
|
margin: 16px 16px 8px 0;
|
|
|
|
color: $blue;
|
|
}
|
|
|
|
.button_holder{
|
|
margin: 0 16px 16px 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
#lib_additional_popup{
|
|
z-index: 9999;
|
|
position: absolute !important;
|
|
top: 40%;
|
|
left: calc(50% - 200px);
|
|
|
|
width: 400px;
|
|
|
|
border: 1px solid $dark-gray;
|
|
box-shadow: 0px 4px 7px rgba(0,0,0,.07);
|
|
|
|
input[type="text"]{
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
// Popup vsebina pri dodajanju v knjiznico
|
|
.add_to_lib_content{
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
label{
|
|
|
|
}
|
|
|
|
input{
|
|
height: 40px;
|
|
width: 100%;
|
|
|
|
margin: 4px 0 16px 0;
|
|
padding: 10px;
|
|
}
|
|
|
|
select{
|
|
height: 40px;
|
|
width: 100%;
|
|
|
|
margin: 4px 0 0 0;
|
|
padding: 10px;
|
|
}
|
|
}
|
|
|