aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/less/_admin.less
blob: 1a6180d2276adf60aa827323c963d31d1d433011 (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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
.admin {
  &.notice {
    padding-top: 15px;
  }

  .table.segment {
    padding: 0;
    font-size: 13px;

    &:not(.striped) {
      thead {
        th:last-child {
          padding-right: 5px !important;
        }
      }
    }

    th {
      padding-top: 5px;
      padding-bottom: 5px;
    }

    &:not(.select) {
      th,
      td {
        &:first-of-type {
          padding-left: 15px !important;
        }
      }
    }

    form tbody button[type='submit'] {
      padding: 5px 8px;
    }

  }

  .settings .button.adopt,
  .settings .button.delete {
    margin-top: -15px;
    margin-bottom: -15px;
    .label {
      vertical-align: middle;
    }
  }

  .ui.header,
  .ui.segment {
    box-shadow: 0 1px 2px 0 var(--color-secondary);
  }

  &.user {
    .email {
      max-width: 200px;
    }
  }

  dl.admin-dl-horizontal {
    padding: 20px;
    margin: 0;

    dd {
      margin-left: 275px;
    }

    dt {
      font-weight: bolder;
      float: left;
      width: 285px;
      clear: left;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }

  &.config {
    #test-mail-btn {
      margin-left: 5px;
    }
  }

  code,
  pre {
    white-space: pre-wrap;
    word-wrap: break-word;
  }

  #notice-table {
    .notice-description {
      @media only screen and (max-width: 767px) {
        max-width: 80vw;
      }
      @media only screen and (max-width: 991px) and (min-width: 768px) {
        max-width: 360px;
      }
      @media only screen and (min-width: 992px) and (max-width: 1199.98px) {
        max-width: 510px;
      }
      @media only screen and (min-width: 1200px) {
        max-width: 640px;
      }
    }
  }
}