mirror of
https://github.com/go-gitea/gitea
synced 2024-11-18 18:29:27 +01:00
6a075589bf
- Fix and improve mobile navbar layout - Apply all cleanups suggested in https://github.com/go-gitea/gitea/pull/25111 - Make media query breakpoints match Fomantic's exactly - Clean up whitespace in class on navbar items Mobile navbar before and after: <img width="745" alt="Screenshot 2023-06-08 at 08 40 56" src="https://github.com/go-gitea/gitea/assets/115237/ca84b239-b10f-41db-8c06-dcf2b6dd9d28"> <img width="739" alt="Screenshot 2023-06-08 at 08 41 23" src="https://github.com/go-gitea/gitea/assets/115237/09133c54-eb7e-4110-858c-ead23c3b7521"> --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Giteabot <teabot@gitea.io>
26 lines
601 B
CSS
26 lines
601 B
CSS
.code-view .lines-num:hover {
|
|
color: var(--color-text-dark) !important;
|
|
}
|
|
|
|
.code-line-menu {
|
|
width: auto !important;
|
|
border: none !important; /* the border is provided by tippy, not using the `.ui.menu` border */
|
|
}
|
|
|
|
.code-line-button {
|
|
background-color: var(--color-menu);
|
|
color: var(--color-text-light);
|
|
border: 1px solid var(--color-secondary);
|
|
border-radius: var(--border-radius);
|
|
padding: 1px 10px;
|
|
position: absolute;
|
|
font-family: var(--fonts-regular);
|
|
left: 0;
|
|
transform: translateX(-50%);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.code-line-button:hover {
|
|
color: var(--color-primary);
|
|
}
|