proofofphone/web/public/css/materialize.css

99 lines
2.0 KiB
CSS

/*!
* Materialize v0.97.5 (http://materializecss.com)
* Copyright 2014-2015 Materialize
* MIT License (https://raw.githubusercontent.com/Dogfalo/materialize/master/LICENSE)
*/
/*** Toasts ***/
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
.z-depth-1, nav, .card-panel, .card, .toast, .btn, .btn-large, .btn-floating, .dropdown-content, .collapsible, .side-nav {
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
#toast-container {
display: block;
position: fixed;
z-index: 10000;
}
@media only screen and (max-width: 600px) {
#toast-container {
min-width: 100%;
bottom: 0%;
}
}
@media only screen and (min-width: 601px) and (max-width: 992px) {
#toast-container {
left: 5%;
bottom: 7%;
max-width: 90%;
}
}
@media only screen and (min-width: 993px) {
#toast-container {
top: 10%;
right: 7%;
max-width: 86%;
}
}
.toast {
border-radius: 2px;
top: 0;
width: auto;
clear: both;
margin-top: 10px;
position: relative;
max-width: 100%;
height: auto;
min-height: 48px;
line-height: 1.5em;
word-break: break-all;
background-color: #323232;
padding: 10px 25px;
font-size: 1.1rem;
font-weight: 300;
color: #fff;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
}
.toast .btn, .toast .btn-large, .toast .btn-flat {
margin: 0;
margin-left: 3rem;
}
.toast.rounded {
border-radius: 24px;
}
@media only screen and (max-width: 600px) {
.toast {
width: 100%;
border-radius: 0;
}
}
@media only screen and (min-width: 601px) and (max-width: 992px) {
.toast {
float: left;
}
}
@media only screen and (min-width: 993px) {
.toast {
float: right;
}
}