File size: 1,596 Bytes
0bfe2e3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
.card {
  background-color: #1a1a1a; /* Slightly lighter black */
  border-radius: var(--borderRadius);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
  transition:
    background-color 0.5s ease,
    opacity 0.5s ease,
    transform 0.3s ease,
    scale 0.3s ease,
    box-shadow 0.6s ease,
    max-height 0.8s ease;
  max-height: 60px; /* Initial height for the card */
  overflow: hidden;
}

.card.enabled {
  max-height: 500px; /* Adjust this value based on the expected maximum height */
}

.card.disabled {
  background-color: #131313; /* Greyed out */
  box-shadow: none;
  scale: 0.98;
  opacity: 0.5;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.smallText {
  font-size: 0.7em;
  color: #ffffffc5;
}

.smallText a {
  color: #dfdfdf67;
}

.serviceName {
  font-size: 1.2em;
  font-weight: bold;
}

.fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.actions {
  display: flex;
  align-items: center;
}

.actionButton {
  background-color: transparent;
  border-radius: var(--borderRadius);
  display: flex;
  margin: 5px;
  font-size: 1.2em;
  align-items: center;
  border-width: 0;
  transition: transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.actionButton:hover {
  transform: scale(1.1);
  cursor: pointer;
}

.actionButton:active {
  transform: scale(0.9);
}

.textInput {
  flex: 1;
  padding-right: 40px; /* Space for the reset button */
}