diff --git a/src/assets/tailwind.css b/src/assets/tailwind.css index e644e5e..262752e 100644 --- a/src/assets/tailwind.css +++ b/src/assets/tailwind.css @@ -9,26 +9,51 @@ @layer base { html { font-family: 'Roboto', sans-serif, system-ui; - color: #1A1A1A; + color: #0f172a; + } + h1, h2, h3, h4, h5, h6 { + line-height: 1; + } +} + +/* Scrollbar */ +@layer utilities { + .scrollbar::-webkit-scrollbar { + @apply w-2 h-2 + } + + .scrollbar::-webkit-scrollbar-track { + @apply bg-neutral-300 rounded-full + } + + .scrollbar::-webkit-scrollbar-thumb { + @apply bg-primary rounded-full + } + + .scrollbar::-webkit-scrollbar-thumb:hover { + @apply bg-primary } } /* components */ /* button */ .btn { -@apply inline-block rounded-full text-base font-medium text-center align-middle transition-colors +@apply inline-block rounded-full text-base font-medium text-center align-middle transition-colors duration-300 } .btn-sm { @apply px-5 py-2 } .btn-lg { - @apply px-5 py-3 + @apply px-4 py-2.5 } .btn-c-primary { - @apply bg-neutral border border-neutral hover:bg-[#FFFFFF] hover:text-primary hover:border hover:border-primary active:bg-primary active:text-[#FFFFFF] active:border + @apply text-neutral-50 bg-primary border border-primary hover:bg-neutral-50 hover:text-primary hover:border hover:border-primary active:border active:ring focus:outline-none focus:border-primary focus:ring } .btn-disable { - @apply border border-neutral bg-[#FFFFFF] text-neutral + @apply border border-neutral-200 bg-neutral-50 text-neutral-200 +} +.btn-neutral { + @apply text-neutral-700 bg-neutral-100 border border-neutral-500 hover:bg-neutral-500 hover:text-neutral-100 hover:border-neutral-300 focus:outline-none focus:border-neutral-500 focus:ring active:ring } /* invalid */ @@ -40,3 +65,8 @@ .h-screen-main { height: calc(100vh - 104px); } + +/* Navbar */ +nav ul>li { + @apply px-2 py-3.5 duration-300 hover:bg-neutral-900 hover:text-neutral-10 active:bg-neutral-900 active:text-neutral-10; +} diff --git a/src/components/Header.vue b/src/components/Header.vue index d0f618e..387c3f7 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -1,19 +1,19 @@ diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue index 13b090f..4b647de 100644 --- a/src/components/Navbar.vue +++ b/src/components/Navbar.vue @@ -1,22 +1,61 @@ + + diff --git a/src/components/icons/IconDataFormat.vue b/src/components/icons/IconDataFormat.vue new file mode 100644 index 0000000..65edd87 --- /dev/null +++ b/src/components/icons/IconDataFormat.vue @@ -0,0 +1,8 @@ + diff --git a/src/components/icons/IconFlowChart.vue b/src/components/icons/IconFlowChart.vue new file mode 100644 index 0000000..371cdd2 --- /dev/null +++ b/src/components/icons/IconFlowChart.vue @@ -0,0 +1,12 @@ + diff --git a/src/components/icons/IconGrid.vue b/src/components/icons/IconGrid.vue new file mode 100644 index 0000000..44eddda --- /dev/null +++ b/src/components/icons/IconGrid.vue @@ -0,0 +1,5 @@ + diff --git a/src/components/icons/IconList.vue b/src/components/icons/IconList.vue new file mode 100644 index 0000000..22ab357 --- /dev/null +++ b/src/components/icons/IconList.vue @@ -0,0 +1,5 @@ + diff --git a/src/components/icons/IconRule.vue b/src/components/icons/IconRule.vue new file mode 100644 index 0000000..01e2e04 --- /dev/null +++ b/src/components/icons/IconRule.vue @@ -0,0 +1,6 @@ + diff --git a/src/components/icons/IconSearch.vue b/src/components/icons/IconSearch.vue new file mode 100644 index 0000000..406e6e7 --- /dev/null +++ b/src/components/icons/IconSearch.vue @@ -0,0 +1,6 @@ + diff --git a/src/components/icons/IconSetting.vue b/src/components/icons/IconSetting.vue new file mode 100644 index 0000000..4a822a5 --- /dev/null +++ b/src/components/icons/IconSetting.vue @@ -0,0 +1,5 @@ + diff --git a/src/components/icons/IconVector.vue b/src/components/icons/IconVector.vue new file mode 100644 index 0000000..89ea679 --- /dev/null +++ b/src/components/icons/IconVector.vue @@ -0,0 +1,5 @@ + diff --git a/src/components/icons/IconsFilter.vue b/src/components/icons/IconsFilter.vue new file mode 100644 index 0000000..e778ad9 --- /dev/null +++ b/src/components/icons/IconsFilter.vue @@ -0,0 +1,6 @@ + diff --git a/src/views/Files/index.vue b/src/views/Files/index.vue index 4fd5a13..9a820f2 100644 --- a/src/views/Files/index.vue +++ b/src/views/Files/index.vue @@ -1,14 +1,402 @@ +
+ +
+

Recently Used

+ + +
+ +
+
+

All Files

+
+ + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Name + + + Parent log + + + File type + + + Owner + + + Last update + +
Daily operation records of wind turbines of...-LogIvory Liao
filter 1109Daily operation records of wind turbines of...FilterChia-Kai Liu37 minutes ago
Rule 0327Daily operation records of wind turbines of...RuleElizabeth Alexandra Mary22 hours ago
Process 1225Daily operation records of wind turbines of...DesignSun Moon Lake Reservoir...2022/08/20
Process 1225Daily operation records of wind turbines of...DesignSun Moon Lake Reservoir...2022/08/20
Process 1225Daily operation records of wind turbines of...DesignSun Moon Lake Reservoir...2022/08/20
Process 1225Daily operation records of wind turbines of...DesignSun Moon Lake Reservoir...2022/08/20
Process 1225Daily operation records of wind turbines of...DesignSun Moon Lake Reservoir...2022/08/20
Process 1225Daily operation records of wind turbines of...DesignSun Moon Lake Reservoir...2022/08/20
Process 1225Daily operation records of wind turbines of...DesignSun Moon Lake Reservoir...2022/08/20
Process 1225Daily operation records of wind turbines of...DesignSun Moon Lake Reservoir...2022/08/20
Process 1225Daily operation records of wind turbines of...DesignSun Moon Lake Reservoir...2022/08/20
Process 1225Daily operation records of wind turbines of...DesignSun Moon Lake Reservoir...2022/08/20
Process 1225Daily operation records of wind turbines of...DesignSun Moon Lake Reservoir...2022/08/20
Process 1225Daily operation records of wind turbines of...DesignSun Moon Lake Reservoir...2022/08/20
Process 1225Daily operation records of wind turbines of...DesignSun Moon Lake Reservoir...2022/08/20
Process 1225Daily operation records of wind turbines of...DesignSun Moon Lake Reservoir...2022/08/20
Process 1225Daily operation records of wind turbines of...DesignSun Moon Lake Reservoir...2022/08/20
Process 1225Daily operation records of wind turbines of...DesignSun Moon Lake Reservoir...2022/08/20
Process 1225Daily operation records of wind turbines of...DesignSun Moon Lake Reservoir...2022/08/20
Process 1225Daily operation records of wind turbines of...DesignSun Moon Lake Reservoir...2022/08/20
Process 1225Daily operation records of wind turbines of...DesignSun Moon Lake Reservoir...2022/08/20
Process 1225Daily operation records of wind turbines of...DesignSun Moon Lake Reservoir...2022/08/20
Process 1225Daily operation records of wind turbines of...DesignSun Moon Lake Reservoir...2022/08/20
Process 1225Daily operation records of wind turbines of...DesignSun Moon Lake Reservoir...2022/08/20
+
+
+ + +
+ - + + + diff --git a/src/views/Login/index.vue b/src/views/Login/index.vue index 9716c08..b2571d2 100644 --- a/src/views/Login/index.vue +++ b/src/views/Login/index.vue @@ -6,23 +6,23 @@
-

+

Incorrect account or password. diff --git a/tailwind.config.js b/tailwind.config.js index db065f1..4772ac9 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,4 +1,5 @@ /** @type {import('tailwindcss').Config} */ + module.exports = { content: [ "./index.html", @@ -6,14 +7,28 @@ module.exports = { "./src/**/**/*.{js,ts,jsx,tsx,vue}"], theme: { colors: { + transparent: 'transparent', + current: 'currentColor', 'primary': '#0099FF', // 'secondary': '', - 'neutral': '#C4C4C4', + 'neutral': { + 10: '#ffffff', + 50: '#f8fafc', + 100: '#f1f5f9', + 200: '#e2e8f0', + 300: '#cbd5e1', + 400: '#94a3b8', + 500: '#64748b', + 600: '#475569', + 700: '#334155', + 800: '#1e293b', + 900: '#0f172a' + }, 'danger': '#FF3366', }, container: { center: true, - padding: '32px', + padding: '16px', }, fontSize: { xs: ['12px', 1], @@ -25,5 +40,12 @@ module.exports = { '3xl': ['30px', 1], '4xl': ['36px', 1], }, + screens: { + 'sm': '640px', + 'md': '768px', + 'lg': '1024px', + 'xl': '1280px', + '2xl': '1536px', + } }, };