mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 05:45:34 +03:00
3e53c51903
1. add border-radius and spacing to bars 2. use tailwind background classes 3. Add more space around activity list headers <img width="983" alt="Screenshot 2024-03-27 at 23 40 54" src="https://github.com/go-gitea/gitea/assets/115237/70f72c30-e69f-4ecb-882f-32b8bc94d638"> <img width="1020" alt="Screenshot 2024-03-27 at 23 41 02" src="https://github.com/go-gitea/gitea/assets/115237/a35dbbda-515c-40b0-938a-d759f9686b8e"> (cherry picked from commit 6999a88fd9bef6baa0a8cc5f63e419079611fc9b)
43 lines
732 B
CSS
43 lines
732 B
CSS
.divider {
|
|
margin: 10px 0;
|
|
height: 0;
|
|
font-weight: var(--font-weight-medium);
|
|
color: var(--color-text);
|
|
font-size: 1rem;
|
|
width: 100%;
|
|
}
|
|
|
|
h4.divider {
|
|
margin-top: 1.25rem;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
.divider:not(.divider-text) {
|
|
border-top: 1px solid var(--color-secondary);
|
|
}
|
|
|
|
.divider.divider-text {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 5px 0;
|
|
}
|
|
|
|
.divider.divider-text::before,
|
|
.divider.divider-text::after {
|
|
content: "";
|
|
flex: 1;
|
|
border-top: 1px solid var(--color-secondary);
|
|
}
|
|
|
|
.divider.divider-text::before {
|
|
margin-right: .75em;
|
|
}
|
|
|
|
.divider.divider-text::after {
|
|
margin-left: .75em;
|
|
}
|
|
|
|
.ui.dropdown .menu > .divider {
|
|
border-top: 1px solid var(--color-secondary);
|
|
margin: 4px 0;
|
|
}
|