aboutsummaryrefslogtreecommitdiffstats
path: root/scss/pysite/pages/staff/_common.scss
blob: 69c9d5332a92dd70eb664795fdda9617916b4296 (plain) (blame)
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 "variables";

$quote_colour: #99AAB5;
$sidebar_button_border_colour: rgba(0, 0, 0, .11);

$page_classes: (
  blueprint-staff,  // All staff pages
);

@each $class in $page_classes {
  .#{$class} {
    .participant-handle {
      cursor: move !important;
    }

    #member-answers-sidebar {
      border-right: 1px solid $global_border;
      margin-right: 1rem;
      min-width: 20vw;
      width: 20vw;

      .avatar {
        margin: 1vw 4vw;
        width: 12vw;
      }
    }

    .approval-card {
      border: 1px solid $global_border;
      padding: 0;

      img {
        height: 2.5rem;
      }

      h2 {
        margin-bottom: 0;
        vertical-align: central;
      }

      .user-id {
        margin-bottom: 0 !important;
      }

      .expand-icon {
        display: none;
      }

      .contract-icon {
        display: inline-block;
      }

      .uk-button {
        padding-left: 10px;
        padding-right: 10px;
      }

      .uk-card-body {
        border-top: 1px solid $global_border;
        padding-top: 20px;
      }

      .status-icon.fa-check {
        color: $success_colour;
      }

      .status-icon.fa-times {
        color: $danger_colour;
      }

      .approved {
        .status-icon.fa-times {
          display: none;
        }
      }

      .unapproved {
        .status-icon.fa-check {
          display: none;
        }
      }

      &.collapsed {
        .expand-icon {
          display: inline-block;
        }

        .contract-icon {
          display: none;
        }

        .uk-card-header {
          border-bottom: 0;
        }

        .uk-card-body {
          display: none;
          visibility: hidden;
        }
      }
    }
  }
}