~sircmpwn/meta.sr.ht

ref: 72548bd7545f78670878667674cc7645835a17bd meta.sr.ht/scss/main.scss -rw-r--r-- 1.5 KiB
72548bd7Drew DeVault API: Updates per core-go auth changes 11 months ago
                                                                                
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
@import "base";

img {
  border: 1px solid #eceeef;
}

.progress {
  position: relative;
  overflow: visible;
  height: 1.5rem;
  margin-bottom: 0.5rem;
  border-radius: 0;

  .goal {
    position: absolute;
    height: 2.5rem;
    border-left: 1px dotted $danger;
    color: $danger;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    line-height: 1;
  }

  .total {
    flex-grow: 1;
    text-align: right;
    padding-right: 0.5rem;
    background: transparent;
    color: $black;
  }

  @media(prefers-color-scheme: dark) {
    background: $black;

    .total {
      color: $white;
    }
  }
}

input[type="date"], input[type="number"] {
  border-radius: 0;
  border-color: #888;
}

.event.row {
  padding-left: 0;
  padding-right: 0;
}

.event h4 {
  margin: 1rem 0;
}

.details {
  padding: 0 1rem;
  margin: 0 -1rem 1rem;

  summary {
    background: $gray-300;
    padding: 0 1rem;
    margin: 0 -1rem;
  }

  &[open] {
    padding: 0 1rem;
    margin-left: calc(-1rem - 4px);
    border-left: 4px solid $gray-300;
  }
}

.grant-list {
  border-left: 4px solid $gray-500;
  margin-bottom: 2rem;

  ul {
    list-style: none;
    padding-left: 1rem;
  }

  label {
    font-weight: bold;

  }

  .form-control {
    display: inline;
    width: auto;
  }

  .invalid-feedback {
    margin-bottom: 0.5rem;
  }
}

.grant-list .form-control.is-invalid + label {
  color: $danger;
}

.oauth2-authorize h4 {
  margin-top: 2rem;
}

#card-element {
  background: white !important;
}

.invoice h4 {
  margin-top: 0;
}