Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
80 changes: 45 additions & 35 deletions packages/docs/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -165,49 +165,59 @@
}
</script>

<style lang="sass">
a:not(:hover)
text-decoration: none
<style lang="scss">
a:not(:hover) {
text-decoration: none;
}

p
margin-bottom: 1rem
line-height: 1.8
p {
margin-bottom: 1rem;
line-height: 1.8;

a, a:visited
color: rgb(var(--v-theme-primary))
a, a:visited {
color: rgb(var(--v-theme-primary));
}
}

h1
+ p
font-size: 1.25rem
font-weight: 300
h1 {
+ p {
font-size: 1.25rem;
font-weight: 300;
}
}

ul:not([class]),
ol:not([class])
padding-left: 20px
ol:not([class]) {
padding-left: 20px;
}

ul:not([class]):not(li > ul)
margin-bottom: 16px
ul:not([class]):not(li > ul) {
margin-bottom: 16px;
}

// Theme transition
.app-copy
position: fixed !important
z-index: -1 !important
pointer-events: none !important
contain: size style !important
overflow: clip !important

.app-transition
--clip-size: 0
--clip-pos: 0 0
clip-path: circle(var(--clip-size) at var(--clip-pos))
transition: clip-path .35s ease-out
.app-copy {
position: fixed !important;
z-index: -1 !important;
pointer-events: none !important;
contain: size style !important;
overflow: clip !important;
}

.app-transition {
--clip-size: 0;
--clip-pos: 0 0;
clip-path: circle(var(--clip-size) at var(--clip-pos));
transition: clip-path .35s ease-out;
}
</style>

<style lang="sass" scoped>
.pwa-loader
position: fixed
top: 0
left: 0
right: 0
z-index: 1010
<style lang="scss" scoped>
.pwa-loader {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1010;
}
</style>
10 changes: 6 additions & 4 deletions packages/docs/src/components/Alert.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@
})
</script>

<style lang="sass">
.v-alert--doc
.v-alert__content p:last-child
margin-bottom: 0 !important
<style lang="scss">
.v-alert--doc {
.v-alert__content p:last-child {
margin-bottom: 0 !important;
}
}
</style>
13 changes: 8 additions & 5 deletions packages/docs/src/components/about/TeamMember.vue
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,12 @@
}
</script>

<style lang="sass">
.team-member
.v-markdown
> p
margin: 0
<style lang="scss">
.team-member {
.v-markdown {
> p {
margin: 0;
}
}
}
</style>
58 changes: 34 additions & 24 deletions packages/docs/src/components/api/Section.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,30 +93,40 @@
watch(() => props.name, fetchApiData)
</script>

<style lang="sass">
.api-table
.regular-row td
padding: 8px 16px !important

.regular-row.has-extra-row td
border-bottom: none !important

.extra-row:hover
background: initial !important

.extra-row td
padding: 8px 0 !important

.v-markdown :deep(p)
margin-bottom: 0

.token.operator
background: none
<style lang="scss">
.api-table {
.regular-row td {
padding: 8px 16px !important;
}

.regular-row.has-extra-row td {
border-bottom: none !important;
}

.extra-row:hover {
background: initial !important;
}

.extra-row td {
padding: 8px 0 !important;
}

.v-markdown :deep(p) {
margin-bottom: 0;
}

.token.operator {
background: none;
}
}

.name-item
white-space: nowrap
.name-item {
white-space: nowrap;

&:not(:hover):not(:focus)
span
opacity: 0
&:not(:hover):not(:focus) {
span {
opacity: 0;
}
}
}
</style>
31 changes: 17 additions & 14 deletions packages/docs/src/components/app/Heading.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,23 @@
const classes = computed(() => ['v-heading', 'mb-2', HEADING_CLASSES[props.level]])
</script>

<style lang="sass">
.v-heading
display: inline-block
position: relative
<style lang="scss">
.v-heading {
display: inline-block;
position: relative;

> a
bottom: 0
font-size: .75em
left: 0
margin: 0 -.7em
position: absolute
right: 0
top: 0
> a {
bottom: 0;
font-size: .75em;
left: 0;
margin: 0 -.7em;
position: absolute;
right: 0;
top: 0;

&:not(:hover):not(:focus)
opacity: 0
&:not(:hover):not(:focus) {
opacity: 0;
}
}
}
</style>
10 changes: 6 additions & 4 deletions packages/docs/src/components/app/Link.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@
const tag = computed(() => isExternal.value ? 'a' : 'router-link')
</script>

<style lang="sass">
.app-link
p
margin-bottom: 0
<style lang="scss">
.app-link {
p {
margin-bottom: 0;
}
}
</style>
Loading