diff --git a/frontend/src/Components/Menu.svelte b/frontend/src/Components/Menu.svelte index d1b2410..36ec215 100644 --- a/frontend/src/Components/Menu.svelte +++ b/frontend/src/Components/Menu.svelte @@ -52,19 +52,19 @@ onMount(fetchModules); - {t('users')} - {t('companies')} - {t('projects')} - {t('tasks')} - {t('tags')} - {t('documents')} - {t('bookmarks')} - {t('notes')} - {t('files')} - {t('timetracking')} - {t('wiki')} - {t('contacts')} - {t('stock')} + {t('users')} + {t('companies')} + {t('projects')} + {t('tasks')} + {t('tags')} + {t('documents')} + {t('bookmarks')} + {t('notes')} + {t('files')} + {t('timetracking')} + {t('wiki')} + {t('contacts')} + {t('stock')} {#if user.id == 2} {t('tutorial')} {/if} diff --git a/web/src/main/resources/web/css/default.css b/web/src/main/resources/web/css/default.css index 31ad291..f2abf8d 100644 --- a/web/src/main/resources/web/css/default.css +++ b/web/src/main/resources/web/css/default.css @@ -54,12 +54,90 @@ footer { } nav { - position: sticky; - z-index: 100; - top: 0; - padding: 5px; - margin: 0 0 10px 0; - border-bottom: 1px solid; + position: sticky; + z-index: 100; + top: 0; + padding: 5px; + margin: 0 0 10px 0; + border-bottom: 1px solid; +} + +nav a::before{ + font-family: awesome; + font-size: 20px; + font-weight: normal; +} + +nav a.user::before { + content: " "; +} + +nav a.company::before { + content: " "; +} + +nav a.contact::before{ + content: " "; +} + +nav a.doc::before { + content: " " +} + +nav a.file::before{ + content: " "; +} + +nav a.mark::before { + content: " "; +} + +nav a.note::before { + content: " "; +} + +nav a.project::before { + content: " "; +} + +nav a.stock::before{ + content: " " +} + +nav a.tags::before { + content: " " +} + +nav a.task::before { + content: " "; +} + +nav a.time::before{ + content: " "; +} + +nav a.wiki::before{ + content: " "; +} + +nav a.company, +nav a.contact, +nav a.doc, +nav a.file, +nav a.mark, +nav a.note, +nav a.project, +nav a.stock, +nav a.tags, +nav a.task, +nav a.time, +nav a.user, +nav a.wiki{ + font-size: 0; +} + +nav a:hover{ + font-size: inherit; } td, tr{