mirror of
1
Fork 0
forgejo/web_src/css/modules
silverwind d80fca38e9
Add `--page-spacing` variable, fix admin dashboard notice (#30302)
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">

(cherry picked from commit 019857a7015cae32c12b5eac0b895c05f0264b77)
2024-04-15 20:01:35 +02:00
..
animations.css Remove fomantic input module (#30194) 2024-04-07 15:40: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) 2024-04-07 15:40:31 +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) 2024-04-15 20:01:35 +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) 2024-04-07 15:40:31 +02:00
input.css Fix right-aligned input icons (#30301) 2024-04-07 15:40:31 +02:00
label.css Remove fomantic label module (#30081) 2024-03-30 07:17:31 +01:00
list.css Remove fomantic list module (#30281) 2024-04-07 15:40:31 +02: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) 2024-04-07 15:40:31 +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-07 16:37:36 +02: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 Replace coloris with vanilla-colorful (#30201) 2024-04-07 15:40:31 +02:00
toast.css Remove some unused CSS styles (#26852) 2023-09-01 08:59:38 +02:00