mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
feat: start of scroller
This commit is contained in:
1 parent
015d457d23
commit
ddb869e767
4 files changed
+100
-5
No files matched your search
@@ -0,0 +1,42 @@
|
||||
.scroller {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.content {
|
||||
overflow: auto;
|
||||
|
||||
scrollbar-width: none;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
display: none;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.bar-wrapper {
|
||||
padding: var(--space-1);
|
||||
background-color: blue;
|
||||
|
||||
.bar-container {
|
||||
background-color: red;
|
||||
height: 10px;
|
||||
|
||||
position: relative;
|
||||
|
||||
.bar {
|
||||
height: 100%;
|
||||
min-width: min(100%, var(--space-6));
|
||||
position: absolute;
|
||||
|
||||
background-color: green;
|
||||
|
||||
cursor: grab;
|
||||
|
||||
&:active {
|
||||
cursor: grabbing;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user