11<template lang="pug">
2- v-toolbar .top-bar ( app light color ="white" dense flat fixed align-center :class ="{'scrolled': offsetTop > 104}" )
3- v-toolbar-title
2+ v-app-bar .top-bar ( app light color ="white" dense text fixed align-center :class ="{'scrolled': offsetTop > 104}" )
3+ v-toolbar-title.top-bar__title
44 h1.primary--text
5- a.v-toolbar__logo -link ( href ="#top" )
6- svg.v-toolbar__logo ( xmlns ="http://www.w3.org/2000/svg" xmlns:xlink ="http://www.w3.org/1999/xlink" viewBox ="0 0 442 442" )
5+ a.top-bar__logo -link ( href ="#top" )
6+ svg.top-bar__logo ( xmlns ="http://www.w3.org/2000/svg" xmlns:xlink ="http://www.w3.org/1999/xlink" viewBox ="0 0 442 442" )
77 path( d ="M166.6 225.2c4 16 27.3 26.3 59.5 26.3 24 0 39.3-8.8 45.6-17a19.7 19.7 0 0 0 3.5-18c-3.6-13-22.4-19.3-52.8-28.2l-8.5-2.5c-31-9-66.3-19.3-73.7-46.2a43.3 43.3 0 0 1 8.5-39.8 10 10 0 0 0-7.8-16.4h-35a10 10 0 0 0-7.7 3.5l-43 50a10 10 0 0 0 0 13l74.3 86.4a10 10 0 0 0 17.5-7.7 10 10 0 0 1 19.6-3.4zm-16.9-26.7c-6.9 1.7-12.7 5.7-16.8 11.1l-57-66.2 34.5-40h13a62.7 62.7 0 0 0-2.5 41.6c10.5 37.6 53.1 50 87.4 60l8.5 2.5c8.5 2.5 18.1 5.3 26 8.3a45.3 45.3 0 0 1 13 6.5c-2.8 3.7-13 9.2-29.7 9.2-27.2 0-39-8.3-40-11a30 30 0 0 0-36.4-22zM263.2 264.5a97 97 0 0 1-37.1 7c-18.8 0-35.8-3.2-49.1-9.3a10 10 0 0 0-11.8 15.6l48.2 56a10 10 0 0 0 15.2 0l46-53.5a10 10 0 0 0-11.4-15.8zM221 312l-19-22a167.4 167.4 0 0 0 37.2 1l-18.2 21z" )
88 path( d ="M336.2 83.4h-36.6a10 10 0 0 0-7.5 16.6 44.8 44.8 0 0 1 11.4 30.3 10 10 0 0 1-20 0c0-25.3-34.2-36.6-68.1-36.6-27.3 0-44.7 10-51.8 19.5a23 23 0 0 0-4.1 21c4.1 15 27.5 23 60 32.4l8.5 2.5c30.6 9 59.6 17.4 66.4 42 1.6 5.6 2 11.1 1.2 16.6a10 10 0 0 0 17.5 7.9l73.7-85.6a10 10 0 0 0 0-13l-43-50a10 10 0 0 0-7.6-3.6zm-22.8 121.2c-10.3-34.5-47.2-45.2-79.8-54.7l-8.5-2.5c-10-2.9-21.2-6.2-30.7-10-12.5-4.9-15.3-8.1-15.7-8.7-.4-1.4-.3-2 .8-3.4 3-4 14.4-11.6 35.9-11.6 27.5 0 48.1 8.8 48.1 16.6a30 30 0 0 0 60 0c0-9.5-2-18.5-5.7-26.9h13.8l34.4 40-52.6 61.2z" )
99 path( d ="M439.6 137L362 47a10 10 0 0 0-7.6-3.6h-267a10 10 0 0 0-7.6 3.5L2.4 137a10 10 0 0 0 0 13l211 245.2a10 10 0 0 0 15.2 0l211-245.1a10 10 0 0 0 0-13zM221 373.1L23.2 143.4l68.9-80h257.8l69 80L221 373.2z" )
10- div.v-toolbar__logo -title Vueper Slides
10+ div.top-bar__logo -title Vueper Slides
1111 span.intro A Vue Super Slideshow / Carousel
12- v-toolbar-items.v-toolbar__items
12+ v-toolbar-items.top-bar__items
1313 v-menu( offset-y open-on-hover left attach transition ="slide-y-transition" )
14- v-btn( flat color ="secondary" href ="#vueper-slides--api" slot ="activator" )
15- v-icon school
16- |
17- span Doc
14+ template( v-slot:activator ="{ on }" )
15+ v-btn( text color ="secondary" href ="#vueper-slides--api" v-on ="on" )
16+ v-icon school
17+ |
18+ span Doc
1819 v-list.no-wrap
1920 v-list-tile( color ="secondary" href ="#installation" ) Installation
2021 v-list-tile( color ="secondary" href ="#how-to-use" ) How To Use
@@ -30,10 +31,11 @@ v-toolbar.top-bar(app light color="white" dense flat fixed align-center :class="
3031 v-list-tile( color ="secondary" href ="#styling" ) Styling
3132 v-list-tile( color ="secondary" href ="#notable-version-changes" ) Notable Version Changes
3233 v-menu( offset-y open-on-hover left attach transition ="slide-y-transition" )
33- v-btn( flat color ="secondary" href ="#examples" slot ="activator" )
34- v-icon apps
35- |
36- span Examples
34+ template( v-slot:activator ="{ on }" )
35+ v-btn( text color ="secondary" href ="#examples" slot ="activator" v-on ="on" )
36+ v-icon apps
37+ |
38+ span Examples
3739 v-list.no-wrap
3840 v-list-tile( color ="secondary" href ="#ex--simplest-ever" ) Simplest Ever
3941 v-list-tile( color ="secondary" href ="#ex--basic" ) Basic with Autoplay
@@ -81,14 +83,14 @@ $primary: #ff5252;
8183$secondary : #42b983 ;
8284$lighter-text : #ccc ;
8385
84- .v-toolbar {
86+ .top-bar {
8587 z-index : 100 ;
8688 position : absolute ;
8789 border-bottom : 1px solid transparent !important ;
8890 transition : 0.3s ease-in-out all , 0.1s 0s ease-in-out border-color ;
8991 top : 0 ;
9092
91- & __content {
93+ .v-toolbar__content {
9294 padding-left : 0 ;
9395 padding-right : 0 ;
9496 }
@@ -209,24 +211,24 @@ $lighter-text: #ccc;
209211 border-bottom-color : $lighter-text !important ;
210212 position : fixed ;
211213
212- & .v-toolbar__title {
214+ & .top-bar__title {
213215 width : 100% ;
214216 transition : 0.6s ease-in-out all , 0.3s 0.3s ease-in-out background-color ;
215217 }
216218
217- & .v-toolbar__logo {
219+ & .top-bar__logo {
218220 width : 37px ;
219221 }
220222
221- & .v-toolbar__logo -title {
223+ & .top-bar__logo -title {
222224 font-size : 0.7em ;
223225 }
224226
225- & .v-toolbar__logo -title :after {
227+ & .top-bar__logo -title :after {
226228 opacity : 0 ;
227229 }
228230
229- & .v-toolbar__items {
231+ & .top-bar__items {
230232 transition : 0.3s 0.3s ease-in-out all ;
231233 transform : translateX (0% );
232234 opacity : 1 ;
@@ -242,11 +244,11 @@ $lighter-text: #ccc;
242244}
243245
244246@media screen and (max-width : 449px ) {
245- .v-toolbar__items .v-btn {
247+ .top-bar__items .v-btn {
246248 min-width : 50px ;
247249 }
248250
249- .v-toolbar__items a .v-btn__content span {
251+ .top-bar__items a .v-btn__content span {
250252 display : none ;
251253 }
252254}
0 commit comments