📦 EqualifyEverything / equalify

📄 Audit.module.scss · 154 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154@use "../global-styles/variables.module.scss";
@use "../global-styles/fonts.scss";

.Audit {
  margin-bottom: variables.$spacing * 2;

  .shared-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: variables.$spacing;
    background-color: variables.$yellow;
    color: variables.$black;
    padding: calc(variables.$spacing * 1.5) variables.$spacing;
    margin-left: calc(-1 * variables.$spacing);
    margin-right: calc(-1 * variables.$spacing);
    margin-bottom: calc(variables.$spacing * 2);
    font-weight: bold;
    font-size: 0.9em;

    a {
      color: variables.$black;
      text-underline-offset: 2px;
    }
  }
  .scan-url-card-header {
    display: inline-flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    width: 100%;
  }

  .scan-url-card-header-top {
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
  }

  .scan-cards-area {
    margin-top: calc(variables.$spacing * 2);
  }

  input[name="email"] {
    padding-top: calc(variables.$spacing);
    //padding-bottom:calc(variables.$spacing);
    width: 180px;
  }
  select[name="frequency"] {
    min-width: 100px;
  }
  text,
  line {
    fill: variables.$paper-dark;
    stroke: variables.$paper-dark;
  }

  .view-errors-button {
    border: 0;
    display: inline-flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    background: variables.$paper;
    color: variables.$red;
    font-weight: bold;
    border-radius: 999px;
    gap: calc(variables.$spacing/6);
    padding: calc(variables.$spacing/2) calc(variables.$spacing * 2);
    margin-top: variables.$spacing;
    margin-bottom: variables.$spacing;
    cursor: pointer;

    svg {
    }
    span {
      display: block;
      white-space: nowrap;
    }
  }

  .blockers-view-selector {
    display:inline-flex;
    gap: 1rem;
  }
  // "New" pill on a view tab. Blue so it reads as informational, not as the
  // red used for the tab links themselves. #1d4ed8 on white is 8.6:1.
  .new-badge {
    display: inline-block;
    padding: 0 calc(variables.$spacing * 0.75);
    border-radius: 999px;
    background: #1d4ed8;
    color: variables.$white;
    font-size: 0.6rem;
    font-weight: bold;
    line-height: 1.7;
    letter-spacing: 0.04em;
    transform: translateY(1px);
    text-transform: uppercase;
    text-decoration: none;
    vertical-align: middle;
  }
  .blockers-table-header {
    display: inline-flex;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .blockers-data-table {
    table {
      display: table !important;
      min-height: auto !important;
    }
  }
  .remote-csv-area {
    width:100% !important;
    margin-bottom: calc(variables.$spacing);
  }
  .remote-csv-area-inputs {
    display: inline-flex;
    width:100%;
    justify-content: space-between;
    align-items: center;
    .remote-csv-area-inputs-labeled-input {
      width:80%;
    }
    input {
      width:100%;
    }
    svg {
      min-width: 24px;
      min-height: 24px;
    }
  }
  .urls-card {
    
    thead,tbody {
      display: table !important;
      min-width: 100% !important;
    }
  }
}

:global(body.dark) {
  .new-badge {
    background: #93c5fd;
    color: variables.$black;
  }
}