aboutsummaryrefslogtreecommitdiffstats
path: root/packages/excalidraw/css/app.scss
blob: 62e5d4699d7be2a2782c9936d1cafdc22721500f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
@import "open-color/open-color.scss";

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; /* added line */
  user-select: none;
}

.LoadingMessage {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;

  .Spinner {
    font-size: 2.8em;
  }

  .LoadingMessage-text {
    margin-top: 1em;
    font-size: 0.8em;
  }
}

.LoadingMessage--dark {
  background-color: #121212;
  color: #ced4da;
}