Skip to content
Merged

Dev #80

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion assets/icons.json

Large diffs are not rendered by default.

15 changes: 12 additions & 3 deletions assets/styles/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ $grayscale: (
--txt-white: rgba(255, 255, 255, 95%);

/* General */
--brand: #924dff;
// --brand: #18d2a5;
--brand: #0ade71;
--blue: #076acd;
--red: #eb5757;
--orange: #ff5a17;
Expand Down Expand Up @@ -95,7 +96,8 @@ $grayscale: (
--txt-white: rgba(255, 255, 255, 95%);

/* General */
--brand: #924dff;
// --brand: #18d2a5;
--brand: #33a853;
--blue: #0b84fe;
--red: #eb5757;
--orange: #ff5a17;
Expand Down Expand Up @@ -151,7 +153,8 @@ $grayscale: (
--txt-white: rgba(255, 255, 255, 95%);

/* General */
--brand: #924dff;
// --brand: #18d2a5;
--brand: #0ade71;
--blue: #0b84fe;
--red: #eb5757;
--orange: #ff5a17;
Expand Down Expand Up @@ -277,6 +280,12 @@ body {
cursor: pointer;
}

.divider_h {
width: 100%;
height: 2px;
background: var(--op-5);
}

.divider_v {
width: 2px;
height: 16px;
Expand Down
61 changes: 61 additions & 0 deletions components/ActionBar.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<script setup>
/**
* UI
*/
import Button from "@/components/ui/Button.vue"

/** Components */
import Search from "@/components/modules/navigation/Search.vue"

/** Store */
import { useAppStore } from "@/store/app"
const appStore = useAppStore()
</script>

<template>
<Flex wide align="center" justify="between" gap="24" :class="$style.wrapper">
<Flex wide align="center" gap="12">
<Button @click="appStore.showSidebar = !appStore.showSidebar" type="secondary" size="medium" :class="$style.menu_btn">
<Icon name="menu" size="16" color="primary" />
</Button>

<Search />
</Flex>

<Flex align="center" gap="12">
<Button @click="appStore.showCmd = true" type="secondary" size="mini">
<Icon name="terminal_square" size="16" color="secondary" />
</Button>

<div style="width: 2px; height: 16px; background: var(--op-10)" />

<Connection :class="$style.connection_btn" />
</Flex>
</Flex>
</template>

<style module>
.wrapper {
padding: 12px 24px;
}

.menu_btn {
display: none;
}

@media (max-width: 1300px) {
.menu_btn {
display: flex;
}
}

@media (max-width: 500px) {
.wrapper {
padding: 12px;
}

.connection_btn {
display: none;
}
}
</style>
Loading