mirror of
https://gitea.com/gitea/theme.git
synced 2026-02-03 11:33:18 +08:00
Align hover color with static color (#119)
Currently the hover colors are some kind of different green that does not play well with the main green color. This PR should align the hover color with the static one. Imo there is no need for a different hover color - and having none simplifies things a bit. The change of `tertiary` aligns the blue used with the blue color used in the gitea light theme (e.g. on gitea.com here). Co-authored-by: pat-s <patrick.schratz@gmail.com> Reviewed-on: https://gitea.com/gitea/theme/pulls/119 Reviewed-by: John Olheiser <john+gitea@jolheiser.com> Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: pat-s <pat-s@noreply.gitea.io> Co-committed-by: pat-s <pat-s@noreply.gitea.io>
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
$tertiary: #4183c4;
|
||||
|
||||
|
||||
*, *:hover, *:active, *:focus{
|
||||
outline: none;
|
||||
}
|
||||
@@ -280,4 +283,20 @@ code {
|
||||
|
||||
img[alt="Hosted Gitea"] {
|
||||
height: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #528321;
|
||||
}
|
||||
|
||||
.button.is-success:hover, .button.is-success.is-hovered {
|
||||
background-color: #528321;
|
||||
border-color: transparent;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.button.is-success.is-outlined:hover, .button.is-success.is-outlined.is-hovered, .button.is-success.is-outlined:focus, .button.is-success.is-outlined.is-focused {
|
||||
background-color: #528321;
|
||||
border-color: #528321;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user