mirror of
1
Fork 0
forgejo/web_src/css
silverwind 79a4c80f8d
Rework button coloring, add focus and active colors (#24507)
We were missing overrides for `:focus` and `:active` styles which I've
added here along with two new color variants `dark-1` and `dark-2` for
them. Fomantic UI has 4 different colors but I think 3 are sufficient. I
also changed it on arc-green so button goes darker when pressed.

<img width="129" alt="Screenshot 2023-05-04 at 01 21 43"
src="https://user-images.githubusercontent.com/115237/236072060-7389276a-275b-4d3e-aa52-20b37c6e6d92.png">
<img width="130" alt="Screenshot 2023-05-04 at 01 17 59"
src="https://user-images.githubusercontent.com/115237/236071818-0e46414a-33db-4bb2-a3bd-35b514a8a2d0.png">
<img width="129" alt="Screenshot 2023-05-04 at 01 18 07"
src="https://user-images.githubusercontent.com/115237/236071819-562b1e38-541f-432b-b3b6-48e6d7594d00.png">
<img width="131" alt="Screenshot 2023-05-04 at 01 18 13"
src="https://user-images.githubusercontent.com/115237/236071820-89b7dba9-ce6c-48e5-a075-9053063e6ad3.png">
<img width="133" alt="Screenshot 2023-05-04 at 01 18 30"
src="https://user-images.githubusercontent.com/115237/236071823-b6fe2df4-b3f0-4dc8-97a8-f90ba6d19bec.png">
<img width="133" alt="Screenshot 2023-05-04 at 01 18 40"
src="https://user-images.githubusercontent.com/115237/236071824-b02ce61a-2367-4c29-8a25-45f231f5e5ee.png">

One misc change includes some fixes to editor and slightly darker
selection.

<img width="1245" alt="Screenshot 2023-05-28 at 19 16 19"
src="https://github.com/go-gitea/gitea/assets/115237/1ea4a4b6-26ba-45af-9cbc-5b8c476c2338">
2023-05-29 12:45:22 +00:00
..
chroma Change `--font-weight-bold` to `--font-weight-semibold` and 600 value, introduce new font weight variables (#24827) 2023-05-21 23:37:32 +00:00
codemirror Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
editor Rework button coloring, add focus and active colors (#24507) 2023-05-29 12:45:22 +00:00
features Change `--font-weight-bold` to `--font-weight-semibold` and 600 value, introduce new font weight variables (#24827) 2023-05-21 23:37:32 +00:00
markup Change `--font-weight-bold` to `--font-weight-semibold` and 600 value, introduce new font weight variables (#24827) 2023-05-21 23:37:32 +00:00
modules Rework button coloring, add focus and active colors (#24507) 2023-05-29 12:45:22 +00:00
repo Change `--font-weight-bold` to `--font-weight-semibold` and 600 value, introduce new font weight variables (#24827) 2023-05-21 23:37:32 +00:00
shared Change `--font-weight-bold` to `--font-weight-semibold` and 600 value, introduce new font weight variables (#24827) 2023-05-21 23:37:32 +00:00
standalone Add dark mode to API Docs (#24971) 2023-05-28 21:37:34 +00:00
themes Rework button coloring, add focus and active colors (#24507) 2023-05-29 12:45:22 +00:00
actions.css Reorganize CSS files (#24739) 2023-05-16 00:13:30 -04:00
admin.css Change `--font-weight-bold` to `--font-weight-semibold` and 600 value, introduce new font weight variables (#24827) 2023-05-21 23:37:32 +00:00
base.css Rework button coloring, add focus and active colors (#24507) 2023-05-29 12:45:22 +00:00
dashboard.css Repo list improvements, fix bold helper classes (#24935) 2023-05-29 16:55:23 +08:00
explore.css Consolidate the two review boxes into one (#24738) 2023-05-29 12:44:03 +02:00
font_i18n.css Fix `@font-face` overrides (#24855) 2023-05-24 01:48:51 +00:00
form.css Rework Oauth login buttons, swap github logo to monocolor (#24740) 2023-05-15 22:46:51 +00:00
helpers.css Repo list improvements, fix bold helper classes (#24935) 2023-05-29 16:55:23 +08:00
home.css Start cleaning the messy ".ui.left / .ui.right", improve label list page, fix stackable menu (#24393) 2023-04-29 07:35:59 -04:00
index.css Rework button coloring, add focus and active colors (#24507) 2023-05-29 12:45:22 +00:00
install.css Change `--font-weight-bold` to `--font-weight-semibold` and 600 value, introduce new font weight variables (#24827) 2023-05-21 23:37:32 +00:00
org.css Reorganize CSS files (#24739) 2023-05-16 00:13:30 -04:00
repo.css Rework button coloring, add focus and active colors (#24507) 2023-05-29 12:45:22 +00:00
review.css Improve accessibility when (re-)viewing files (#24817) 2023-05-21 20:47:41 +00:00
user.css Rework notifications list (#24812) 2023-05-25 02:31:26 +00:00