288 lines
6.8 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;
}
}
p{
margin-bottom: 8px;
&:last-of-type{
margin-bottom: 0;
}
}
ul,
ol{
margin-bottom: 8px;
margin: 8px 0 8px 0;
padding: 0;
li{
margin: 4px 0 4px 16px;
}
}
/* 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;
}
}
2022-04-29 13:06:47 +02:00
/* tooltip popups */
.tooltip {
position: relative;
2021-12-21 11:41:10 +01:00
2022-04-29 13:06:47 +02:00
&:hover {
.expanded-tooltip {
display: block;
}
}
2021-12-21 11:41:10 +01:00
2022-04-29 13:06:47 +02:00
.expanded-tooltip {
display: none;
white-space: normal;
2022-04-29 13:06:47 +02:00
z-index: 99999;
position: absolute;
top: 26px;
left: -1px;
width: 307px;
height: auto;
margin: 0;
2022-04-29 13:06:47 +02:00
.expanded-tooltip-box{
@include hover_basic();
cursor: auto;
2022-04-29 13:06:47 +02:00
margin-top: 14px;
padding: 12px;
border-radius: 2px;
border: 1px $gray solid;
// Puscica
&:before {
content: "";
position: absolute;
top: 6px;
left: 20px;
width: 15px;
height: 15px;
background-color: $white;
border: 1px solid;
border-color: $gray transparent transparent $gray;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
}
h1{
margin: 0 0 12px 0;
font-weight: 600;
font-size: 14px;
text-transform: uppercase;
.faicon{
padding: 0 !important;
margin-right: 8px;
&:before{
font-size: 14px;
color: $blue;
vertical-align: unset !important;
}
}
}
.tooltip_line{
margin-bottom: 10px;
padding: 0 !important;
line-height: 18px;
font-size: 14px;
&:last-child{
margin-bottom: 0;
}
a,
label{
padding: 0 !important;
font-size: 14px;
line-height: 18px !important;
}
}
.tooltip_device{
display: flex;
justify-content: space-between;
.item{
&.separator{
height: 24px;
width: 1px;
border-right: 1px $gray solid;
}
a{
display: flex;
justify-content: flex-start;
padding: 0 !important;
.faicon:before{
margin-right: 8px;
font-size: 14px;
}
&:last-child{
margin-right: 0px;
padding-right: 0px;
border-right: 0;
}
}
}
}
}
&#request_help_content,
&#test_data_content,
&#survey_locked_content{
left: -16px;
}
}
2021-12-21 11:41:10 +01:00
}