forked from bcgov/supreme-court-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #103 from bcgov/nav-bar-and-stylings
JASPER: 176: Vuetify NavBar/Styling
- Loading branch information
Showing
11 changed files
with
102 additions
and
46 deletions.
There are no files selected for viewing
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,18 +1,23 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head lang="en"> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0"> | ||
<link rel="icon" href="./favicon.ico"> | ||
<head lang="en"> | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0" /> | ||
<link rel="stylesheet" href="./styles/fonts.css" /> | ||
<link rel="stylesheet" href="./styles/common.css" /> | ||
<link rel="icon" href="./favicon.ico" /> | ||
<title>JASPER</title> | ||
</head> | ||
<body> | ||
</head> | ||
<body> | ||
<noscript> | ||
<strong>We're sorry but SCV.App doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> | ||
<strong> | ||
We're sorry but JASPER doesn't work properly without JavaScript enabled. | ||
Please enable it to continue. | ||
</strong> | ||
</noscript> | ||
<div id="app"></div> | ||
<script type="module" src="./src/main.ts"></script> | ||
<!-- built files will be auto injected --> | ||
</body> | ||
</body> | ||
</html> |
Binary file not shown.
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,9 @@ | ||
a:hover { | ||
color: inherit !important; | ||
} | ||
|
||
select { | ||
-webkit-appearance: auto !important; | ||
appearance: auto !important; | ||
border-style: solid !important; | ||
} |
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,9 @@ | ||
@font-face { | ||
font-family: 'WorkSans-Regular'; | ||
font-style: normal; | ||
src: url('WorkSans-Regular.ttf') format('truetype'); | ||
} | ||
|
||
html { | ||
font-family: 'WorkSans-Regular', 'Work Sans', sans-serif; | ||
} |
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,30 +1,35 @@ | ||
<template> | ||
<div class="app-outer fill-body" id="app"> | ||
<navigation-topbar /> | ||
<router-view /> | ||
<navigation-footer id="footer" /> | ||
</div> | ||
<v-app> | ||
<v-app-bar app> | ||
<v-app-bar-title> | ||
<router-link to="/"> JASPER </router-link> | ||
</v-app-bar-title> | ||
<v-tabs align-tabs="start"> | ||
<v-tab to="/dashboard">Dashboard</v-tab> | ||
<v-tab to="/court-list">Court list</v-tab> | ||
<v-tab to="/court-file-search">Court file search</v-tab> | ||
</v-tabs> | ||
</v-app-bar> | ||
<v-main> | ||
<router-view /> | ||
</v-main> | ||
</v-app> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import NavigationFooter from '@components/NavigationFooter.vue'; | ||
import NavigationTopbar from '@components/NavigationTopbar.vue'; | ||
import { defineComponent } from 'vue'; | ||
export default defineComponent({ | ||
name: 'App', | ||
components: { | ||
NavigationTopbar, | ||
NavigationFooter, | ||
}, | ||
}); | ||
</script> | ||
|
||
<style> | ||
/* todo: remove */ | ||
select { | ||
-webkit-appearance: auto !important; | ||
appearance: auto !important; | ||
border-style: solid !important; | ||
.v-tabs { | ||
flex: 10; | ||
} | ||
.v-app-bar-title a { | ||
text-decoration: none; | ||
color: inherit; | ||
} | ||
</style> |
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
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,5 @@ | ||
import vuetify from './vuetify'; | ||
|
||
export function registerPlugins(app) { | ||
app.use(vuetify); | ||
} |
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,33 @@ | ||
import { createVuetify } from 'vuetify'; | ||
import * as components from 'vuetify/components'; | ||
import { VBtn } from 'vuetify/components'; | ||
import * as directives from 'vuetify/directives'; | ||
import 'vuetify/styles'; | ||
|
||
// https://vuetifyjs.com/en/introduction/why-vuetify/#feature-guides | ||
|
||
export default createVuetify({ | ||
components, | ||
directives, | ||
aliases: { | ||
VBtnSecondary: VBtn, | ||
VBtnTertiary: VBtn, | ||
}, | ||
defaults: { | ||
VBtn: { | ||
rounded: true, | ||
variant: 'flat', | ||
class: 'text-none', | ||
}, | ||
VBtnSecondary: { | ||
rounded: true, | ||
variant: 'outlined', | ||
class: 'text-none', | ||
}, | ||
VBtnTertiary: { | ||
rounded: true, | ||
variant: 'outlined', | ||
class: 'text-none', | ||
}, | ||
}, | ||
}); |
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 |
---|---|---|
|
@@ -75,4 +75,7 @@ export default defineConfig({ | |
}, | ||
}, | ||
}, | ||
optimizeDeps: { | ||
exclude: ['bootstrap-vue-next'], | ||
}, | ||
}); |