summaryrefslogtreecommitdiffstats
path: root/web_src/less/_admin.less
blob: 80b7649fbe1a30e3b36f4dc6cdc88e302ec80b80 (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
.admin {
  .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;
    }
  }

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

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

    dd {
      margin-left: 275px;
    }

    dt {
      font-weight: 600;
      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 @mediaSm {
        max-width: 80vw;
      }
      @media @mediaMd {
        max-width: 360px;
      }
      @media @mediaLg {
        max-width: 510px;
      }
      @media @mediaXl {
        max-width: 640px;
      }
    }
  }
}