301 lines
7.3 KiB
SCSS

$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{
display: flex;
align-items: center;
margin-left: 37px;
}
.anketa_header_activation{
display: flex;
align-items: center;
.anketa_header_preview{
margin-left: 32px;
}
.anketa_header_url{
margin-left: 32px;
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;
color: white;
font-size: 12px;
font-weight: 400;
line-height: 16px;
background-color: $blue;
border-radius: 20px;
}
.switch_anketa_content:before {
position: absolute;
content: "";
height: 18px;
width: 18px;
bottom: 1px;
background-color: white;
border-radius: 50%;
}
}
.switch_anketa.anketa_on{
.switch_anketa_content{
padding-left: 24px;
background-color: $blue;
}
.switch_anketa_content:before{
left: 1px;
}
&:hover{
.switch_anketa_content{
background-color: $dark-blue;
}
}
}
.switch_anketa.anketa_off{
.switch_anketa_content{
padding-left: 6px;
background-color: $very-dark-gray2;
}
.switch_anketa_content:before{
right: 1px;
}
&:hover{
.switch_anketa_content{
background-color: $very-dark-gray;
}
}
}
}
.anketa_header_lock{
margin-left: 32px;
}
}
.anketa_header_quick_settings{
display: flex;
align-items: center;
margin-left: 32px;
}
}
// Nastavitve zgoraj desno (search, uporabnik...)
#enka_nav {
display: flex;
align-items: center;
position: absolute;
right: 32px;
div{
margin-left: 24px;
}
#search_holder {
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 {
}
#fieldwork_holder {
}
#notification_holder {
}
}
span.sprites.mail_unread {
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;
.xtraname {
display: flex;
align-items: center;
cursor: pointer;
width: auto;
font-weight: 500;
color: $blue;
&:hover{
color: $dark-blue;
}
span{
margin-left: 8px;
line-height: 20px;
}
}
#xtradivSettings {
display: none;
position: absolute;
z-index: 99999;
right: 8px;
top: 35px;
padding: 5px 10px;
width: 120px;
text-align: left;
background-color: $white;
border: 1px $blue solid;
-webkit-box-shadow: 0 5px 15px 0 rgba(0,0,0,0.4);
box-shadow: 0 5px 15px 0 rgba(0,0,0,0.4);
-moz-box-shadow: 0 5px 15px 0 rgba(0,0,0,0.4);
span.xtraSetting {
clear: both;
float: left;
padding: 6px 0;
a.xtra {
display: inline;
vertical-align: middle;
font-size: 13px;
color: $black;
&:hover {
color: $yellow;
.faicon {
color: $yellow;
}
}
span.faicon {
display: inline;
vertical-align: middle;
margin-right: 10px;
}
}
}
}
}
/*tooltips on survey*/
.tooltip {
position: relative;
.expanded-tooltip {
display: none;
white-space: normal;
}
&:hover {
.expanded-tooltip {
display: block;
}
}
}
.tooltip.monitor {
cursor: pointer;
}
}