_utilities.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. $main-font-family:'Microsoft JhengHei', Helvetica,Noto Sans TC,Roboto,Arial,sans-serif;
  2. //通用類別
  3. body{
  4. -webkit-text-size-adjust: 100%;
  5. }
  6. .bg-cover{
  7. background-size: cover;
  8. background-position: center center;
  9. }
  10. .bg-main{
  11. background-color: #FAFAFA;
  12. }
  13. .bg-white{
  14. background-color: #fff;
  15. }
  16. .bg-shadow{
  17. box-shadow: 0px 0px 5px #D1D2D3;
  18. }
  19. .no-padding{
  20. padding:0;
  21. }
  22. .no-border{
  23. border: none;
  24. }
  25. .circle-img{
  26. width:30px;
  27. height:30px;
  28. border-radius: 50%;
  29. border:1px solid white;
  30. }
  31. .accent-text{
  32. caret-color: #000;
  33. }
  34. .focus-status{
  35. &:focus{
  36. border-color: transparent;
  37. box-shadow: none;
  38. }
  39. }
  40. //login頁面使用
  41. .focus-status-error{
  42. border-color: #FF5252;
  43. &::-webkit-input-placeholder{
  44. color: #FF5252;
  45. }
  46. &::-moz-placeholder{
  47. color: #FF5252;
  48. }
  49. &::-ms-placeholder{
  50. color: #FF5252;
  51. }
  52. }
  53. //會員專區 scroll-top btn
  54. .top-btn {
  55. z-index: 9;
  56. text-align: center;
  57. width: 50px;
  58. height: 50px;
  59. position: fixed;
  60. right: 20px;
  61. bottom: 70px;
  62. border-radius: 100px;
  63. line-height: 3;
  64. background-color: #EE7800;
  65. cursor: pointer;
  66. display: none;
  67. }
  68. //列表 gotop btn
  69. .gotop-btn-wrapper{
  70. display: block;
  71. position: fixed;
  72. right: 1%;
  73. bottom: 8%;
  74. cursor: pointer;
  75. .gotop-btn{
  76. width: 50px;
  77. height: 50px;
  78. box-shadow: 1px 3px 13px -2px rgba(0, 0, 0, 0.35);
  79. opacity: 1;
  80. &:hover, &:focus, &:active{
  81. box-shadow: 5px 3px 1px -3px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  82. }
  83. }
  84. }
  85. //內容列表頁標題
  86. .list-head{
  87. font-weight: bold;
  88. font-size: 1.5rem;
  89. font-family: $main-font-family;
  90. }
  91. //關鍵字 Auto Complete
  92. .ui-autocomplete {
  93. max-height: 350px;
  94. overflow-y: auto;
  95. /* prevent horizontal scrollbar */
  96. overflow-x: hidden;
  97. padding-inline-start: 0;
  98. }
  99. .keywords-autocomplete{
  100. z-index: 50;
  101. position: absolute;
  102. -webkit-transform: translateY(-25%);
  103. transform: translateY(-25%);
  104. .list-group-item{
  105. -webkit-box-shadow: 1px 1px 1px #ccc;
  106. box-shadow: 1px 1px 1px #ccc;
  107. background: rgba(255,255,255,0.98);
  108. }
  109. .list-group-item-action{
  110. &:hover{
  111. z-index: 0;
  112. cursor: pointer;
  113. }
  114. }
  115. }
  116. //找靈感廣宣需求
  117. .text-promote-color{
  118. color: #EE7800 !important;
  119. &:active, &.active{
  120. background-color: transparent !important;
  121. border-bottom: 4px solid #EE7800 !important;
  122. @media screen and (max-width: 576px) {
  123. background-color: unset !important;
  124. border-bottom: 0 solid transparent !important;
  125. }
  126. }
  127. &:hover{
  128. color: #EE7800 !important;
  129. background-color: transparent !important;
  130. @media screen and (max-width: 576px) {
  131. background-color: #F4F4F4 !important;
  132. }
  133. }
  134. }
  135. .text-promote-mb-color{
  136. color: #EE7800 !important;
  137. }
  138. //另加
  139. [v-cloak] {
  140. display: none;
  141. }