343 lines
7.5 KiB
SCSS
Raw Normal View History

/*
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;
// Posamezni toolbox
.toolbox{
cursor: pointer;
display: flex;
flex-direction: column;
.toolbox_item{
display: flex;
padding: 0 12px 0 0;
border-bottom: 1px $gray solid;
transition: 0.2s;
.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 {
position: absolute;
top: 1px;
left: 1px;
width: 45px;
height: 194px;
padding: 140px 0 0 3px;
background: rgba($blue, 0.85);
span.lock_big {
margin-left: 13px;
}
}
#toolbox_basic.forma {
#locked_toolbar {
height: 199px;
padding-top: 85px;
}
height: 266px;
top: 235px;
}
}
// 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: 450px;
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;
.toolbox_expand_segment{
margin-top: 0;
.segment_option{
padding: 7px 16px 7px 16px;
a,
a:hover{
color: $black;
text-decoration: none;
.faicon{
margin-right: 8px;
&:before{
font-size: 14px;
}
}
}
}
}
}
}
// 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: 450px;
max-height: 520px;
background: $light-gray;
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;
}
span {
display: block;
float: left;
width: 80px;
text-align: center;
margin-bottom: 3px;
}
}
.tip_sample_option2 {
width: 100%;
div {
display: block;
float: left;
width: 100px;
}
span {
display: block;
float: left;
width: 80px;
text-align: center;
margin-bottom: 3px;
width: 60px;
}
}
}
// 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;
}
}
}
&.open{
width: $branching_toolbox_size_big;
}
&.closed{
width: $branching_toolbox_size_small;
.toolbox_item .item_text{
display: none;
}
.toolbox_expand{
left: 55px;
}
}
}
.mobile_add_question{
display: none;
}
.mobile_add_question_popup{
display: none;
}