BigW Consortium Gitlab

admin.scss 2 KB
Newer Older
1 2 3 4
/**
 * Admin area
 *
 */
5
.admin-dashboard {
6 7 8 9 10 11 12 13 14 15 16
  .data {
    a {
      h1 {
        line-height: 48px;
        font-size: 48px;
        padding: 20px;
        text-align: center;
        font-weight: normal;
      }
    }
  }
17 18 19 20

  .str-truncated {
    max-width: 60%;
  }
21 22
}

23
.admin-filter form {
24
  .select2-container {
25
    width: 100%;
26 27 28 29 30 31 32 33
  }

  .controls {
    margin-left: 130px;
  }

  .form-actions {
    padding-left: 130px;
34
    background: #fff;
35 36
   }

37 38 39
  .visibility-levels {
    .controls {
      margin-bottom: 9px;
40 41 42 43 44 45
    }

    i {
      color: inherit;
    }
  }
46
}
47 48 49 50 51 52

.broadcast-messages {
  .message {
    line-height: 2;
  }
}
53 54 55 56 57

.broadcast-message {
  @extend .alert-warning;
  padding: 10px;
  text-align: center;
58

59 60
  > div,
  p {
61 62 63 64 65 66 67 68
    display: inline;
    margin: 0;

    a {
      color: inherit;
      text-decoration: underline;
    }
  }
69 70 71 72 73 74
}

.broadcast-message-preview {
  @extend .broadcast-message;
  margin-bottom: 20px;
}
75 76 77 78 79 80 81 82

// Users List

.users-list {
  .user-row {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
83
    white-space: nowrap;
84 85 86 87
  }

  .user-details {
    flex: 1 1 auto;
88 89
    overflow: hidden;
    padding-right: 8px;
90 91 92 93
  }

  .user-name {
    display: inline-block;
94
    font-weight: 600;
95 96
  }

97 98 99 100 101 102
  .user-name,
  .user-email {
    overflow: hidden;
    text-overflow: ellipsis;
  }

103 104 105 106 107 108
  .dropdown {
    .btn-block {
      margin-bottom: 0;
      line-height: inherit;
    }
  }
109 110 111 112

  .label-default {
    color: $btn-transparent-color;
  }
113
}
114

115
.abuse-reports {
116 117
  .table {
    table-layout: fixed;
118
  }
119

120 121 122
  .subheading {
    padding-bottom: $gl-padding;
  }
123

124 125 126
  .message {
    word-wrap: break-word;
  }
127

Luke Bennett committed
128 129 130 131
  .btn {
    white-space: normal;
    padding: $gl-btn-padding;
  }
132

133 134
  th {
    width: 15%;
135

136 137 138
    &.wide {
      width: 55%;
    }
139
  }
140

141 142 143 144
  @media (max-width: $screen-sm-max) {
    th {
      width: 100%;
    }
145

146 147 148 149
    td {
      width: 100%;
      float: left;
    }
150
  }
151

152 153 154 155 156
  .no-reports {
    .emoji-icon {
      margin-left: $btn-side-margin;
      margin-top: 3px;
    }
157

158 159
    span {
      font-size: 19px;
160
    }
161 162
  }
}