summaryrefslogtreecommitdiffstats
path: root/examples/with-script-in-browser/components/ExampleApp.scss
blob: e41a77cccc16c7f98766bebd72f01ea094ed1c4c (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
.App {
  font-family: sans-serif;
  text-align: center;

  .comment-avatar {
    background: #faa2c1;
    border-radius: 66px 67px 67px 0px;
    width: 2rem;
    height: 2rem;
    padding: 4px;
    margin: 4px;
    img {
      width: 100%;
      height: 100%;
      border-radius: 50%;
    }
  }
  .app-title {
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
  }
}

.button-wrapper {
  input[type="checkbox"] {
    margin: 5px;
  }
  button {
    z-index: 1;
    height: 40px;
    max-width: 200px;
    margin: 10px;
    padding: 5px;
  }
}

.excalidraw .App-menu_top .buttonList {
  display: flex;
}

.excalidraw-wrapper {
  height: 800px;
  margin: 50px;
  position: relative;
  overflow: hidden;
}

:root[dir="ltr"]
  .excalidraw
  .layer-ui__wrapper
  .zen-mode-transition.App-menu_bottom--transition-left {
  transform: none;
}

.excalidraw .panelColumn {
  text-align: left;
}

.export-wrapper {
  display: flex;
  flex-direction: column;
  margin: 50px;

  &__checkbox {
    display: flex;
  }
}

.excalidraw {
  --color-primary: #faa2c1;
  --color-primary-darker: #f783ac;
  --color-primary-darkest: #e64980;
  --color-primary-light: #fcc2d7;

  button.custom-element {
    width: 2rem;
    height: 2rem;
  }

  .custom-footer,
  .custom-element {
    padding: 0.1rem;
    margin: 0 8px;
  }
  .layer-ui__wrapper__footer.App-menu_bottom {
    align-items: stretch;
  }
  // till its merged in OSS
  .App-toolbar-container .mobile-misc-tools-container {
    position: absolute;
  }
}