summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/admin.scss
blob: 1d34a7f79aeeac7bd8c89c019512d88f3eba56e9 (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
/**
 * Admin area
 *
 */
.admin-dashboard {
  .data {
    a {
      h1 {
        line-height: 48px;
        font-size: 48px;
        padding: 20px;
        text-align: center;
        font-weight: normal;
      }
    }
  }

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

.admin-filter form {
  .select2-container {
    width: 100%
  }

  .controls {
    margin-left: 130px;
  }

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

  .visibility-levels {
    .controls {
      margin-bottom: 9px;
    }

    i {
      color: inherit;
    }
  }
}

.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;
  }

  .user-details {
    flex: 1 1 auto;
  }

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

  .controls {
    > .btn, > .dropdown {
      margin-left: 5px;
    }
  }

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