Repository navigation
Expand file tree
/
Copy pathdelegate.css
More file actions
117 lines (100 loc) · 2.07 KB
/
Copy pathdelegate.css
File metadata and controls
117 lines (100 loc) · 2.07 KB
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
/* Delegation dialog (delegate.js): above the Pools window it can open from */
.delegate-overlay {
z-index: 30;
}
.modal-delegate {
text-align: left;
max-height: 85vh;
overflow-y: auto;
}
.modal-delegate .modal-title {
padding-right: 32px;
}
.delegate-pool {
word-break: break-word;
}
.delegate-id {
font-family: monospace;
font-size: 0.8rem;
color: #777;
word-break: break-all;
}
.delegate-wallets {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
gap: 10px;
margin-bottom: 16px;
}
.delegate-wallet {
display: flex;
align-items: center;
gap: 8px;
text-align: left;
padding: 10px 12px;
white-space: nowrap;
}
.delegate-wallet span {
overflow: hidden;
text-overflow: ellipsis;
}
.delegate-wallet img {
width: 24px;
height: 24px;
flex: none;
border-radius: 4px;
}
.delegate-wallet,
.delegate-go {
font: inherit;
font-size: 1rem;
color: #333;
background-color: #fffdf0;
border: 2px solid #FFD700;
border-radius: 4px;
padding: 10px 18px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.delegate-wallet:hover,
.delegate-go:hover {
background-color: #fff5bf;
}
.modal-body p.delegate-fine {
font-size: 0.85rem;
color: #777;
margin-bottom: 0;
}
.delegate-fine a {
color: #7a6200;
}
/* The Delegate button beside Copy ID in the pool list */
.pools-delegate {
font: inherit;
font-size: 0.8rem;
color: #7a6200;
background: #fffdf0;
border: 1px solid #FFD700;
border-radius: 4px;
padding: 2px 8px;
cursor: pointer;
white-space: nowrap;
}
.pools-delegate:hover {
background: #fff5bf;
}
/* The Delegate window: four ways on, in two columns of equal buttons */
.delegate-choice {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
margin-bottom: 16px;
}
.delegate-choice .delegate-go {
width: 100%;
text-align: center;
}
@media (max-width: 420px) {
.delegate-choice {
grid-template-columns: minmax(0, 1fr);
}
}