Skip to content

Commit

Permalink
Deploying to gh-pages from @ 7547042 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
voodoos committed Feb 4, 2024
1 parent f126890 commit e9ce948
Show file tree
Hide file tree
Showing 11 changed files with 9,167 additions and 0 deletions.
39 changes: 39 additions & 0 deletions app.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
html,
body {
height: 100%;
margin: 0;
padding: 0;
}

#main-layout {
display: grid;

box-sizing: border-box;

grid-template-columns: 2fr 1fr;
grid-template-rows: 5rem 1fr 2rem 1rem;

gap: 1.5rem;
padding: 1.5rem;

justify-items: stretch;
align-items: stretch;

width: 100%;
height: 100%;
}

#main-layout .item-list {
display: flex;
flex-direction: column;
}

#main-layout .player-wrapper {
display: flex;
width: 100%;
}


#main-layout .player-wrapper audio {
border-radius: 0.5rem;
}
Binary file added cd-50.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3,952 changes: 3,952 additions & 0 deletions db_worker.bc.js

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
(alias
(name default)
(deps main.bc.js db_worker.bc.js index.html))

(copy_files
(mode
(promote (until-clean)))
(files ../bin/main.bc.js))

(copy_files
(mode
(promote (until-clean)))
(files ../bin/db_worker/db_worker.bc.js))
Binary file added error-globe-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon.ico
Binary file not shown.
15 changes: 15 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>

<head>
<title>OCAMIX</title>
<link rel="stylesheet" href="./main.css">
<link rel="stylesheet" href="./theme.css">
<link rel="stylesheet" href="./app.css">
</head>

<body>
<script src="main.bc.js"></script>
</body>

</html>
5,007 changes: 5,007 additions & 0 deletions main.bc.js

Large diffs are not rendered by default.

112 changes: 112 additions & 0 deletions main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
@import url('https://fonts.googleapis.com/css2?family=Bungee+Spice&display=swap');

body {
font-family: 'Bungee Spice', sans-serif;

}

.on {
background-color: red;
}

/* Ham menu */
.hover-menu {
/* Required for absolute positionning 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;
}


.lazy-table-wrapper {
width: 100%;
height: 100%;
border-radius: 0.5rem;
overflow: hidden;
}

.lazy-table {
display: inline-grid;
box-sizing: border-box;
width: 100%;
height: 100%;
overflow-x: hidden;
overflow-y: auto;
background-color: rgb(207, 207, 207);
position: relative;
}

.lazy-table div {
box-sizing: border-box;
}

.lazy-table>div {
display: grid;
grid-template-columns: subgrid;
grid-column: 1/-1;
padding: 0.5rem;
font-size: 1.2rem;
background-color: rgb(207, 207, 207);
position: absolute;
overflow: hidden;
}

.lazy-table>div>div {
display: flex;
flex-direction: column;
justify-content: center;
}

.lazy-table>div:first-child {
position: sticky;
top: -1px;
/* Without that slight offset there is some glitching happening in firefox */
z-index: 10;
}

.lazy-table>div:first-child>div {
text-align: center;
}

.lazy-table span {
vertical-align: middle;
}

audio {

width: 100%;
}
Binary file added music-50.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions theme.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
body {
background-color: #2c2f32;
}

.draggable-table {
border-bottom: solid black 1px;
}

.draggable-table>div {
user-select: none;
cursor: grab;
border-top: solid black 1px;
border-left: solid black 1px;
box-shadow: 0px 1px 0px 0px #000000
}

body.dragging .draggable-table>div {
cursor: grabbing;

}

.draggable-table>div>div {
padding: 4px;
border-right: solid black 1px;
}

.lazy-table, .lazy-table>div {
background-color: #3c4146;
}

0 comments on commit e9ce948

Please sign in to comment.