Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

App.vue 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. <template>
  2. <div id="app" style="overflow-x: hidden;">
  3. <a v-if="!isLandingPage" href="#" class="back-to-top">
  4. <i class="fa fa-chevron-up"></i>
  5. </a>
  6. <div v-if="!isLandingPage" class="click-closed"></div>
  7. <NavBar v-if="!isLandingPage" @routerGoTo="routerGoTo" />
  8. <div v-if="!isLandingPage"></div>
  9. <router-view @setLandingPage="setLandingPage" style="margin-top: 140px;" />
  10. <FooterSection v-if="!isLandingPage" />
  11. </div>
  12. </template>
  13. <script>
  14. /* eslint-disable */
  15. import NavBar from './components/shared/navBar.vue'
  16. import FooterSection from './components/shared/footerSection.vue'
  17. export default {
  18. name: 'app',
  19. data() {
  20. return {
  21. isLandingPage: false,
  22. }
  23. },
  24. components: {
  25. NavBar,
  26. FooterSection,
  27. },
  28. methods: {
  29. routerGoTo(goTo) {
  30. this.$router.push(goTo)
  31. },
  32. setLandingPage(item) {
  33. this.isLandingPage = item
  34. },
  35. },
  36. }
  37. </script>
  38. <style>
  39. @import '../public/css/newStyle.css';
  40. button:hover {
  41. cursor: pointer;
  42. }
  43. hr {
  44. background-color: #60cbeb;
  45. }
  46. .my-btn {
  47. margin: 2px;
  48. color: #60cbeb;
  49. }
  50. .title-img {
  51. width: 800px;
  52. height: 400px;
  53. border-radius: 10px;
  54. }
  55. .title-title {
  56. opacity: 0.7;
  57. border: white solid 3px;
  58. border-radius: 15px;
  59. }
  60. .myBackground {
  61. border-color: #60cbeb;
  62. background-color: #60cbeb;
  63. }
  64. .myFill {
  65. fill: #60cbeb;
  66. color: #60cbeb;
  67. }
  68. .mySuccess {
  69. border-color: rgba(2, 184, 117, 0.5);
  70. background-color: rgba(2, 184, 117, 0.5);
  71. }
  72. .myInfo {
  73. border-color: rgba(23, 162, 184, 0.5);
  74. background-color: rgba(23, 162, 184, 0.5);
  75. }
  76. .myWarning {
  77. border-color: rgba(240, 173, 78, 0.5);
  78. background-color: rgba(240, 173, 78, 0.5);
  79. }
  80. .myError {
  81. border-color: rgba(217, 83, 79, 0.5);
  82. background-color: rgba(217, 83, 79, 0.5);
  83. }
  84. a {
  85. cursor: pointer;
  86. }
  87. a:hover {
  88. color: #60cbeb;
  89. }
  90. #app {
  91. font-family: 'Avenir', Helvetica, Arial, sans-serif;
  92. -webkit-font-smoothing: antialiased;
  93. -moz-osx-font-smoothing: grayscale;
  94. text-align: center;
  95. color: #2c3e50;
  96. }
  97. .cursor-pointer {
  98. cursor: pointer;
  99. }
  100. body,
  101. html {
  102. font-size: 13.7px !important;
  103. color: #666;
  104. font-family: 'Roboto', sans-serif;
  105. height: 100%;
  106. margin: 0;
  107. }
  108. .isSelected {
  109. border-color: white white #60cbeb white;
  110. }
  111. .isUnSelected {
  112. border-color: white white white white;
  113. }
  114. .tabButton {
  115. display: block;
  116. padding: 0.5rem 1rem;
  117. background-color: white;
  118. border-style: none none solid none;
  119. width: 100px;
  120. }
  121. .top-left {
  122. position: centre;
  123. top: 5px;
  124. width: 380px;
  125. color: white;
  126. }
  127. .normalText {
  128. background-color: #60cbeb;
  129. color: white;
  130. }
  131. .pendingOffer {
  132. background-color: #ff8344;
  133. color: white;
  134. }
  135. .redText {
  136. background-color: #eb5252;
  137. color: white;
  138. }
  139. .greenText {
  140. background-color: #43e243;
  141. color: white;
  142. }
  143. .noWeeks {
  144. background-color: #ff4444;
  145. }
  146. .nav-tabs li a {
  147. border-top: none;
  148. border-left: none;
  149. border-right: none;
  150. margin-left: 10px;
  151. margin-right: 10px;
  152. background-color: white;
  153. border-bottom-color: rgb(27, 117, 187);
  154. border: 1px solid rgb(27, 117, 187);
  155. }
  156. .nav-tabs li :hover {
  157. color: white;
  158. background-color: rgb(27, 117, 187);
  159. }
  160. .nav-tabs li a.active {
  161. border-top: none;
  162. border-left: none;
  163. border-right: none;
  164. margin-left: 10px;
  165. margin-right: 10px;
  166. color: white;
  167. background-color: rgb(80, 133, 240);
  168. border-bottom-color: rgb(80, 133, 240);
  169. }
  170. .nav-tabs li a :hover {
  171. background-color: transparent;
  172. color: white;
  173. }
  174. </style>
  175. <style scoped>
  176. .pushDown {
  177. height: 70px;
  178. }
  179. </style>