Last active
January 23, 2021 05:13
-
-
Save AnteaterKit/baf390e59b4de59281ed5e080dedb2e8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bar { | |
position: absolute; | |
background-clip: content-box; | |
cursor: ew-resize; | |
} | |
.resizable { | |
width: 100%; | |
height: 100%; | |
&__vertical { | |
display: flex; | |
flex-direction: column; | |
height: inherit; | |
&__barBotton{ | |
bottom: 0px; | |
width: 100%; | |
height: 2px; | |
cursor: ns-resize; | |
} | |
&__horisontal { | |
display: flex; | |
height: inherit; | |
&__content { | |
height: inherit; | |
width: 100%; | |
} | |
&__barRight { | |
top: 0; | |
bottom: 0; | |
right: 0; | |
width: 2px; | |
height: 100%; | |
justify-self: flex-end; | |
} | |
} | |
} | |
} | |
@mixin theme-resizable($theme) { | |
$color: map-get($theme, color); | |
$primary: map-get($color, primary); | |
$background: map-get($primary, 100); | |
.bar { | |
background-color: $background; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment