Commit dec4ff68 authored by christianrhansen's avatar christianrhansen

styling

parent bd96cc08
Pipeline #50746 passed with stage
in 3 minutes and 50 seconds
......@@ -28,22 +28,25 @@
.col(
v-if="prop.name !== 'title' && prop.name !== 'actions'",
:class="{'text-white': prop.name === pagination.sortBy}")
//
| {{ prop.label }}:
br
| {{ getTitle(props, prop) }}
.q-pl-md.q-py-xs.q-caption
//
| {{ prop.label }}:
br
| {{ getTitle(props, prop) }}
q-card-separator
q-card-title.q-py-sm
template(v-if="customTitleLink")
q-btn(type="a", color="primary", :to="getCustomLink(customTitleLink, props.row._uuid)", flat)
q-btn(type="a", color="primary", :to="getCustomLink(customTitleLink, props.row._uuid)", flat,
:class="{'text-white': pagination.sortBy === 'title'}")
promise-span(:value="props.row.title")
template(v-else)
q-btn(v-if="hasShow", type="a", color="primary", :to="getViewLink(props.row._uuid)", flat)
q-btn(v-if="hasShow", type="a", color="primary", :to="getViewLink(props.row._uuid)", flat,
:class="{'text-white': pagination.sortBy === 'title'}")
promise-span(:value="props.row.title")
promise-span(v-if="!hasShow", :value="props.row.title")
promise-span(v-if="!hasShow", :value="props.row.title", :class="{'text-white': pagination.sortBy === 'title'}")
q-card-separator
......@@ -273,12 +276,16 @@
thead
tr
height auto
th
// display inline-block!important
border-radius 100vw
padding-left 16px
padding-right 16px
&.sorted
background-color white
color $grey-8
display flex
th
// display inline-block!important
border-radius 100vw
padding-left 16px
padding-right 16px
flex 1
&.sorted
background-color white
color $grey-8
&:last-of-type
display none
</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