698 lines
14 KiB
SCSS

/*
Levi toolbox v urejanju ankete (dodajanje vprasanj...)
*/
// Toolbox elementi na levi pri urejanju vprasalnika
.toolbox_holder{
display: flex;
flex-direction: column;
position: fixed;
left: 0;
top: 220px;
background-color: $light-gray2;
border-top: 1px $gray solid;
border-right: 1px $gray solid;
border-bottom: 1px $gray solid;
&.open{
width: $branching_toolbox_size_big;
}
&.closed{
width: $branching_toolbox_size_small;
.toolbox_item{
height: 40px;
padding: 0 !important;
.item_text{
display: none !important;
}
}
.toolbox_expand{
left: 55px !important;
}
#locked_toolbar {
width: $branching_toolbox_size_small;
}
}
@media only screen and (max-width: 1200px) {
width: $branching_toolbox_size_small !important;
.toolbox_item{
height: 40px;
padding: 0 !important;
.item_text{
display: none !important;
}
}
.toolbox_expand{
left: 55px !important;
}
#locked_toolbar {
width: $branching_toolbox_size_small !important;
}
}
}
#fullscreen{
.toolbox_expand{
display: block;
position: fixed;
top: calc(50% - 245px);
left: calc(50% - 136px);
.button_holder{
justify-content: flex-start;
margin: 0 16px 16px 16px;
padding-top: 16px;
border-top: 1px $gray solid;
}
}
}
// Posamezni toolbox
.toolbox{
cursor: pointer;
display: flex;
flex-direction: column;
.toolbox_border{
margin: 0 12px;
border-top: 1px $gray solid;
&.open_lib,
&.new_if,
&.new_block{
border-top: 1px #CCE4F9 solid;
}
}
.toolbox_item{
display: flex;
padding: 0 12px 0 0;
//border-bottom: 1px $gray solid;
transition: 0.2s;
&.open_lib,
&.new_if,
&.new_block{
background-color: $medium-blue;
&:hover{
background-color: #CCE4F9;
}
}
.item_icon{
width: 40px;
line-height: 40px;
text-align: center;
&:before{
font-size: 16px;
}
&.matrix_32{
margin-top: 7px;
line-height: 9px;
&:before{
font-size: 11px !important;
}
}
&.abc_32,
&.number_32{
margin-top: -1px;
line-height: 40px;
&:before{
font-size: 14px !important;
}
}
}
.item_text{
font-size: 14px;
line-height: 40px;
text-indent: 3px;
}
&:hover{
background-color: $gray;
}
&.new_spr{
}
&.new_adv{
color: $white;
background-color: $blue;
&:hover{
background-color: $dark-blue;
}
}
&.new_if{
}
&.new_block{
border-bottom: none;
}
}
// Zaklenjen toolbox
#locked_toolbar {
cursor: default;
position: absolute;
top: 0px;
left: 0px;
display: flex;
align-items: center;
justify-content: center;
width: $branching_toolbox_size_big;
height: 450px;
background: rgba($blue, 0.85);
}
&#toolbox_basic.forma {
#locked_toolbar {
height: 199px;
padding-top: 85px;
}
height: 266px;
top: 235px;
}
&#toolbox_advanced_settings {
.toolbox_item{
background-color: $dark-gray2 !important;
&:hover{
background-color: $dark-gray !important;
}
}
}
}
// Nastavitve, ki se razprejo pri hoverju na toolbox item
.toolbox_expand{
display: none;
cursor: auto;
box-sizing: border-box;
position: fixed;
z-index: 99;
top: 220px;
left: 245px;
width: 272px;
color: $black;
background: $white;
border: 1px solid $gray;
box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.15);
.toolbox_expand_title{
margin: 16px 16px 0 16px;
padding-bottom: 10px;
font-size: 16px;
font-weight: 600;
border-bottom: 1px $gray solid;
.subtitle{
display: block;
margin-top: 8px;
font-size: 14px;
font-weight: 400;
}
}
.toolbox_expand_segments_holder{
max-height: 400px;
overflow-y: scroll;
padding-bottom: 16px;
}
.toolbox_expand_segment{
display: flex;
flex-direction: column;
width: 100%;
margin-top: 16px;
font-size: 14px;
.segment_title{
padding: 0 16px;
font-size: 14px;
font-weight: 700;
text-transform: uppercase;
}
.segment_option{
cursor: pointer;
padding: 5px 16px 5px 16px;
font-size: 14px;
line-height: 18px;
transition: 0.2s;
&:hover{
background-color: $light-gray;
}
}
}
&#toolbox_advanced_settings_holder{
width: 300px;
padding-bottom: 8px;
.toolbox_expand_title{
margin-bottom: 8px;
text-transform: uppercase;
.faicon{
margin-right: 4px;
&:before{
color: $blue;
}
}
}
.toolbox_expand_segment{
margin-top: 0;
.segment_option{
padding: 8px 16px 8px 16px;
a:not(.help),
a:hover:not(.help){
color: $black;
text-decoration: none;
.faicon{
margin-right: 8px;
&:before{
font-size: 14px;
color: $blue;
}
}
}
}
}
}
}
// Preview, ki se prikaze na hoverju (npr. vprasanja)
.toolbox_preview{
display: none;
cursor: auto;
pointer-events: none;
position: fixed;
z-index: 9999;
top: 220px;
box-sizing: border-box;
width: 470px;
max-height: 520px;
//background: $light-gray;
background: $white;
border: 1px solid $gray;
box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.15);
.tip_preview_sub {
display: none;
padding: 16px;
>span {
font-size: 14px;
font-weight: 600;
}
.tip_sample {
overflow: hidden;
margin-top: 10px;
.tip_sample_text {
font-size: 14px;
}
.tip_sample_option {
width: 100%;
margin-top: 8px;
font-size: 14px;
div {
display: block;
float: left;
width: 100px;
font-size: 14px;
}
span {
display: block;
float: left;
width: 80px;
margin-bottom: 3px;
font-size: 14px;
text-align: center;
}
}
.tip_sample_option2 {
width: 100%;
font-size: 14px;
div {
display: block;
float: left;
width: 70px;
font-size: 14px;
}
span {
display: block;
float: left;
width: 80px;
margin-bottom: 3px;
width: 60px;
font-size: 14px;
text-align: center;
}
}
}
// Imamo default radio gumbe
input[type=radio],
input[type=checkbox]{
overflow: auto !important;
padding: auto !important;
clip: auto !important;
border: auto !important;
position: relative;
width: 16px !important;
height: 16px !important;
margin: 0 8px 0 0 !important;
vertical-align: -1px;
}
// Razvrscanje
&#tip_preview_sub_17{
.ranking_preview_holder{
display: flex;
margin-top: 16px;
.ranking_preview_left{
display: flex;
flex-direction: column;
margin-right: 32px;
padding-right: 16px;
border-right: 1px $gray solid;
.razvrscanje_preview{
display: flex;
justify-content: center;
align-items: center;
box-sizing: border-box;
margin-bottom: 10px;
height: 34px;
width: 140px;
font-size: 14px;
background: $medium-blue2;
border: 1px solid #D8EDFF;
border-radius: 2px;
}
}
.ranking_preview_right{
display: flex;
flex-direction: column;
.razvrscanje_preview_frame{
display: flex;
align-items: center;
box-sizing: border-box;
margin-bottom: 10px;
height: 34px;
width: 140px;
font-size: 14px;
text-indent: -24px;
background: $light-gray;
border: 1px dashed #D8EDFF;
border-radius: 2px;
}
}
}
}
// Vsota
&#tip_preview_sub_18{
.tip_sample{
display: flex;
flex-direction: column;
align-items: flex-end;
width: 250px;
.tip_sample_option{
display: flex;
justify-content: space-between;
align-items: center;
input{
width: 180px;
}
&.sum{
padding-top: 4px;
border-top: 1px $gray solid;
}
}
}
}
// Multitext
&#tip_preview_sub_19,
&#tip_preview_sub_20{
.tip_sample{
.tip_sample_text{
margin-bottom: 16px;
}
.tip_sample_option{
display: flex;
align-items: center;
div{
width: 70px;
}
span {
width: 90px;
input{
width: 75px;
}
}
}
}
}
&#tip_preview_sub_21_2{
.tip_sample_option.bottom{
margin-top: 16px;
padding-top: 16px;
border-top: 1px $gray solid;
}
}
&#tip_preview_sub_21_6{
.tip_sample{
display: flex;
flex-direction: column;
.tip_sample_option{
display: flex;
align-items: center;
margin-bottom: 16px;
.textarea{
box-sizing: border-box;
width: 200px;
height: 50px;
margin-right: 8px;
background: $white;
border: 1px solid $dark-gray;
border-radius: 2px;
}
.button{
display: flex;
align-items: center;
justify-content: center;
width: 116px;
height: 28px;
box-sizing: border-box;
font-size: 14px;
background: $light-gray;
border: 1px solid $dark-gray;
border-radius: 2px;
}
}
span{
font-size: 14px;
}
input{
width: 200px;
margin-top: 4px;
}
}
}
p.user_access_warning_text{
margin-top: 16px;
font-size: 14px;
font-weight: 600;
}
}
}
// Dragging item
.toolbox_item.clone-dragging,
.segment_option.clone-dragging{
display: flex;
box-sizing: border-box;
padding: 0 16px 0 0;
font-size: 14px;
background: $white;
border: 1px solid $blue;
border-radius: 2px;
&.segment_option.clone-dragging{
padding: 8px 16px;
}
.item_icon{
width: 40px;
line-height: 40px;
text-align: center;
&:before{
font-size: 16px;
}
&.matrix_32{
margin-top: 7px;
line-height: 9px;
&:before{
font-size: 11px !important;
}
}
&.abc_32,
&.number_32{
margin-top: -1px;
line-height: 40px;
&:before{
font-size: 14px !important;
}
}
}
.item_text{
font-size: 14px;
line-height: 40px;
text-indent: 3px;
}
}
.mobile_add_question{
display: none;
}
.mobile_add_question_popup{
display: none;
}