forked from nayarahilton/vue-pwa-profil
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
lucasjs
committed
Nov 8, 2017
1 parent
e20e7c2
commit a4bfbdd
Showing
3 changed files
with
91 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,4 +40,7 @@ export default { | |
svg | ||
width 20px | ||
height 20px | ||
main | ||
padding 20px | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<template> | ||
<header class="status-bar"> | ||
<a | ||
:href="link" | ||
class="status-bar__link" | ||
> | ||
< | ||
</a> | ||
<h1 | ||
class="status-bar__title" | ||
> | ||
{{ title }} | ||
</h1> | ||
</header> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
props: { | ||
link: { | ||
type: String, | ||
}, | ||
title: { | ||
required: true, | ||
type: String, | ||
}, | ||
}, | ||
}; | ||
</script> | ||
|
||
<style lang="stylus" scoped> | ||
@import '../assets/styles/_mixins' | ||
@import '../assets/styles/_colors' | ||
.status-bar | ||
height 60px | ||
linear_gradient(left, lightness($dark-pink, 40%), lightness($blue, 50%)) | ||
padding 0 20px | ||
&__link | ||
color #fff | ||
display inline | ||
line-height 60px | ||
margin-right 10px | ||
&__title | ||
color #fff | ||
font-size 18pt | ||
font-weight 300 | ||
line-height 60px | ||
display inline | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters