Debian Codegraph @

addons/point_of_sale/static/src/app/components/loader/loader.scss

raw
1 .pos-loader {
2 background-color: #222;
3 position: absolute;
4 left: 0px;
5 top: 0px;
6 width: 100%;
7 height: 100%;
8 z-index: 100001; // 1 more than the debug widget...
9 text-align: center;
10 font-family: Lato;
11 color: $gray-700;
12 transition: opacity 0.8s;
13
14 .pos-error {
15 text-align: left;
16 width: 80%;
17 align-self: center;
18 position: absolute;
19 left: 10%;
20 top: 20%;
21 }
22
23 .loader-feedback {
24 width: 400px;
25 height: 160px;
26 margin: -60px -200px;
27 position: absolute;
28 left: 50%;
29 top: 50%;
30 text-align: center;
31 }
32
33 h1 {
34 font-weight: 300;
35 }
36
37 .button {
38 display: inline-block;
39 margin: 25px auto;
40 line-height: 42px;
41 padding: 0px 16px;
42 font-size: 20px;
43 font-weight: 300;
44 border: solid 1px;
45 border-radius: 5px;
46 cursor: pointer;
47
48 :active {
49 color: #222;
50 background: $gray-700;
51 }
52 }
53 }
54
55 // loader animation
56 .lds-ellipsis {
57 display: inline-block;
58 position: relative;
59 width: 80px;
60 height: 60px;
61 }
62 .lds-ellipsis div {
63 position: absolute;
64 top: 33px;
65 width: 13px;
66 height: 13px;
67 border-radius: 50%;
68 background: #fff;
69 animation-timing-function: cubic-bezier(0, 1, 1, 0);
70 }
71 .lds-ellipsis div:nth-child(1) {
72 left: 8px;
73 animation: lds-ellipsis1 0.6s infinite;
74 }
75 .lds-ellipsis div:nth-child(2) {
76 left: 8px;
77 animation: lds-ellipsis2 0.6s infinite;
78 }
79 .lds-ellipsis div:nth-child(3) {
80 left: 32px;
81 animation: lds-ellipsis2 0.6s infinite;
82 }
83 .lds-ellipsis div:nth-child(4) {
84 left: 56px;
85 animation: lds-ellipsis3 0.6s infinite;
86 }
87 @keyframes lds-ellipsis1 {
88 0% {
89 transform: scale(0);
90 }
91 100% {
92 transform: scale(1);
93 }
94 }
95 @keyframes lds-ellipsis3 {
96 0% {
97 transform: scale(1);
98 }
99 100% {
100 transform: scale(0);
101 }
102 }
103 @keyframes lds-ellipsis2 {
104 0% {
105 transform: translate(0, 0);
106 }
107 100% {
108 transform: translate(24px, 0);
109 }
110 }