274 lines
7.0 KiB
SCSS
274 lines
7.0 KiB
SCSS
![]() |
$anketa_title: $gray;
|
||
|
$anketa_url_disabled: $gray;
|
||
|
$anketa_url_enabled: $blue;
|
||
|
$mail_unread: #ffffff;
|
||
|
$user_dropdown_text: #4d4d4d;
|
||
|
$header_background: #ffffff;
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
|
||
|
&.english a{
|
||
|
background-image: url(../img/logo/1ka_logo_eng.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{
|
||
|
margin-left: 37px;
|
||
|
}
|
||
|
|
||
|
.anketa_header_activation{
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
|
||
|
.anketa_header_preview{
|
||
|
margin-left: 32px;
|
||
|
}
|
||
|
|
||
|
.anketa_header_url{
|
||
|
margin-left: 32px;
|
||
|
|
||
|
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;
|
||
|
|
||
|
color: white;
|
||
|
font-size: 12px;
|
||
|
font-weight: 400;
|
||
|
|
||
|
.switch_anketa_content {
|
||
|
position: absolute;
|
||
|
cursor: pointer;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
bottom: 0;
|
||
|
padding-top: 1px;
|
||
|
|
||
|
background-color: $blue;
|
||
|
border-radius: 20px;
|
||
|
}
|
||
|
.switch_anketa_content:before {
|
||
|
position: absolute;
|
||
|
content: "";
|
||
|
|
||
|
height: 15px;
|
||
|
width: 15px;
|
||
|
bottom: 1px;
|
||
|
|
||
|
background-color: white;
|
||
|
border-radius: 50%;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.switch_anketa.anketa_on{
|
||
|
.switch_anketa_content{
|
||
|
padding-left: 9px;
|
||
|
background-color: $blue;
|
||
|
}
|
||
|
.switch_anketa_content:before{
|
||
|
right: 2px;
|
||
|
}
|
||
|
&:hover{
|
||
|
.switch_anketa_content{
|
||
|
background-color: $yellow;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.switch_anketa.anketa_off{
|
||
|
.switch_anketa_content{
|
||
|
padding-left: 19px;
|
||
|
background-color: $blue;
|
||
|
}
|
||
|
.switch_anketa_content:before{
|
||
|
left: 2px;
|
||
|
}
|
||
|
&:hover{
|
||
|
.switch_anketa_content{
|
||
|
background-color: $blue;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.anketa_header_lock{
|
||
|
margin-left: 32px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.anketa_header_quick_settings{
|
||
|
margin-left: 32px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
// Nastavitve zgoraj desno (search, uporabnik...)
|
||
|
#enka_nav {
|
||
|
position: absolute;
|
||
|
right: 32px;
|
||
|
|
||
|
|
||
|
#search_holder {
|
||
|
display: inline-block;
|
||
|
vertical-align: middle;
|
||
|
}
|
||
|
#help_holder {
|
||
|
display: inline-block;
|
||
|
vertical-align: middle;
|
||
|
margin-left: 12px;
|
||
|
}
|
||
|
#fieldwork_holder {
|
||
|
display: inline-block;
|
||
|
vertical-align: middle;
|
||
|
margin-left: 12px;
|
||
|
}
|
||
|
#notification_holder {
|
||
|
display: inline-block;
|
||
|
vertical-align: middle;
|
||
|
margin-left: 12px;
|
||
|
}
|
||
|
|
||
|
input#searchSurvey {
|
||
|
display: none;
|
||
|
width: 150px;
|
||
|
padding: 3px 0 3px 5px;
|
||
|
margin-top: -8px;
|
||
|
border: 1px solid $blue;
|
||
|
}
|
||
|
}
|
||
|
span.sprites.mail_unread {
|
||
|
color: $mail_unread;
|
||
|
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 {
|
||
|
cursor: pointer;
|
||
|
display: inline-block;
|
||
|
width: auto;
|
||
|
font-weight: 500;
|
||
|
color: $blue;
|
||
|
|
||
|
&:hover{
|
||
|
color: $yellow;
|
||
|
}
|
||
|
}
|
||
|
#xtradivSettings {
|
||
|
display: none;
|
||
|
position: absolute;
|
||
|
z-index: 99999;
|
||
|
right: 8px;
|
||
|
top: 35px;
|
||
|
padding: 5px 10px;
|
||
|
width: 120px;
|
||
|
text-align: left;
|
||
|
background-color: $header_background;
|
||
|
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: $user_dropdown_text;
|
||
|
|
||
|
&: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;
|
||
|
}
|
||
|
|
||
|
}
|