mirror of
https://github.com/explosion/spaCy.git
synced 2026-01-21 07:44:32 +03:00
* Rename CSS class to make use more clear * Rename component prop to improve code readability * Fix `aria-hidden` directly on a link element This link wouldn't have been clickable by screenreaders * Refactor component This removes a unnessary `div` and a duplicate link Co-authored-by: Ines Montani <ines@ines.io>
31 lines
454 B
Sass
31 lines
454 B
Sass
.root
|
|
color: var(--color-theme-dark)
|
|
border-bottom: 1px solid
|
|
transition: color 0.2s ease
|
|
cursor: pointer
|
|
|
|
&:hover
|
|
color: var(--color-front)
|
|
|
|
.no-link-layout
|
|
border: none
|
|
color: inherit
|
|
|
|
&:hover
|
|
color: inherit
|
|
|
|
.icon
|
|
margin-left: 0.5em
|
|
width: 1.1em
|
|
height: 1.1em
|
|
|
|
.nowrap
|
|
white-space: nowrap
|
|
display: inline-block
|
|
|
|
.with-icon
|
|
border: none
|
|
|
|
.source-text
|
|
border-bottom: 1px solid
|