summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/page_bundles/members.scss
blob: 826921be8f097a305f57c6225c5f8561d1e0ccf8 (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
@import 'mixins_and_variables_and_functions';

.invite-users-form {
  .btn-success {
    margin-right: 10px;
  }
}

.member {
  .controls {
    @include media-breakpoint-up(sm) {
      display: flex;
    }

    .dropdown-menu.dropdown-menu-right {
      margin-top: -2px;
    }
  }

  .form-group {
    margin-bottom: 0;
  }
}

.card {
  .card-header {
    .badge.badge-pill {
      margin-top: 0;
    }

    @include media-breakpoint-down(sm) {
      .badge.badge-pill {
        margin-right: 0;
        margin-left: 0;
      }
    }
  }
}

.content-list.members-list li {
  .list-item-name {
    float: none;
    display: flex;
    flex: 1;
  }

  .user-info {
    padding-right: 10px;
  }

  .member {
    font-weight: $gl-font-weight-bold;
    overflow-wrap: break-word;
    word-break: break-all;
  }

  @include media-breakpoint-down(sm) {
    .member-access-text {
      margin: 0 0 $gl-padding-4 ($grid-size * 6);
    }
  }
}


.members-table {
  @include media-breakpoint-up(lg) {
    .col-meta {
      width: px-to-rem(150px);
    }

    .col-max-role {
      width: px-to-rem(175px);
    }

    .col-expiration {
      width: px-to-rem(200px);
    }

    .col-activity {
      width: px-to-rem(250px);
    }

    .col-actions {
      width: px-to-rem(65px);
    }
  }

  .gl-datepicker-input {
    width: px-to-rem(165px);
    max-width: 100%;
  }
}

.card-mobile {
  .content-list.members-list li {
    display: block;

    .member-controls {
      float: none;
      display: block;
    }
  }
}