Skip to content

Commit 087fe2c

Browse files
authored
Merge pull request #80 from celenium-io/dev
Dev
2 parents 4ca7c9f + ddd9a39 commit 087fe2c

38 files changed

+1612
-306
lines changed

assets/icons.json

Lines changed: 4 additions & 1 deletion
Large diffs are not rendered by default.

assets/styles/base.scss

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ $grayscale: (
3131
--txt-white: rgba(255, 255, 255, 95%);
3232

3333
/* General */
34-
--brand: #924dff;
34+
// --brand: #18d2a5;
35+
--brand: #0ade71;
3536
--blue: #076acd;
3637
--red: #eb5757;
3738
--orange: #ff5a17;
@@ -95,7 +96,8 @@ $grayscale: (
9596
--txt-white: rgba(255, 255, 255, 95%);
9697

9798
/* General */
98-
--brand: #924dff;
99+
// --brand: #18d2a5;
100+
--brand: #33a853;
99101
--blue: #0b84fe;
100102
--red: #eb5757;
101103
--orange: #ff5a17;
@@ -151,7 +153,8 @@ $grayscale: (
151153
--txt-white: rgba(255, 255, 255, 95%);
152154

153155
/* General */
154-
--brand: #924dff;
156+
// --brand: #18d2a5;
157+
--brand: #0ade71;
155158
--blue: #0b84fe;
156159
--red: #eb5757;
157160
--orange: #ff5a17;
@@ -277,6 +280,12 @@ body {
277280
cursor: pointer;
278281
}
279282

283+
.divider_h {
284+
width: 100%;
285+
height: 2px;
286+
background: var(--op-5);
287+
}
288+
280289
.divider_v {
281290
width: 2px;
282291
height: 16px;

components/ActionBar.vue

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<script setup>
2+
/**
3+
* UI
4+
*/
5+
import Button from "@/components/ui/Button.vue"
6+
7+
/** Components */
8+
import Search from "@/components/modules/navigation/Search.vue"
9+
10+
/** Store */
11+
import { useAppStore } from "@/store/app"
12+
const appStore = useAppStore()
13+
</script>
14+
15+
<template>
16+
<Flex wide align="center" justify="between" gap="24" :class="$style.wrapper">
17+
<Flex wide align="center" gap="12">
18+
<Button @click="appStore.showSidebar = !appStore.showSidebar" type="secondary" size="medium" :class="$style.menu_btn">
19+
<Icon name="menu" size="16" color="primary" />
20+
</Button>
21+
22+
<Search />
23+
</Flex>
24+
25+
<Flex align="center" gap="12">
26+
<Button @click="appStore.showCmd = true" type="secondary" size="mini">
27+
<Icon name="terminal_square" size="16" color="secondary" />
28+
</Button>
29+
30+
<div style="width: 2px; height: 16px; background: var(--op-10)" />
31+
32+
<Connection :class="$style.connection_btn" />
33+
</Flex>
34+
</Flex>
35+
</template>
36+
37+
<style module>
38+
.wrapper {
39+
padding: 12px 24px;
40+
}
41+
42+
.menu_btn {
43+
display: none;
44+
}
45+
46+
@media (max-width: 1300px) {
47+
.menu_btn {
48+
display: flex;
49+
}
50+
}
51+
52+
@media (max-width: 500px) {
53+
.wrapper {
54+
padding: 12px;
55+
}
56+
57+
.connection_btn {
58+
display: none;
59+
}
60+
}
61+
</style>

0 commit comments

Comments
 (0)