aboutsummaryrefslogtreecommitdiffstats
path: root/apps/Notes/styles/_noteEdit.scss
blob: 43191fe9cc68914bbd47a6e4a8a60406aeb7b5de (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
.noteEdit {
  @keyframes fade-in {
    from {opacity: 0;}
    to {opacity: 1;}
  }

  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1em 1em 2em;
  animation: fade-in .3s;

  h2 {
    font-size: 1.2em;
    margin-bottom: .5em;
  }

  form {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-grow: 1;

    & > div {
      text-align: right;
    }
  }

  input[type=text] {
    background-color: var(--color-window-content);
    color: var(--color-text-alt);
    margin-bottom: .5rem;
    height: 3rem;
    border: none;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px dashed var(--color-window-buttons);

    &:placeholder {
      font: inherit;
    }
  }

  textarea {
    background-color: var(--color-window-content);
    color: var(--color-text-alt);
    font-size: 1rem;
    flex-grow: 1;
    resize: none;
    height: 100%;
    width: 100%;
    border: none;
    border: 1px dashed var(--color-window-buttons);
    padding: 0.5rem;

    &:placeholder {
      font: inherit;
    }
  }
}