Commit 053e6f65 authored by christianrhansen's avatar christianrhansen

styling last column

parent 7569b9c4
Pipeline #50875 passed with stage
in 5 minutes and 38 seconds
......@@ -21,7 +21,7 @@
div.full-width(slot="item", slot-scope="props")
q-card.shadow-6.q-px-sm.custom-card.transition
q-card-main.q-py-none.q-px-none.text-grey-7
q-card-main.q-py-none.q-px-none.text-grey-6
template(v-for="prop in props.cols")
div(v-if="prop.name === 'title'")
......@@ -38,17 +38,14 @@
div(
v-if="prop.name !== 'title' && prop.name !== 'actions'",
:class="{'text-white bg-grey-9': prop.name === pagination.sortBy}")
:class="{'bg-grey-9': prop.name === pagination.sortBy}")
.q-caption
//
| {{ prop.label }}:
br
| {{ getTitle(props, prop) }}
div.text-right(style="flex: .25;")
div.text-right.transition
q-btn.bg-primary.text-white(flat, round, size="sm")
q-icon(name="keyboard_arrow_left")
q-popover(anchor="top left", self="top right", :offset="[8, 8]")
q-popover.bg-white(anchor="top left", self="top right", :offset="[8, 8]")
q-list.q-pa-none
q-item.q-pa-none(v-for="btn in config.actions")
q-btn.full-width(
......@@ -336,7 +333,7 @@
&:first-of-type
flex 2
&:last-of-type
display none
flex .25
.custom-card
.buttons
opacity 0
......@@ -345,10 +342,17 @@
opacity 1
.q-card-main
display flex
div
&> div
flex 1
&:first-of-type
flex 2
&:last-of-type
flex .25
opacity 0
&:hover
&> div
&:last-of-type
opacity 1
&:hover
background-color $grey-10
</style>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment