material-design-lite/templates/text-only/styles.css

179 lines
3.6 KiB
CSS
Raw Normal View History

2015-04-23 07:10:59 -07:00
html, body {
font-family: 'Roboto', 'Helvetica', sans-serif;
2015-04-23 07:10:59 -07:00
margin: 0;
padding: 0;
}
.mdl-demo .mdl-layout__header-row {
padding-left: 40px;
height: 53px;
}
.mdl-demo .mdl-layout__tab-bar-button, .mdl-layout__drawer-button {
2015-04-23 07:10:59 -07:00
display: none;
}
.mdl-demo .mdl-layout__tab-bar-container {
2015-04-23 07:10:59 -07:00
overflow: visible;
height: 64px;
2015-04-23 07:10:59 -07:00
}
.mdl-demo .mdl-layout__tab-bar {
2015-04-23 07:10:59 -07:00
overflow: visible;
position: relative;
padding: 0;
padding-left: 16px;
2015-04-23 07:10:59 -07:00
height: 100%;
width: 100%;
}
.mdl-demo .mdl-layout__tab-bar .mdl-layout__tab {
height: 64px;
line-height: 64px;
2015-04-23 07:10:59 -07:00
}
.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: 0;
padding-top: 48px;
height: 100%;
}
.mdl-demo .mdl-card {
height: auto;
display: flex;
flex-direction: column;
}
.mdl-demo .mdl-card > * {
height: auto;
}
.mdl-demo .mdl-card .mdl-card__supporting-text {
margin: 40px;
flex-grow: 1;
padding: 0;
color: inherit;
width: calc(100% - 80px);
}
.mdl-demo.mdl-demo .mdl-card__supporting-text h4 {
margin-top: 0;
margin-bottom: 20px;
}
.mdl-demo .mdl-card__actions {
margin: 0;
padding: 4px 40px;
color: inherit;
}
.mdl-demo .mdl-card__actions a {
color: #00BCD4;
margin: 0;
}
.mdl-demo .mdl-card__actions a:hover,
.mdl-demo .mdl-card__actions a:active {
color: inherit;
background-color: transparent;
}
.mdl-demo .mdl-card__supporting-text + .mdl-card__actions {
border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.mdl-demo #add {
2015-04-23 07:10:59 -07:00
position: absolute;
right: 40px;
top: 36px;
2015-04-23 07:10:59 -07:00
z-index: 999;
}
.mdl-demo .mdl-layout__content section:not(:last-of-type) {
2015-04-23 07:10:59 -07:00
position: relative;
margin-bottom: 48px;
}
.mdl-demo section.section--center {
max-width: 860px;
}
.mdl-demo #features section.section--center {
max-width: 620px;
2015-04-23 07:10:59 -07:00
}
.mdl-demo section > header{
2015-04-23 07:10:59 -07:00
display: flex;
align-items: center;
justify-content: center;
}
.mdl-demo section > .section__play-btn {
2015-04-24 07:22:26 -07:00
min-height: 200px;
}
.mdl-demo section > header > .material-icons {
2015-04-23 07:10:59 -07:00
font-size: 3rem;
}
.mdl-demo section > button {
position: absolute;
2015-04-23 07:10:59 -07:00
z-index: 99;
top: 8px;
right: 8px;
}
.mdl-demo section .section__circle {
2015-04-23 07:10:59 -07:00
display: flex;
align-items: center;
justify-content: flex-start;
flex-grow: 0;
flex-shrink: 1;
}
.mdl-demo section .section__text {
flex-grow: 1;
flex-shrink: 0;
padding-top: 8px;
2015-04-23 07:10:59 -07:00
}
.mdl-demo section .section__text h5 {
font-size: inherit;
margin: 0;
margin-bottom: 0.5em;
}
.mdl-demo section .section__text a {
text-decoration: none;
2015-04-23 07:10:59 -07:00
}
.mdl-demo section .section__circle-container > .section__circle-container__circle {
width: 64px;
height: 64px;
border-radius: 32px;
margin: 8px 0;
2015-04-23 07:10:59 -07:00
}
.mdl-demo section.section--footer .section__circle--big {
width: 100px;
height: 100px;
border-radius: 50px;
margin: 8px 32px;
}
.mdl-demo section.section--footer {
padding: 64px 0;
}
.mdl-demo section.section--center .section__text:not(:last-child) {
2015-04-23 07:10:59 -07:00
border-bottom: 1px solid rgba(0,0,0,.13);
}
.mdl-demo .mdl-card .mdl-card__supporting-text > h3:first-child {
margin-bottom: 24px;
2015-04-23 07:10:59 -07:00
}
.mdl-demo .mdl-layout__tab-panel:not(#overview) {
background-color: white;
2015-04-23 07:10:59 -07:00
}
.mdl-demo #features section {
2015-04-23 07:10:59 -07:00
margin-bottom: 72px;
}
.mdl-demo #features h4, #features h5 {
margin-bottom: 16px;
2015-04-23 07:10:59 -07:00
}
.mdl-demo .toc {
border-left: 4px solid #C1EEF4;
2015-04-23 07:10:59 -07:00
margin: 24px;
padding: 0;
padding-left: 8px;
display: flex;
flex-direction: column;
}
.mdl-demo .toc h4 {
font-size: 0.9rem;
margin-top: 0;
2015-04-23 07:10:59 -07:00
}
.mdl-demo .toc a {
2015-04-23 07:10:59 -07:00
@extend mdl-color-text--cyan-300;
text-decoration: none;
font-size: 16px;
line-height: 28px;
2015-04-23 07:10:59 -07:00
}
.mdl-demo .mdl-menu__container {
2015-04-23 07:10:59 -07:00
z-index: 99;
}