2021-12-21 11:41:10 +01:00
|
|
|
/*
|
|
|
|
Popupi - splosno
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2022-01-03 11:34:02 +01:00
|
|
|
/* Popup info box (ki se pojavi npr. ob nastavitvi in ne na fade podlagi) */
|
|
|
|
@mixin popup_info() {
|
|
|
|
padding: 16px;
|
|
|
|
|
|
|
|
background-color: $white;
|
|
|
|
box-shadow: 0px 2px 7px 1px rgba(0, 0, 0, 0.25);
|
|
|
|
|
|
|
|
h2{
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 3px;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: 16px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
|
|
border-bottom: 1px $gray solid;
|
|
|
|
}
|
|
|
|
|
|
|
|
span,
|
|
|
|
p{
|
|
|
|
display: block;
|
|
|
|
padding-bottom: 16px;
|
|
|
|
|
|
|
|
&:last-child{
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a{
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.warning_popup{
|
|
|
|
|
|
|
|
h2::before{
|
|
|
|
padding-right: 8px;
|
|
|
|
|
|
|
|
font-family: $fontawesome;
|
|
|
|
content: "\f071";
|
|
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
color: $yellow;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Standarden popup, ki se pojavi na fade podlagi */
|
2021-12-21 11:41:10 +01:00
|
|
|
@mixin popup_general() {
|
|
|
|
/*max-height: 90vh;
|
|
|
|
overflow-y: scroll;*/
|
|
|
|
max-width: 90vw;
|
|
|
|
|
|
|
|
padding: 16px;
|
|
|
|
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 20px;
|
|
|
|
|
|
|
|
background-color: white;
|
|
|
|
|
|
|
|
.popup_close{
|
|
|
|
position: absolute !important;
|
|
|
|
top: 10px;
|
|
|
|
right: 10px;
|
|
|
|
z-index: 9999;
|
|
|
|
|
|
|
|
font-size: 12px !important;
|
|
|
|
color: $very-dark-gray;
|
|
|
|
|
|
|
|
&:hover{
|
|
|
|
color: $black;
|
|
|
|
}
|
|
|
|
|
|
|
|
a{
|
|
|
|
color: $very-dark-gray;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover{
|
|
|
|
color: $black;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h2,
|
|
|
|
.divPopUp_top{
|
|
|
|
width: 100%;
|
2021-12-28 12:18:19 +01:00
|
|
|
margin-bottom: 16px;
|
2021-12-21 11:41:10 +01:00
|
|
|
padding-bottom: 8px;
|
|
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: 16px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
|
|
border-bottom: 1px $gray solid;
|
2022-02-15 22:58:55 +01:00
|
|
|
|
|
|
|
margin-block-start: 0;
|
2022-02-18 01:39:18 +01:00
|
|
|
|
|
|
|
span.faicon {
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
2021-12-21 11:41:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
p{
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
2021-12-28 12:18:19 +01:00
|
|
|
|
2022-02-21 12:06:56 +01:00
|
|
|
.popup_note{
|
|
|
|
margin-bottom: 16px;
|
|
|
|
padding: 8px;
|
|
|
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
|
|
|
border: 1px $dark-gray solid;
|
|
|
|
}
|
|
|
|
|
2022-02-16 17:04:52 +01:00
|
|
|
.popup_main{
|
|
|
|
display: flex;
|
2022-02-17 17:34:59 +01:00
|
|
|
flex-direction: column;
|
2022-02-16 17:04:52 +01:00
|
|
|
|
|
|
|
border-bottom: 1px $dark-gray solid;
|
|
|
|
|
2022-02-17 17:34:59 +01:00
|
|
|
&.with_menu{
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
|
2022-02-16 17:04:52 +01:00
|
|
|
.popup_left{
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
2022-02-17 17:34:59 +01:00
|
|
|
width: 216px;
|
2022-02-21 11:23:05 +01:00
|
|
|
min-width: 216px;
|
2022-02-16 17:04:52 +01:00
|
|
|
padding-right: 16px;
|
2022-02-21 12:06:56 +01:00
|
|
|
padding-bottom: 16px;
|
2022-02-16 17:04:52 +01:00
|
|
|
margin-right: 16px;
|
|
|
|
|
|
|
|
border-right: 1px $dark-gray solid;
|
|
|
|
|
|
|
|
.list{
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.list-item{
|
|
|
|
cursor: pointer;
|
2022-02-21 11:23:05 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2022-02-16 17:04:52 +01:00
|
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 8px;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
border: 1px $gray solid;
|
|
|
|
border-radius: 2px;
|
|
|
|
|
|
|
|
transition: 0.2s;
|
|
|
|
|
|
|
|
&.active,
|
|
|
|
&:hover{
|
|
|
|
background-color: $light-gray;
|
|
|
|
border-color: $blue;
|
|
|
|
}
|
2022-02-21 11:23:05 +01:00
|
|
|
|
|
|
|
.profile_icons a{
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
2022-02-16 17:04:52 +01:00
|
|
|
}
|
|
|
|
}
|
2022-02-17 17:34:59 +01:00
|
|
|
|
|
|
|
button{
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
|
|
.faicon{
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 14px;
|
|
|
|
|
|
|
|
&::before{
|
|
|
|
margin-right: 8px;
|
|
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
color: $blue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-02-16 17:04:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.popup_right{
|
|
|
|
overflow-y: auto;
|
|
|
|
max-height: 70vh;
|
2022-02-21 11:23:05 +01:00
|
|
|
width: 100%;
|
2022-02-16 17:04:52 +01:00
|
|
|
|
2022-02-17 17:34:59 +01:00
|
|
|
.popup_right_note{
|
2022-02-16 17:04:52 +01:00
|
|
|
margin-bottom: 16px;
|
2022-02-17 17:34:59 +01:00
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
}
|
2022-02-16 17:04:52 +01:00
|
|
|
|
2022-02-17 17:34:59 +01:00
|
|
|
fieldset{
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2022-02-16 17:04:52 +01:00
|
|
|
|
2022-02-17 17:34:59 +01:00
|
|
|
padding: 16px 0 0 0;
|
|
|
|
margin-bottom: 16px;
|
2022-02-16 17:04:52 +01:00
|
|
|
|
2022-02-17 17:34:59 +01:00
|
|
|
border: 0;
|
|
|
|
border-top: 1px $gray solid;
|
|
|
|
|
|
|
|
legend{
|
|
|
|
padding: 0 8px 0 0;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-21 11:23:05 +01:00
|
|
|
span{
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2022-02-17 17:34:59 +01:00
|
|
|
.setting_line{
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
&:last-of-type{
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
label,
|
|
|
|
span{
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings_block{
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
|
|
|
label,
|
|
|
|
span{
|
|
|
|
font-size: 14px;
|
2022-02-16 17:04:52 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-28 12:18:19 +01:00
|
|
|
.button_holder{
|
2022-01-11 14:21:36 +01:00
|
|
|
justify-content: end !important;
|
2021-12-28 12:18:19 +01:00
|
|
|
|
2022-02-15 15:45:40 +01:00
|
|
|
margin: 20px 0 0 0;
|
2021-12-28 12:18:19 +01:00
|
|
|
|
|
|
|
button:last-child{
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
2022-01-03 11:36:17 +01:00
|
|
|
|
|
|
|
&.warning_popup{
|
|
|
|
|
|
|
|
h2::before{
|
|
|
|
padding-right: 8px;
|
|
|
|
|
|
|
|
font-family: $fontawesome;
|
|
|
|
content: "\f071";
|
|
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
color: $yellow;
|
|
|
|
}
|
|
|
|
}
|
2021-12-21 11:41:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2022-01-03 11:34:02 +01:00
|
|
|
.divPopUp {
|
|
|
|
@include popup_general();
|
|
|
|
}
|
|
|
|
|
|
|
|
.divPopUp_info{
|
|
|
|
@include popup_info();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-12-21 11:41:10 +01:00
|
|
|
#fade {
|
|
|
|
display: none;
|
|
|
|
position: fixed;
|
|
|
|
z-index: 79;
|
|
|
|
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
|
|
|
|
|
|
.popup_holder{
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
#fullscreen {
|
|
|
|
display: none;
|
|
|
|
position: relative;
|
|
|
|
z-index: 81;
|
2022-02-21 11:23:05 +01:00
|
|
|
|
|
|
|
.divPopUp {
|
|
|
|
display: block !important;
|
|
|
|
}
|
2021-12-21 11:41:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* basic popup */
|
|
|
|
.divPopUp {
|
2021-12-28 12:18:19 +01:00
|
|
|
display: none;
|
|
|
|
|
2021-12-21 11:41:10 +01:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|