-
+
@@ -8,6 +8,7 @@
diff --git a/src/components/Workspace/SideBarSection.vue b/src/components/Workspace/SideBarSection.vue
deleted file mode 100644
index aee666a2..00000000
--- a/src/components/Workspace/SideBarSection.vue
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
-
-
diff --git a/src/styles/color-palette.scss b/src/styles/color-palette.scss
index cccc4aa5..ebc431ea 100644
--- a/src/styles/color-palette.scss
+++ b/src/styles/color-palette.scss
@@ -31,22 +31,6 @@
--transparent-white-50: #ffffff80;
--transparent-white-30: #ffffff4d;
- /* Other Variables */
- --outline-color: none;
- --curve-factor: 5px; // Border radius for most components
- --curve-factor-navbar: 16px; // Border radius for header
- --dimming-factor: 0.7; // Opacity for semi-transparent components
-
- /* Settings for specific components */
- --scroll-bar-width: 8px;
- --item-group-padding: 5px; // Determines width of item-group outline
- --item-shadow: 1px 1px 2px #130f23;
- --item-hover-shadow: 1px 2px 4px #373737;
- --item-icon-transform: drop-shadow(2px 4px 6px var(--transparent-50)) saturate(0.65);
- --item-icon-transform-hover: drop-shadow(4px 8px 3px var(--transparent-50)) saturate(2);
- --item-group-shadow: var(--item-shadow);
- --settings-container-shadow: none;
-
/* Color variables for specific components
* all variables are optional, since they inherit initial values from above*
* Using specific variables makes overriding for custom themes really easy */
@@ -88,5 +72,6 @@
--about-page-background: #0b1021;
--about-page-accent: var(--primary);
--side-bar-background: var(--background-darker);
+ --side-bar-background-lighter: var(--background);
--side-bar-color: var(--primary);
}
diff --git a/src/styles/dimensions.scss b/src/styles/dimensions.scss
new file mode 100644
index 00000000..cf02ad51
--- /dev/null
+++ b/src/styles/dimensions.scss
@@ -0,0 +1,26 @@
+
+:root {
+ /* General Variables */
+ --outline-color: none;
+ --curve-factor: 5px; // Border radius for most components
+ --curve-factor-navbar: 16px; // Border radius for header
+ --dimming-factor: 0.7; // Opacity for semi-transparent components
+
+ /* Basic Page Components */
+ --scroll-bar-width: 8px;
+ --header-height: 6.3rem;
+
+ /* Section & Item dimensions */
+ --item-group-padding: 5px; // Determines width of item-group outline
+ --item-shadow: 1px 1px 2px #130f23;
+ --item-hover-shadow: 1px 2px 4px #373737;
+ --item-icon-transform: drop-shadow(2px 4px 6px var(--transparent-50)) saturate(0.65);
+ --item-icon-transform-hover: drop-shadow(4px 8px 3px var(--transparent-50)) saturate(2);
+ --item-group-shadow: var(--item-shadow);
+
+ /* Settings and config menu */
+ --settings-container-shadow: none;
+
+ /* Workspace View */
+ --side-bar-width: 3.5rem; // The width of the sidebar
+}
\ No newline at end of file
diff --git a/src/views/About.vue b/src/views/About.vue
index c4273ea9..83585d71 100644
--- a/src/views/About.vue
+++ b/src/views/About.vue
@@ -9,6 +9,15 @@
highly customizable and functianl dashboard, in order to improvde productivity
and enable easy organisation of running services or web links.
+
+ Dashy is a web-based project with PWA mobile support. It's written in TypeScript,
+ and using the Vue.js framework, with a simple Node.js backend.
+ It can be run in a light-weight Alpine Docker container, with support for
+ healthcheck monitoring, self-updating and automatic restarting. Configuration
+ is done with a single YAML file, that is merged with the application when it
+ is built / compiled. The configuration can me modified using the UI, and then
+ exported back into the main config file.
+
@@ -42,7 +51,7 @@
Dashy is developed an maintained by Alicia Sykes
- (@Lissy93), with support from the community.
+ (@Lissy93).
- PGP Key -
0688 F8D3 4587 D954 E9E5 1FB8 FEDB 68F5 5C02 83A7
- BTC Address -
3853bSxupMjvxEYfwGDGAaLZhTKxB2vEVC
@@ -92,8 +101,8 @@ article.about {
background: var(--about-page-background);
color: var(--about-page-color);
width: 80%;
- max-width: 1000px;
- margin: 1rem auto 2.5rem auto;
+ max-width: 800px;
+ margin: 1rem auto;
padding: 1rem;
border: 1px solid var(--about-page-accent);
border-radius: var(--curve-factor);
diff --git a/src/views/Workspace.vue b/src/views/Workspace.vue
index 342f0731..3afabfa8 100644
--- a/src/views/Workspace.vue
+++ b/src/views/Workspace.vue
@@ -1,6 +1,6 @@
-
+
@@ -9,13 +9,11 @@
import SideBar from '@/components/Workspace/SideBar';
import WebContent from '@/components/Workspace/WebContent';
-import Defaults, { localStorageKeys } from '@/utils/defaults';
export default {
name: 'Workspace',
props: {
sections: Array,
- appConfig: Object,
},
data: () => ({
url: '',
@@ -24,27 +22,6 @@ export default {
SideBar,
WebContent,
},
- methods: {
- launchService(url) {
- this.url = url;
- },
- setTheme() {
- const theme = localStorage[localStorageKeys.THEME] || this.confTheme || Defaults.theme;
- const htmlTag = document.getElementsByTagName('html')[0];
- if (htmlTag.hasAttribute('data-theme')) htmlTag.removeAttribute('data-theme');
- htmlTag.setAttribute('data-theme', theme);
- },
- initiateFontAwesome() {
- const fontAwesomeScript = document.createElement('script');
- const faKey = this.appConfig.fontAwesomeKey || Defaults.fontAwesomeKey;
- fontAwesomeScript.setAttribute('src', `https://kit.fontawesome.com/${faKey}.js`);
- document.head.appendChild(fontAwesomeScript);
- },
- },
- mounted() {
- this.setTheme();
- this.initiateFontAwesome();
- },
};