diff --git a/App/Frontend/css/context-menu.css b/App/Frontend/css/context-menu.css index 0a572c3..cd20891 100644 --- a/App/Frontend/css/context-menu.css +++ b/App/Frontend/css/context-menu.css @@ -15,7 +15,7 @@ .context-menu-item { background-color: var(--tertiary); border: 1px solid var(--primary); - border-radius: 10px; + border-radius: var(--radius); display: flex; flex-direction: column; padding: 0px; @@ -26,13 +26,12 @@ color: var(--text); } -.context-menu-item i { - color: var(--secondary); +.context-menu-item svg { + fill: var(--secondary); + width: 24px; + height: 24px; margin-right: 10px; -} - -.context-menu-item i:hover { - color: var(--accent); + transition: fill 0.3s ease; } .context-menu-item li { @@ -53,6 +52,6 @@ .context-menu-item li:hover { background-color: var(--background); - border-radius: 10px; + border-radius: var(--radius); } /* Context Menu */ \ No newline at end of file diff --git a/App/Frontend/css/dashboard.css b/App/Frontend/css/dashboard.css index 33133ea..2b1c91d 100644 --- a/App/Frontend/css/dashboard.css +++ b/App/Frontend/css/dashboard.css @@ -23,7 +23,7 @@ 'nav main main main main' 'nav main main main main' 'nav main main main main'; - grid-template-columns: 1fr 2fr 2fr 2fr; + grid-template-columns: 1fr 3fr 3fr 3fr; gap: 16px; padding: 10px; height: 95vh; @@ -44,8 +44,8 @@ .dashboard-header-section4 { background-color: var(--quaternary); color: var(--text); - border-radius: 15px; - box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); + border-radius: var(--radius); + box-shadow: 2px 0 5px var(--shadow); width: 100%; height: 100%; font-weight: bold; @@ -72,8 +72,8 @@ .dashboard-main { background-color: var(--tertiary); color: var(--text); - border-radius: 15px; - box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); + border-radius: var(--radius); + box-shadow: 2px 0 5px var(--shadow); width: 100%; } /* Dashboard Main */ diff --git a/App/Frontend/css/global.css b/App/Frontend/css/global.css index f1787e8..a871211 100644 --- a/App/Frontend/css/global.css +++ b/App/Frontend/css/global.css @@ -24,6 +24,12 @@ --accent: #ac8fbd; } +:root { + --radius: 12px; + --spacing: 16px; + --shadow: rgba(0, 0, 0, 0.1); +} + :root { /* Kubernetes status colors */ --status-cluster-ready: #28a745; --status-cluster-notready: #f44336; @@ -46,9 +52,67 @@ } /* Global Styles */ +/* Fonts */ +@font-face { /* cyrillic-ext */ + font-family: 'Inter'; + font-style: normal; + font-weight: 400; + src: url(/App/Frontend/fonts/inter-cyrillic-ext.woff2) format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} + +@font-face { /* cyrillic */ + font-family: 'Inter'; + font-style: normal; + font-weight: 400; + src: url(/App/Frontend/fonts/inter-cyrillic.woff2) format('woff2'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} + +@font-face { /* greek-ext */ + font-family: 'Inter'; + font-style: normal; + font-weight: 400; + src: url(/App/Frontend/fonts/inter-greek-ext.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; +} + +@font-face { /* greek */ + font-family: 'Inter'; + font-style: normal; + font-weight: 400; + src: url(/App/Frontend/fonts/inter-greek.woff2) format('woff2'); + unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; +} + +@font-face { /* vietnamese */ + font-family: 'Inter'; + font-style: normal; + font-weight: 400; + src: url(/App/Frontend/fonts/inter-vietnamese.woff2) format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; +} + +@font-face { /* latin-ext */ + font-family: 'Inter'; + font-style: normal; + font-weight: 400; + src: url(/App/Frontend/fonts/inter-latin-ext.woff2) format('woff2'); + unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} + +@font-face { /* latin */ + font-family: 'Inter'; + font-style: normal; + font-weight: 400; + src: url(/App/Frontend/fonts/inter-latin.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +/* Fonts */ + /* Global Body */ body { - background-color: var(--background); + background-color: var(--secondary); font-family: 'Inter', Arial; } /* Global Body */ @@ -71,7 +135,7 @@ body { ::-webkit-scrollbar-thumb { background-color: var(--tertiary); - border-radius: 10px; + border-radius: var(--radius); } ::-webkit-scrollbar-thumb:hover { diff --git a/App/Frontend/css/login.css b/App/Frontend/css/login.css index e9d3f7c..ac02df3 100644 --- a/App/Frontend/css/login.css +++ b/App/Frontend/css/login.css @@ -63,7 +63,7 @@ width: 320px; margin-top: 20px; padding: 20px 10px 60px 10px; - border-radius: 8px; + border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; @@ -77,7 +77,7 @@ border: 1px solid var(--text); margin: 8px 0; padding: 12px; - border-radius: 4px; + border-radius: var(--radius); transition: border-color 0.3s; min-height: 44px; font-size: 18px; @@ -95,7 +95,7 @@ margin: 10px 0; padding: 14px; border: none; - border-radius: 4px; + border-radius: var(--radius); cursor: pointer; transition: background-color 0.3s; font-size: 18px; @@ -112,7 +112,7 @@ height: auto; display: block; margin: 20px auto; - border-radius: 8px; + border-radius: var(--radius); padding-bottom: 20px; } /* Login CSS */ \ No newline at end of file diff --git a/App/Frontend/css/navigation-bar.css b/App/Frontend/css/navigation-bar.css index 9da6625..bea1a5c 100644 --- a/App/Frontend/css/navigation-bar.css +++ b/App/Frontend/css/navigation-bar.css @@ -9,8 +9,8 @@ .navigation-bar { background-color: var(--tertiary); color: var(--secondary); - border-radius: 15px; - box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); + border-radius: var(--radius); + box-shadow: 2px 0 5px var(--shadow); min-width: 150px; padding: 20px; top: 20px; @@ -39,7 +39,7 @@ font-weight: 700; text-align: center; margin-bottom: 10px; - margin-left: 10px; + margin-left: 5px; } .navigation-bar-menu { @@ -53,31 +53,33 @@ align-items: center; padding: 10px 15px; margin: 5px 0; - border-radius: 10px; - transition: background-color 0.3s ease; + border-radius: var(--radius); + transition: background-color 0.3s ease, color 0.3s ease; cursor: pointer; } -.navigation-bar-menu-item i { - margin-right: 10px; - font-size: 1.2rem; -} - -.navigation-bar-menu-item span { - color: var(--text); - font-size: 1rem; +.navigation-bar-menu-item:hover span, .navigation-bar-menu-item:hover svg { + color: var(--accent); + fill: var(--accent); } .navigation-bar-menu-item a { color: var(--secondary); text-decoration: none; + display: flex; + align-items: center; } -.navigation-bar-menu-item a:hover { - color: var(--accent); +.navigation-bar-header svg, .navigation-bar-menu-item svg { + fill: var(--secondary); + width: 24px; + height: 24px; + margin-right: 10px; + transition: fill 0.3s ease; } -.navigation-bar-menu-item:hover { - color: var(--accent); -} -/* Navigation bar */ \ No newline at end of file +.navigation-bar-menu-item span { + color: var(--text); + font-size: 1rem; + transition: color 0.3s ease; +} \ No newline at end of file diff --git a/App/Frontend/css/search.css b/App/Frontend/css/search.css index c3a3b6c..dacf15a 100644 --- a/App/Frontend/css/search.css +++ b/App/Frontend/css/search.css @@ -18,10 +18,72 @@ 'nav main main main main' 'nav main main main main' 'nav main main main main' + 'nav main main main main' + 'nav main main main main' + 'nav main main main main' + 'nav main main main main' + 'nav main main main main' 'nav main main main main'; - grid-template-columns: 1fr 2fr 2fr 2fr; + grid-template-columns: 1fr 3fr 3fr 3fr; gap: 16px; padding: 10px; height: 95vh; } -/* SetUp Grid */ \ No newline at end of file +/* SetUp Grid */ + +/* Search Header */ +.search-header { + background-color: var(--quaternary); + color: var(--text); + border-radius: 15px; + box-shadow: 2px 0 5px var(--shadow); + width: 100%; + height: 100%; + font-weight: bold; + font-size: 1rem; +} + +.search-header-section { + margin: 10px; +} + +.search-header-article { + font-size: 1.2rem; + font-weight: 700; +} + +.search-header-article input[type="text"] { + width: 100%; + max-width: 400px; + padding: var(--spacing); + border-radius: var(--radius); + border: 1px solid var(--primary); + box-shadow: inset 0 2px 4px var(--shadow); + font-size: 1rem; +} + +.search-header-article input[type="checkbox"] { + margin: 10px; +} + +.search-header-article button { + background-color: var(--primary); + color: var(--text); + padding: var(--spacing); + border: none; + border-radius: var(--radius); + cursor: pointer; + font-size: 1rem; + transition: background-color 0.3s ease; +} +/* Search Header */ + +/* Search Main */ +.search-main { + background-color: var(--tertiary); + color: var(--text); + border-radius: 15px; + box-shadow: 2px 0 5px var(--shadow); + width: 100%; +} +/* Search Main */ \ No newline at end of file diff --git a/App/Frontend/fonts/inter-cyrillic-ext.woff2 b/App/Frontend/fonts/inter-cyrillic-ext.woff2 new file mode 100644 index 0000000..2b0f227 Binary files /dev/null and b/App/Frontend/fonts/inter-cyrillic-ext.woff2 differ diff --git a/App/Frontend/fonts/inter-cyrillic.woff2 b/App/Frontend/fonts/inter-cyrillic.woff2 new file mode 100644 index 0000000..264c128 Binary files /dev/null and b/App/Frontend/fonts/inter-cyrillic.woff2 differ diff --git a/App/Frontend/fonts/inter-greek-ext.woff2 b/App/Frontend/fonts/inter-greek-ext.woff2 new file mode 100644 index 0000000..5ee8252 Binary files /dev/null and b/App/Frontend/fonts/inter-greek-ext.woff2 differ diff --git a/App/Frontend/fonts/inter-greek.woff2 b/App/Frontend/fonts/inter-greek.woff2 new file mode 100644 index 0000000..53e8b3f Binary files /dev/null and b/App/Frontend/fonts/inter-greek.woff2 differ diff --git a/App/Frontend/fonts/inter-latin-ext.woff2 b/App/Frontend/fonts/inter-latin-ext.woff2 new file mode 100644 index 0000000..e46b74a Binary files /dev/null and b/App/Frontend/fonts/inter-latin-ext.woff2 differ diff --git a/App/Frontend/fonts/inter-latin.woff2 b/App/Frontend/fonts/inter-latin.woff2 new file mode 100644 index 0000000..33002f1 Binary files /dev/null and b/App/Frontend/fonts/inter-latin.woff2 differ diff --git a/App/Frontend/fonts/inter-vietnamese.woff2 b/App/Frontend/fonts/inter-vietnamese.woff2 new file mode 100644 index 0000000..ba7767f Binary files /dev/null and b/App/Frontend/fonts/inter-vietnamese.woff2 differ diff --git a/App/Frontend/includes/context-menu.html b/App/Frontend/includes/context-menu.html index 31ef09d..5bf692d 100644 --- a/App/Frontend/includes/context-menu.html +++ b/App/Frontend/includes/context-menu.html @@ -2,15 +2,21 @@ \ No newline at end of file diff --git a/App/Frontend/includes/navigation-bar.html b/App/Frontend/includes/navigation-bar.html index b1cf79b..d4a06aa 100644 --- a/App/Frontend/includes/navigation-bar.html +++ b/App/Frontend/includes/navigation-bar.html @@ -4,31 +4,41 @@ Logo