341 lines
7.9 KiB
SCSS
Raw Normal View History

$anketa_title: $gray;
$anketa_url_disabled: $gray;
$anketa_url_enabled: $blue;
header #top_line{
display: flex;
align-items: center;
height: 58px;
padding: 0 32px;
// Logo zgoraj levo
#logo_holder {
width: 87px;
height: 40px;
a{
display: block;
width: 87px;
height: 40px;
background-image: url(../img/logo/1ka_logo_slo.svg);
background-repeat: no-repeat;
background-size: contain;
}
&.english a{
background-image: url(../img/logo/1ka_logo_eng.svg);
}
&.namestitev a{
background-image: url(../img/logo/1ka_logo_namestitev.svg);
}
}
// Podatki o anketi v zgornji vrstici (naslov, aktivacija, preview...)
#anketa_header_settings{
display: flex;
margin-left: 30px;
.anketa_header_naslov {
a {
font-size: 20px;
color: $black;
text-decoration: none;
font-weight: 600;
}
}
// Help, preview ikone
.anketa_header_help{
2021-12-14 11:58:50 +01:00
display: flex;
flex-direction: column;
2021-12-14 11:58:50 +01:00
align-items: center;
margin-left: 37px;
.faicon{
padding-bottom: 20px;
margin-bottom: -20px;
}
.block{
display: flex;
flex-direction: column;
margin-bottom: 8px;
.line{
margin-bottom: 8px;
font-size: 14px;
&:last-child{
margin-bottom: 0;
}
}
&:last-child{
margin-bottom: 0;
}
}
}
.anketa_header_activation{
display: flex;
align-items: center;
.anketa_header_preview{
display: flex;
flex-direction: column;
margin-left: 32px;
.faicon{
padding-bottom: 20px;
margin-bottom: -20px;
}
.block{
display: flex;
flex-direction: column;
margin-bottom: 8px;
.line{
margin-bottom: 8px;
font-size: 14px;
&:last-child{
margin-bottom: 0;
}
}
&:last-child{
margin-bottom: 0;
}
}
}
.anketa_header_url{
margin-left: 32px;
2021-12-14 11:58:50 +01:00
color: $very-dark-gray;
a{
font-size: 16px;
text-decoration: none;
}
}
.anketa_header_activate{
margin-left: 32px;
// Gumb za aktivacijo ankete
.switch_anketa {
position: relative;
display: block;
width: 50px;
height: 20px;
.switch_anketa_content {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
padding-top: 1px;
2021-12-14 11:58:50 +01:00
color: white;
font-size: 12px;
font-weight: 400;
line-height: 16px;
background-color: $blue;
border-radius: 20px;
}
.switch_anketa_content:before {
position: absolute;
content: "";
2021-12-14 11:58:50 +01:00
height: 18px;
width: 18px;
bottom: 1px;
background-color: white;
border-radius: 50%;
}
}
.switch_anketa.anketa_on{
.switch_anketa_content{
2021-12-14 11:58:50 +01:00
padding-left: 24px;
background-color: $blue;
}
.switch_anketa_content:before{
2021-12-14 11:58:50 +01:00
left: 1px;
}
&:hover{
.switch_anketa_content{
2021-12-14 11:58:50 +01:00
background-color: $dark-blue;
}
}
}
.switch_anketa.anketa_off{
.switch_anketa_content{
2021-12-14 11:58:50 +01:00
padding-left: 6px;
background-color: $very-dark-gray2;
}
.switch_anketa_content:before{
2021-12-14 11:58:50 +01:00
right: 1px;
}
&:hover{
.switch_anketa_content{
2021-12-14 11:58:50 +01:00
background-color: $very-dark-gray;
}
}
}
}
.anketa_header_lock{
margin-left: 32px;
}
}
.anketa_header_quick_settings{
2021-12-14 11:58:50 +01:00
display: flex;
align-items: center;
margin-left: 32px;
}
}
// Nastavitve zgoraj desno (search, uporabnik...)
#enka_nav {
2021-12-14 11:58:50 +01:00
display: flex;
align-items: center;
position: absolute;
right: 32px;
2021-12-14 11:58:50 +01:00
div{
margin-left: 24px;
}
#search_holder {
2021-12-14 11:58:50 +01:00
form{
display: flex;
align-items: center;
}
input#searchSurvey {
display: none;
width: 150px;
padding: 3px 0 3px 5px;
margin: -3px 0 0 5px;
border: 1px solid $blue;
}
}
#help_holder {
2021-12-14 11:58:50 +01:00
}
#fieldwork_holder {
2021-12-14 11:58:50 +01:00
}
#notification_holder {
2021-12-14 11:58:50 +01:00
}
}
span.sprites.mail_unread {
2021-12-14 11:58:50 +01:00
color: $white;
font-size: 11px;
font-weight: bold;
line-height: 23px;
text-align: center;
text-indent: 10px;
}
#xtradiv {
display: inline-block;
width: auto;
margin-left: 15px;
vertical-align: middle;
2021-12-14 11:58:50 +01:00
.xtraname {
2021-12-14 11:58:50 +01:00
display: flex;
align-items: center;
cursor: pointer;
2021-12-14 11:58:50 +01:00
width: auto;
font-weight: 500;
color: $blue;
&:hover{
2021-12-14 11:58:50 +01:00
color: $dark-blue;
}
span{
margin-left: 8px;
line-height: 20px;
}
}
2021-12-14 11:58:50 +01:00
#xtradivSettings {
@include hover_basic();
display: none;
position: absolute;
z-index: 99999;
right: 0;
top: 40px;
2021-12-14 11:58:50 +01:00
width: 120px;
2021-12-14 11:58:50 +01:00
a{
color: $blue;
&:hover{
color: $dark-blue;
.faicon:before{
color: $dark-blue;
}
}
.faicon:before{
margin-right: 8px;
color: $blue;
}
}
}
2021-12-14 11:58:50 +01:00
}
/*tooltips on survey*/
.tooltip {
position: relative;
.expanded-tooltip {
display: none;
white-space: normal;
}
&:hover {
.expanded-tooltip {
display: block;
}
}
}
.tooltip.monitor {
cursor: pointer;
}
}