6a68d35502
Github page: https://github.com/HubSpot/vex MIT license: https://github.com/HubSpot/vex/blob/master/LICENSE
248 lines
5.3 KiB
CSS
248 lines
5.3 KiB
CSS
@keyframes vex-fadein {
|
||
0% {
|
||
opacity: 0; }
|
||
|
||
100% {
|
||
opacity: 1; } }
|
||
|
||
@-webkit-keyframes vex-fadein {
|
||
0% {
|
||
opacity: 0; }
|
||
|
||
100% {
|
||
opacity: 1; } }
|
||
|
||
@-moz-keyframes vex-fadein {
|
||
0% {
|
||
opacity: 0; }
|
||
|
||
100% {
|
||
opacity: 1; } }
|
||
|
||
@-ms-keyframes vex-fadein {
|
||
0% {
|
||
opacity: 0; }
|
||
|
||
100% {
|
||
opacity: 1; } }
|
||
|
||
@-o-keyframes vex-fadein {
|
||
0% {
|
||
opacity: 0; }
|
||
|
||
100% {
|
||
opacity: 1; } }
|
||
|
||
@keyframes vex-fadeout {
|
||
0% {
|
||
opacity: 1; }
|
||
|
||
100% {
|
||
opacity: 0; } }
|
||
|
||
@-webkit-keyframes vex-fadeout {
|
||
0% {
|
||
opacity: 1; }
|
||
|
||
100% {
|
||
opacity: 0; } }
|
||
|
||
@-moz-keyframes vex-fadeout {
|
||
0% {
|
||
opacity: 1; }
|
||
|
||
100% {
|
||
opacity: 0; } }
|
||
|
||
@-ms-keyframes vex-fadeout {
|
||
0% {
|
||
opacity: 1; }
|
||
|
||
100% {
|
||
opacity: 0; } }
|
||
|
||
@-o-keyframes vex-fadeout {
|
||
0% {
|
||
opacity: 1; }
|
||
|
||
100% {
|
||
opacity: 0; } }
|
||
|
||
@keyframes vex-rotation {
|
||
0% {
|
||
transform: rotate(0deg);
|
||
-webkit-transform: rotate(0deg);
|
||
-moz-transform: rotate(0deg);
|
||
-ms-transform: rotate(0deg);
|
||
-o-transform: rotate(0deg); }
|
||
|
||
100% {
|
||
transform: rotate(359deg);
|
||
-webkit-transform: rotate(359deg);
|
||
-moz-transform: rotate(359deg);
|
||
-ms-transform: rotate(359deg);
|
||
-o-transform: rotate(359deg); } }
|
||
|
||
@-webkit-keyframes vex-rotation {
|
||
0% {
|
||
transform: rotate(0deg);
|
||
-webkit-transform: rotate(0deg);
|
||
-moz-transform: rotate(0deg);
|
||
-ms-transform: rotate(0deg);
|
||
-o-transform: rotate(0deg); }
|
||
|
||
100% {
|
||
transform: rotate(359deg);
|
||
-webkit-transform: rotate(359deg);
|
||
-moz-transform: rotate(359deg);
|
||
-ms-transform: rotate(359deg);
|
||
-o-transform: rotate(359deg); } }
|
||
|
||
@-moz-keyframes vex-rotation {
|
||
0% {
|
||
transform: rotate(0deg);
|
||
-webkit-transform: rotate(0deg);
|
||
-moz-transform: rotate(0deg);
|
||
-ms-transform: rotate(0deg);
|
||
-o-transform: rotate(0deg); }
|
||
|
||
100% {
|
||
transform: rotate(359deg);
|
||
-webkit-transform: rotate(359deg);
|
||
-moz-transform: rotate(359deg);
|
||
-ms-transform: rotate(359deg);
|
||
-o-transform: rotate(359deg); } }
|
||
|
||
@-ms-keyframes vex-rotation {
|
||
0% {
|
||
transform: rotate(0deg);
|
||
-webkit-transform: rotate(0deg);
|
||
-moz-transform: rotate(0deg);
|
||
-ms-transform: rotate(0deg);
|
||
-o-transform: rotate(0deg); }
|
||
|
||
100% {
|
||
transform: rotate(359deg);
|
||
-webkit-transform: rotate(359deg);
|
||
-moz-transform: rotate(359deg);
|
||
-ms-transform: rotate(359deg);
|
||
-o-transform: rotate(359deg); } }
|
||
|
||
@-o-keyframes vex-rotation {
|
||
0% {
|
||
transform: rotate(0deg);
|
||
-webkit-transform: rotate(0deg);
|
||
-moz-transform: rotate(0deg);
|
||
-ms-transform: rotate(0deg);
|
||
-o-transform: rotate(0deg); }
|
||
|
||
100% {
|
||
transform: rotate(359deg);
|
||
-webkit-transform: rotate(359deg);
|
||
-moz-transform: rotate(359deg);
|
||
-ms-transform: rotate(359deg);
|
||
-o-transform: rotate(359deg); } }
|
||
|
||
.vex, .vex *, .vex *:before, .vex *:after {
|
||
-moz-box-sizing: border-box;
|
||
-webkit-box-sizing: border-box;
|
||
box-sizing: border-box; }
|
||
|
||
.vex {
|
||
position: fixed;
|
||
overflow: auto;
|
||
-webkit-overflow-scrolling: touch;
|
||
z-index: 1111;
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0; }
|
||
|
||
.vex-scrollbar-measure {
|
||
position: absolute;
|
||
top: -9999px;
|
||
width: 50px;
|
||
height: 50px;
|
||
overflow: scroll; }
|
||
|
||
.vex-overlay {
|
||
background: #000;
|
||
filter: alpha(opacity=40);
|
||
/* IE 5–7 */
|
||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
|
||
/* IE 8 */ }
|
||
|
||
.vex-overlay {
|
||
animation: vex-fadein 0.5s;
|
||
-webkit-animation: vex-fadein 0.5s;
|
||
-moz-animation: vex-fadein 0.5s;
|
||
-ms-animation: vex-fadein 0.5s;
|
||
-o-animation: vex-fadein 0.5s;
|
||
-webkit-backface-visibility: hidden;
|
||
position: fixed;
|
||
background: rgba(0, 0, 0, 0.4);
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0; }
|
||
.vex.vex-closing .vex-overlay {
|
||
animation: vex-fadeout 0.5s;
|
||
-webkit-animation: vex-fadeout 0.5s;
|
||
-moz-animation: vex-fadeout 0.5s;
|
||
-ms-animation: vex-fadeout 0.5s;
|
||
-o-animation: vex-fadeout 0.5s;
|
||
-webkit-backface-visibility: hidden; }
|
||
|
||
.vex-content {
|
||
animation: vex-fadein 0.5s;
|
||
-webkit-animation: vex-fadein 0.5s;
|
||
-moz-animation: vex-fadein 0.5s;
|
||
-ms-animation: vex-fadein 0.5s;
|
||
-o-animation: vex-fadein 0.5s;
|
||
-webkit-backface-visibility: hidden;
|
||
background: #fff; }
|
||
.vex.vex-closing .vex-content {
|
||
animation: vex-fadeout 0.5s;
|
||
-webkit-animation: vex-fadeout 0.5s;
|
||
-moz-animation: vex-fadeout 0.5s;
|
||
-ms-animation: vex-fadeout 0.5s;
|
||
-o-animation: vex-fadeout 0.5s;
|
||
-webkit-backface-visibility: hidden; }
|
||
|
||
.vex-close:before {
|
||
font-family: Arial, sans-serif;
|
||
content: "\00D7"; }
|
||
|
||
.vex-dialog-form {
|
||
margin: 0; }
|
||
|
||
.vex-dialog-button {
|
||
text-rendering: optimizeLegibility;
|
||
-moz-appearance: none;
|
||
-webkit-appearance: none;
|
||
cursor: pointer;
|
||
-webkit-tap-highlight-color: transparent; }
|
||
|
||
.vex-loading-spinner {
|
||
animation: vex-rotation 0.7s linear infinite;
|
||
-webkit-animation: vex-rotation 0.7s linear infinite;
|
||
-moz-animation: vex-rotation 0.7s linear infinite;
|
||
-ms-animation: vex-rotation 0.7s linear infinite;
|
||
-o-animation: vex-rotation 0.7s linear infinite;
|
||
-webkit-backface-visibility: hidden;
|
||
-moz-box-shadow: 0 0 1em rgba(0, 0, 0, 0.1);
|
||
-webkit-box-shadow: 0 0 1em rgba(0, 0, 0, 0.1);
|
||
box-shadow: 0 0 1em rgba(0, 0, 0, 0.1);
|
||
position: fixed;
|
||
z-index: 1112;
|
||
margin: auto;
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
height: 2em;
|
||
width: 2em;
|
||
background: #fff; }
|
||
|
||
body.vex-open {
|
||
overflow: hidden; }
|