246 lines
5.3 KiB
SCSS
Raw Normal View History

2021-12-21 11:41:10 +01:00
/*
Qtip vprasajcek popup in tooltip
*/
.qtip{
box-sizing: border-box;
width: 400px !important;
max-width: 90vw;
padding: 16px;
font-size: 16px;
line-height: 20px;
background-color: white;
box-shadow: 0px 2px 7px -1px rgba(0, 0, 0, 0.25);
2021-12-21 11:41:10 +01:00
.qtip-tip{
display: none !important;
}
.qtip-wrapper{
overflow: visible !important;
2021-12-21 11:41:10 +01:00
border: 0 !important;
/* Krizec za zaprtje vprasajcka */
2021-12-21 11:41:10 +01:00
.qtip-contentWrapper {
border: 0 !important;
.qtip-title {
padding: 0 !important;
/*margin-top: 10px;*/
2021-12-21 11:41:10 +01:00
.qtip-button{
position: absolute !important;
top: -16px;
right: -10px;
2021-12-21 11:41:10 +01:00
font-size: 12px !important;
color: $very-dark-gray;
2021-12-21 11:41:10 +01:00
&:hover{
color: $black;
2021-12-21 11:41:10 +01:00
}
}
}
/* Vsebina vprasajcka */
2021-12-21 11:41:10 +01:00
.qtip-content {
overflow: visible !important;
padding: 0 !important;
font-size: 16px;
line-height: 20px;
2021-12-21 11:41:10 +01:00
background-color: white !important;
border: 0;
textarea{
box-sizing: border-box;
}
/* Naslov - opcijsko */
h1{
margin: 0 0 16px 0;
color: $black !important;
font-size: 16px;
font-weight: 600;
text-transform: uppercase;
background-color: white !important;
&::before{
padding-right: 8px;
font-family: $fontawesome;
content: "\f059";
font-size: 20px;
color: $blue;
vertical-align: -1px;
}
}
/* Link "Več >" */
.qtip-more{
display: block;
margin-top: 16px;
font-weight: 600;
a{
text-decoration: none;
&:hover{
text-decoration: none;
}
}
&::after{
cursor: pointer;
padding-left: 8px;
vertical-align: middle;
2021-12-21 11:41:10 +01:00
font-family: $fontawesome;
content: "\f054";
font-size: 8px;
color: $blue;
transition: 0.2s;
}
&:hover{
&::after{
color: $dark-blue;
}
}
2021-12-21 11:41:10 +01:00
}
}
}
}
.qtip-borderTop, .qtip-borderBottom {
display: none !important;
}
}
/* toostip popups */
.expanded-tooltip {
@include popup_general();
top: -45px;
left: -25px;
z-index: 99999;
position: absolute;
display: block;
margin: 0;
width: 200px;
height: 29px;
padding-bottom: 10px;
/*color: $grey_super_dark !important;
background-color: $soft_blue_very_lighten;
border: 1px solid $soft_blue;
padding: 10px 10px 0 10px;*/
background-color: white;
text-align: center;
font-weight: normal;
font-size: 11px;
line-height: 14px;
a {
font-weight: 600 !important;
}
a.close {
color: $gray;
float: right;
}
span.arrow {
display: none;
display: block;
height: 18px;
left: 50%;
top: 35px;
overflow: hidden;
position: absolute;
width: 60px;
margin-left: -30px;
&:after {
background-color: white;
border: 2px solid white;
content: "";
height: 25px;
left: 15px;
position: absolute;
top: -20px;
width: 25px;
-webkit-box-shadow: 6px 5px 9px -9px black, 5px 6px 9px -9px black;
-moz-box-shadow: 6px 5px 9px -9px black, 5px 6px 9px -9px black;
box-shadow: 6px 5px 9px -9px black, 5px 6px 9px -9px black;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
}
}
}
.expanded-tooltip.bottom {
text-align: left;
left: -100px;
top: 35px;
background-color: white;
height: auto;
z-index: 99999;
span.arrow {
top: -18px;
&:after {
background-color: white;
top: 10px;
-webkit-box-shadow: -6px -5px 9px -9px black, -5px -6px 9px -9px black;
-moz-box-shadow: -6px -5px 9px -9px black, -5px -6px 9px -9px black;
box-shadow: -6px -5px 9px -9px black, -5px -6px 9px -9px black;
}
}
}
.expanded-tooltip.light {
/*background-color: $soft_blue_very_lighten;
span.arrow {
&:after {
background-color: $soft_blue_very_lighten;
}
}*/
}
#request_help_content.expanded-tooltip{
/*left: -85px;*/
}
#tooltip_preview_content.expanded-tooltip{
/*left: -90px;*/
top: 33px;
}
#baseSurveyInfoImg {
.expanded-tooltip {
width: 400px;
left: -38px;
span.arrow {
left: 12%;
}
}
}