123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455 |
- $lines-to-show-sm: 1;
- $lines-to-show: 2;
- $line-height-sm: 1.30;
- $line-height: 1.39;
- $photos-main-color:#6D6D6D;
- $photos-second-color:#EE7800;
- $light-gray:#9D9D9D;
- $photos-main-font-size:16px;
- $photos-second-font-size:14px;
- $photos-mob-main-font-size:16px;
- $photos-mob-second-font-size:12px;
- //圖庫 大裝置沒有空白底部
- .empty{
- height: 0;
- }
- .item-card{
- .photos-item-card{
- width: 100%;
- overflow: hidden;
- &:hover{
- .item-card-img{
- transform: scale(1.05);
- }
- }
- }
- .item-card-img{
- width: 100%;
- padding-top: 100%;
- background-size: cover;
- background-position: center center;
- transition: transform 300ms ease-in-out;
- }
- .item-card-text{
- a{
- font-size:$photos-main-font-size;
- height: $photos-main-font-size * $line-height-sm * 1.2;
- -webkit-line-clamp: 1;
- -webkit-box-orient: vertical;
- -moz-box-orient:vertical;
- box-orient:vertical;
- overflow:hidden;
- text-overflow:ellipsis;
- display: -webkit-box;
- color: #212529;
- &:hover{
- cursor: pointer;
- }
- }
- }
- }
- // @media screen and (min-width: 992px) and (max-width: 1260px){
- // .navbar{
- // .navbar-nav{
- // .nav-link{
- // padding-left: 10px; //避免縮小螢幕主選單有折行問題
- // padding-right: 10px; //避免縮小螢幕主選單有折行問題
- // }
- // }
- // }
- // }
- @media screen and (min-width: 1200px) {
- .navbar-brand-block{
- display: inline-block;
- position: absolute;
- left: 8px;
- @media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){
- position: relative;
- }
- }
-
- .navbar-collapse-block{
- margin-left: auto;
- margin-right: auto;
- }
-
- .nav-user-block{
- display: flex;
- justify-content: flex-end;
- position: absolute;
- right: 8px;
- @media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){
- position: relative;
- }
- }
- //小裝置保持logo置中
- .navbar-brand-block-sm{
- display: none;
- }
- body{
- overflow: auto;
- }
- .nb-mobile, .nb-mobile-icon{
- display: none;
- }
- .dropdown-wrapper{
- display: flex !important;
- }
- .st-mobile, .footer-fix, .searchall{
- display: none;
- }
- .top-designer, .search-bar, .search-tab{
- display: block;
- }
- .item-card-img-wrapper{
- width: 100%;
- height: 100%;
- max-width: 100%;
- max-height: 100%;
- }
- .item-card-img{
- position: relative;
- width: 100%;
- height: 290px;
- background-size: cover;
- background-position: center center;
- }
- }
- @media screen and (min-width: 992px) and (max-width: 1199px){
- //列表 gotop btn
- .gotop-btn-wrapper{
- right: 2%;
- bottom: 10%;
- z-index: 999;
- }
- //圖庫第一層箭頭寬度
- .owl-nav{
- width: calc(100% + 70px);
- z-index: 10;
- }
- .photos-owl-wrapper{
- background-image: url(../images/section/icon/photos/owl-bg-m.svg);
- background-repeat:no-repeat;
- background-position: center;
- height: 300px;
- }
- .nb-mobile-icon{
- display: block;
- .bars{
- display: block;
- &.active{
- display: none;
- }
- }
- .arrow{
- display: none;
- &.active{
- display: block;
- }
- }
-
- }
- .navbar-brand-block, .navbar-collapse-block, .nav-user-block{
- display: none;
- }
- .navbar-brand-block-sm{
- display: inline-block;
- margin-left: auto;
- margin-right: auto;
- }
- }
- @media screen and (min-width: 768px) and (max-width: 992px){
- //列表 gotop btn
- .gotop-btn-wrapper{
- right: 2%;
- bottom: 10%;
- z-index: 999;
- }
- //##### 圖庫第三層平板樣式-start #####
- .icon{
- width: 74px;
- height: 70px;
- }
- .info-area-other-case img, .info-area-same-case img{
- // width:170px;
- width: 100%;
- height:170px;
- }
- .info-area-title{
- font-size: 22px;
- }
- .data-table{
- font-size: 18px;
- .data-table-lf {
- flex-basis: 14%;
- flex-grow: 0;
- max-width: 14%;
- }
- .data-table-rt {
- flex-basis: 86%;
- flex-grow: 0;
- max-width: 86%;
- word-break: break-all;
- }
- }
- .contact-section{
- span{
- font-size: 22px;
- }
- .contact-section-detail{
- font-size: 18px;
- }
- }
- .info-area-other-case, .info-area-same-case, .info-area-data, .info-area-contact{
- font-size: 20px;
- }
- //##### 圖庫第三層平板樣式-end #####
- //圖庫第一層箭頭寬度
- .owl-nav{
- width: calc(100% + 70px);
- z-index: 10;
- }
- .photos-owl-wrapper{
- background-image: url(../images/section/icon/photos/owl-bg-s.svg);
- background-repeat:no-repeat;
- background-position: center;
- height: 300px;
- }
- .member{
- padding-top: 5.5rem;
- }
- .navbar-brand-block, .navbar-collapse-block, .nav-user-block{
- display: none;
- }
- .navbar-brand-block-sm{
- display: inline-block;
- margin-left: auto;
- margin-right: auto;
- }
- .nb-mobile-icon{
- display: block;
- .bars{
- display: block;
- &.active{
- display: none;
- }
- }
- .arrow{
- display: none;
- &.active{
- display: block;
- }
- }
-
- }
- .search-tab-itemBtn{
- .dropdown-wrapper{
- display: -webkit-box !important;
- }
- }
- .footer .footer-media{
- color: #3b5998;
- }
- }
- @media screen and (min-width: 576px) and (max-width: 768px){
- //圖庫第一層箭頭寬度
- .owl-nav{
- width: calc(100% + 40px);
- height: 0%;
- z-index: 10;
- }
- .photos-owl-wrapper{
- background-image: url(../images/section/icon/photos/owl-bg-s.svg);
- background-repeat:no-repeat;
- background-position: center;
- height: 300px;
- }
- .member{
- padding-top: 5.5rem;
- .item-card-member{
- .item-card-img-member{
- width: 100%;
- height: 360px;
- background-size: cover;
- background-repeat: no-repeat;
- background-position: center;
- }
- }
- }
- .navbar-brand-block, .navbar-collapse-block, .nav-user-block{
- display: none;
- }
- .navbar-brand-block-sm{
- display: inline-block;
- margin-left: auto;
- margin-right: auto;
- }
- .nb-mobile-icon{
- display: block;
- .bars{
- display: block;
- &.active{
- display: none;
- }
- }
- .arrow{
- display: none;
- &.active{
- display: block;
- }
- }
- }
- .nb-mobile{
- &.active{
- position: fixed;
- bottom: 0;
- }
- }
- #navbarSupportedContent{
- display: none;
- }
- .search-tab-itemBtn{
- .dropdown-wrapper{
- display: -webkit-box !important;
- }
- }
- }
- @media screen and (max-width: 576px){
- //列表 gotop btn
- .gotop-btn-wrapper{
- right: 3%;
- bottom: 10%;
- z-index: 999;
- }
- //圖庫 有空白底部
- .empty{
- display: inline-block;
- height: 35px;
- }
- //圖庫第一、二層x軸捲動
- .photos-overflow{
- overflow-x: hidden;
- }
- //圖庫第一層箭頭寬度
- .owl-nav{
- width: calc(100% + 40px);
- height: 0%;
- z-index: 10;
- }
- .photos-owl-wrapper{
- background-image: url(../images/section/icon/photos/owl-bg-s.svg);
- background-repeat:no-repeat;
- background-position: center;
- height: 300px;
- }
- .member{
- padding-top: 5.5rem;
- .item-card-member{
- .item-card-img-member{
- width: 100%;
- height: 360px;
- background-size: cover;
- background-repeat: no-repeat;
- background-position: center;
- }
- }
- }
- .navbar-brand-block, .navbar-collapse-block, .nav-user-block{
- display: none;
- }
- .navbar-brand-block-sm{
- display: inline-block;
- margin-left: auto;
- margin-right: auto;
- }
- .nb-mobile-icon{
- display: block;
- .bars{
- display: block;
- &.active{
- display: none;
- }
- }
- .arrow{
- display: none;
- &.active{
- display: block;
- }
- }
- }
- .search-tab-itemBtn{
- .dropdown-wrapper{
- display: -webkit-box !important;
- }
- }
- }
|