-
-
-
-
-
-
-
-
+
@@ -67,6 +70,7 @@ import { deckStore, addColumn as addColumnToStore, loadDeck } from './deck/deck-
import DeckColumnCore from '@/ui/deck/column-core.vue';
import XSidebar from '@/ui/_common_/sidebar.vue';
import XDrawerMenu from '@/ui/_common_/sidebar-for-mobile.vue';
+import MkButton from '@/components/ui/button.vue';
import { getScrollContainer } from '@/scripts/scroll';
import * as os from '@/os';
import { menuDef } from '@/menu';
@@ -206,47 +210,55 @@ function moveFocus(id: string, direction: 'up' | 'down' | 'left' | 'right') {
display: flex;
flex-direction: column;
- > .columnsWrapper {
+ > .columns {
flex: 1;
display: flex;
- flex-direction: row;
+ overflow-x: auto;
+ overflow-y: clip;
- > .columns {
- flex: 1;
- display: flex;
- overflow-x: auto;
- overflow-y: clip;
-
- &.center {
- > .column:first-of-type {
- margin-left: auto;
- }
-
- > .column:last-of-type {
- margin-right: auto;
- }
+ &.center {
+ > .column:first-of-type {
+ margin-left: auto;
}
- > .column {
- flex-shrink: 0;
- border-right: solid var(--deckDividerThickness) var(--deckDivider);
+ > .column:last-of-type {
+ margin-right: auto;
+ }
+ }
- &:first-child {
- border-left: solid var(--deckDividerThickness) var(--deckDivider);
- }
+ > .column {
+ flex-shrink: 0;
+ border-right: solid var(--deckDividerThickness) var(--deckDivider);
- &.folder {
- display: flex;
- flex-direction: column;
+ &:first-of-type {
+ border-left: solid var(--deckDividerThickness) var(--deckDivider);
+ }
- > *:not(:last-child) {
- border-bottom: solid var(--deckDividerThickness) var(--deckDivider);
- }
+ &.folder {
+ display: flex;
+ flex-direction: column;
+
+ > *:not(:last-of-type) {
+ border-bottom: solid var(--deckDividerThickness) var(--deckDivider);
}
}
}
+ > .intro {
+ padding: 32px;
+ height: min-content;
+ text-align: center;
+ margin: auto;
+
+ > .add {
+ margin: 1em auto;
+ }
+ }
+
> .sideMenu {
+ flex-shrink: 0;
+ margin-right: 0;
+ margin-left: auto;
display: flex;
flex-direction: column;
justify-content: center;
+
+
+
+
+
+
+
+
+ {{ i18n.ts._deck.addColumn }}
+
{{ i18n.ts._deck.introduction }}
+ {{ i18n.ts._deck.introduction2 }}
-
+