1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-19 05:09:41 +02:00

Merge branch 'main' into static-generation-fixes
Some checks failed
Build and push Docker image / build (push) Has been cancelled

This commit is contained in:
Peter Savchenko 2024-04-26 18:43:01 +03:00 committed by GitHub
commit 19fa624223
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 14 additions and 5 deletions

View file

@ -1,7 +1,7 @@
{ {
"name": "codex.docs", "name": "codex.docs",
"license": "Apache-2.0", "license": "Apache-2.0",
"version": "v2.2.0-rc.16", "version": "v2.2.1",
"type": "module", "type": "module",
"bin": { "bin": {
"codex.docs": "dist/backend/app.js" "codex.docs": "dist/backend/app.js"

View file

@ -40,8 +40,11 @@ html {
@media (--not-mobile) { @media (--not-mobile) {
padding: 4px 10px; padding: 4px 10px;
&:hover {
@apply --squircle; @apply --squircle;
} }
}
&:hover { &:hover {
background-color: var(--color-link-hover); background-color: var(--color-link-hover);

View file

@ -182,13 +182,16 @@
transition-property: background-color; transition-property: background-color;
transition-duration: 0.1s; transition-duration: 0.1s;
@apply --squircle;
&--selected { &--selected {
border-radius: 8px; border-radius: 8px;
/* border using box-shadow which doesn't increase the height */ /* border using box-shadow which doesn't increase the height */
box-shadow: 0 0 0 2px rgba(147, 166, 233, 0.5) inset; box-shadow: 0 0 0 2px rgba(147, 166, 233, 0.5) inset;
} }
&--active,
&:hover {
@apply --squircle;
}
} }
&__section-title > span, &__section-title > span,

View file

@ -31,7 +31,10 @@
gap: 2px; gap: 2px;
&-item { &-item {
&:hover,
&--active {
@apply --squircle; @apply --squircle;
}
&:hover { &:hover {
background-color: var(--color-link-hover); background-color: var(--color-link-hover);