"git@version.helsinki.fi:rikulain/CFBI-public.git" did not exist on "472ef7c60909ccdac1fa857d5e4a6a4094ba60a3"
Newer
Older
:host {
display: block;
}
.hy-site-header {
align-items: center;
display: flex;
flex-flow: row;
&--mobile {
background-color: var(--brand-main-nearly-black);
}
@include breakpoint($medium) {
align-content: center;
background-color: var(--grayscale-white);
box-shadow: rgba(14, 104, 139, 0.2) 0 20px 20px -20px;
display: flex;
flex-flow: row;
justify-content: space-between;
margin: 0 auto;
max-width: 1920px;
}
&__logo-container {
margin: 24px 16px;
@include breakpoint($medium) {
margin: 24px 32px;
}
&__menu-container {
align-items: center;
display: flex;
margin-left: auto;
}
&__panel {
background: var(--grayscale-white);
bottom: 0;
overflow: hidden;
padding: 0;
position: absolute;
right: 0;
top: 0;
transform: translateX(100%);
transition: 0.3s;
visibility: hidden;
width: 0;
&.is-open {
padding: 20px;
transform: translateX(0);
visibility: visible;
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
z-index: 100;
}
}
&__panel-toggle {
background: transparent;
border: 0 none;
padding: 15px;
&.is-open {
margin: 10px;
padding: 10px;
position: absolute;
right: 0;
top: 10px;
z-index: 101;
}
}
}
.hy-backdrop {
bottom: 0;
left: 0;
position: absolute;
right: 0;
top: 0;
visibility: hidden;
&.is-active {
background-color: rgba(0, 0, 0, 0.4);
transition: background-color 300ms;
visibility: visible;
z-index: 99;
}
}
.menu--secondary {
@include breakpoint($medium) {
align-items: center;
display: flex;
flex-flow: row;
&__item {
align-items: center;
display: flex;
flex-flow: row;
padding: 15px;
}
&__item:not(.is-first) {
&::before {
align-self: center;
border-left: 1px dashed var(--brand-main-nearly-black);
content: '';
display: block;
height: 25px;
margin-left: -15px;
margin-right: 15px;
margin-top: 5px;
width: 1px;
}
}
}
}
.hy-link__donate {
@include breakpoint($medium) {
margin-left: 15px;
margin-right: 15px;
padding: 0;
text-decoration: none;
&:focus {
outline: solid 2px var(--additional-yellow);
outline-offset: -1px;
}
}
&__label {
@include breakpoint($medium) {
@include font-size(14px, 14px);
@include font-weight($regular);
color: var(--brand-main-nearly-black);
font-family: var(--main-font-family);
margin-left: 4px;
text-decoration: none;
}
}
}