release v2.0.0 #4
|
@ -22,9 +22,9 @@
|
||||||
/>
|
/>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
<q-separator />
|
<q-separator />
|
||||||
<q-card-section v-if="role" class="fit row justify-start content-center items-center">
|
<q-card-section v-if="role">
|
||||||
<q-scroll-area style="height: 20em; width: 100%">
|
<q-input v-if="role.id !== -1" v-model="newRoleName" filled label="neuer Name" />
|
||||||
<q-input v-if="role.id != -1" v-model="newRoleName" filled label="neuer Name" />
|
<q-scroll-area style="height: 40vh; width: 100%" class="background-like-input">
|
||||||
<q-option-group
|
<q-option-group
|
||||||
:model-value="role.permissions"
|
:model-value="role.permissions"
|
||||||
:options="permissions"
|
:options="permissions"
|
||||||
|
@ -143,3 +143,18 @@ export default defineComponent({
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style lang="sass" scoped>
|
||||||
|
// Same colors like qinput with filled attribute set
|
||||||
|
.body--light .background-like-input
|
||||||
|
background-color: rgba(0, 0, 0, 0.05)
|
||||||
|
&:hover
|
||||||
|
background: rgba(0,0,0,.1)
|
||||||
|
border-bottom: 1px solid rgba(0, 0, 0, 0.42)
|
||||||
|
|
||||||
|
.body--dark .background-like-input
|
||||||
|
background-color: rgba(255, 255, 255, 0.07)
|
||||||
|
&:hover
|
||||||
|
background: rgba(255, 255, 255, 0.14)
|
||||||
|
border-bottom: 1px solid #fff
|
||||||
|
</style>
|
Loading…
Reference in New Issue