mirror of
https://github.com/primer/css.git
synced 2024-12-13 16:15:44 +03:00
Merge pull request #1045 from primer/next-1
More "component refresh" tweaks
This commit is contained in:
commit
0e52ad352d
@ -8,7 +8,7 @@
|
||||
display: inline-block;
|
||||
padding: 0 7px;
|
||||
font-size: $font-size-small;
|
||||
font-weight: $font-weight-semibold;
|
||||
font-weight: $font-weight-normal;
|
||||
line-height: 18px;
|
||||
border: $border-width $border-style transparent;
|
||||
border-radius: 2em;
|
||||
|
@ -50,7 +50,7 @@
|
||||
&[aria-current] {
|
||||
cursor: default;
|
||||
// stylelint-disable-next-line primer/colors
|
||||
background-color: $orange-000;
|
||||
background-color: #fff2f0; // custom coral
|
||||
|
||||
&::before {
|
||||
position: absolute;
|
||||
@ -60,7 +60,7 @@
|
||||
width: 2px;
|
||||
content: "";
|
||||
// stylelint-disable-next-line primer/colors
|
||||
background-color: $orange-500;
|
||||
background-color: #f9826c; // custom coral
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -62,7 +62,7 @@
|
||||
// Bar on the left
|
||||
&::before {
|
||||
// stylelint-disable-next-line primer/colors
|
||||
background-color: $orange-500;
|
||||
background-color: #f9826c; // custom coral
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -21,21 +21,22 @@
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
// stylelint-disable-next-line primer/borders
|
||||
border-bottom: 2px $border-style transparent;
|
||||
border-bottom: 2px $border-style rgba($border-gray-dark, 0);
|
||||
transition: border-bottom-color 0.36s ease-in;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
text-decoration: none;
|
||||
border-bottom-color: $border-gray-dark;
|
||||
transition: border-bottom-color 0.12s ease-out;
|
||||
transition-timing-function: ease-out;
|
||||
transition-duration: 0.12s;
|
||||
}
|
||||
|
||||
&.selected,
|
||||
&[role=tab][aria-selected=true],
|
||||
&[aria-current] {
|
||||
// stylelint-disable-next-line primer/borders
|
||||
border-bottom-color: $orange-500;
|
||||
border-bottom-color: #f9826c; // custom coral
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user