aboutsummaryrefslogtreecommitdiff
path: root/src/components/settings_modal/settings_modal_content.scss
blob: 92e167a28f3fb0ac04bc47bed5519d599006f262 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
@import 'src/_variables.scss';

.settings-modal-panel {
  overflow: hidden;
  transition: transform;
  transition-timing-function: ease-in-out;
  transition-duration: 300ms;
  width: 1000px;
  max-width: 90vw;
  height: 90vh;

  @media all and (max-width: 800px) {
    max-width: 100vw;
    height: 100vh;
  }

  .settings_tab-switcher {
    height: 100%;
  }
  .panel-body {
    height: 100%;
    overflow-y: hidden;

    .btn {
      min-height: 28px;
      min-width: 10em;
      padding: 0 2em;
    }
  }

  .full-height {
    height: 100%;
  }

  .setting-item {
    border-bottom: 2px solid var(--fg, $fallback--fg);
    margin: 1em 1em 1.4em;
    padding-bottom: 1.4em;

    > div {
      margin-bottom: .5em;
      &:last-child {
        margin-bottom: 0;
      }
    }

    &:last-child {
      border-bottom: none;
      padding-bottom: 0;
      margin-bottom: 1em;
    }

    select {
      min-width: 10em;
    }

    textarea {
      width: 100%;
      max-width: 100%;
      height: 100px;
    }

    .unavailable,
    .unavailable i {
      color: var(--cRed, $fallback--cRed);
      color: $fallback--cRed;
    }

    .number-input {
      max-width: 6em;
    }
  }
}