mirror of
1
Fork 0
forgejo/web_src/css/modules
Giteabot 7dfe3fe2cb
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>
(cherry picked from commit db370c47a69b2fb17d8b16c8025451efde5c33b6)
2024-04-15 16:16:37 +02:00
..
animations.css Remove fomantic checkbox module (#30162) (#30168) 2024-04-08 11:28:31 +02: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-30 07:17:30 +01: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-04-08 11:30:27 +02:00
comment.css Consolidate the two review boxes into one (#24738) 2023-05-29 12:44:03 +02:00
container.css [Port] gitea#30036: Remove fomantic container module 2024-03-28 16:43:14 +01: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-15 16:16:37 +02:00
grid.css Restore aligned grid column CSS (#30106) 2024-03-30 07:17:30 +01:00
header.css Prevent flash of dropdown menu on labels list (#30215) (#30216) 2024-04-08 11:39:53 +02:00
label.css Remove fomantic label module (#30081) 2024-03-30 07:17:31 +01:00
message.css [Port] gitea#30014: Various code view improvements 2024-03-28 16:43:14 +01: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-08 11:44:09 +02: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) 2024-04-08 09:29:21 +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-30 07:17:31 +01:00
tippy.css Add `<overflow-menu>`, rename webcomponents (#29400) 2024-03-20 08:46:29 +01:00
toast.css Remove some unused CSS styles (#26852) 2023-09-01 08:59:38 +02:00