header icons
This commit is contained in:
@@ -53,6 +53,7 @@ makeAipCall = (searchItem) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
myF = (event) => {
|
myF = (event) => {
|
||||||
|
|
||||||
this.setState({
|
this.setState({
|
||||||
myVal: false
|
myVal: false
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -41,12 +41,17 @@ class navigation extends Component {
|
|||||||
<NavigationItem link="/">My List</NavigationItem>
|
<NavigationItem link="/">My List</NavigationItem>
|
||||||
|
|
||||||
<div className="navigation__container--left">
|
<div className="navigation__container--left">
|
||||||
|
|
||||||
<SearchLogo className="logo" />
|
<SearchLogo className="logo" />
|
||||||
<input
|
<input
|
||||||
|
className="navigation__container--left__input"
|
||||||
onKeyDown={this.props.showMan}
|
onKeyDown={this.props.showMan}
|
||||||
type="text"
|
type="text"
|
||||||
placeholder="Title, genres, people" />
|
placeholder="Title, genres, people" />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
<NavigationItem link="/">KIDS</NavigationItem>
|
||||||
|
<NavigationItem link="/">DVD</NavigationItem>
|
||||||
</ul>
|
</ul>
|
||||||
{/* <NavigationItems /> */}
|
{/* <NavigationItems /> */}
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ html {
|
|||||||
height: 150%;
|
height: 150%;
|
||||||
padding-bottom: 10rem;
|
padding-bottom: 10rem;
|
||||||
padding-left: 4rem;
|
padding-left: 4rem;
|
||||||
|
transition: all 5s;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,72 +30,56 @@
|
|||||||
&-link {
|
&-link {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
margin-right: 3rem;
|
margin-right: 2rem;
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
padding-right: 2.6rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&--left {
|
&--left {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
padding-right: 4.6rem;
|
padding-right: 2rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
&__input {
|
||||||
|
|
||||||
::placeholder {
|
|
||||||
color: rgb(167, 166, 166);
|
|
||||||
opacity: 1;
|
|
||||||
/* Firefox */
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="text"] {
|
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
border: none;
|
border: none;
|
||||||
|
color: #fff;
|
||||||
outline: none;
|
outline: none;
|
||||||
// background-color: red;
|
|
||||||
width: 0px;
|
width: 0px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
padding-right: 2rem;
|
padding-right: 2rem;
|
||||||
background: none;
|
// background: none;
|
||||||
transition: width .5s cubic-bezier(0.000, 0.795, 0.000, 1.000);
|
background: $color-background;
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="text"]:focus:hover {
|
|
||||||
z-index: 2;
|
|
||||||
border-bottom: 1px solid #BBB;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="text"]:focus {
|
|
||||||
width: 22rem;
|
|
||||||
color: #fff;
|
|
||||||
z-index: 1;
|
|
||||||
background-color: #000;
|
|
||||||
border: 1px solid #fff;
|
border: 1px solid #fff;
|
||||||
|
transition: width .5s;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
opacity: 0;
|
||||||
|
// transition: all .5s;
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
padding-left: 4rem;
|
||||||
|
width: 22rem;
|
||||||
|
// border: 1px solid #fff;
|
||||||
cursor: text;
|
cursor: text;
|
||||||
}
|
opacity: 1;
|
||||||
|
|
||||||
input[type="submit"] {
|
}
|
||||||
height: 67px;
|
}
|
||||||
width: 63px;
|
}
|
||||||
|
}
|
||||||
|
|
||||||
text-indent: -10000px;
|
|
||||||
border: none;
|
|
||||||
position: absolute;
|
|
||||||
z-index: 2;
|
|
||||||
cursor: pointer;
|
|
||||||
opacity: 0.4;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: opacity .4s ease;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
z-index: -1;
|
width: 1.8rem;
|
||||||
width: 2rem;
|
height: 1.8rem;
|
||||||
height: 2rem;
|
transform: translateX(2.4rem) translateY(1rem);
|
||||||
transform: translateX(2.4rem) translateY(.5rem);
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user