From 37896f6960f8145a13e2943fbb0cde52da430d30 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 11 Mar 2021 14:38:02 +0100 Subject: move sidebar and timeline out of align folder --- .../frontend/app/views/editor/sidebar/sidebar.css | 90 ++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 animism-align/frontend/app/views/editor/sidebar/sidebar.css (limited to 'animism-align/frontend/app/views/editor/sidebar/sidebar.css') diff --git a/animism-align/frontend/app/views/editor/sidebar/sidebar.css b/animism-align/frontend/app/views/editor/sidebar/sidebar.css new file mode 100644 index 0000000..e4d0f61 --- /dev/null +++ b/animism-align/frontend/app/views/editor/sidebar/sidebar.css @@ -0,0 +1,90 @@ +/* Sidebar */ + +.sidebar { + position: absolute; + top: 0; + right: 0; + width: 15rem; + z-index: 8; + padding-top: 2rem; +} + +/* sidebar header */ + +.sidebar .buttons { + position: absolute; + top: 0; + right: 0; + width: 15rem; + height: 2rem; + z-index: 9; + display: flex; + justify-content: flex-end; + align-items: flex-start; + background: #111; +} +.sidebar .buttons button { + border: 0; + background: transparent; + margin: 0; + padding-left: 0.75rem; + padding-right: 0.75rem; +} +.sidebar .buttons button:hover { + background: #333; +} +.sidebar .buttons button.active { + background: #222; +} +.sidebar-content { + background: #222; + width: 15rem; + padding: 0.5rem 0; +} + +/* wavefile upload */ + +.sidebar-content.wave-upload { + padding: 0.5rem 0.75rem 1.5rem 0.75rem; +} + +.wave-upload .uploadButton { + position: relative; + text-align: center; + margin: 1rem 0; +} +.wave-upload small { + display: block; + text-align: center; +} +.wave-upload .status { + padding: 1rem 0 0 0; + text-align: center; +} +.wave-upload .circular-loader { + margin: 0 auto 1rem auto; +} +.wave-upload .status-message { +} +.wave-upload .status small { + display: block; + margin-top: 0.25rem; +} + +/* table of contents */ + +.toc div { + width: 15rem; + padding: 0.25rem 0.75rem; + cursor: pointer; +} +.toc div:hover { + background: #213; +} + + +/* script */ + +.sidebar textarea { + height: calc(100vh - 5.15rem); +} -- cgit v1.2.3-70-g09d2