📦 EqualifyEverything / equalify

📄 BlockersTableSummary.module.scss · 122 lines
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@use "../global-styles/variables.module.scss";
@use "../global-styles/fonts.scss";

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.spinning {
  animation: spin 1s linear infinite;
  color: variables.$green;
}

.BlockersTableSummary {
  .card-spinner {
    position: absolute;
    top: variables.$spacing;
    right: variables.$spacing;
    line-height: 0;
  }
  .graph-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    padding-left: variables.$spacing;
    .graph-card-text {
      display: flex;
      flex-direction: column;
      gap: calc(variables.$spacing / 2);
      min-width: 66%;
    }
    h3 {
      display: block;
      line-height: 1.2rem;
      margin: 0;
    }
    .blocker-type-breakdown {
      margin: 0;
      font-size: 0.833rem;
      line-height: 1.2em;
    }
  }
  .donut-chart {
    min-width: 100px;
    min-height: 100px;
  }
  .blockers-count {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: variables.$spacing;
    padding: calc(variables.$spacing * 2) 0;
    h3 {
      display: block;
      line-height: 1rem;
    }
    span {
      display: block;
      line-height: 1.2em;
    }
    .blockers-meta-group {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      text-align: right;
    }
    .blockers-delta {
      margin: 0;
      font-size: 0.833rem;
      font-weight: bold;
      line-height: 1em;
      max-width: 80%;
    }
    .blockers-meta {
      margin: 0;
      font-size: 0.833rem;
      color: variables.$paper;
    }
  }
  .pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: variables.$spacing;
    margin-top: variables.$spacing;
    padding-top: variables.$spacing;
    @include fonts.font-size-small;
    .pagination-buttons {
      display: inline-flex;
      gap: calc(variables.$spacing / 2);
    }
  }
  .external-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: calc(variables.$spacing / 2);
    padding: calc(variables.$spacing / 4);
    vertical-align: middle;
    color: inherit;
  }
  .category-tag-card {
    display: flex;
    .column {
        width:50%;
        padding-right: variables.$spacing;
    }
    h2 {
      font-size: 0.833rem;
    }
    ol {
      list-style-type: none;
      margin: 0;
      padding: 0;
      li {
        font-size: 0.833rem;
      }
    }
  }
}