frontend/src/components/TopBar/index.scss

72 lines
1.0 KiB
SCSS
Raw Normal View History

2020-06-01 16:26:58 +02:00
.top-bar {
background-color: #ffdc61;
height: 80px;
padding: 5px;
font-family: comic sans MS;
font-size: 24px;
font-weight: bold;
display: flex;
justify-content: space-between;
&__logo {
display: flex;
align-items: center;
flex-grow: 0.5;
justify-content: flex-start;
2020-06-03 15:43:11 +02:00
&-image {
width: 80px;
height: 80px;
}
2020-06-01 16:26:58 +02:00
}
2020-06-03 15:43:11 +02:00
&__input {
&-div {
width: 70%;
display: flex;
flex-grow: 3;
}
2020-06-01 16:26:58 +02:00
2020-06-03 15:43:11 +02:00
&-field {
width: 96%;
2020-06-30 19:22:32 +02:00
margin-top: 10px;
2020-06-03 15:43:11 +02:00
}
2020-06-03 18:55:55 +02:00
2020-06-04 16:07:20 +02:00
&-icon {
2020-06-03 18:55:55 +02:00
width: 35px;
}
2020-06-01 16:26:58 +02:00
}
&__icon {
width: 50px;
2020-06-03 15:43:11 +02:00
cursor: pointer;
&-box {
display: flex;
align-items: center;
justify-content: space-around;
flex-grow: 1.5;
}
2020-06-01 16:26:58 +02:00
}
2020-06-08 20:10:20 +02:00
&__menu{
margin-top: 25px;
}
2020-06-01 16:26:58 +02:00
}
2020-06-03 18:15:51 +02:00
@media only screen and (max-width: 670px) {
.top-bar {
&__tekst {
display: none;
}
&__icon {
width: 35px;
}
&__logo-image {
width: 60px;
height: 60px;
}
2020-06-03 18:55:55 +02:00
2020-06-04 16:07:20 +02:00
&__input-icon {
width: 25px;
2020-06-03 18:55:55 +02:00
}
2020-06-03 18:15:51 +02:00
}
2020-06-04 16:07:20 +02:00
}