427 lines
9.4 KiB
SCSS
Raw Normal View History

/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
Created on : 13-Aug-2018, 12:32:48
Author : podkrizniku
*/
2022-01-13 11:52:43 +01:00
#branching{
li.if,
li.block,
li.loop{
display: flex;
2022-01-13 11:52:43 +01:00
.if_remove{
display: none;
z-index: 5;
position: absolute;
top: 8px;
right: 16px;
2022-01-13 11:52:43 +01:00
a{
margin-left: 16px;
}
}
2022-01-13 11:52:43 +01:00
.pm.faicon{
padding: 3px 8px 0 0;
margin-left: -20px;
}
.if_content {
width: 100%;
2022-01-13 11:52:43 +01:00
.clr_if,
.clr_bl,
.clr_lp{
color: $blue;
font-weight: 600;
}
.colorif,
.colorblock,
.colorif{
color: $blue;
font-weight: 400;
}
}
&:hover {
span.conditions_display {
cursor: pointer;
}
div.if_remove {
display: block;
}
}
2022-01-13 11:52:43 +01:00
}
li.if.if_editing,
li.block.if_editing,
li.loop.if_editing{
div.if_remove {
display: block;
}
2022-01-13 11:52:43 +01:00
.if_content {
padding: 12px 16px 16px 16px;
2022-01-13 11:52:43 +01:00
background-color: $light-gray2;
border-left: 2px $blue solid;
2022-01-13 11:52:43 +01:00
#div_condition_editing_inner {
2022-01-13 11:52:43 +01:00
>.condition_editing_preview {
}
.condition_editing_body{
max-height: 50vh;
overflow-y: auto;
margin: 20px 0;
padding: 10px 5px 5px 5px;
.tbl_condition_editing{
margin-bottom: 5px;
}
}
}
}
}
2022-01-13 11:52:43 +01:00
li.endif,
li.endblock,
li.endloop,
li.inout{
&:hover {
cursor: pointer;
}
2022-01-13 11:52:43 +01:00
.clr_if,
.clr_bl,
.clr_lp{
color: $blue;
font-weight: 600;
}
2022-01-13 11:52:43 +01:00
.colorif,
.colorblock,
.colorif{
color: $blue;
font-weight: 400;
}
}
2022-01-13 11:52:43 +01:00
li.endif_editing {
padding: 12px;
2022-01-13 11:52:43 +01:00
background-color: $light-gray2;
border-left: 2px $blue solid;
}
2022-01-13 11:52:43 +01:00
// Naslov popupa, črta pod naslovom
span.IF_title_start {
font-weight: $heavy;
color: $blue;
margin-right: 8px;
}
2022-01-13 11:52:43 +01:00
span.IF_title {
font-weight: $semi-bold;
text-transform: uppercase;
}
2022-01-13 11:52:43 +01:00
span.IF_title_line {
content: "";
display: inline-block;
height: 0.5em;
vertical-align: bottom;
width: 100%;
margin-top: 8px;
border-top: 1px solid $dark-gray;
}
2022-01-13 11:52:43 +01:00
span.conditions_display {
display: block;
line-height: 28px;
}
/*if condition variable select*/
select.spremenljivka_select {
option {
max-width: 500px;
}
}
.condition {
position: relative;
left: -21px;
}
span.endif {
position: relative;
left: -29px;
font-weight: bold;
}
2022-01-13 11:52:43 +01:00
#div_condition_editing_operators {
padding: 5px 0;
}
#div_condition_editing {
display: none;
height: auto;
width: 800px;
div#div_condition_editing_container {
margin-bottom: 44px;
}
.error_display {
background-color: transparent;
}
2022-01-13 11:52:43 +01:00
.condition_editing_vrednost_title {
margin: -5px 0 15px 5px;
font-size: 14px;
font-weight: 600;
}
}
2022-01-13 11:52:43 +01:00
#div_condition_editing_float {
display: flex;
flex-direction: column;
box-sizing: border-box;
2022-01-13 11:52:43 +01:00
position: absolute;
top: 0;
right: -369px;
width: 305px;
border: 1px solid $gray;
background-color: $white;
// Naslovna vrstica
.condition_header{
height: 45px;
padding: 0 7px;
margin-bottom: 16px;
color: $white;
font-weight: 600;
font-size: 14px;
line-height: 45px;
background-color: $blue;
}
// Glavna vsebina
.condition_edit {
margin: 0 16px;
background-color: white;
// Fieldset znotraj urejanja
fieldset {
display: flex;
flex-direction: column;
margin-bottom: 16px;
padding: 0;
2022-01-13 11:52:43 +01:00
border: 0;
border-top: 1px solid $dark-gray2;
2022-01-13 11:52:43 +01:00
legend {
margin: 0;
padding: 0 10px 0 0;
color: $black;
font-weight: 700;
font-size: 14px;
text-transform: none;
background-color: transparent;
}
}
// Posamezen blok nastavitve
.condition_setting_holder{
display: flex;
flex-direction: column;
margin-top: 8px;
&.space_bottom{
margin-top: 0;
margin-bottom: 16px;
.condition_setting_line{
margin-top: 0px;
}
}
.condition_setting_line{
display: flex;
align-items: center;
justify-content: left;
min-height: 20px;
margin-top: 8px;
line-height: 20px;
color: $black;
font-size: 14px;
&.half-half{
justify-content: space-between;
label{
width: 50%;
margin: 0;
}
.content{
width: 50%;
input[type="text"],
input[type="number"],
select,
textarea{
width: 100%;
}
}
}
}
}
p,
span,
label{
line-height: 20px;
color: $black;
font-size: 14px;
}
.jquery-selectbox {
background-color: white;
background: #FFFFFF;
border: 1px solid $dark-gray2;
box-sizing: border-box;
border-radius: 4px;
}
select{
cursor: pointer;
box-sizing: border-box;
height: 30px;
padding: 0 8px;
background-color: $white;
border: 1px solid $dark-gray2;
border-radius: 4px;
}
input[type="text"],
input[type="number"]{
box-sizing: border-box;
padding: 8px;
height: 30px;
background-color: $white;
border: 1px solid $dark-gray2;
border-radius: 4px;
}
textarea{
box-sizing: border-box;
padding: 8px;
min-height: 30px;
font-size: 14px;
background-color: $white;
border: 1px solid $dark-gray2;
border-radius: 4px;
}
2022-01-13 11:52:43 +01:00
}
// Gumbi na dnu
.button_holder {
flex-direction: column;
margin: 0 16px 10px 16px;
padding-top: 8px;
border-top: 1px $dark-gray2 solid;
button{
margin-bottom: 8px;
&:last-of-type{
margin-bottom: 0;
}
}
2022-01-13 11:52:43 +01:00
}
}
2022-01-13 11:52:43 +01:00
.error_display {
display: block;
line-height: 24px;
}
.tbl_ce_bck_blue {
background-color: $blue;
}
.tbl_ce_lol {
border-top: 1px solid $gray;
border-bottom: 1px solid $gray;
border-left: 1px solid $gray;
}
.tbl_ce_tb {
border-top: 1px solid $gray;
border-bottom: 1px solid $gray;
}
.tbl_ce_lor {
border-top: 1px solid $gray;
border-bottom: 1px solid $gray;
border-right: 1px solid $gray;
}
2022-01-13 11:52:43 +01:00
.endif {
a.surveycomment {
padding-right: 15px;
font-size: 10px;
}
}
.endblock {
a.surveycomment {
padding-right: 15px;
font-size: 10px;
}
}
#condition_editing_bottom_placeholder {
display: block;
height: 1px;
margin-bottom: 15px;
border-top: 1px solid $blue;
}
.tbl_condition_editing {
width: 98%;
border-spacing: 0px;
margin: 0px 1% 0px 1%;
border-collapse: collapse;
th {
color: $gray;
font-weight: normal;
}
}
}