-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1145 from jplag/report-viewer/redesign
Report Viewer Redesign
- Loading branch information
Showing
59 changed files
with
2,256 additions
and
2,261 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/* eslint-env node */ | ||
module.exports = { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,30 @@ | ||
<script setup lang="ts"> | ||
import { RouterView } from 'vue-router' | ||
</script> | ||
|
||
<template> | ||
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport" /> | ||
<RouterView /> | ||
<div :class="{ dark: store().uiState.useDarkMode }"> | ||
<div | ||
class="min-h-screen max-h-fit max-w-screen text-black dark:text-amber-50 bg-backgorund-light dark:bg-backgorund-dark" | ||
> | ||
<RouterView class="max-h-screen overflow-hidden" /> | ||
<Button | ||
class="absolute right-2 bottom-2 w-12 text-center h-12 flex justify-center items-center" | ||
@click="store().changeUseDarkMode()" | ||
> | ||
<FontAwesomeIcon | ||
class="text-2xl" | ||
:icon="store().uiState.useDarkMode ? ['fas', 'sun'] : ['fas', 'moon']" | ||
/> | ||
</Button> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<style> | ||
@font-face { | ||
font-family: 'JetBrains Mono NL'; | ||
src: url('./fonts/jetbrains-mono/JetBrainsMonoNL-Light.ttf'); | ||
} | ||
@font-face { | ||
font-family: 'JetBrains Mono NL'; | ||
src: url('./fonts/jetbrains-mono/JetBrainsMonoNL-Bold.ttf'); | ||
font-weight: bold; | ||
} | ||
:root { | ||
--primary-color: #e2eafc; | ||
--primary-color-light: #edf2fb; | ||
--primary-color-dark: #d7e3fc; | ||
--secondary-color: #b6ccfe; | ||
--secondary-color-light: #c1d3fe; | ||
--secondary-color-dark: #abc4ff; | ||
--background-color: #ffffff; | ||
--on-primary-color: #303030; | ||
--on-secondary-color: #000000; | ||
--on-background-color: #303030; | ||
--shadow-color: #777777; | ||
} | ||
#app { | ||
font-family: Avenir, Helvetica, Arial, sans-serif; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
} | ||
<script setup lang="ts"> | ||
import { RouterView } from 'vue-router' | ||
import Button from './components/ButtonComponent.vue' | ||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome' | ||
import { library } from '@fortawesome/fontawesome-svg-core' | ||
import { faMoon, faSun } from '@fortawesome/free-solid-svg-icons' | ||
import store from './stores/store' | ||
html, | ||
body, | ||
#app { | ||
height: 100%; | ||
width: 100%; | ||
margin: 0; | ||
} | ||
</style> | ||
library.add(faMoon) | ||
library.add(faSun) | ||
</script> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
report-viewer/src/assets/keyboard_double_arrow_down_black_18dp.svg
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
report-viewer/src/assets/keyboard_double_arrow_left_black_18dp.svg
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
report-viewer/src/assets/keyboard_double_arrow_left_black_24dp.svg
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
report-viewer/src/assets/keyboard_double_arrow_up_black_18dp.svg
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!-- | ||
Base Component for Buttons | ||
--> | ||
<template> | ||
<Interactable | ||
class="px-2 py-1 flex items-center text-center justify-center" | ||
@click="(e) => $emit('click', e)" | ||
> | ||
<slot></slot> | ||
</Interactable> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import Interactable from './InteractableComponent.vue' | ||
|
||
defineEmits(['click']) | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.