Little tweaks to capability edition form.

This commit is contained in:
Mateus Machado Luna 2019-12-19 16:35:36 -03:00
parent b5fbaccbd0
commit aabc487914
1 changed files with 14 additions and 6 deletions

View File

@ -40,8 +40,10 @@
<b-field :addons="false">
<label class="label is-inline-block">
{{ $i18n.get('label_inherited_roles') }}
<help-button
:title="$i18n.get('label_inherited_roles')"
:message="$i18n.get('info_inherited_roles')"/>
</label>
<p>{{ $i18n.get('info_inherited_roles') }}</p>
<br>
<div class="roles-list">
<b-checkbox
@ -121,16 +123,26 @@ export default {
</script>
<style lang="scss" scoped>
@import "../../scss/_variables.scss";
.capabilities-edit-form {
min-height: 120px;
vertical-align: top;
display: flex;
align-items: flex-end;
&>div {
padding: 12px 24px;
&:last-of-type {
border-left: 1px solid #cbcbcb;
background-color: $yellow1;
color: $yellow2;
.label ,
.control-label,
.check {
color: $yellow2;
}
}
}
.roles-list {
@ -145,10 +157,6 @@ export default {
.roles-list {
column-count: 1;
}
&>div:last-of-type {
border-left: 0px solid #cbcbcb;
border-top: 0px solid #cbcbcb;
}
}
}
</style>