123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975 |
- * {
- font-weight: 500;
- font-family: 'Noto Sans TC', sans-serif !important;
- }
- .fa,
- .far,
- .fas {
- font-family: Font Awesome\ 5 Free !important;
- }
- body {
- overflow-x: hidden;
- // &.menu-show {
- // height: 100vh;
- // overflow: hidden;
- // }
- }
- /* Bootstrap Start */
- .form-control:focus,
- .btn-check:focus+.btn,
- .btn:focus {
- box-shadow: none !important;
- }
- .text-primary {
- color: #EE7800 !important;
- }
- .border-primary {
- border-color: #EE7800 !important;
- }
- .btn-outline-primary {
- color: #EE7800;
- border-color: #EE7800;
- &:hover {
- color: #fff;
- background-color: #EE7800;
- border-color: #EE7800;
- }
- }
- .pagination {
- border-radius: 5px;
- overflow: hidden;
- a {
- color: #727679;
- transition: all .3s;
- &:hover {
- color: #fff;
- background-color: #EE7800;
- }
- }
- .page-link {
- padding: .75rem 1rem;
- border: none;
- &:focus {
- z-index: 3;
- color: #727679;
- background-color: #fff;
- box-shadow: none;
- }
- }
- }
- .list-pagination {
- .page-item.active .page-link {
- color: #fff;
- background-color: #EE7800;
- border-color: #EE7800;
- &:focus {
- box-shadow: none;
- }
- }
- .page-link.hidden {
- display: none;
- }
- }
- /* Bootstrap End */
- /* Navbar Start */
- #navbar {
- position: sticky;
- top: 0;
- z-index: 1000;
- &.show {
- position: fixed !important;
- overflow-y: auto;
- overflow-x: hidden;
- width: 100%;
- height: 100%;
- z-index: 2000;
- .navbar {
- padding-bottom: 0;
- }
- }
- .navbar {
- z-index: 100;
- background-color: white !important;
- box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15);
- @media (max-width: 991px) {
- // box-shadow: none;
- }
- .container-fluid {
- padding: 0 2.5rem;
- @media (max-width: 1400px) {
- padding: 0 1.5rem;
- }
- @media (max-width: 1200px) {
- padding: 0 1rem;
- }
- @media (max-width: 991px) {
- padding: 0;
- }
- }
- .navbar-nav {
- .nav-item {
- @media (max-width: 1400px) {
- margin: 0;
- }
- .nav-link {
- padding: 1.5rem 1.2rem;
- position: relative;
- font-size: 1.125rem;
- cursor: pointer;
- color: #34404b;
- border-bottom: 4px solid transparent;
- @media (max-width: 1400px) {
- padding: 1.5rem .8rem;
- font-size: 1rem;
- }
- @media (max-width: 1200px) {
- padding: 1.5rem .5rem;
- font-size: .875rem;
- }
- @media (max-width: 991px) {
- padding: 1rem 0;
- font-size: 1rem;
- border-bottom: none;
- }
- &:hover {
- border-bottom: 4px solid #ee7800;
- @media (max-width: 991px) {
- border-bottom: none;
- }
- }
- .expand i {
- color: #D3D3D3;
- }
- }
- }
- li {
- @media (max-width: 991px) {
- border-bottom: 1px solid #F4F4F4;
- }
- &:last-child {
- @media (max-width: 991px) {
- border-bottom: none;
- }
- }
- }
- }
- @media (min-width: 991px) {
- li.dropdown:hover>.dropdown-menu {
- display: block;
- }
- }
- .dropdown-level-width {
- min-width: 13.5rem;
- li {
- margin: 5px 0;
- }
- }
- .search-btn {
- border: none;
- background: transparent;
- img {
- margin-bottom: -3px;
- }
- }
- .hover-block {
- .nav-link {
- border-bottom: none !important;
- &:hover a,
- &:hover p {
- color: #ee7800;
- }
- }
- }
- .dropdown-sub {
- @media (max-width: 991px) {
- padding: 5px 0;
- padding-left: 45px;
- }
- &:first-child {
- @media (max-width: 991px) {
- border-top: 1px solid #F4F4F4;
- }
- }
- &:hover {
- .dropdown-menu {
- @media (min-width: 991px) {
- display: block;
- }
- }
- .submenu,
- &>:hover>a {
- color: #ee7800;
- }
- }
- p {
- font-size: 16px;
- }
- .submenu {
- color: #34404b;
- }
- .dropdown-menu {
- top: -9px !important;
- left: 213px;
- &>li:hover>a {
- color: #ee7800;
- }
- }
- }
- .dropdown-item {
- padding: .25rem 1.2rem;
- @media (max-width: 991px) {
- padding: .5rem;
- }
- &:hover {
- background-color: #fff;
- }
- }
- .dropdown-menu {
- @media (max-width: 991px) {
- border: none;
- }
- }
- .logo {
- width: 130px;
- @media (max-width: 1200px) {
- width: 115px;
- }
- @media (max-width: 991px) {
- width: 130px;
- }
- }
- .search-text {
- color: #ee751b;
- }
- .renovation-btn {
- display: block;
- color: #ee751b;
- background: #fff;
- border: 1px solid #ee751b;
- border-radius: 3px;
- padding: 10px 20px;
- margin-left: 50px;
- @media (max-width: 1200px) {
- padding: 10px 15px;
- margin-left: 20px;
- font-size: 0.875rem;
- }
- @media (max-width: 991px) {
- font-size: 1rem;
- }
- }
- }
- }
- .navbar-toggler {
- border-color: transparent !important;
- &:focus {
- box-shadow: none;
- }
- }
- .shadow-item {
- position: absolute;
- display: none;
- height: 3px;
- top: 53px;
- width: 100vw;
- right: 0;
- left: 0;
- margin: auto;
- box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15);
- border-bottom: 1px solid #ccc;
- @media (max-width: 991px) {
- display: block;
- }
- }
- #app_user {
- .user-avatar {
- height: 30px;
- width: 30px;
- border-radius: 100px;
- }
- .dropdown:hover .dropdown-menu {
- display: block;
- }
- .dropdown-toggle::after {
- display: none !important;
- }
- }
- /* Navbar End */
- /* Footer Start */
- .footer {
- padding: 3rem;
- background-color: #f4f4f4;
- box-shadow: 0 0 20px rgba(0, 0, 0, .2);
- @media (max-width: 767px) {
- padding: 2rem;
- }
- @media (max-width: 575px) {
- padding: 2rem 1rem;
- }
- h2 {
- text-align: center;
- border-top: 1px solid #d1d2d3;
- margin-top: 50px;
- padding-top: 30px;
- color: #707070;
- font-size: 16px;
- font-weight: 300;
- letter-spacing: .05rem;
- line-height: 1.5;
- }
- h4 {
- font-size: 1.375rem;
- font-weight: 500;
- color: #797979;
- text-align: center;
- margin-bottom: 50px;
- @media (max-width: 991px) {
- text-align: left;
- margin-bottom: 20px;
- }
- }
- .about-list,
- .follow-list,
- .more-list {
- @media (max-width: 991px) {
- display: flex;
- justify-content: center;
- }
- section {
- @media (max-width: 991px) {
- width: 300px;
- }
- }
- }
- .follow-list,
- .more-list {
- padding: 0;
- overflow: hidden;
- position: relative;
- @media (max-width: 991px) {
- margin-top: 30px;
- padding-top: 30px;
- border-top: 1px solid #989898;
- }
- }
- .about-list {
- a {
- color: #707070;
- transition: all .3s;
- &:hover {
- opacity: .8;
- }
- }
- img {
- width: 20px;
- height: 20px;
- margin-right: 7px;
- }
- ul {
- letter-spacing: .05em;
- li {
- margin: 5px 0;
- @media (max-width: 991px) {
- margin: 0;
- height: 30px;
- }
- span {
- color: #ea068c;
- }
- }
- }
- section {
- @media (max-width: 991px) {
- width: 300px;
- }
- }
- }
- .follow-list {
- .media {
- display: flex;
- a {
- display: block;
- margin: 0 3px;
- position: relative;
- }
- .media-item {
- &.after {
- position: absolute;
- top: 0;
- left: 0;
- opacity: 0;
- }
- }
- }
- img {
- width: 45px;
- height: 45px;
- margin-right: 5px;
- transition: all .3s;
- @media (max-width: 1200px) {
- width: 40px;
- height: 40px;
- }
- }
- }
- .more-list {
- a {
- display: inline-block;
- margin: 5px;
- padding-bottom: 5px;
- color: #797979;
- border-bottom: 1px solid;
- transition: all .3s;
- &:hover {
- opacity: .8;
- }
- }
- .subscriber-item {
- width: 100%;
- max-width: 300px;
- margin: auto;
- display: flex;
- flex-direction: column;
- border: 2px solid #34404b;
- &:hover {
- border: 2px solid #EE7800;
- button {
- background-color: #EE7800;
- }
- }
- input {
- padding: 10px;
- border: none;
- &:focus-visible {
- outline: none;
- }
- }
- ::placeholder {
- text-align: center;
- }
- button {
- padding: 15px;
- border: none;
- color: #fff;
- background-color: #34404b;
- transition: all .1s;
- }
- .spinner-border {
- display: none;
- &.show {
- display: block;
- }
- }
- &.input-error {
- border-color: #ff5252;
- button {
- background-color: #ff5252;
- }
- }
- }
- .link {
- max-width: 280px;
- display: flex;
- flex-wrap: wrap;
- justify-content: center;
- @media (max-width: 991px) {
- max-width: 310px;
- justify-content: start;
- }
- }
- }
- }
- /* Footer End */
- /* searchModal Start */
- .search-modal {
- letter-spacing: 1px;
- .modal-dialog {
- @media (max-width: 991px) {
- max-width: 100%;
- }
- }
- .modal-content {
- border: none;
- background: transparent;
- .input-group {
- height: 50px;
- .input-group-text {
- display: flex;
- align-items: center;
- padding: 0.5rem 2rem !important;
- margin-bottom: 0;
- color: #fff;
- text-align: center;
- white-space: nowrap;
- background-color: #ee7800;
- border: 2px solid #ee7800;
- line-height: 1.5;
- border-radius: 0.3rem;
- cursor: pointer;
- }
- }
- }
- .keyword-list {
- display: flex;
- align-items: center;
- padding: 0 20px;
- ul {
- margin: 0;
- padding: 0;
- display: flex;
- flex-wrap: wrap;
- color: #fff;
- li {
- margin: 5px 10px 5px 0;
- cursor: pointer;
- transition: all 0.3s;
- &:hover {
- opacity: 0.8;
- }
- }
- }
- span {
- color: #fff;
- margin-right: 10px;
- }
- }
- }
- .modal-backdrop.show {
- opacity: 0.7 !important;
- }
- /* searchModal End */
- /* 頂部輪播 Start */
- .top-carousel {
- padding: 1rem 0;
- background-color: rgb(202, 202, 202);
- transition-property: height;
- transition-duration: 300ms;
- .slick-next {
- right: 25px;
- }
- .slick-prev {
- left: 25px;
- }
- .slick-prev,
- .slick-next {
- position: absolute;
- top: 50%;
- z-index: 100;
- border: none;
- background: transparent;
- &::before {
- display: none;
- }
- }
- .bullet-list {
- position: absolute;
- bottom: 13px;
- width: 1276px;
- max-width: 100%;
- box-sizing: border-box;
- display: flex;
- z-index: 10;
- background-color: rgba(0, 0, 0, 0.1);
- @media (max-width: 991px) {
- bottom: 0;
- }
- .bullet {
- position: relative;
- width: 100%;
- height: 3px;
- background-color: rgba(0, 0, 0, 0.1);
- flex: 1 1 auto;
- opacity: 1;
- &::after {
- content: "";
- background: #ee7800;
- position: absolute;
- width: 0;
- height: 100%;
- left: 0;
- top: 0;
- border-radius: 2px;
- }
- }
- }
- .bullet-active::after {
- width: 0;
- -webkit-animation-name: progress;
- animation-name: progress;
- -webkit-animation-duration: 4s;
- animation-duration: 4s;
- -webkit-animation-timing-function: linear;
- animation-timing-function: linear;
- }
- @keyframes progress {
- 0% {
- width: 0%;
- }
- 25% {
- width: 25%;
- }
- 50% {
- width: 50%;
- }
- 75% {
- width: 75%;
- }
- 100% {
- width: 100%;
- }
- }
- @-webkit-keyframes progress {
- 0% {
- width: 0%;
- }
- 25% {
- width: 25%;
- }
- 50% {
- width: 50%;
- }
- 75% {
- width: 75%;
- }
- 100% {
- width: 100%;
- }
- }
- .close-btn {
- position: absolute;
- top: 0;
- right: 20px;
- width: 55px;
- height: 35px;
- background-color: hsla(0, 0%, 100%, 0.66);
- border-radius: 0 0 50px 50px;
- color: #888;
- border: none;
- outline: none;
- font-size: 11px;
- box-shadow: 0 0 10px rgba(32, 32, 32, 0.25);
- line-height: 12px;
- z-index: 3;
- p {
- margin-top: -3px;
- }
- }
- &.banner-close {
- height: 0;
- padding: 0;
- overflow: hidden;
- transition-property: height;
- transition-duration: 300ms;
- }
- .container-fluid {
- background-color: rgb(202, 202, 202);
- }
- }
- /* 頂部輪播 End */
- /* 左下按紐 Start */
- #btn-box {
- display: flex;
- flex-direction: column;
- position: fixed;
- right: 15px;
- bottom: 15px;
- z-index: 10;
- font-size: 32px;
- cursor: pointer;
- @media (max-width: 767px) {
- bottom: 75px;
- }
- // 滑動按鈕
- .calculator-btn,
- .shop-btn {
- p {
- display: none;
- width: 0px;
- margin-right: -5px;
- overflow: hidden;
- color: #ee751b;
- font-size: 16px;
- letter-spacing: 1px;
- transition: all .6s;
- }
- &.show {
- a {
- img {
- width: 22px;
- margin-left: 3px;
- position: relative;
- left: 8px;
- }
- p {
- display: inline-block;
- width: 100%;
- white-space: nowrap;
- }
- }
- }
- }
- .calculator-btn {
- &.show {
- width: 130px;
- margin-left: -85px;
- }
- }
- .shop-btn {
- &.show {
- width: 95px;
- margin-left: -50px;
- }
- }
- a {
- color: #000;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- button {
- width: 45px;
- height: 45px;
- margin: 5px 0;
- border: none;
- border-radius: 5px;
- box-shadow: 0px 2px 3px #ccc;
- background: rgba(255, 255, 255, 0.9);
- &:hover {
- transition: all .5s;
- background: rgb(255, 255, 255);
- }
- &:hover img {
- filter: invert(50%) sepia(50%) saturate(4600%) hue-rotate(365deg) brightness(100%) contrast(100%);
- }
- img {
- width: 20px;
- }
- }
- .gotop-btn {
- img {
- display: block;
- margin: auto;
- }
- }
- }
- .mb-menu {
- display: flex;
- padding: 13px 0 8px;
- position: fixed;
- right: 0;
- left: 0;
- bottom: 0;
- z-index: 1000;
- transition: all .3s;
- background-color: #fff;
- box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
- a {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- h4 {
- margin: 5px auto 0;
- color: #34404B;
- font-size: 16px;
- }
- img {
- width: 20px;
- height: 20px;
- }
- }
- }
- /* 左下按紐 End */
- /* 讀取圖示 */
- .spinners {
- display: none;
- @keyframes rotate {
- from {
- transform: rotate(0deg);
- }
- to {
- transform: rotate(360deg);
- }
- }
- img {
- animation: rotate 2s linear infinite;
- }
- }
|