Skip to content

Instantly share code, notes, and snippets.

@sazid
Created October 25, 2014 15:34
Show Gist options
  • Save sazid/8e814cdc2ab48ed49851 to your computer and use it in GitHub Desktop.
Save sazid/8e814cdc2ab48ed49851 to your computer and use it in GitHub Desktop.
CSS for styling polymer elements
body {
font-family: "RobotoDraft";
font-weight: 300;
}
core-animated-pages {
width: 85%;
height: 85%;
-webkit-user-select: none;
overflow: hidden;
}
core-animated-pages > * {
border-radius: 5px;
font-size: 50px;
background-color: white;
}
body /deep/ core-toolbar {
background-color: #03a9f4;
color: #fff;
}
core-menu {
color: #01579b;
margin: 10px 0 0 0;
}
core-menu > paper-item {
transition: all 300ms ease-in-out;
}
core-menu > paper-item.core-selected {
background: #e1f5fe;
}
@media all and (max-width: 480px) {
core-animated-pages {
width: 100%;
height: 100%;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment