forked from forgejo/forgejo
Remove fomantic accordion module (#15951)
Replace it with native <detail> element. Did some slight restyling on the release downloads, new behaviour should be exactly the same otherwise. Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
parent
308b562b3c
commit
b4d10598c9
9 changed files with 197 additions and 1061 deletions
|
@ -164,6 +164,14 @@ table {
|
|||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
details summary {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
details summary > * {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
* {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--color-primary) transparent;
|
||||
|
|
|
@ -1849,8 +1849,6 @@
|
|||
}
|
||||
|
||||
.download {
|
||||
margin-top: 20px;
|
||||
|
||||
> a {
|
||||
.svg {
|
||||
margin-left: 5px;
|
||||
|
@ -1860,19 +1858,30 @@
|
|||
|
||||
.list {
|
||||
padding-left: 0;
|
||||
border-top: 1px solid var(--color-secondary);
|
||||
|
||||
li {
|
||||
list-style: none;
|
||||
display: block;
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
border-bottom: 1px solid var(--color-secondary);
|
||||
padding: 8px;
|
||||
border: 1px solid var(--color-secondary);
|
||||
background: var(--color-light);
|
||||
|
||||
a > .text.right {
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
li + li {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
li:first-of-type {
|
||||
border-radius: var(--border-radius) 0 0 var(--border-radius);
|
||||
}
|
||||
|
||||
li:last-of-type {
|
||||
border-radius: 0 var(--border-radius) var(--border-radius) 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue