added footer tabs

This commit is contained in:
2019-09-20 12:17:46 +02:00
parent 8e9a8489e4
commit c9e7a335c1
9 changed files with 96 additions and 31 deletions
+44 -7
View File
@@ -51,17 +51,54 @@ header[role="banner"]{
section[role="main-content"]{
}
footer[role="search-bar"]{
#search{
color: #fff;
background-color: $bleuroi;
footer[role="tools"]{
#history{
// color: #1a1a1a;
background-color: $or;
}
#results{
// color: #1a1a1a;
background-color: $gris;
}
#history{
// color: #1a1a1a;
background-color: $or;
#footer-bottom{
#footer-tabs{
ul{
padding:0; margin:0;
display: flex;
flex-direction: column;
li{
flex: 1 1 auto;
box-sizing: border-box;
padding:0.3em;
margin:0;
line-height: 0.6em;
height:2em;
&.history{
background-color: $or;
}
&.results{
background-color: $gris;
}
span{
font-size: 0.693em;
font-weight: 400;
text-transform: uppercase;
}
}
}
}
#search{
color: #fff;
background-color: $bleuroi;
label[for="keys"]{
display: none;
}
}
}
h2{
margin:0;
font-size: 0.756em;
font-weight: 400;
text-transform: uppercase;
}
}
+4 -4
View File
@@ -33,12 +33,12 @@ body{
overflow-y: auto;
overflow-x: hidden;
}
footer[role="search-bar"]{
footer[role="tools"]{
flex:0 0 auto;
@extend %layout-element;
// padding-bottom: 1em;
>*{
padding:0.5em 1em;
}
// >*{
// padding:0.5em 1em;
// }
}
}
+1 -1
View File
@@ -1,7 +1,7 @@
$base_font_size:16px;
// grid
$default_gap: 1em;
$default_gap: 0;
$default_sum: 12;
$small-bp:768px;