mirror of https://github.com/fspc/workstand.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
375 lines
8.9 KiB
375 lines
8.9 KiB
|
|
@import "vendor/material-design-lite/src/textfield/textfield";
|
|
@import "vendor/material-design-lite/src/typography/typography";
|
|
@import "vendor/material-design-lite/src/shadow/shadow";
|
|
@import "vendor/material-design-lite/src/ripple/ripple";
|
|
@import "vendor/material-design-lite/src/grid/grid";
|
|
@import "vendor/material-design-lite/src/layout/layout";
|
|
@import "vendor/material-design-lite/src/footer/mega_footer";
|
|
@import "vendor/material-design-lite/src/checkbox/checkbox";
|
|
@import "vendor/material-design-lite/src/radio/radio";
|
|
@import "vendor/material-design-lite/src/button/button";
|
|
@import "vendor/material-design-lite/src/palette/palette";
|
|
@import "vendor/material-design-lite/src/menu/menu";
|
|
@import "vendor/material-design-lite/src/card/card";
|
|
@import "vendor/material-design-lite/src/data-table/data-table";
|
|
@import "vendor/material-design-lite/src/list/list";
|
|
|
|
html, body {
|
|
font-family: 'Roboto', 'Helvetica', sans-serif;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Helper classes
|
|
========================================================================== */
|
|
/*
|
|
* Hide visually and from screen readers:
|
|
*/
|
|
.hidden {
|
|
display: none !important; }
|
|
|
|
/*
|
|
* Hide only visually, but have it available for screen readers:
|
|
* http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
|
|
*/
|
|
.visuallyhidden {
|
|
border: 0;
|
|
clip: rect(0 0 0 0);
|
|
height: 1px;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
position: absolute;
|
|
width: 1px; }
|
|
|
|
/*
|
|
* Extends the .visuallyhidden class to allow the element
|
|
* to be focusable when navigated to via the keyboard:
|
|
* https://www.drupal.org/node/897638
|
|
*/
|
|
.visuallyhidden.focusable:active,
|
|
.visuallyhidden.focusable:focus {
|
|
clip: auto;
|
|
height: auto;
|
|
margin: 0;
|
|
overflow: visible;
|
|
position: static;
|
|
width: auto; }
|
|
|
|
/*
|
|
* Hide visually and from screen readers, but maintain layout
|
|
*/
|
|
.invisible {
|
|
visibility: hidden; }
|
|
|
|
/*
|
|
* Clearfix: contain floats
|
|
*
|
|
* For modern browsers
|
|
* 1. The space content is one way to avoid an Opera bug when the
|
|
* `contenteditable` attribute is included anywhere else in the document.
|
|
* Otherwise it causes space to appear at the top and bottom of elements
|
|
* that receive the `clearfix` class.
|
|
* 2. The use of `table` rather than `block` is only necessary if using
|
|
* `:before` to contain the top-margins of child elements.
|
|
*/
|
|
.clearfix:before,
|
|
.clearfix:after {
|
|
content: " ";
|
|
/* 1 */
|
|
display: table;
|
|
/* 2 */ }
|
|
|
|
.clearfix:after {
|
|
clear: both; }
|
|
|
|
/* ==========================================================================
|
|
EXAMPLE Media Queries for Responsive Design.
|
|
These examples override the primary ('mobile first') styles.
|
|
Modify as content requires.
|
|
========================================================================== */
|
|
/* ==========================================================================
|
|
Print styles.
|
|
Inlined to avoid the additional HTTP request:
|
|
http://www.phpied.com/delay-loading-your-print-css/
|
|
========================================================================== */
|
|
@media print {
|
|
*,
|
|
*:before,
|
|
*:after,
|
|
*:first-letter {
|
|
background: transparent !important;
|
|
color: #000 !important;
|
|
/* Black prints faster: http://www.sanbeiji.com/archives/953 */
|
|
box-shadow: none !important; }
|
|
a,
|
|
a:visited {
|
|
text-decoration: underline; }
|
|
a[href]:after {
|
|
content: " (" attr(href) ")"; }
|
|
abbr[title]:after {
|
|
content: " (" attr(title) ")"; }
|
|
/*
|
|
* Don't show links that are fragment identifiers,
|
|
* or use the `javascript:` pseudo protocol
|
|
*/
|
|
a[href^="#"]:after,
|
|
a[href^="javascript:"]:after {
|
|
content: ""; }
|
|
pre,
|
|
blockquote {
|
|
border: 1px solid #999;
|
|
page-break-inside: avoid; }
|
|
/*
|
|
* Printing Tables:
|
|
* http://css-discuss.incutio.com/wiki/Printing_Tables
|
|
*/
|
|
thead {
|
|
display: table-header-group; }
|
|
tr,
|
|
img {
|
|
page-break-inside: avoid; }
|
|
img {
|
|
max-width: 100% !important; }
|
|
p,
|
|
h2,
|
|
h3 {
|
|
orphans: 3;
|
|
widows: 3; }
|
|
h2,
|
|
h3 {
|
|
page-break-after: avoid; } }
|
|
|
|
.demo-avatar {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 24px;
|
|
}
|
|
.demo-layout .demo-header .mdl-textfield {
|
|
padding: 0px;
|
|
margin-top: 41px;
|
|
}
|
|
.demo-layout .demo-header .mdl-textfield .mdl-textfield__expandable-holder {
|
|
bottom: 19px;
|
|
}
|
|
.demo-layout .mdl-layout__header .mdl-layout__drawer-button {
|
|
color: rgba(0, 0, 0, 0.54);
|
|
}
|
|
.mdl-layout__drawer .avatar {
|
|
margin-bottom: 16px;
|
|
}
|
|
.demo-drawer {
|
|
border: none;
|
|
}
|
|
/* iOS Safari specific workaround */
|
|
.demo-drawer .mdl-menu__container {
|
|
z-index: -1;
|
|
}
|
|
.demo-drawer .demo-navigation {
|
|
z-index: -2;
|
|
}
|
|
/* END iOS Safari specific workaround */
|
|
.demo-drawer .mdl-menu .mdl-menu__item {
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
}
|
|
.demo-drawer-header {
|
|
box-sizing: border-box;
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-flex-direction: column;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
-webkit-justify-content: flex-end;
|
|
-ms-flex-pack: end;
|
|
justify-content: flex-end;
|
|
padding: 16px;
|
|
height: 151px;
|
|
}
|
|
.demo-avatar-dropdown {
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
position: relative;
|
|
-webkit-flex-direction: row;
|
|
-ms-flex-direction: row;
|
|
flex-direction: row;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.demo-navigation {
|
|
-webkit-flex-grow: 1;
|
|
-ms-flex-positive: 1;
|
|
flex-grow: 1;
|
|
}
|
|
.demo-layout .demo-navigation .mdl-navigation__link {
|
|
display: -webkit-flex !important;
|
|
display: -ms-flexbox !important;
|
|
display: flex !important;
|
|
-webkit-flex-direction: row;
|
|
-ms-flex-direction: row;
|
|
flex-direction: row;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
color: rgba(255, 255, 255, 0.56);
|
|
font-weight: 500;
|
|
}
|
|
.demo-layout .demo-navigation .mdl-navigation__link:hover {
|
|
background-color: #00BCD4;
|
|
color: #37474F;
|
|
}
|
|
.demo-navigation .mdl-navigation__link .material-icons {
|
|
font-size: 24px;
|
|
color: rgba(255, 255, 255, 0.56);
|
|
margin-right: 32px;
|
|
}
|
|
|
|
.demo-content {
|
|
max-width: 1080px;
|
|
}
|
|
|
|
.demo-charts {
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
-ms-grid-row-align: center;
|
|
align-items: center;
|
|
}
|
|
.demo-chart:nth-child(1) {
|
|
color: #ACEC00;
|
|
}
|
|
.demo-chart:nth-child(2) {
|
|
color: #00BBD6;
|
|
}
|
|
.demo-chart:nth-child(3) {
|
|
color: #BA65C9;
|
|
}
|
|
.demo-chart:nth-child(4) {
|
|
color: #EF3C79;
|
|
}
|
|
.demo-graphs {
|
|
padding: 16px 32px;
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-flex-direction: column;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
-webkit-align-items: stretch;
|
|
-ms-flex-align: stretch;
|
|
align-items: stretch;
|
|
}
|
|
/* TODO: Find a proper solution to have the graphs
|
|
* not float around outside their container in IE10/11.
|
|
* Using a browserhacks.com solution for now.
|
|
*/
|
|
_:-ms-input-placeholder, :root .demo-graphs {
|
|
min-height: 664px;
|
|
}
|
|
_:-ms-input-placeholder, :root .demo-graph {
|
|
max-height: 300px;
|
|
}
|
|
/* TODO end */
|
|
.demo-graph:nth-child(1) {
|
|
color: #00b9d8;
|
|
}
|
|
.demo-graph:nth-child(2) {
|
|
color: #d9006e;
|
|
}
|
|
|
|
.demo-cards {
|
|
-webkit-align-items: flex-start;
|
|
-ms-flex-align: start;
|
|
-ms-grid-row-align: flex-start;
|
|
align-items: flex-start;
|
|
-webkit-align-content: flex-start;
|
|
-ms-flex-line-pack: start;
|
|
align-content: flex-start;
|
|
}
|
|
.demo-cards .demo-separator {
|
|
height: 32px;
|
|
}
|
|
.demo-cards .mdl-card__title.mdl-card__title {
|
|
color: white;
|
|
font-size: 24px;
|
|
font-weight: 400;
|
|
}
|
|
.demo-cards ul {
|
|
padding: 0;
|
|
}
|
|
.demo-cards h3 {
|
|
font-size: 1em;
|
|
}
|
|
.demo-updates .mdl-card__title {
|
|
min-height: 200px;
|
|
background-image: url(static("images/dog.png"));
|
|
background-position: 90% 100%;
|
|
background-repeat: no-repeat;
|
|
}
|
|
.demo-cards .mdl-card__actions a {
|
|
color: #00BCD4;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.demo-options h3 {
|
|
margin: 0;
|
|
}
|
|
.demo-options .mdl-checkbox__box-outline {
|
|
border-color: rgba(255, 255, 255, 0.89);
|
|
}
|
|
.demo-options ul {
|
|
margin: 0;
|
|
list-style-type: none;
|
|
}
|
|
.demo-options li {
|
|
margin: 4px 0;
|
|
}
|
|
.demo-options .material-icons {
|
|
color: rgba(255, 255, 255, 0.89);
|
|
}
|
|
.demo-options .mdl-card__actions {
|
|
height: 64px;
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
box-sizing: border-box;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.mddtp-picker {
|
|
z-index: 1;
|
|
}
|
|
|
|
span.mdl-textfield__error, span.error {
|
|
ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
li {
|
|
float: left;
|
|
margin-right: 5px;
|
|
list-style: none inside none;
|
|
}
|
|
}
|
|
|
|
.error {
|
|
color: rgb(213,0,0);
|
|
font-size: 12px;
|
|
margin-top: 3px;
|
|
visibility: visible;
|
|
display: block;
|
|
}
|
|
|
|
html [type="button"] {
|
|
-webkit-appearance: initial !important;
|
|
}
|