feat: refactor CSS class for primary button hover effect in docs
This commit is contained in:
parent
0dc4343cd7
commit
e0384c134d
8 changed files with 10 additions and 3 deletions
|
@ -76,12 +76,12 @@ select {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sl-flex.action.primary:hover {
|
.sl-link-button.primary:hover {
|
||||||
background-color: var(--primary-button-hover);
|
background-color: var(--primary-button-hover);
|
||||||
transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1);
|
transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.sl-flex.action.primary:hover svg {
|
.sl-link-button.primary:hover svg {
|
||||||
transform: translateX(0.25rem);
|
transform: translateX(0.25rem);
|
||||||
transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
|
transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||||
}
|
}
|
|
@ -9,7 +9,7 @@ editUrl: false
|
||||||
lastUpdated: false
|
lastUpdated: false
|
||||||
next: false
|
next: false
|
||||||
hero:
|
hero:
|
||||||
title: Dokumentationszentrum
|
title: Dokumentationshub
|
||||||
tagline: Ihr zentraler Anlaufpunkt für vereinfachte Werkzeuganleitungen, detaillierte Service-Dokumentationen und Projektunterstützung.
|
tagline: Ihr zentraler Anlaufpunkt für vereinfachte Werkzeuganleitungen, detaillierte Service-Dokumentationen und Projektunterstützung.
|
||||||
image:
|
image:
|
||||||
alt: A ScrewFast's Logo
|
alt: A ScrewFast's Logo
|
||||||
|
@ -22,6 +22,7 @@ hero:
|
||||||
link: /de/guides/getting-started/
|
link: /de/guides/getting-started/
|
||||||
- text: View on GitHub
|
- text: View on GitHub
|
||||||
icon: external
|
icon: external
|
||||||
|
variant: minimal
|
||||||
link: https://github.com/mearashadowfax/ScrewFast
|
link: https://github.com/mearashadowfax/ScrewFast
|
||||||
---
|
---
|
||||||
import "@styles/starlight_main.css";
|
import "@styles/starlight_main.css";
|
||||||
|
|
|
@ -22,6 +22,7 @@ hero:
|
||||||
link: /es/guides/getting-started/
|
link: /es/guides/getting-started/
|
||||||
- text: View on GitHub
|
- text: View on GitHub
|
||||||
icon: external
|
icon: external
|
||||||
|
variant: minimal
|
||||||
link: https://github.com/mearashadowfax/ScrewFast
|
link: https://github.com/mearashadowfax/ScrewFast
|
||||||
---
|
---
|
||||||
import "@styles/starlight_main.css";
|
import "@styles/starlight_main.css";
|
||||||
|
|
|
@ -22,6 +22,7 @@ hero:
|
||||||
link: /fa/guides/getting-started/
|
link: /fa/guides/getting-started/
|
||||||
- text: View on GitHub
|
- text: View on GitHub
|
||||||
icon: external
|
icon: external
|
||||||
|
variant: minimal
|
||||||
link: https://github.com/mearashadowfax/ScrewFast
|
link: https://github.com/mearashadowfax/ScrewFast
|
||||||
---
|
---
|
||||||
import "@styles/starlight_main.css";
|
import "@styles/starlight_main.css";
|
||||||
|
|
|
@ -22,6 +22,7 @@ hero:
|
||||||
link: /fr/guides/getting-started/
|
link: /fr/guides/getting-started/
|
||||||
- text: View on GitHub
|
- text: View on GitHub
|
||||||
icon: external
|
icon: external
|
||||||
|
variant: minimal
|
||||||
link: https://github.com/mearashadowfax/ScrewFast
|
link: https://github.com/mearashadowfax/ScrewFast
|
||||||
---
|
---
|
||||||
import "@styles/starlight_main.css";
|
import "@styles/starlight_main.css";
|
||||||
|
|
|
@ -22,6 +22,7 @@ hero:
|
||||||
link: /ja/guides/getting-started/
|
link: /ja/guides/getting-started/
|
||||||
- text: View on GitHub
|
- text: View on GitHub
|
||||||
icon: external
|
icon: external
|
||||||
|
variant: minimal
|
||||||
link: https://github.com/mearashadowfax/ScrewFast
|
link: https://github.com/mearashadowfax/ScrewFast
|
||||||
---
|
---
|
||||||
import "@styles/starlight_main.css";
|
import "@styles/starlight_main.css";
|
||||||
|
|
|
@ -22,6 +22,7 @@ hero:
|
||||||
link: /guides/getting-started/
|
link: /guides/getting-started/
|
||||||
- text: View on GitHub
|
- text: View on GitHub
|
||||||
icon: external
|
icon: external
|
||||||
|
variant: minimal
|
||||||
link: https://github.com/mearashadowfax/ScrewFast
|
link: https://github.com/mearashadowfax/ScrewFast
|
||||||
---
|
---
|
||||||
import "@styles/starlight_main.css";
|
import "@styles/starlight_main.css";
|
||||||
|
|
|
@ -22,6 +22,7 @@ hero:
|
||||||
link: /zh-cn/guides/getting-started/
|
link: /zh-cn/guides/getting-started/
|
||||||
- text: View on GitHub
|
- text: View on GitHub
|
||||||
icon: external
|
icon: external
|
||||||
|
variant: minimal
|
||||||
link: https://github.com/mearashadowfax/ScrewFast
|
link: https://github.com/mearashadowfax/ScrewFast
|
||||||
---
|
---
|
||||||
import "@styles/starlight_main.css";
|
import "@styles/starlight_main.css";
|
||||||
|
|
Loading…
Add table
Reference in a new issue