mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-08 15:05:26 +02:00
boxshadow added as border
This commit is contained in:
parent
80f3a594fe
commit
5cc520ba29
1 changed files with 2 additions and 2 deletions
|
@ -151,11 +151,11 @@
|
||||||
transition-property: background-color;
|
transition-property: background-color;
|
||||||
transition-duration: 0.1s;
|
transition-duration: 0.1s;
|
||||||
@apply --squircle;
|
@apply --squircle;
|
||||||
border: 2px solid transparent;
|
|
||||||
|
|
||||||
&--selected {
|
&--selected {
|
||||||
border: 2px solid rgba(147, 166, 233, 0.5);
|
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
/* border using box-shadow which doesn't increase the height */
|
||||||
|
box-shadow: 0 0 0 2px rgba(147, 166, 233, 0.5) inset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue