Skip to content

Instantly share code, notes, and snippets.

@skad0
Created April 26, 2018 18:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skad0/e43a759019c7f8fabf686f33ad9f21e6 to your computer and use it in GitHub Desktop.
Save skad0/e43a759019c7f8fabf686f33ad9f21e6 to your computer and use it in GitHub Desktop.
.ActionBar {
display: flex;
flex-direction: row;
align-items: center;
position: relative;
width: 100%;
height: 56px;
background: #2e3e49;
box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.04);
&-Title {
font-size: 20px;
font-weight: 500;
color: #fff;
font-family: Roboto;
}
&-Item {
margin: 0 16px;
}
&-Button {
width: 24px;
height: 24px;
border: 0;
background: transparent;
background-size: cover;
cursor: pointer;
}
&-BackButton {
background-image: url('/ui/images/icons/arrow-back.svg');
}
&-SearchButton {
position: absolute;
right: 0;
background-image: url('/ui/images/icons/search.svg');
}
&-SearchForm {
display: flex;
align-items: center;
width: 100%;
height: 40px;
background: #fff;
margin: 0 8px;
border-radius: 2px;
&::before {
content: '';
width: 24px;
height: 24px;
margin: 0 8px;
opacity: .5;
background: url('/ui/images/icons/search_darker.svg');
}
}
&-SearchField {
width: 100%;
height: 100%;
font-size: 20px;
border: 0;
outline: 0;
background: transparent;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment