From 212d37ed1947a7d9dddd66d206cafcdc063ee37f Mon Sep 17 00:00:00 2001 From: lonkaars Date: Fri, 14 May 2021 12:30:22 +0200 Subject: added buttons :tada: --- pages/editor.tsx | 22 +++++++++++++++++++++- styles/editor.css | 31 +++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 1 deletion(-) diff --git a/pages/editor.tsx b/pages/editor.tsx index 3377149..ee41a27 100644 --- a/pages/editor.tsx +++ b/pages/editor.tsx @@ -1,8 +1,15 @@ import AppBar from '@material-ui/core/AppBar'; +import Fab from '@material-ui/core/Fab'; import Toolbar from '@material-ui/core/Toolbar'; import { PressureIcon } from '../components/icons'; +import FullscreenRoundedIcon from '@material-ui/icons/FullscreenRounded'; +import NavigateBeforeRoundedIcon from '@material-ui/icons/NavigateBeforeRounded'; +import NavigateNextRoundedIcon from '@material-ui/icons/NavigateNextRounded'; +import PauseRoundedIcon from '@material-ui/icons/PauseRounded'; +import SkipPreviousRoundedIcon from '@material-ui/icons/SkipPreviousRounded'; + export default function Index() { return <>
@@ -13,7 +20,20 @@ export default function Index() {
-
+
+
+
+
+ } /> + } /> + } /> + } /> +
+
+ } /> +
+
+
diff --git a/styles/editor.css b/styles/editor.css index cfffb71..5b9c7b6 100644 --- a/styles/editor.css +++ b/styles/editor.css @@ -38,3 +38,34 @@ grid-row: 3; background-color: var(--c100); } + +.appGrid .viewer { + display: grid; + grid-template-rows: 1fr 80px; +} + +.appGrid .viewer .controls { + position: relative; +} + +.appGrid .viewer .controls .abscenter { + margin-left: 24px; +} + +.appGrid .viewer .controls .r0 { + margin-right: 16px; +} + +.appGrid .viewer .controls .MuiFab-root.playPause { + background-color: var(--blue); +} + +.appGrid .viewer .controls .MuiFab-root { + color: var(--fg); +} + +.appGrid .viewer .controls .MuiFab-root:not(.playPause) { + background-color: var(--transparent); + box-shadow: none; + margin: 4px; +} -- cgit v1.2.3