Skip to content

Commit ca2f7aa

Browse files
committed
chore: add css classes on page sidebar cards
1 parent 0a2a32d commit ca2f7aa

File tree

1 file changed

+7
-7
lines changed
  • client/themes/default/components

1 file changed

+7
-7
lines changed

client/themes/default/components/page.vue

+7-7
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
v-container.pl-5.pt-4(fluid, grid-list-xl)
7676
v-layout(row)
7777
v-flex.page-col-sd(lg3, xl2, v-if='$vuetify.breakpoint.lgAndUp')
78-
v-card.mb-5(v-if='tocDecoded.length')
78+
v-card.page-toc-card.mb-5(v-if='tocDecoded.length')
7979
.overline.pa-5.pb-0(:class='$vuetify.theme.dark ? `blue--text text--lighten-2` : `primary--text`') {{$t('common:page.toc')}}
8080
v-list.pb-3(dense, nav, :class='$vuetify.theme.dark ? `darken-3-d3` : ``')
8181
template(v-for='(tocItem, tocIdx) in tocDecoded')
@@ -89,7 +89,7 @@
8989
v-list-item-title.px-3.caption.grey--text(:class='$vuetify.theme.dark ? `text--lighten-1` : `text--darken-1`') {{tocSubItem.title}}
9090
//- v-divider(inset, v-if='tocIdx < toc.length - 1')
9191
92-
v-card.mb-5(v-if='tags.length > 0')
92+
v-card.page-tags-card.mb-5(v-if='tags.length > 0')
9393
.pa-5
9494
.overline.teal--text.pb-2(:class='$vuetify.theme.dark ? `text--lighten-3` : ``') {{$t('common:page.tags')}}
9595
v-chip.mr-1.mb-1(
@@ -109,7 +109,7 @@
109109
)
110110
v-icon(:color='$vuetify.theme.dark ? `teal lighten-3` : `teal`', size='20') mdi-tag-multiple
111111

112-
v-card.mb-5(v-if='commentsEnabled && commentsPerms.read')
112+
v-card.page-comments-card.mb-5(v-if='commentsEnabled && commentsPerms.read')
113113
.pa-5
114114
.overline.pb-2.blue-grey--text.d-flex.align-center(:class='$vuetify.theme.dark ? `text--lighten-3` : `text--darken-2`')
115115
span {{$t('common:comments.sdTitle')}}
@@ -145,7 +145,7 @@
145145
v-icon(:color='$vuetify.theme.dark ? `blue-grey lighten-1` : `blue-grey darken-2`', dense) mdi-comment-plus
146146
span {{$t('common:comments.newComment')}}
147147

148-
v-card.mb-5
148+
v-card.page-author-card.mb-5
149149
.pa-5
150150
.overline.indigo--text.d-flex(:class='$vuetify.theme.dark ? `text--lighten-3` : ``')
151151
span {{$t('common:page.lastEditedBy')}}
@@ -162,8 +162,8 @@
162162
)
163163
v-icon(color='indigo', dense) mdi-history
164164
span {{$t('common:header.history')}}
165-
.body-2.grey--text(:class='$vuetify.theme.dark ? `` : `text--darken-3`') {{ authorName }}
166-
.caption.grey--text.text--darken-1 {{ updatedAt | moment('calendar') }}
165+
.page-author-card-name.body-2.grey--text(:class='$vuetify.theme.dark ? `` : `text--darken-3`') {{ authorName }}
166+
.page-author-card-date.caption.grey--text.text--darken-1 {{ updatedAt | moment('calendar') }}
167167

168168
//- v-card.mb-5
169169
//- .pa-5
@@ -178,7 +178,7 @@
178178
//- )
179179
//- .caption.grey--text 5 votes
180180
181-
v-card(flat)
181+
v-card.page-shortcuts-card(flat)
182182
v-toolbar(:color='$vuetify.theme.dark ? `grey darken-4-d3` : `grey lighten-3`', flat, dense)
183183
v-spacer
184184
v-tooltip(bottom)

0 commit comments

Comments
 (0)