strolch-wc-styles/strolch-wc-styles.html

486 lines
10 KiB
HTML

<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="../paper-styles/paper-styles.html">
<dom-module id="strolch-wc-styles">
<template>
<style is="custom-style">
.g-card {
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
0 1px 5px 0 rgba(0, 0, 0, 0.12),
0 3px 1px -2px rgba(0, 0, 0, 0.2);
border-radius: 2px;
}
/*
* table as a data definition list. Works simpler than a dl
*/
.g-table-dl td:first-child {
text-align: right;
padding-right: 5px;
}
/*
* data definition list
*/
.g-dl {
padding: 0.5em;
}
.g-dl dt {
float: left;
clear: left;
min-width: 130px;
text-align: right;
font-weight: bold;
padding-right: 0.5em;
}
.g-dl dd {
padding: 0 0 0.5em 0;
}
/*
* Alignment
*/
.g-middle {
vertical-align: middle;
}
.g-center {
text-align: center;
}
.g-right {
text-align: right;
}
.g-left {
text-align: left;
}
.g-pull-right {
float: right;
}
.g-pull-left {
float: left;
}
.g-auto-center {
margin-left: auto !important;
margin-right: auto !important;
}
.g-auto-middle {
margin-top: auto !important;
margin-bottom: auto !important;
}
/*
* Flex tables
*/
.g-flex-table {
min-width: 100%;
display: flex;
flex-direction: column;
}
.g-flex-table-row {
box-sizing: border-box;
display: flex;
flex-direction: row;
}
.g-flex-table-cell {
display: flex;
padding: 0 5px;
overflow: hidden;
align-items: center;
flex-basis: 100px;
flex-grow: 1;
flex-shrink: 0;
justify-content: flex-start;
min-height: 48px;
}
/*
* Tables
*/
.g-table {
text-align: left;
border-collapse: collapse !important;
table-layout: fixed;
width: calc(100% - 2 * 1.2em);
margin: 1.2em 1.2em 1rem;
}
.g-table.g-table-word-break {
word-wrap: break-word;
}
.g-table td,
.g-table th {
background-color: #fff !important;
}
.g-table th,
.g-table td {
padding: 0.5rem;
vertical-align: top;
border-top: 1px solid #eceeef;
}
.g-table thead th {
vertical-align: bottom;
border-bottom: 2px solid #eceeef;
}
.g-table tbody + tbody {
border-top: 2px solid #eceeef;
}
.g-table.g-table-middle td {
vertical-align: middle;
}
.g-table.g-table-no-border td,
.g-table.g-table-no-border tbody + tbody {
border-top: none;
}
.g-table.g-table-no-border th {
border-bottom: none;
}
.g-table.g-table-small {
width: inherit;
}
/*
* Grid
*/
.g-container {
display: block;
width: 100%;
}
.g-row {
display: flex;
}
.g-1 {
width: 8.3333333%;
max-width: 8.3333333%;
}
.g-2 {
width: 16.666666667%;
max-width: 16.666666667%;
}
.g-3 {
width: 25%;
max-width: 25%;
}
.g-4 {
width: 33.333333333%;
max-width: 33.333333333%;
}
.g-5 {
width: 41.666666667%;
max-width: 41.666666667%;
}
.g-6 {
width: 50%;
max-width: 50%;
}
.g-7 {
width: 58.3333333%;
max-width: 58.3333333%;
}
.g-8 {
width: 66.666666667%;
max-width: 66.666666667%;
}
.g-9 {
width: 75%;
max-width: 75%;
}
.g-10 {
width: 83.333333333%;
max-width: 83.333333333%;
}
.g-11 {
width: 91.666666667%;
max-width: 91.666666667%;
}
.g-12 {
width: 100%;
max-width: 100%;
}
.g-offset-1 {
margin-left: 8.3333333%;
}
.g-offset-2 {
margin-left: 16.666666667%;
}
.g-offset-3 {
margin-left: 25%;
}
.g-offset-4 {
margin-left: 33.333333333%;
}
.g-offset-5 {
margin-left: 41.666666667%;
}
.g-offset-6 {
margin-left: 50%;
}
.g-offset-7 {
margin-left: 58.3333333%;
}
.g-offset-8 {
margin-left: 66.666666667%;
}
.g-offset-9 {
margin-left: 75%;
}
.g-offset-10 {
margin-left: 83.333333333%;
}
.g-offset-11 {
margin-left: 91.666666667%;
}
/*
* margins
*/
.g-m-0 {
margin: 0.0em !important;
}
.g-m-1 {
margin: 0.2em !important;
}
.g-m-2 {
margin: 0.4em !important;
}
.g-m-3 {
margin: 0.8em !important;
}
.g-m-4 {
margin: 1.2em !important;
}
.g-ml-0 {
margin-left: 0.0em !important;
}
.g-ml-1 {
margin-left: 0.2em !important;
}
.g-ml-2 {
margin-left: 0.4em !important;
}
.g-ml-3 {
margin-left: 0.8em !important;
}
.g-ml-4 {
margin-left: 1.2em !important;
}
.g-mr-0 {
margin-right: 0.0em !important;
}
.g-mr-1 {
margin-right: 0.2em !important;
}
.g-mr-2 {
margin-right: 0.4em !important;
}
.g-mr-3 {
margin-right: 0.8em !important;
}
.g-mr-4 {
margin-right: 1.2em !important;
}
.g-mt-0 {
margin-top: 0.0em !important;
}
.g-mt-1 {
margin-top: 0.2em !important;
}
.g-mt-2 {
margin-top: 0.4em !important;
}
.g-mt-3 {
margin-top: 0.8em !important;
}
.g-mt-4 {
margin-top: 1.2em !important;
}
.g-mb-0 {
margin-bottom: 0.0em !important;
}
.g-mb-1 {
margin-bottom: 0.2em !important;
}
.g-mb-2 {
margin-bottom: 0.4em !important;
}
.g-mb-3 {
margin-bottom: 0.8em !important;
}
.g-mb-4 {
margin-bottom: 1.2em !important;
}
/*
* padding
*/
.g-p-0 {
padding: 0.0em !important;
}
.g-p-1 {
padding: 0.2em !important;
}
.g-p-2 {
padding: 0.4em !important;
}
.g-p-3 {
padding: 0.8em !important;
}
.g-p-4 {
padding: 1.2em !important;
}
.g-pl-0 {
padding-left: 0.0em !important;
}
.g-pl-1 {
padding-left: 0.2em !important;
}
.g-pl-2 {
padding-left: 0.4em !important;
}
.g-pl-3 {
padding-left: 0.8em !important;
}
.g-pl-4 {
padding-left: 1.2em !important;
}
.g-pr-0 {
padding-right: 0.0em !important;
}
.g-pr-1 {
padding-right: 0.2em !important;
}
.g-pr-2 {
padding-right: 0.4em !important;
}
.g-pr-3 {
padding-right: 0.8em !important;
}
.g-pr-4 {
padding-right: 1.2em !important;
}
.g-pt-0 {
padding-top: 0.0em !important;
}
.g-pt-1 {
padding-top: 0.2em !important;
}
.g-pt-2 {
padding-top: 0.4em !important;
}
.g-pt-3 {
padding-top: 0.8em !important;
}
.g-pt-4 {
padding-top: 1.2em !important;
}
.g-pb-0 {
padding-bottom: 0.0em !important;
}
.g-pb-1 {
padding-bottom: 0.2em !important;
}
.g-pb-2 {
padding-bottom: 0.4em !important;
}
.g-pb-3 {
padding-bottom: 0.8em !important;
}
.g-pb-4 {
padding-bottom: 1.2em !important;
}
</style>
</template>
</dom-module>