mirror of
https://github.com/jenil/chota.git
synced 2023-08-10 21:13:07 +03:00
Merge pull request #53 from yne/master
Alias .current with aria-current=page
This commit is contained in:
commit
a76d3b822a
3
dist/chota.css
vendored
3
dist/chota.css
vendored
@ -716,6 +716,7 @@ button:disabled:hover {
|
|||||||
padding: 1rem 2rem;
|
padding: 1rem 2rem;
|
||||||
color: var(--color-darkGrey);
|
color: var(--color-darkGrey);
|
||||||
}
|
}
|
||||||
|
.nav [aria-current="page"]:not(.button),
|
||||||
.nav .active:not(.button) {
|
.nav .active:not(.button) {
|
||||||
color: #000; /* fallback */
|
color: #000; /* fallback */
|
||||||
color: var(--color-primary);
|
color: var(--color-primary);
|
||||||
@ -763,11 +764,13 @@ button:disabled:hover {
|
|||||||
border-bottom: 2px solid var(--color-lightGrey);
|
border-bottom: 2px solid var(--color-lightGrey);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
.tabs > a[aria-current="page"],
|
||||||
.tabs > a.active,
|
.tabs > a.active,
|
||||||
.tabs > a:hover {
|
.tabs > a:hover {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
border-bottom: 2px solid var(--color-darkGrey);
|
border-bottom: 2px solid var(--color-darkGrey);
|
||||||
}
|
}
|
||||||
|
.tabs > a[aria-current="page"],
|
||||||
.tabs > a.active {
|
.tabs > a.active {
|
||||||
border-color: var(--color-primary);
|
border-color: var(--color-primary);
|
||||||
}
|
}
|
||||||
|
2
dist/chota.min.css
vendored
2
dist/chota.min.css
vendored
File diff suppressed because one or more lines are too long
@ -53,6 +53,7 @@
|
|||||||
color: var(--color-darkGrey);
|
color: var(--color-darkGrey);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav [aria-current="page"]:not(.button),
|
||||||
.nav .active:not(.button) {
|
.nav .active:not(.button) {
|
||||||
color: #000; /* fallback */
|
color: #000; /* fallback */
|
||||||
color: var(--color-primary);
|
color: var(--color-primary);
|
||||||
|
@ -15,12 +15,14 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tabs > a[aria-current="page"],
|
||||||
.tabs > a.active,
|
.tabs > a.active,
|
||||||
.tabs > a:hover {
|
.tabs > a:hover {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
border-bottom: 2px solid var(--color-darkGrey);
|
border-bottom: 2px solid var(--color-darkGrey);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tabs > a[aria-current="page"],
|
||||||
.tabs > a.active {
|
.tabs > a.active {
|
||||||
border-color: var(--color-primary);
|
border-color: var(--color-primary);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user