all.scss 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612
  1. * {
  2. font-weight: 500;
  3. font-family: 'Noto Sans TC', sans-serif !important;
  4. }
  5. .fa,
  6. .far,
  7. .fas {
  8. font-family: Font Awesome\ 5 Free !important;
  9. }
  10. body {
  11. overflow-x: hidden;
  12. // &.menu-show {
  13. // height: 100vh;
  14. // overflow: hidden;
  15. // }
  16. }
  17. /* Bootstrap Start */
  18. .form-control:focus,
  19. .btn-check:focus+.btn,
  20. .btn:focus {
  21. box-shadow: none !important;
  22. }
  23. .text-primary {
  24. color: #EE7800 !important;
  25. }
  26. .border-primary {
  27. border-color: #EE7800 !important;
  28. }
  29. .pagination {
  30. border-radius: 5px;
  31. overflow: hidden;
  32. a {
  33. color: #727679;
  34. transition: all .3s;
  35. &:hover {
  36. color: #fff;
  37. background-color: #EE7800;
  38. }
  39. }
  40. .page-link {
  41. padding: .75rem 1rem;
  42. border: none;
  43. &:focus {
  44. z-index: 3;
  45. color: #727679;
  46. background-color: #fff;
  47. box-shadow: none;
  48. }
  49. }
  50. }
  51. .list-pagination {
  52. .page-item.active .page-link {
  53. color: #fff;
  54. background-color: #EE7800;
  55. border-color: #EE7800;
  56. &:focus {
  57. box-shadow: none;
  58. }
  59. }
  60. .page-link.hidden {
  61. display: none;
  62. }
  63. }
  64. /* Bootstrap End */
  65. /* Navbar Start */
  66. #navbar {
  67. position: sticky;
  68. top: 0;
  69. z-index: 1000;
  70. &.show {
  71. position: fixed !important;
  72. overflow-y: auto;
  73. overflow-x: hidden;
  74. width: 100%;
  75. height: 100%;
  76. z-index: 2000;
  77. .navbar {
  78. padding-bottom: 0;
  79. }
  80. }
  81. .navbar {
  82. z-index: 100;
  83. background-color: white !important;
  84. box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15);
  85. @media (max-width: 991px) {
  86. // box-shadow: none;
  87. }
  88. .container-fluid {
  89. padding: 0 2.5rem;
  90. @media (max-width: 1200px) {
  91. padding: 0 1.5rem;
  92. }
  93. @media (max-width: 991px) {
  94. padding: 0;
  95. }
  96. }
  97. .navbar-nav {
  98. .nav-item {
  99. @media (max-width: 1400px) {
  100. margin: 0;
  101. }
  102. .nav-link {
  103. padding: 1.5rem 1.2rem;
  104. position: relative;
  105. font-size: 1.125rem;
  106. cursor: pointer;
  107. color: #34404b;
  108. border-bottom: 4px solid transparent;
  109. @media (max-width: 1200px) {
  110. padding: 1.5rem .8rem;
  111. font-size: 1rem;
  112. }
  113. @media (max-width: 991px) {
  114. padding: 1rem 0;
  115. border-bottom: none;
  116. }
  117. &:hover {
  118. border-bottom: 4px solid #ee7800;
  119. @media (max-width: 991px) {
  120. border-bottom: none;
  121. }
  122. }
  123. .expand i {
  124. color: #D3D3D3;
  125. }
  126. }
  127. }
  128. li {
  129. @media (max-width: 991px) {
  130. border-bottom: 1px solid #F4F4F4;
  131. }
  132. &:last-child {
  133. @media (max-width: 991px) {
  134. border-bottom: none;
  135. }
  136. }
  137. }
  138. }
  139. @media (min-width: 991px) {
  140. li.dropdown:hover>.dropdown-menu {
  141. display: block;
  142. }
  143. }
  144. .dropdown-level-width {
  145. min-width: 13.5rem;
  146. li {
  147. margin: 5px 0;
  148. }
  149. }
  150. .search-btn {
  151. border: none;
  152. background: transparent;
  153. img {
  154. margin-bottom: -3px;
  155. }
  156. }
  157. .hover-block {
  158. .nav-link {
  159. border-bottom: none !important;
  160. &:hover a,
  161. &:hover p {
  162. color: #ee7800;
  163. }
  164. }
  165. }
  166. .dropdown-sub {
  167. @media (max-width: 991px) {
  168. padding: 5px 0;
  169. padding-left: 45px;
  170. }
  171. &:first-child {
  172. @media (max-width: 991px) {
  173. border-top: 1px solid #F4F4F4;
  174. }
  175. }
  176. &:hover {
  177. .dropdown-menu {
  178. @media (min-width: 991px) {
  179. display: block;
  180. }
  181. }
  182. .submenu,
  183. &>:hover>a {
  184. color: #ee7800;
  185. }
  186. }
  187. p {
  188. font-size: 16px;
  189. }
  190. .submenu {
  191. color: #34404b;
  192. }
  193. .dropdown-menu {
  194. top: -9px !important;
  195. left: 213px;
  196. &>li:hover>a {
  197. color: #ee7800;
  198. }
  199. }
  200. }
  201. .dropdown-item {
  202. padding: .25rem 1.2rem;
  203. @media (max-width: 991px) {
  204. padding: .5rem;
  205. }
  206. &:hover {
  207. background-color: #fff;
  208. }
  209. }
  210. .dropdown-menu {
  211. @media (max-width: 991px) {
  212. border: none;
  213. }
  214. }
  215. .logo {
  216. width: 130px;
  217. }
  218. .search-text {
  219. color: #ee751b;
  220. }
  221. .renovation-btn {
  222. display: block;
  223. color: #ee751b;
  224. background: #fff;
  225. border: 1px solid #ee751b;
  226. border-radius: 3px;
  227. padding: 10px 20px;
  228. margin-left: 50px;
  229. }
  230. }
  231. }
  232. .navbar-toggler {
  233. border-color: transparent !important;
  234. &:focus {
  235. box-shadow: none;
  236. }
  237. }
  238. .shadow-item {
  239. position: absolute;
  240. display: none;
  241. height: 3px;
  242. top: 53px;
  243. width: 100vw;
  244. right: 0;
  245. left: 0;
  246. margin: auto;
  247. box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15);
  248. border-bottom: 1px solid #ccc;
  249. @media (max-width: 991px) {
  250. display: block;
  251. }
  252. }
  253. /* Navbar End */
  254. /* Footer Start */
  255. .footer {
  256. padding: 3rem;
  257. background-color: #f4f4f4;
  258. box-shadow: 0 0 20px rgba(0, 0, 0, .2);
  259. @media (max-width: 767px) {
  260. padding: 2rem;
  261. }
  262. @media (max-width: 575px) {
  263. padding: 2rem 1rem;
  264. }
  265. h2 {
  266. text-align: center;
  267. border-top: 1px solid #d1d2d3;
  268. margin-top: 50px;
  269. padding-top: 30px;
  270. color: #707070;
  271. font-size: 16px;
  272. font-weight: 300;
  273. letter-spacing: .05rem;
  274. line-height: 1.5;
  275. }
  276. h4 {
  277. font-size: 1.375rem;
  278. font-weight: 500;
  279. color: #797979;
  280. text-align: center;
  281. margin-bottom: 50px;
  282. @media (max-width: 991px) {
  283. text-align: left;
  284. margin-bottom: 20px;
  285. }
  286. }
  287. .about-list,
  288. .follow-list,
  289. .more-list {
  290. @media (max-width: 991px) {
  291. display: flex;
  292. justify-content: center;
  293. }
  294. section {
  295. @media (max-width: 991px) {
  296. width: 300px;
  297. }
  298. }
  299. }
  300. .follow-list,
  301. .more-list {
  302. padding: 0;
  303. overflow: hidden;
  304. position: relative;
  305. @media (max-width: 991px) {
  306. margin-top: 30px;
  307. padding-top: 30px;
  308. border-top: 1px solid #989898;
  309. }
  310. }
  311. .about-list {
  312. a {
  313. color: #707070;
  314. transition: all .3s;
  315. &:hover {
  316. opacity: .8;
  317. }
  318. }
  319. img {
  320. width: 20px;
  321. height: 20px;
  322. margin-right: 7px;
  323. }
  324. ul {
  325. letter-spacing: .05em;
  326. li {
  327. margin: 5px 0;
  328. @media (max-width: 991px) {
  329. margin: 0;
  330. height: 30px;
  331. }
  332. span {
  333. color: #ea068c;
  334. }
  335. }
  336. }
  337. section {
  338. @media (max-width: 991px) {
  339. width: 300px;
  340. }
  341. }
  342. }
  343. .follow-list {
  344. .media {
  345. display: flex;
  346. a {
  347. display: block;
  348. margin: 0 3px;
  349. position: relative;
  350. }
  351. .media-item {
  352. &.after {
  353. position: absolute;
  354. top: 0;
  355. left: 0;
  356. opacity: 0;
  357. }
  358. }
  359. }
  360. img {
  361. width: 45px;
  362. height: 45px;
  363. margin-right: 5px;
  364. transition: all .3s;
  365. @media (max-width: 1200px) {
  366. width: 40px;
  367. height: 40px;
  368. }
  369. }
  370. }
  371. .more-list {
  372. a {
  373. display: inline-block;
  374. margin: 5px;
  375. padding-bottom: 5px;
  376. color: #797979;
  377. border-bottom: 1px solid;
  378. transition: all .3s;
  379. &:hover {
  380. opacity: .8;
  381. }
  382. }
  383. .subscriber-item {
  384. width: 100%;
  385. max-width: 300px;
  386. margin: auto;
  387. display: flex;
  388. flex-direction: column;
  389. border: 2px solid #34404b;
  390. &:hover {
  391. border: 2px solid #EE7800;
  392. button {
  393. background-color: #EE7800;
  394. }
  395. }
  396. input {
  397. padding: 10px;
  398. border: none;
  399. &:focus-visible {
  400. outline: none;
  401. }
  402. }
  403. ::placeholder {
  404. text-align: center;
  405. }
  406. button {
  407. padding: 15px;
  408. border: none;
  409. color: #fff;
  410. background-color: #34404b;
  411. transition: all .1s;
  412. }
  413. .spinner-border {
  414. display: none;
  415. &.show {
  416. display: block;
  417. }
  418. }
  419. &.input-error {
  420. border-color: #ff5252;
  421. button {
  422. background-color: #ff5252;
  423. }
  424. }
  425. }
  426. .link {
  427. max-width: 280px;
  428. display: flex;
  429. flex-wrap: wrap;
  430. justify-content: center;
  431. @media (max-width: 991px) {
  432. max-width: 310px;
  433. justify-content: start;
  434. }
  435. }
  436. }
  437. }
  438. /* Footer End */
  439. /* searchModal Start */
  440. .search-modal {
  441. letter-spacing: 1px;
  442. .modal-dialog {
  443. @media (max-width: 991px) {
  444. max-width: 100%;
  445. }
  446. }
  447. .modal-content {
  448. border: none;
  449. background: transparent;
  450. .input-group {
  451. height: 50px;
  452. .input-group-text {
  453. display: flex;
  454. align-items: center;
  455. padding: 0.5rem 2rem !important;
  456. margin-bottom: 0;
  457. color: #fff;
  458. text-align: center;
  459. white-space: nowrap;
  460. background-color: #ee7800;
  461. border: 2px solid #ee7800;
  462. line-height: 1.5;
  463. border-radius: 0.3rem;
  464. cursor: pointer;
  465. }
  466. }
  467. }
  468. .keyword-list {
  469. display: flex;
  470. align-items: center;
  471. padding: 0 20px;
  472. ul {
  473. margin: 0;
  474. padding: 0;
  475. display: flex;
  476. flex-wrap: wrap;
  477. color: #fff;
  478. li {
  479. margin: 5px 10px 5px 0;
  480. cursor: pointer;
  481. transition: all 0.3s;
  482. &:hover {
  483. opacity: 0.8;
  484. }
  485. }
  486. }
  487. span {
  488. color: #fff;
  489. margin-right: 10px;
  490. }
  491. }
  492. }
  493. .modal-backdrop.show {
  494. opacity: 0.7 !important;
  495. }
  496. /* searchModal End */