Skip to content

Commit

Permalink
Merge pull request #139 from bcgov/sc3004
Browse files Browse the repository at this point in the history
adjust and remove heading css
  • Loading branch information
jujaga authored Oct 24, 2023
2 parents 7cb5dba + cf2fd6d commit 4f22385
Show file tree
Hide file tree
Showing 18 changed files with 32 additions and 57 deletions.
5 changes: 5 additions & 0 deletions frontend/src/assets/primevue.scss
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,8 @@
padding: .25rem .75rem;
font-weight: normal;
}

h1, h2, h3, h4, h5 {
font-weight: 600;
line-height: 1.2em;
}
3 changes: 0 additions & 3 deletions frontend/src/components/bucket/BucketList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,6 @@ onMounted(async () => {
</template>

<style lang="scss" scoped>
h1 {
font-weight: bold;
}
button {
text-indent: 10px;
Expand Down
5 changes: 2 additions & 3 deletions frontend/src/components/bucket/BucketSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ watch(props, () => {
<div class="pl-2 sidebar">
<div class="grid details-grid grid-nogutter">
<div class="col-12">
<h2 class="font-bold">
<h2>
Properties
</h2>
</div>
Expand All @@ -110,7 +110,7 @@ watch(props, () => {
</div>
<div class="grid details-grid grid-nogutter">
<div class="col-12">
<h2 class="font-bold">
<h2>
Access
</h2>
</div>
Expand All @@ -129,7 +129,6 @@ watch(props, () => {
<style lang="scss" scoped>
h1 {
padding-left: 1rem;
font-weight: bold;
}
h2 {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/object/ObjectAccess.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ watch(props, () => {
class="grid details-grid grid-nogutter mb-2"
>
<div class="col-12">
<h2 class="font-bold">
<h2>
Access
</h2>
</div>
Expand Down
10 changes: 4 additions & 6 deletions frontend/src/components/object/ObjectFileDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,9 @@ watch( [props, getObjects], async () => {
<div class="grid pol-0">
<div class="col-12">
<h1
class="pl-1 font-bold heading"
class="pl-1 heading"
>
<span>
File details
</span>
File details
</h1>
</div>
<div class="flex col justify-content-start">
Expand All @@ -150,9 +148,9 @@ watch( [props, getObjects], async () => {
icon="fa-solid fa-circle-info"
style="font-size: 2rem"
/>
<h1 class="pl-1 font-bold">
<h2 class="pl-1">
{{ obj.name }}
</h1>
</h2>
</div>

<div
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/object/ObjectMetadata.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ watch([props, tsGetMetadata,vsGetMetadata] , () => {
<template>
<div class="grid details-grid grid-nogutter mb-2">
<div class="col-12">
<h2 class="font-bold">
<h2>
Metadata
</h2>
</div>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/object/ObjectMetadataTagForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ onBeforeMount(() => {
<!-- TODO: Wrap these field arrays into a common key/value pair component? -->
<div class="grid">
<div class="col-12">
<h2 class="font-bold">
<h2>
Metadata
</h2>
</div>
Expand Down Expand Up @@ -142,7 +142,7 @@ onBeforeMount(() => {
<span v-if="tagsetEditable">
<div class="grid">
<div class="col-12">
<h2 class="font-bold">
<h2>
Tags
</h2>
</div>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/object/ObjectProperties.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ watch( props, () => {
<template>
<div class="grid details-grid grid-nogutter mb-2">
<div class="col-12">
<h2 class="font-bold">
<h2>
Properties
</h2>
</div>
Expand Down
1 change: 0 additions & 1 deletion frontend/src/components/object/ObjectSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ watch( props, () => {
<style lang="scss" scoped>
h1 {
padding-left: 1rem;
font-weight: bold;
}
h2 {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/object/ObjectTag.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ watch( [props, tsGetTagging, vsGetTagging], () => {
class="grid details-grid grid-nogutter mb-2"
>
<div class="col-12">
<h2 class="font-bold">
<h2>
Tags
</h2>
</div>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/object/ObjectVersion.vue
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ watch( getVersions, async () => {
<template>
<div class="grid details-grid grid-nogutter mb-2">
<div class="col-12">
<h2 class="font-bold">
<h2>
Versions
</h2>
</div>
Expand Down
5 changes: 0 additions & 5 deletions frontend/src/views/DeveloperView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,3 @@ const { getConfig } = storeToRefs(useConfigStore());
</div>
</template>

<style lang="scss" scoped>
h3 {
margin-top: 1em;
}
</style>
13 changes: 2 additions & 11 deletions frontend/src/views/Forbidden.vue
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
<script setup lang="ts" />

<template>
<h3>
<h1>
Forbidden.
</h3>
</h1>
</template>

<style lang="scss" scoped>
h1 {
font-weight: bold;
}
h3 {
font-weight: bold;
}
</style>
12 changes: 6 additions & 6 deletions frontend/src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const { getConfig } = storeToRefs(useConfigStore());

<div class="flex flex-column mr-8 ml-8">
<div class="flex justify-content-center mb-5">
<h1 class="font-bold">
<h1>
Store and share files in BCBox
</h1>
</div>
Expand Down Expand Up @@ -59,7 +59,7 @@ const { getConfig } = storeToRefs(useConfigStore());
/>
</div>
<div class="flex justify-content-center mb-5">
<h2 class="font-bold">
<h2>
Ongoing feature enhancements
</h2>
</div>
Expand All @@ -74,7 +74,7 @@ const { getConfig } = storeToRefs(useConfigStore());
<div class="grid mb-8">
<div class="col-6 pr-5">
<div class="flex align-items-left mb-2">
<h2 class="font-bold">
<h2>
Upload and download objects
</h2>
</div>
Expand All @@ -99,7 +99,7 @@ const { getConfig } = storeToRefs(useConfigStore());
<div class="grid mb-8">
<div class="col-6 pr-5">
<div class="flex align-items-left mb-2">
<h2 class="font-bold">
<h2>
Manage access and share
</h2>
</div>
Expand All @@ -125,7 +125,7 @@ const { getConfig } = storeToRefs(useConfigStore());
</div>
</div>
<div class="flex justify-content-center mb-5">
<h2 class="font-bold">
<h2>
Versioning, metadata, tagging, syncing with existing buckets and more
</h2>
</div>
Expand All @@ -150,7 +150,7 @@ const { getConfig } = storeToRefs(useConfigStore());
</router-link>
</div>
<div class="flex justify-content-center mb-5">
<h2 class="font-bold">
<h2>
Terms of Use
</h2>
</div>
Expand Down
13 changes: 2 additions & 11 deletions frontend/src/views/NotFound.vue
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
<script setup lang="ts" />

<template>
<h3>
<h1>
Not found.
</h3>
</h1>
</template>

<style lang="scss" scoped>
h1 {
font-weight: bold;
}
h3 {
font-weight: bold;
}
</style>
2 changes: 1 addition & 1 deletion frontend/src/views/oidc/OidcCallbackView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ onMounted(async () => {
</template>

<style lang="scss" scoped>
h2 {
h1 {
margin-top: 10rem;
text-align: center;
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/oidc/OidcLoginView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ onMounted(() => {
</template>

<style lang="scss" scoped>
h2 {
h1 {
margin-top: 10rem;
text-align: center;
}
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/views/oidc/OidcLogoutView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ onMounted(async () => {
</script>

<template>
<h2>Logging out...</h2>
<h1>Logging out...</h1>
<Spinner />
</template>

<style lang="scss" scoped>
h2 {
h1 {
margin-top: 10rem;
text-align: center;
}
Expand Down

0 comments on commit 4f22385

Please sign in to comment.