Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions src/.vuepress/components/BetaBanner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,18 @@ export default {}
<template>
<aside class="beta-banner">
<p>
⚠️ Beta Version: Docs are still under development and are subject to
change.
⚠️ Beta Version: Docs are in development and subject to change.
</p>
</aside>
</template>

<style lang="scss" scoped>
@import '../theme/styles/mixins.scss';

.beta-banner {
position: fixed;
z-index: 20;
top: 3.6rem;
top: 0;
left: 0;
right: 0;
display: flex;
Expand All @@ -24,14 +25,22 @@ export default {}
background-color: #fffedb;
box-sizing: border-box;
border-bottom: 1px solid #eaecef;
font-weight: bold;
text-align: center;
padding: 10px 20px;
box-sizing: border-box;

p {
margin: 0;
line-height: 1.4;
font-size: 0.7rem;
font-weight: 600;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;

@include breakpoint(700px) {
font-size: 0.8rem;
}
}
}
</style>
2 changes: 1 addition & 1 deletion src/.vuepress/theme/components/DropdownLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default {
line-height 1.4rem
background transparent
border none
font-weight 500
font-weight 600
color $textColor
&:hover
border-color transparent
Expand Down
1 change: 1 addition & 0 deletions src/.vuepress/theme/components/NavLinks.vue
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export default {
a
line-height 1.4rem
color inherit
font-weight 600
&:hover, &.router-link-active
color $accentColor
.nav-item
Expand Down
2 changes: 1 addition & 1 deletion src/.vuepress/theme/components/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default {
font-size 1.1em
padding 0.5rem 0 0.5rem 1.5rem
& > .sidebar-links
padding calc(1.5rem + 3rem) 0 // add $betaBannerHeight
padding 1.5rem 0
& > li > a.sidebar-link
font-size 1.1em
line-height 1.7
Expand Down
2 changes: 1 addition & 1 deletion src/.vuepress/theme/styles/index.styl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ body
.navbar
position fixed
z-index 20
top 0
top 37px
left 0
right 0
height $navbarHeight
Expand Down