Show only icons if search is opened

This commit is contained in:
Jorit Tijsen
2024-05-17 15:25:40 +02:00
parent 9ae62ab798
commit 7c05b92703
4 changed files with 34 additions and 8 deletions

View File

@@ -117,6 +117,12 @@
margin: 8px;
border-right: 1px solid rgba(255, 255, 255, 0.2);
line-height: 2;
height: 28px;
&.collapsed {
padding: 3px 9px 3px 6px;
margin: 8px auto;
}
&:last-child {
border: none;
@@ -136,6 +142,13 @@
color: $text-inverted-color;
text-decoration: none;
text-transform: uppercase;
display: flex;
span {
overflow: hidden;
display: block;
height: 28px;
}
&.with_svg_icon {
position: relative;
@@ -169,7 +182,7 @@
border: 1px solid #efefef;
border-radius: 3px;
background-color: $element-bg;
height: 29px;
height: 26px;
font-family: Montserrat, serif;
font-size: 16px;
line-height: 1.25;
@@ -177,7 +190,7 @@
}
.search_submit {
float: right;
margin: 6px;
margin: 4px;
}
}
.search_button {