_custom.scss 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. $main-font-family: 'Microsoft JhengHei', Helvetica, Noto Sans TC, Roboto, Arial, sans-serif;
  2. $main-color: #EE7800;
  3. // navbar
  4. .navbar {
  5. padding: 0 1rem;
  6. &.navbar-member {
  7. padding: 0 1.5rem;
  8. background-color: #F5F5F5;
  9. box-shadow: 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12);
  10. }
  11. .navbar-nav {
  12. .nav-item {
  13. text-align: center;
  14. }
  15. .nav-link {
  16. color: rgba(0, 0, 0, .87);
  17. font-size: 1.17rem;
  18. font-family: $main-font-family;
  19. border-radius: 0;
  20. background-color: transparent;
  21. padding: 1.075rem 10px;
  22. margin: 0 8px;
  23. border-bottom: 4px solid transparent;
  24. &:hover {
  25. cursor: pointer;
  26. color: rgba(0, 0, 0, 0.87);
  27. // background-color:#e6e6e6; //因應專欄架構改變
  28. background-color: transparent;
  29. border-bottom: 4px solid $main-color;
  30. }
  31. &.active {
  32. // background-color:#e6e6e6; //因應專欄架構改變
  33. background-color: transparent;
  34. color: rgba(0, 0, 0, 0.87);
  35. border-bottom: 4px solid $main-color;
  36. }
  37. &:active {
  38. // background-color: #e6e6e6; // 找靈感廣宣需求
  39. background-color: transparent; //因應專欄架構改變
  40. color: rgba(0, 0, 0, 0.87);
  41. border-bottom: 4px solid $main-color;
  42. }
  43. }
  44. .dropdown-item {
  45. font-family: $main-font-family;
  46. &:hover {
  47. // background-color:#e6e6e6; //因應專欄架構改變
  48. background-color: transparent;
  49. &+.arrow-right {
  50. color: $main-color;
  51. }
  52. }
  53. &:active {
  54. // color: #000; //因應專欄架構改變
  55. color: $main-color;
  56. background-color: transparent;
  57. }
  58. }
  59. }
  60. .nav-user {
  61. a {
  62. color: rgba(0, 0, 0, 0.87);
  63. font-family: $main-font-family;
  64. width: 100%;
  65. height: 100%;
  66. &:hover {
  67. color: #727679;
  68. text-decoration: none;
  69. }
  70. }
  71. .dropdown-origin-width {
  72. right: 0;
  73. left: auto;
  74. min-width: 7.6rem;
  75. }
  76. img {
  77. border-radius: 50%;
  78. }
  79. .nav-user-login {
  80. &:hover {
  81. cursor: pointer;
  82. }
  83. }
  84. .nav-user-wrapper.dropdown {
  85. &:hover {
  86. .dropdown-menu {
  87. display: block;
  88. }
  89. }
  90. }
  91. }
  92. .dropdown-menu {
  93. top: 95%;
  94. &.dropdown-level-width {
  95. min-width: 13.5rem;
  96. padding: 0;
  97. }
  98. }
  99. .arrow-right {
  100. padding: 0.5rem;
  101. }
  102. }
  103. //因應專欄架構改變
  104. .dropdown-menu li {
  105. position: relative;
  106. }
  107. .nav-item .thdmenu-block {
  108. display: none;
  109. position: absolute;
  110. left: 99.5%;
  111. top: -4px;
  112. }
  113. .dropdown-sub:hover>div,
  114. .dropdown-sub:hover .submenu {
  115. color: #EE7800;
  116. }
  117. .thdmenu-block>li:hover > .dropdown-item {
  118. color: #EE7800;
  119. }
  120. .dropdown-menu>li:hover > .thdmenu-block {
  121. display: block;
  122. }
  123. .navbar-nav>li:hover > .dropdown-menu {
  124. display: block;
  125. }
  126. // foooter
  127. .footer{
  128. $footer-circle-color:#d1d2d3;
  129. background-color: #f4f4f4 ;
  130. .footer-content{
  131. font-family: $main-font-family;
  132. a{
  133. color: #727679 ;
  134. &:hover{
  135. text-decoration: none;
  136. }
  137. }
  138. .footer-content-tel{
  139. font-size: 13px;
  140. }
  141. }
  142. .footer-media-wrapper:hover{
  143. background-color: rgba(241, 241, 241, 0.082);
  144. .footer-media{
  145. color: #3b5998;
  146. }
  147. }
  148. .footer-block:nth-child(1), .footer-block:nth-child(2){
  149. border-right: 1px solid $footer-circle-color;
  150. }
  151. .footer-note{
  152. .footer-note-item:nth-child(1), .footer-note-item:nth-child(2){
  153. border-right: 1px solid $footer-circle-color;
  154. }
  155. }
  156. .footer-divider-horizon{
  157. width: 90%;
  158. border-top: 1px solid $footer-circle-color;
  159. margin-left: auto;
  160. margin-right: auto;
  161. }
  162. .footer-divider-straight{
  163. background-color: $footer-circle-color;
  164. width: 1px;
  165. height: 36px;
  166. }
  167. .footer-media-item{
  168. display: block;
  169. &.after{
  170. display: none;
  171. }
  172. }
  173. .footer-content a:hover{
  174. .footer-media-item.before{
  175. display: none;
  176. }
  177. .footer-media-item.after{
  178. display: block;
  179. }
  180. }
  181. }
  182. // Modal-隱私保護
  183. .privacy{
  184. font-family: $main-font-family;
  185. .modal-body{
  186. li{
  187. font-size: 14px;
  188. line-height: 22px;
  189. }
  190. a:hover{
  191. text-decoration: none;
  192. }
  193. }
  194. }
  195. .aboutUs{
  196. font-family: $main-font-family;
  197. .modal-content{
  198. position: relative;
  199. button{
  200. position: absolute;
  201. right: 3%;
  202. top: 2%;
  203. }
  204. .aboutUs-title{
  205. margin-left: auto;
  206. margin-right: auto;
  207. }
  208. .modal-body{
  209. p{
  210. font-size: 14px;
  211. }
  212. }
  213. }
  214. }