Skip to content

Commit

Permalink
Deploying to gh-pages from @ 3679b1b 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
voodoos committed Aug 27, 2024
1 parent 93158ac commit bf546bc
Show file tree
Hide file tree
Showing 6 changed files with 2,388 additions and 2,343 deletions.
6 changes: 3 additions & 3 deletions app.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ body {
justify-items: stretch;
align-items: stretch;

width: 100%;
height: 100%;
width: 100wv;
height: 100wh;

& .item-list,
& .playlist {
Expand Down Expand Up @@ -129,4 +129,4 @@ body {
background-repeat: no-repeat;
background-position: center;
}
}
}
129 changes: 129 additions & 0 deletions brr_lwd_ui.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
/* Reset box-sizing */

html {
box-sizing: border-box;
}

*, *:before, *:after {
box-sizing: inherit;
}

/* Utility classes */
.display-none {
display: none;
}

/* Style */

.on {
background-color: red;
}

/* Ham menu */
.hover-menu {
/* Required for absolute positioning of child */
/* position: relative; */
}


.hover-menu menu {
visibility: collapse;
position: absolute;
translate: -50%;
opacity: 0;
transition: all 125ms;
}


.hover-menu:hover menu,
.hover-menu.active menu {
visibility: visible;
opacity: 1;
}

/* Draggable table */
/* todo: borders should be in theme */
.draggable-table {
display: inline-grid;
}

.draggable-table>div {
display: grid;
grid-template-columns: subgrid;
grid-column: 1/-1;
}

.draggable-table .hover-top {
box-shadow: 0px 200px 15px -200px rgba(255, 200, 0, 1) inset;
}

.draggable-table .hover-bottom {
box-shadow: 0px -200px 15px -200px rgba(255, 200, 0, 1) inset;
}

/* Virtual table */

.lwdui-lazy-table {
display: inline-grid;
position: relative;
width: 100%;
height: 100%;

align-content: start;


border-top: 1px solid black;
border-left: 1px solid black;
border-bottom: 1px solid black;

& .lwdui-lazy-table-content,
& .lwdui-lazy-table-content-wrapper,
& .lwdui-virtual-table-row {
display: grid;
grid-template-columns: subgrid;
grid-column: 1/-1;
}

& .lwdui-lazy-table-content-wrapper{
height: 100%;
overflow: auto;
}

& .lwdui-virtual-table-row {
padding: 0;
overflow-x: auto;
overflow-y: hidden;

border-bottom: 1px solid black;

&>div {
display: flex;
flex-direction: column;
justify-content: center;
overflow: hidden;
border-right: 1px solid black;
}

&>.row_spacer {
padding: 0;
}
}
}

.lwdui-controlled-scroll-wrapper {
position: relative;
overflow: hidden;

& .lwdui-controlled-scroll-controls {
position: absolute;
bottom: 0;
right: 0;

transition: opacity 0.3s, visibility 0.3s;
}

&.locked .lwdui-controlled-scroll-controls {
visibility: hidden;
opacity: 0;
}
}
6 changes: 6 additions & 0 deletions dune
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@
(mode
(promote (until-clean)))
(files ../bin/db_worker/db_worker.bc.js))

(copy_files
(mode
(promote (until-clean)))
(alias default)
(files ../vendor/brr_lwd_ui/examples/virtual-table/brr_lwd_ui.css))
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<title>OCAMIX</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="./reset.css">
<link rel="stylesheet" href="./brr_lwd_ui.css">
<link rel="stylesheet" href="./main.css">
<link rel="stylesheet" href="./theme.css">
<link rel="stylesheet" href="./app.css">
Expand All @@ -14,4 +15,4 @@
<script src="main.bc.js"></script>
</body>

</html>
</html>
Loading

0 comments on commit bf546bc

Please sign in to comment.