1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-28 19:44:27 +00:00
gitea/web_src/css/modules
Giteabot db370c47a6
Add --page-spacing variable, fix admin dashboard notice (#30302) (#30323)
Backport #30302 by @silverwind

Fixes https://github.com/go-gitea/gitea/issues/30293 and introduce the
`--page-spacing` variable which holds the spacing between the elements
on the page. This is working vertically for all pages, including ones
that have fomantic grid, and horizontally for all that use
`flex-container`.

The `.page-content > :first-child:not(.secondary-nav)` selector uses
margin which in some cases enables to adjacent margins to overlap, which
is nice.

<img width="1320" alt="Screenshot 2024-04-06 at 01 35 19"
src="https://github.com/go-gitea/gitea/assets/115237/3e81e707-e9ff-4b7f-a211-3d98f4f85353">
---
<img width="1327" alt="Screenshot 2024-04-06 at 01 35 45"
src="https://github.com/go-gitea/gitea/assets/115237/aad196c0-9e21-4c06-ae59-7e33a76c61e1">
---
<img width="1321" alt="Screenshot 2024-04-06 at 01 35 31"
src="https://github.com/go-gitea/gitea/assets/115237/785f6c5d-08b6-4e66-aa16-aeca7cfed3ad">

Co-authored-by: silverwind <me@silverwind.io>
2024-04-08 02:04:24 +00:00
..
animations.css Remove fomantic checkbox module (#30162) (#30168) 2024-03-29 17:44:22 +00:00
breadcrumb.css Use unique class for breadcrumb divider (#26524) 2023-08-16 00:08:23 +00:00
button.css Fix button hover border (#30048) 2024-03-25 10:14:43 +00:00
card.css Update JS dependencies and misc tweaks (#25540) 2023-06-27 21:44:17 +02:00
checkbox.css Fix unclickable checkboxes (#30195) (#30199) 2024-03-31 00:05:52 +00:00
comment.css Consolidate the two review boxes into one (#24738) 2023-05-29 12:44:03 +02:00
container.css Remove fomantic container module (#30036) 2024-03-24 14:04:18 +00:00
divider.css Reduce margin/padding on flex-list items and divider (#27872) 2023-11-02 12:30:38 +08:00
flexcontainer.css Add --page-spacing variable, fix admin dashboard notice (#30302) (#30323) 2024-04-08 02:04:24 +00:00
grid.css Restore aligned grid column CSS (#30106) 2024-03-26 15:37:14 +00:00
header.css Prevent flash of dropdown menu on labels list (#30215) (#30216) 2024-04-01 06:16:55 +00:00
label.css Remove fomantic label module (#30081) 2024-03-27 09:58:02 +00:00
message.css Various code view improvements (#30014) 2024-03-24 12:14:03 +00:00
modal.css Improve issue history dialog and make poster can delete their own history (#27323) 2023-09-28 08:43:20 +00:00
navbar.css Fix spacing in issue navbar (#30238) (#30242) 2024-04-02 12:15:50 +00:00
normalize.css Use line-height: normal by default (#26635) 2023-08-22 10:19:15 +00:00
segment.css Fix:the rounded corners of the folded file are not displayed correctly (#29953) (#30177) 2024-03-29 17:16:40 +00:00
select.css add stylelint-stylistic (#25285) 2023-06-17 13:20:32 +00:00
svg.css Prevent SVG shrinking (#25652) 2023-07-04 02:15:06 +00:00
table.css Fix table alignment classes (#30144) 2024-03-27 21:47:40 +00:00
tippy.css Add <overflow-menu>, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
toast.css Remove some unused CSS styles (#26852) 2023-09-01 08:59:38 +02:00