433 lines
9.7 KiB
SCSS
Raw Normal View History

/*
2022-02-23 12:48:17 +01:00
Knjiznica v urejanju ankete
*/
// Popup ima nestandarden padding
.library_popup{
padding: 0;
h2{
padding: 16px 0 8px 0;
.faicon{
padding-left: 16px;
}
}
}
2022-02-23 12:48:17 +01:00
// 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;
2022-02-23 12:48:17 +01:00
margin-top: -16px;
background-color: $light-gray;
2022-02-23 12:48:17 +01:00
&.active{
color: $blue;
background-color: $white;
}
}
}
2022-02-23 12:48:17 +01:00
// Popup knjiznica - vsebina
.tab_content{
display: flex;
2022-02-23 12:48:17 +01:00
.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;
2022-02-25 11:11:36 +01:00
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;
2022-03-03 12:11:25 +01:00
.faicon.arrow:before{
content: "\f078";
}
.faicon.folder:before,
.faicon.clipboard:before{
2022-03-03 12:11:25 +01:00
font-weight: 400;
color: $dark-gray2;
}
&.active{
border-color: $blue;
background-color: $light-gray;
2022-02-28 13:28:57 +01:00
.faicon.folder:before,
.faicon.clipboard:before{
2022-03-03 12:11:25 +01:00
font-weight: 600;
color: $blue;
}
}
2022-02-28 13:28:57 +01:00
&.open{
2022-03-03 12:11:25 +01:00
.faicon.arrow:before{
content: "\f077";
}
}
&.no_arrow .faicon.arrow:before{
display: none;
2022-02-28 13:28:57 +01:00
}
2022-03-01 15:00:52 +01:00
&.droppable_folder.drag-hover{
//border-color: $blue;
background-color: $gray;
}
&:hover{
background-color: $light-gray;
2022-02-25 11:11:36 +01:00
.dots_ver{
display: block;
}
}
span{
margin-right: 8px;
font-size: 14px;
}
2022-02-25 08:30:09 +01:00
.folder_item_child_count{
font-size: 12px;
color: $very-dark-gray;
}
2022-02-25 11:11:36 +01:00
.dots_ver{
display: none;
position: absolute;
right: 0;
padding: 7px 8px;
margin-right: 0;
&.active{
display: block !important;
}
2022-02-25 11:11:36 +01:00
}
.folder_item_settings{
@include hover_basic();
position: absolute;
z-index: 9999;
right: 0;
top: 38px;
border-radius: 2px;
2022-02-28 13:28:57 +01:00
ul li{
color: $blue;
transition: 0.2s;
&:hover{
color: $dark-blue;
}
}
2022-02-25 11:11:36 +01:00
}
}
}
2022-02-23 12:48:17 +01:00
}
.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;
}
}
}
2022-02-23 12:48:17 +01:00
.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;
}
2022-02-25 11:11:36 +01:00
.survey_title{
cursor: pointer;
display: flex;
align-items: center;
position: relative;
2022-02-25 11:11:36 +01:00
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;
2022-02-25 11:11:36 +01:00
&: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;
2022-02-25 11:11:36 +01:00
}
.question_item_holder,
.folder_item_holder{
cursor: pointer;
2022-02-23 12:48:17 +01:00
display: flex;
align-items: center;
2022-02-23 12:48:17 +01:00
margin-bottom: 8px;
&.active{
.question_item_info{
background-color: $light-gray;
}
}
2022-02-23 12:48:17 +01:00
>label{
margin-right: 8px;
2022-02-23 12:48:17 +01:00
&:before{
letter-spacing: 0;
}
}
2022-02-25 11:11:36 +01:00
.question_item_info,
.folder_item_info{
2022-02-23 12:48:17 +01:00
display: flex;
align-items: center;
position: relative;
2022-02-23 12:48:17 +01:00
box-sizing: border-box;
height: 36px;
2022-03-01 15:00:52 +01:00
max-width: 100%;
width: 705px;
2022-02-23 12:48:17 +01:00
padding: 0 16px;
border: 1px $gray solid;
border-radius: 2px;
&.folder_item_info{
width: 730px;
}
&:hover{
2022-02-23 12:48:17 +01:00
background-color: $light-gray;
.dots_ver,
.monitor{
display: block;
}
}
2022-03-01 15:00:52 +01:00
&.ui-draggable-dragging{
//width: 200px;
}
2022-02-23 12:48:17 +01:00
span{
margin-right: 8px;
font-size: 14px;
2022-02-23 12:48:17 +01:00
&.faicon{
color: $blue;
}
}
.item_type{
text-transform: uppercase;
}
.dots_ver{
display: none;
position: absolute;
right: 0;
padding: 7px 8px;
margin-right: 0;
&:before{
color: $black;
}
&.active{
display: block;
}
}
.monitor{
display: none;
position: absolute;
right: 22px;
padding: 7px 8px;
margin-right: 0;
}
.folder_empty:before{
color: $dark-gray2;
}
.item_settings{
@include hover_basic();
position: absolute;
z-index: 9999;
right: 0;
top: 35px;
border-radius: 2px;
ul li{
color: $blue;
transition: 0.2s;
&:hover{
color: $dark-blue;
}
}
}
}
}
}
2022-02-23 12:48:17 +01:00
2022-02-25 08:30:09 +01:00
.selected_items{
align-self: flex-end;
margin: 16px 16px 8px 0;
2022-02-23 12:48:17 +01:00
2022-02-25 08:30:09 +01:00
color: $blue;
}
.button_holder{
margin: 0 16px 16px 0;
2022-02-23 12:48:17 +01:00
}
}
2022-02-23 12:48:17 +01:00
}
2022-02-28 13:28:57 +01:00
#lib_additional_popup{
z-index: 9999;
2022-02-28 13:28:57 +01:00
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;
}
}