mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
close gap, use border-box for box-sizing
This commit is contained in:
parent
16fe86b2fd
commit
c4a98c5571
1 changed files with 7 additions and 5 deletions
|
@ -18,7 +18,7 @@
|
||||||
height: 50px;
|
height: 50px;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
transition: .15s ease all;
|
transition: .15s ease all;
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -49,7 +49,7 @@
|
||||||
height: 14px;
|
height: 14px;
|
||||||
|
|
||||||
&[type=text] {
|
&[type=text] {
|
||||||
transition: .15s ease background-color;
|
transition: .15s ease background-color;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
padding-left: 40px;
|
padding-left: 40px;
|
||||||
|
@ -76,14 +76,14 @@
|
||||||
|
|
||||||
.btn-search {
|
.btn-search {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
background-image: url("/images/nav-search-glass.png");
|
background-image: url("/images/nav-search-glass.png");
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
background-size: 14px 14px;
|
background-size: 14px 14px;
|
||||||
|
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
|
||||||
|
@ -186,9 +186,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown {
|
.dropdown {
|
||||||
|
top: 50px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue