summaryrefslogtreecommitdiff
path: root/WebInterface/src/style/partials/modal/_login.scss
blob: 71adf616f4883f8eb0617da33669d7863c74f927 (plain)
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
.modal {
  .modal-title {
    white-space: nowrap;
    overflow: hidden;
  }

  .modal-body {
    display: grid;
    grid-template-columns: 10em 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-row-gap: 0.5rem;

    &.frst-warning {
      grid-template-rows: 1fr 1rem 1fr 1fr;
    }

    &.scnd-warning {
      grid-template-rows: 1fr 1fr 1rem 1fr;
    }

    div {
      display: contents;
      font-size: 1.25rem;

      label {
        margin-right: 2rem;
        grid-column: 1 / 2;
        line-height: 1.25em;
      }

      input {
        grid-column: 2 / 3;
        border-color: none;
      }

      span {
        margin-top: -0.5rem;
        grid-column: 1 / 3;
        color: $primary-warning-text;
        background-color: $primary;
        font-size: 0.9rem;
        line-height: 1.2rem;
        padding: 0.25rem;

        &.hidden {
          display: none;
        }
      }

      button {
        grid-column: 1 / 3;
      }
    }
  }
}