MusareHeader.vue 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <template>
  2. <header>
  3. <div class="header-inner">
  4. <div class="title">Musare</div>
  5. <div class="link">Account&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-caret-down" aria-hidden="true"></i></div>
  6. <div class="link">Donate</div>
  7. <div class="link">The Project</div>
  8. </div>
  9. </header>
  10. </template>
  11. <script>
  12. export default {
  13. data() {
  14. return {
  15. title: "Musare ;)"
  16. }
  17. }
  18. }
  19. </script>
  20. <style lang="sass" scoped>
  21. header {
  22. width: 100%;
  23. height: 64px;
  24. line-height: 64px;
  25. text-align: center;
  26. box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  27. }
  28. .header-inner {
  29. width: 100%;
  30. height: 100%;
  31. background-color: #424242;
  32. .title {
  33. float: left;
  34. height: 100%;
  35. color: white;
  36. padding: 0 16px 0 16px;
  37. font-weight: 300;
  38. font-size: 32px;
  39. cursor: pointer;
  40. }
  41. .link {
  42. z-index: 101;
  43. position: relative;
  44. float: right;
  45. height: 100%;
  46. color: white;
  47. padding: 0 16px 0 16px;
  48. cursor: pointer;
  49. }
  50. .title:hover, .link:hover {
  51. cursor: pointer;
  52. background-color: #393939;
  53. }
  54. }
  55. </style>