Skip to content

Commit

Permalink
見た目調整
Browse files Browse the repository at this point in the history
  • Loading branch information
kiritan-pop committed Sep 22, 2023
1 parent 08d982f commit 61badc8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/javascript/styles/kiritan/kiritan-base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
&:focus,
&:hover {
color: $primary-text-color;
background-color: $ui-highlight-color;
transition: all 200ms ease-out;
background-color: $ui-button-focus-background-color;
transition: all 300ms ease-out;
}

&:disabled,
Expand Down Expand Up @@ -184,9 +184,11 @@
0% {
opacity: 1;
}

50% {
opacity: 0;
}

100% {
opacity: 1;
}
Expand Down
1 change: 1 addition & 0 deletions app/javascript/styles/kiritan/kiritan-variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ $ui-primary-color: $kiri-base-lighter-color;
$ui-secondary-color: lighten($kiri-base-lighter-color, 50%);

$ui-button-background-color: darken($ui-highlight-color, 5%);
$ui-button-focus-background-color: darken($ui-highlight-color, 25%);

// Variables for texts
$primary-text-color: $base-border-color;
Expand Down
1 change: 1 addition & 0 deletions app/javascript/styles/mastodon/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
&:focus,
&:hover {
background-color: $ui-button-focus-background-color;
transition: all 300ms ease-out;
}

&:focus-visible {
Expand Down

0 comments on commit 61badc8

Please sign in to comment.