fixed theme regressions

This commit is contained in:
Ed Silkworth 2023-06-15 15:17:17 -07:00
parent 8cb69d58b9
commit 73144cf6e8
No known key found for this signature in database
GPG Key ID: 26F260F04191F431
4 changed files with 30 additions and 39 deletions

View File

@ -35,3 +35,4 @@ May 3, 2023 · `THEME_COLOR_META_TAG = none` no longer required, as of Gitea 1.1
Jun 4, 2023 · remove highlight behind some codes that obscured them
Jun 5, 2023 · hide center border more between table header columns, and remove tiny empty spaces between table header corner and table border
Jun 7, 2023 · rebased theme
Jun 15, 2023 · fixed theme regressions

View File

@ -287,24 +287,21 @@ span.green .svg {
/* reconsidered: .ui.active.button:hover, .ui.active.button:active */
/* not needed: .ui.tabular.stackable.menu.navbar .active.item */
.ui.secondary.pointing.tabular.top.attached.borderless.menu.stackable.new-menu.navbar.shadow-body .active.item {
background: unset !important; /* do not color secondary tabular menu item (Repository, Collaborators, Branches, etc.) */
}
/* not needed: .ui.secondary.pointing.tabular.top.attached.borderless.menu.stackable.new-menu.navbar .active.item */
.ui.vertical.menu {
background: unset !important; /* make issues, pull requests and milestones menus background match --color-background */
}
/* not needed: .ui.top.attached.pull.tabular.stackable.menu .active.item */
.ui.top.attached.pull.tabular.stackable.menu .active.item {
background-color: rgb(56, 59, 70) !important; /* make pull requests top tabular menu item background match --color-background, using rgb() to remove bottom border */
background-color: rgb(55, 59, 70) !important; /* make pull requests (upper-sub) tabular menu item background match --color-background (Conversation, Commits, Files Changed), using rgb() to remove bottom border */
}
.ui.top.tabular.menu .active.write.item {
background-color: rgb(56, 59, 70) !important; /* make new releases (sub) tabular menu item background match --color-background, using rgb() to remove bottom border */
}
/* not needed: .ui.top.tabular.menu .active.write.item */
.ui.top.attached.tabular.menu .active.item {
background-color: var(--color-box-body) !important; /* make subscriptions tabular menu item background match --color-box-body */
background-color: var(--color-box-body) !important; /* make subscriptions tabular menu item background match --color-box-body (Subscriptions, Watching) */
}
/* reconsidered, re-ordered: #repo-files-table tr:hover */

View File

@ -55,23 +55,21 @@
/* reconsidered: .ui.active.button:hover, .ui.active.button:active */
.ui.tabular.stackable.menu.navbar .active.item {
background-color: var(--color-background) !important; /* make repo tabular menu item background match --color-background */
background-color: var(--color-background) !important; /* make repo tabular menu item background match --color-background (Code, Issues, Pull Requests, etc.) */
}
/* not needed: .ui.secondary.pointing.tabular.top.attached.borderless.menu.stackable.new-menu.navbar.shadow-body .active.item */
.ui.secondary.pointing.tabular.top.attached.borderless.menu.stackable.new-menu.navbar .active.item {
background: unset !important; /* do not color secondary menu item, includes stackable ones, related to --color-background */
}
.ui.vertical.menu {
background: unset !important; /* make issues, pull requests and milestones menus background match --color-background */
background: unset !important; /* do not color secondary tabular menu item, related to --color-background (Repositories, Users, Organizations; Profile, Account, Appearance, etc.) */
}
.ui.top.attached.pull.tabular.stackable.menu .active.item {
background-color: var(--color-background) !important; /* make pull requests (sub) tabular menu item background match --color-background */
background-color: var(--color-background) !important; /* make pull requests (upper-sub) tabular menu item background match --color-background (Conversation, Commits, Files Changed) */
}
.ui.top.tabular.menu .active.write.item {
background-color: var(--color-background) !important; /* make new releases (sub) tabular menu item background match --color-background */
background-color: var(--color-background) !important; /* make issues, pull requests and new releases (lower-sub) tabular menu item background match --color-background (Write, Preview) */
}
/* not needed: .ui.top.attached.tabular.menu .active.item */
@ -387,24 +385,21 @@
/* reconsidered: .ui.active.button:hover, .ui.active.button:active */
/* not needed: .ui.tabular.stackable.menu.navbar .active.item */
.ui.secondary.pointing.tabular.top.attached.borderless.menu.stackable.new-menu.navbar.shadow-body .active.item {
background: unset !important; /* do not color secondary tabular menu item (Repository, Collaborators, Branches, etc.) */
}
/* not needed: .ui.secondary.pointing.tabular.top.attached.borderless.menu.stackable.new-menu.navbar .active.item */
.ui.vertical.menu {
background: unset !important; /* make issues, pull requests and milestones menus background match --color-background */
}
/* not needed: .ui.top.attached.pull.tabular.stackable.menu .active.item */
.ui.top.attached.pull.tabular.stackable.menu .active.item {
background-color: rgb(56, 59, 70) !important; /* make pull requests top tabular menu item background match --color-background, using rgb() to remove bottom border */
background-color: rgb(55, 59, 70) !important; /* make pull requests (upper-sub) tabular menu item background match --color-background (Conversation, Commits, Files Changed), using rgb() to remove bottom border */
}
.ui.top.tabular.menu .active.write.item {
background-color: rgb(56, 59, 70) !important; /* make new releases (sub) tabular menu item background match --color-background, using rgb() to remove bottom border */
}
/* not needed: .ui.top.tabular.menu .active.write.item */
.ui.top.attached.tabular.menu .active.item {
background-color: var(--color-box-body) !important; /* make subscriptions tabular menu item background match --color-box-body */
background-color: var(--color-box-body) !important; /* make subscriptions tabular menu item background match --color-box-body (Subscriptions, Watching) */
}
/* reconsidered, re-ordered: #repo-files-table tr:hover */

View File

@ -52,23 +52,21 @@ span.green .svg {
/* reconsidered: .ui.active.button:hover, .ui.active.button:active */
.ui.tabular.stackable.menu.navbar .active.item {
background-color: var(--color-background) !important; /* make repo tabular menu item background match --color-background */
background-color: var(--color-background) !important; /* make repo tabular menu item background match --color-background (Code, Issues, Pull Requests, etc.) */
}
/* not needed: .ui.secondary.pointing.tabular.top.attached.borderless.menu.stackable.new-menu.navbar.shadow-body .active.item */
.ui.secondary.pointing.tabular.top.attached.borderless.menu.stackable.new-menu.navbar .active.item {
background: unset !important; /* do not color secondary menu item, includes stackable ones, related to --color-background */
}
.ui.vertical.menu {
background: unset !important; /* make issues, pull requests and milestones menus background match --color-background */
background: unset !important; /* do not color secondary tabular menu item, related to --color-background (Repositories, Users, Organizations; Profile, Account, Appearance, etc.) */
}
.ui.top.attached.pull.tabular.stackable.menu .active.item {
background-color: var(--color-background) !important; /* make pull requests (sub) tabular menu item background match --color-background */
background-color: var(--color-background) !important; /* make pull requests (upper-sub) tabular menu item background match --color-background (Conversation, Commits, Files Changed) */
}
.ui.top.tabular.menu .active.write.item {
background-color: var(--color-background) !important; /* make new releases (sub) tabular menu item background match --color-background */
background-color: var(--color-background) !important; /* make issues, pull requests and new releases (lower-sub) tabular menu item background match --color-background (Write, Preview) */
}
/* not needed: .ui.top.attached.tabular.menu .active.item */