Skip to content

Commit

Permalink
fix: UI improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
NGPixel committed Jul 21, 2019
1 parent 0c6472a commit 006fd59
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
6 changes: 3 additions & 3 deletions client/components/admin/admin-dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
.body-2(v-if='isLatestVersion') {{$t('admin:dashboard.versionLatest')}}
.body-2(v-else) {{$t('admin:dashboard.versionNew', { version: info.latestVersion })}}
v-flex(xs12, xl6)
v-card.radius-7
v-card.radius-7.animated.fadeInUp.wait-p2s
v-card-title.subheading(:class='$vuetify.dark ? `grey darken-2` : `grey lighten-5`') Recent Pages
v-data-table.pb-2(
:items='recentPages'
Expand All @@ -70,7 +70,7 @@
.caption: strong Updated {{ props.item.updatedAt | moment('from') }}
.caption Created {{ props.item.createdAt | moment('calendar') }}
v-flex(xs12, xl6)
v-card.radius-7
v-card.radius-7.animated.fadeInUp.wait-p4s
v-card-title.subheading(:class='$vuetify.dark ? `grey darken-2` : `grey lighten-5`') Most Popular Pages
v-data-table.pb-2(
:items='popularPages'
Expand All @@ -88,7 +88,7 @@
.caption Created {{ props.item.createdAt | moment('calendar') }}

v-flex(xs12)
v-card.dashboard-contribute
v-card.dashboard-contribute.animated.fadeInUp.wait-p4s
v-card-text
img(src='/svg/icon-heart-health.svg', alt='Contribute', style='height: 80px;')
.pl-3
Expand Down
1 change: 0 additions & 1 deletion client/scss/base/base.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
html {
box-sizing: border-box;
height: 100%;
background-color: mc('grey', '900');
}
*, *:before, *:after {
box-sizing: inherit;
Expand Down
14 changes: 14 additions & 0 deletions client/themes/default/scss/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,20 @@
}
}

@at-root .theme--dark & {
background-color: mc('grey', '900');
border-color: mc('grey', '700');

summary {
background-color: mc('grey', '900');
border-color: mc('grey', '700');
}

&[open] summary {
background-color: lighten(mc('grey', '900'), 5%);
}
}

}

}

0 comments on commit 006fd59

Please sign in to comment.