diff --git a/assets/styles/layout/_core.scss b/assets/styles/layout/_core.scss index e35431d8c..ba0147d94 100644 --- a/assets/styles/layout/_core.scss +++ b/assets/styles/layout/_core.scss @@ -73,4 +73,27 @@ input[type="number"] { .p-toast.p-toast-top-right, .p-toast.p-toast-top-left { top: 7rem; +} + +.px-link { + font-size: 1rem; + font-family: var(--font-family); + border-radius: var(--border-radius); + text-align: left; + background-color: transparent; + margin: 0; + padding: 0; + border: none; + cursor: pointer; + user-select: none; +} + +.px-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: var(--focus-ring); +} + +.px-link:disabled { + cursor: default; } \ No newline at end of file diff --git a/assets/styles/layout/_doc.scss b/assets/styles/layout/_doc.scss index f9f1d9950..24186eb9e 100644 --- a/assets/styles/layout/_doc.scss +++ b/assets/styles/layout/_doc.scss @@ -160,7 +160,7 @@ > .navbar-item-content { display: flex; - .p-link { + .px-link { padding: 0.25rem 1rem 0.25rem 1rem; color: var(--text-color); white-space: nowrap; @@ -178,7 +178,7 @@ > .navbar-item-content { border-color: var(--primary-color); - .p-link { + .px-link { font-weight: 700; color: var(--primary-color); } diff --git a/components/doc/DocSectionNav.vue b/components/doc/DocSectionNav.vue index 0f0b8a57f..2683171f3 100644 --- a/components/doc/DocSectionNav.vue +++ b/components/doc/DocSectionNav.vue @@ -2,14 +2,14 @@