classless scoped styling

This commit is contained in:
Jörn-Michael Miehe 2022-09-12 11:36:46 +00:00
parent d0ccbb8dd0
commit bbddadef64

View file

@ -1,15 +1,15 @@
<template> <template>
<v-toolbar color="primary" style="user-select: none" prominent dark> <v-toolbar color="primary" prominent dark>
<v-container class="d-flex pa-0" fluid fill-height> <v-container class="d-flex pa-0" fluid fill-height>
<div class="d-flex justify-start slim text-left text-no-wrap"> <div class="d-flex justify-start text-left text-no-wrap">
<THWLogo /> <THWLogo />
</div> </div>
<div class="d-flex justify-center text-center mx-auto thw-heading-font"> <div class="d-flex justify-center text-center mx-auto text-h6 text-md-h5">
<slot> <h1>TITLE</h1> </slot> <slot> <h1>TITLE</h1> </slot>
</div> </div>
<div class="d-none d-sm-flex justify-end slim text-right text-no-wrap"> <div class="d-none d-sm-flex justify-end text-right text-no-wrap">
<div class="flex-column"> <div class="flex-column">
<Clock <Clock
class="d-flex justify-end font-weight-light text-h6 text-md-h5" class="d-flex justify-end font-weight-light text-h6 text-md-h5"
@ -40,7 +40,12 @@ export default class TitleBar extends Vue {}
</script> </script>
<style scoped> <style scoped>
.slim { .v-toolbar {
user-select: none;
}
.container > div:first-child,
.container > div:last-child {
max-width: 0; max-width: 0;
} }
</style> </style>