From d3fe02fb3e8dd7bfc45c246d54d45acccd5959c7 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 10 Apr 2021 12:40:50 +0900 Subject: Default UI redesign (#7429) * wip * wip * wip * wip * Update default.sidebar.vue * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update sticky-sidebar.ts * wip * wip * Update messaging-room.form.vue * Update timeline.vue --- src/client/ui/_common_/header.vue | 84 +++---- src/client/ui/_common_/sidebar.vue | 458 +++++++++++++++++++++++++++++++++++++ 2 files changed, 493 insertions(+), 49 deletions(-) create mode 100644 src/client/ui/_common_/sidebar.vue (limited to 'src/client/ui/_common_') diff --git a/src/client/ui/_common_/header.vue b/src/client/ui/_common_/header.vue index f150653a84..4c914edbbd 100644 --- a/src/client/ui/_common_/header.vue +++ b/src/client/ui/_common_/header.vue @@ -12,14 +12,16 @@ - + + @@ -74,59 +93,33 @@ export default defineComponent({ .fdidabkb { &.center { text-align: center; - } - > .back { - height: var(--height); - width: var(--height); + > .titleContainer { + margin: 0 auto; + } } - > .action { + > .back, + > .menu { + position: absolute; + z-index: 1; + top: 0; height: var(--height); width: var(--height); } - > .titleContainer { - width: calc(100% - (var(--height) * 2)); - - > .title { - height: var(--height); - - > .avatar { - $size: 32px; - margin: calc((var(--height) - #{$size}) / 2) 8px calc((var(--height) - #{$size}) / 2) 0; - pointer-events: none; - } - } - } -} - - - -- cgit v1.2.3-freya