Skip to content
Snippets Groups Projects
Commit de5ef34b authored by alexisben's avatar alexisben
Browse files

alpha colors

parent 4f3eba27
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
padding: 0 padding: 0
width: 48px width: 48px
&::before &::before
background-color: rgba($link-color, 0.3) background-color: alphaColor($link-color, 0.3)
border-radius: 50% border-radius: 50%
content: "" content: ""
display: block display: block
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
width: 10px width: 10px
&:hover &:hover
&::before &::before
background-color: rgba($link-color, 0.6) background-color: alphaColor($link-color, 0.6)
&.is-active &.is-active
&::before &::before
background-color: $link-color background-color: $link-color
......
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
&__form &__form
@include icon(search-inline, after) @include icon(search-inline, after)
&::after &::after
color: rgba(var(--color-text-alt), .6) color: alphaColor(var(--color-text-alt), .6)
position: fixed position: fixed
pointer-events: none pointer-events: none
z-index: 9 z-index: 9
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
user-select: none user-select: none
&:active, &:active,
&:focus &:focus
box-shadow: inset 0 0 0 0.25rem rgba(var(--color-text), 0.25) box-shadow: inset 0 0 0 0.25rem alphaColor(var(--color-text), 0.25)
// TODO : vérifier si l'outline 0 est vraiment nécessaire // TODO : vérifier si l'outline 0 est vraiment nécessaire
// outline: 0 // outline: 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment