-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathbondslist.css
More file actions
91 lines (91 loc) · 2.01 KB
/
bondslist.css
File metadata and controls
91 lines (91 loc) · 2.01 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
bondslist-header {
grid-column: 1 / -1;
display: flex;
background: var(--overlay-button-bg);
}
bondslist-header:before {
content: "";
display: inline-block;
position: absolute;
top: 1px;
bottom: 0px;
left: 0px;
right: 0px;
z-index: -1;
background: #ffac4540;
}
bondslist-container.no-popout > bondslist-header {
align-self: start;
position: sticky;
top: 0px;
padding-top: 12px;
margin-top: -12px;
z-index: 10;
}
bondslist-contents {
display: contents;
}
bondslist-container.no-popout:before {
content: "";
display: block;
grid-column: 1 / -1;
justify-self: center;
border-bottom: 2px solid;
padding-top: 5px;
width: 100%;
align-self: start;
position: sticky;
top: 0px;
background: var(--overlay-button-bg);
z-index: 20;
}
bondslist-header > .bondslist-icon {
--size: 17px;
display: block;
align-self: stretch;
background-size: var(--size) var(--size);
background-repeat: no-repeat;
background-position: center;
width: var(--size);
filter: var(--image-filters);
}
bondslist-header > .collapse {
background-image: url(https://cdn.jsdelivr.net/gh/ionic-team/ionicons@5.5.1/src/svg/chevron-down.svg);
cursor: pointer;
}
bondslist-container.collapsed > bondslist-header > .collapse {
background-image: url(https://cdn.jsdelivr.net/gh/ionic-team/ionicons@5.5.1/src/svg/chevron-forward.svg);
}
bondslist-header > .toggle {
display: inline-block;
width: 30px;
margin: 0 10px;
}
bondslist-header {
display: flex;
align-items: stretch;
width: 100%;
}
bondslist-header > .description {
text-align: center;
flex-grow: 1;
font-size: 18px;
font-weight: 600;
}
bondslist-header > .toggle {
align-self: center;
}
bondslist-container.collapsed bondslist-header + * {
display: none !important;
}
bondslist-container {
display: grid;
grid-template-columns: 1fr minmax(min(50px, 100%), 0.4fr);
grid-auto-rows: fit-content(40px);
justify-items: center;
align-items: center;
row-gap: 5px;
}
bondtable-container bondslist-container {
display: contents;
}