summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/admin.scss
blob: dbf9db396517238753e5c226b9f2c6cc16b6caa7 (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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
/**
 * Admin area
 *
 */

.broadcast-messages {
  .message {
    line-height: 2;
  }
}

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

  > div,
  p {
    display: inline;
    margin: 0;

    a {
      color: inherit;
      text-decoration: underline;
    }
  }
}

.broadcast-message-preview {
  @extend .broadcast-message;
  margin-bottom: 20px;
}

// Users List

.users-list {
  .user-row {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    white-space: nowrap;
  }

  .user-details {
    flex: 1 1 auto;
    overflow: hidden;
    padding-right: 8px;
  }

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

  .user-name,
  .user-email {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .dropdown {
    .btn-block {
      margin-bottom: 0;
      line-height: inherit;
    }
  }

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

.abuse-reports {
  .table {
    table-layout: fixed;
  }

  .subheading {
    padding-bottom: $gl-padding;
  }

  .message {
    word-wrap: break-word;
  }

  .btn {
    white-space: normal;
    padding: $gl-btn-padding;
  }

  th {
    width: 15%;

    &.wide {
      width: 55%;
    }
  }

  @media (max-width: $screen-sm-max) {
    th {
      width: 100%;
    }

    td {
      width: 100%;
      float: left;
    }
  }

  .no-reports {
    .emoji-icon {
      margin-left: $btn-side-margin;
      margin-top: 3px;
    }

    span {
      font-size: 18px;
    }
  }
}

.admin-builds-table {
  .ci-table td:last-child {
    min-width: 120px;
  }
}