summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/editor/sidebar/sidebar.css
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2021-03-11 14:38:02 +0100
committerJules Laplace <julescarbon@gmail.com>2021-03-11 14:38:02 +0100
commit37896f6960f8145a13e2943fbb0cde52da430d30 (patch)
tree40cb7ca2a6b470dc397dd0ba99998ad899a212b0 /animism-align/frontend/app/views/editor/sidebar/sidebar.css
parent64cd37eae81845dc5eaace17739a72299cfc6c67 (diff)
move sidebar and timeline out of align folder
Diffstat (limited to 'animism-align/frontend/app/views/editor/sidebar/sidebar.css')
-rw-r--r--animism-align/frontend/app/views/editor/sidebar/sidebar.css90
1 files changed, 90 insertions, 0 deletions
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);
+}