|
.button-container { |
|
width: 50%; |
|
height: 100%; |
|
font-family: 'Roboto', 'Helvetica', sans-serif; |
|
margin: 0; |
|
padding: 0; |
|
} |
|
|
|
.mdl-demo .mdl-layout__header-row { |
|
padding-left: 40px; |
|
height: 50px; |
|
} |
|
|
|
.mdl-demo .mdl-layout.is-small-screen .mdl-layout__header-row h3 { |
|
font-size: inherit; |
|
} |
|
|
|
.mdl-demo .mdl-layout__tab-bar-button { |
|
display: none; |
|
} |
|
|
|
.mdl-demo .mdl-button > i.material-icons { |
|
color: white; |
|
} |
|
|
|
.mdl-demo .mdl-layout .mdl-layout__tab-bar, |
|
.mdl-demo .mdl-layout .mdl-layout__tab-bar-container { |
|
overflow: visible; |
|
} |
|
|
|
.mdl-demo .mdl-layout__tab-bar-container { |
|
height: 64px; |
|
} |
|
|
|
.mdl-demo .mdl-layout__tab-bar { |
|
padding: 0; |
|
padding-left: 16px; |
|
box-sizing: border-box; |
|
height: 100%; |
|
width: 100%; |
|
} |
|
|
|
.mdl-demo .mdl-layout__tab-bar .mdl-layout__tab { |
|
height: 64px; |
|
line-height: 64px; |
|
} |
|
|
|
.mdl-demo .mdl-layout__tab-bar .mdl-layout__tab.is-active::after { |
|
background-color: white; |
|
height: 4px; |
|
} |
|
|
|
.mdl-demo main > .mdl-layout__tab-panel { |
|
padding: 8px; |
|
padding-top: 48px; |
|
} |
|
|
|
.mdl-demo #add { |
|
position: absolute; |
|
right: 40px; |
|
top: 36px; |
|
z-index: 999; |
|
} |
|
|
|
.mdl-demo .mdl-layout__content section:not(:last-of-type) { |
|
position: relative; |
|
margin-bottom: 48px; |
|
} |
|
|
|
.mdl-demo section.section--center { |
|
max-width: 860px; |
|
} |
|
|
|
.mdl-demo #features section.section--center { |
|
max-width: 620px; |
|
} |
|
|
|
.mdl-demo section > header { |
|
display: flex; |
|
align-items: center; |
|
justify-content: center; |
|
} |
|
|
|
.mdl-demo section > .section__play-btn { |
|
min-height: 200px; |
|
} |
|
|
|
.mdl-demo section > header > .material-icons { |
|
font-size: 3rem; |
|
} |
|
|
|
.mdl-demo section > button { |
|
position: absolute; |
|
z-index: 99; |
|
top: 8px; |
|
right: 8px; |
|
} |
|
|
|
.mdl-demo .mdl-button--fab-clear { |
|
background: none !important; |
|
box-shadow: none !important; |
|
} |
|
|
|
.mdl-demo .mdl-layout:not(.is-small-screen) .click-svg { |
|
width: 500px; |
|
height: 500px !important; |
|
right: -150px !important; |
|
top: -260px !important; |
|
} |
|
|
|
.mdl-demo .mdl-layout .click-svg { |
|
width: 500px; |
|
height: 500px !important; |
|
right: -150px !important; |
|
top: -220px !important; |
|
} |
|
|
|
|
|
/* Begin Fab Menu close/back transition. Thanks to [Maeve](https://codepen.io/vcmg/pen/Pqmgdz) for this keyframe animation |
|
which allows for the action button to snap back in it's place without having to tween another property or attribute. */ |
|
|
|
.back { |
|
-webkit-animation: deactivate 0.3s linear forwards; |
|
animation: deactivate 0.3s linear forwards; |
|
} |
|
|
|
@-webkit-keyframes deactivate { |
|
0% { |
|
transform: scale(10.5); |
|
} |
|
25% { |
|
transform: scale(1); |
|
} |
|
50% { |
|
transform: scale(0.9); |
|
} |
|
75% { |
|
transform: scale(1.1); |
|
} |
|
100% { |
|
transform: scale(1); |
|
} |
|
} |
|
|
|
@keyframes deactivate { |
|
0% { |
|
transform: scale(10.5); |
|
} |
|
25% { |
|
transform: scale(1); |
|
} |
|
50% { |
|
transform: scale(0.9); |
|
} |
|
75% { |
|
transform: scale(1.1); |
|
} |
|
100% { |
|
transform: scale(1); |
|
} |
|
} |
|
|
|
.header__fab-menu { |
|
position: absolute; |
|
right: -10.0em; |
|
opacity: 0; |
|
z-index: 3000; |
|
} |
|
|
|
.header__fab-menu li { |
|
list-style: none; |
|
} |
|
|
|
.header__fab-menu li i.material-icons { |
|
display: inline-flex; |
|
vertical-align: middle; |
|
cursor: pointer; |
|
} |
|
|
|
.header__fab-menu li a { |
|
color: white; |
|
text-decoration: none; |
|
} |
|
|
|
.header__fab-menu li .mdl-36 { |
|
font-size: 36px; |
|
} |
|
|
|
.mdl-demo .mdl-layout.is-small-screen .header__fab-menu { |
|
margin-top: 2.5em; |
|
} |
|
|
|
.mdl-demo .mdl-layout:not(.is-small-screen) .header__fab-menu { |
|
top: -4.0em; |
|
} |