-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove conflicting CSS rules on notifications, improve notifications table #23565
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,27 +90,6 @@ | |
padding: 8px 15px; | ||
} | ||
|
||
.user.notification .svg { | ||
float: left; | ||
font-size: 2em; | ||
} | ||
|
||
.user.notification .svg.green { | ||
color: var(--color-green); | ||
} | ||
|
||
.user.notification .svg.red { | ||
color: var(--color-red); | ||
} | ||
|
||
.user.notification .svg.purple { | ||
color: var(--color-purple); | ||
} | ||
|
||
.user.notification .svg.blue { | ||
color: var(--color-blue); | ||
} | ||
|
||
.user.notification .content { | ||
float: left; | ||
margin-left: 7px; | ||
|
@@ -175,4 +154,13 @@ | |
|
||
#notification_div .tab.segment { | ||
overflow-x: auto; | ||
padding: 0; | ||
} | ||
|
||
#notification_div .menu .active.item { | ||
background: var(--color-box-body); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why the background should be set separately? I guess all Dropdown menu items should share the same styles across the whole Gitea? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Dropdown? This is a tab directly attached on top of the table, quite unique I'd say. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thought I do guess we could go for pull-style tabs here as well, like on the Releases/Tags page. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you only want to modify the "tab menu" styles, I think it's better to do Otherwise, if there is a dropdown inside, its style is affected by |
||
} | ||
|
||
#notification_table { | ||
border: none; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made a comment on the backport PR, forward it here.
#23621 (comment)
The
padding: 0
breaks the UI when there is no notification.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't call it "break" but yes the "No items" div needs a bit more styling now that padding is removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, sorry I only know some English words. What do you think it should be called? I will follow your wording.