about summary refs log tree commit diff
path: root/public/index.html
blob: f3791c836209a716a231f716fff1bbd9c7e0cd78 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width">     
    <title> WEBAPP </title>
    <style>
      /* These styles make the body full-height */
      html, body { height: 100%; }
      /* These styles disable body scrolling if you are using <ScrollView> */
      body { overflow: hidden; }
      /* These styles make the root element full-height */
      #root { display:flex; height:100%; }

      /* These styles are for src/view/com/modals/WebModal */
      div[data-modal-overlay] {
        position: fixed;
        top: 0;
        left: 0;
        background: #0004;
        width: 100vw;
        height: 100vh;
      }
      div[data-modal-container] {
        position: fixed;
        top: 20vh;
        left: calc(50vw - 300px);
        width: 600px;
        padding: 20px;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 5px 10px #0005;
      }

      /* These styles are for src/view/com/util/Toast */
      div[data-toast-container] {
        position: fixed;
        bottom: 5vh;
        right: 5vh;
        width: 350px;
        padding: 20px;
        display: flex;
        flex-direction: row;
        align-items: center;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 5px 10px #0005;
      }
      div[data-toast-container] > div {
        font-size: 18px;
        margin-left: 10px;
      }
    </style>
  </head>
  <body>
    <div id="app-root"></div>
  </body>
</html>