list-style.scss 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804
  1. body {
  2. font-family: 'Helvetica Neue';
  3. }
  4. .sec-00 {
  5. height: 295px;
  6. transition-property: height;
  7. transition-duration: 300ms;
  8. @media (max-width: 1850px) {
  9. height: 260px;
  10. }
  11. @media (max-width: 1550px) {
  12. height: 230px;
  13. }
  14. @media (max-width: 1100px) {
  15. height: 200px;
  16. }
  17. &__close {
  18. position: absolute;
  19. top: 0;
  20. right: 20px;
  21. width: 50px;
  22. height: 30px;
  23. background-color: hsla(0,0%,100%,.66);
  24. border-radius: 0 0 50px 50px;
  25. color: #888;
  26. border: none;
  27. outline: none;
  28. font-size: 11px;
  29. box-shadow: 0 0 10px rgba(32, 32, 32, 0.25);
  30. line-height: 12px;
  31. }
  32. &.bannerClose {
  33. height: 0;
  34. overflow: hidden;
  35. transition-property: height;
  36. transition-duration: 300ms;
  37. }
  38. .container-fluid {
  39. background-color: rgb(202, 202, 202);
  40. height: 295px;
  41. @media (max-width: 1850px) {
  42. height: 260px;
  43. }
  44. @media (max-width: 1550px) {
  45. height: 230px;
  46. }
  47. @media (max-width: 1100px) {
  48. height: 200px;
  49. }
  50. }
  51. &__slider {
  52. margin: 0 auto;
  53. width: 70%;
  54. height: 100%;
  55. max-width: 1344px;
  56. @media (max-width: 1850px) {
  57. max-width: 1176px;
  58. }
  59. @media (max-width: 1550px) {
  60. max-width: 1010px;
  61. }
  62. .slide-item {
  63. width: 100%;
  64. height: 295px;
  65. background-position: center center;
  66. background-size: cover;
  67. background-repeat: no-repeat;
  68. cursor: pointer;
  69. @media (max-width: 1850px) {
  70. height: 260px;
  71. }
  72. @media (max-width: 1550px) {
  73. height: 230px;
  74. }
  75. @media (max-width: 1100px) {
  76. height: 200px;
  77. }
  78. }
  79. }
  80. .slick-prev:before, .slick-next:before {
  81. display: none;
  82. }
  83. }
  84. @-webkit-keyframes slidein {
  85. 100% {
  86. height: 0px;
  87. }
  88. }
  89. @keyframes slidein {
  90. 100% {
  91. height: 0px;
  92. }
  93. }
  94. .navbar {
  95. box-shadow: 0 2px 4px -1px rgba(0,0,0,0.2), 0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12);
  96. -webkit-box-shadow: 0 2px 4px -1px rgba(0,0,0,0.2), 0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12);
  97. -moz-box-shadow: 0 2px 4px -1px rgba(0,0,0,0.2), 0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12);
  98. padding-top: 5px;
  99. padding-bottom: 5px;
  100. background-color: white !important;
  101. z-index: 99;
  102. .container-fluid {
  103. padding:0 2.5rem;
  104. @media (max-width: 1100px) {
  105. padding:0 .6rem;
  106. }
  107. }
  108. &-toggler {
  109. padding-left: 0;
  110. border-color: transparent !important;
  111. &:focus {
  112. box-shadow: none;
  113. }
  114. }
  115. &-toggler-icon {
  116. display: flex;
  117. justify-items: center;
  118. i {
  119. font-size: 25px;
  120. line-height: 30px;
  121. display: inline-block;
  122. }
  123. }
  124. &-search, &-login {
  125. padding-right: 2px;
  126. }
  127. &-login {
  128. cursor: pointer;
  129. }
  130. &-search {
  131. &-magnify {
  132. cursor: pointer;
  133. }
  134. }
  135. &-brand {
  136. font-size: 1.5rem;
  137. &.navbar-logo {
  138. display: flex;
  139. align-items: center;
  140. }
  141. .navbar-login {
  142. font-size: 1rem;
  143. color: #EE7800;
  144. text-decoration: none;
  145. }
  146. }
  147. .nav-link {
  148. cursor: pointer;
  149. @media (max-width: 1100px) {
  150. padding: .5rem .5rem;
  151. font-size: .9rem;
  152. }
  153. }
  154. .navbar-nav {
  155. .nav-item {
  156. margin: 0 .5rem;
  157. @media (max-width: 1100px) {
  158. margin: 0 0rem;
  159. }
  160. .dropbox {
  161. visibility: hidden;
  162. opacity: 0;
  163. transition: all .4s;
  164. position: absolute;
  165. width: 100vw;
  166. top: 100%;
  167. left: 0;
  168. background-color: rgba(255, 255, 255, 0.932);
  169. padding-top: 1.5rem;
  170. padding-bottom: 3rem;
  171. ul {
  172. padding-left: 0;
  173. }
  174. &-item {
  175. margin-bottom: .5rem;
  176. &.first {
  177. font-size: 1.1rem;
  178. font-weight: 600;
  179. .dropbox-link {
  180. color: black;
  181. }
  182. }
  183. }
  184. &-link {
  185. text-decoration: none;
  186. color: rgb(146, 146, 146);
  187. font-size: .85rem;
  188. &:hover {
  189. color: #EE7800;
  190. }
  191. &.dropbox-btn {
  192. border: 1px solid rgb(146, 146, 146);
  193. padding: .5rem 2rem;
  194. border-radius: 5px;
  195. width: 85%;
  196. min-width: 7rem;
  197. max-width: 11rem;
  198. }
  199. }
  200. &-btn {
  201. display: flex;
  202. align-items: center;
  203. justify-content: center;
  204. }
  205. .container {
  206. max-width: 900px;
  207. width: 70%;
  208. &.stylebox {
  209. transform: translateX(-30%);
  210. }
  211. &.designerbox {
  212. transform: translateX(-5%);
  213. }
  214. &.newbox {
  215. transform: translateX(15%);
  216. }
  217. &.forumbox {
  218. transform: translateX(50%);
  219. }
  220. }
  221. }
  222. .nav-link {
  223. position: relative;
  224. }
  225. .nav-link:after {
  226. position: absolute;
  227. content: " ";
  228. width: 100%;
  229. height: 90%;
  230. top: 0;
  231. right: 0;
  232. border-bottom: 2px solid #EE7800;
  233. opacity: 0;
  234. transform: opacity 1s;
  235. }
  236. &:hover {
  237. .nav-link:after {
  238. opacity: 1;
  239. }
  240. >.dropbox {
  241. visibility: visible;
  242. opacity: 1;
  243. }
  244. }
  245. }
  246. .nav-item.lg {
  247. .container {
  248. max-width: 1200px;
  249. width: 90%;
  250. }
  251. .dropbox-link {
  252. text-decoration: none;
  253. color: rgb(146, 146, 146);
  254. font-size: .7rem;
  255. &:hover {
  256. color: #EE7800;
  257. }
  258. }
  259. .dropbox-item {
  260. margin-bottom: .1rem;
  261. &.first {
  262. .dropbox-link {
  263. font-size: .85rem;
  264. }
  265. }
  266. }
  267. }
  268. }
  269. &-search {
  270. .container {
  271. max-width: 900px;
  272. width: 70%;
  273. @media (max-width: 1100px) {
  274. width: 90%;
  275. }
  276. }
  277. .dropbox {
  278. visibility: hidden;
  279. opacity: 0;
  280. transition: all .2s;
  281. position: absolute;
  282. width: 100vw;
  283. top: 100%;
  284. left: 0;
  285. background-color: rgba(255, 255, 255, 0.932);
  286. padding-top: 1.5rem;
  287. padding-bottom: 3rem;
  288. &.open {
  289. visibility: visible;
  290. opacity: 1;
  291. }
  292. &__searchtab {
  293. width: 100%;
  294. background-color: gray;
  295. border-radius: 3px;
  296. padding: .2rem 1rem;
  297. padding-bottom: 1rem;
  298. }
  299. &__hots {
  300. &__title {
  301. font-size: 1rem;
  302. color: rgb(107, 107, 107);
  303. }
  304. &__link {
  305. font-size: .9rem;
  306. color: rgb(146, 146, 146);
  307. text-decoration: none;
  308. cursor: pointer;
  309. margin: 0 .2rem;
  310. }
  311. }
  312. &__searchBar {
  313. &__input {
  314. width: 100%;
  315. outline: none;
  316. border: 2px solid #EE7800;
  317. border-radius: 5rem;
  318. padding: .3rem 1.2rem;
  319. font-size: .9rem;
  320. }
  321. &__submit {
  322. outline: none;
  323. border: none;
  324. font-size: .9rem;
  325. background-color: transparent;
  326. color: #EE7800;
  327. margin-left: -1rem;
  328. transform: translateX(-100%);
  329. padding: 0 .6rem;
  330. }
  331. }
  332. &__tab {
  333. .nav-item {
  334. margin: 0 .6rem;
  335. }
  336. }
  337. .nav-item-link {
  338. border: none;
  339. outline: none;
  340. font-size: 1rem;
  341. color: white;
  342. padding: 3px;
  343. position: relative;
  344. &::after {
  345. position: absolute;
  346. content: "";
  347. top: 0;
  348. left: 0;
  349. width: 100%;
  350. height: 100%;
  351. border-bottom: 3px solid #EE7800;
  352. opacity: 0;
  353. }
  354. &.active::after {
  355. opacity: 1;
  356. }
  357. }
  358. }
  359. .dropbox-tab-content {
  360. .tabpar {
  361. display: flex;
  362. padding-top: .5rem;
  363. .col {
  364. margin: 0 .6rem;
  365. }
  366. .select {
  367. font-size: 1rem;
  368. padding: .6rem;
  369. border-radius: 3px;
  370. color: rgb(116, 116, 116);
  371. }
  372. button {
  373. border: none;
  374. outline: none;
  375. background-color: #EE7800;
  376. border-radius: 3px;
  377. color: white;
  378. font-size: 1rem;
  379. padding: .6rem;
  380. }
  381. .image-search {
  382. border: none;
  383. outline: none;
  384. background-color: #EE7800;
  385. border-radius: 3px;
  386. color: white;
  387. font-size: 1rem;
  388. }
  389. .article-btn {
  390. border: none;
  391. outline: none;
  392. background-color: #EE7800;
  393. border-radius: 3px;
  394. color: white;
  395. font-size: 1rem;
  396. padding: .6rem;
  397. }
  398. .home-btn {
  399. border: none;
  400. outline: none;
  401. background-color: #EE7800;
  402. border-radius: 3px;
  403. color: white;
  404. font-size: 1rem;
  405. padding: .6rem;
  406. }
  407. }
  408. }
  409. }
  410. }
  411. .navbar-search .dropbox__tab .nav-item-link.active .nav-item-link::after {
  412. opacity: 1;
  413. }
  414. .navbar-main.sticky {
  415. position: fixed;
  416. top: 0;
  417. width: 100%;
  418. }
  419. .navbar-main.sticky + .sec-02 {
  420. padding-top: 53.5px;
  421. }
  422. .sec-02 {
  423. &__slider {
  424. width: 100%;
  425. height: 100%;
  426. .slide-item {
  427. width: 100%;
  428. height: 74vh;
  429. background-position: center center;
  430. background-size: cover;
  431. background-repeat: no-repeat;
  432. cursor: pointer;
  433. }
  434. }
  435. .slick-prev:before, .slick-next:before {
  436. display: none;
  437. }
  438. .slick-prev {
  439. left: 15px;
  440. z-index: 3;
  441. }
  442. .slick-next {
  443. right: 15px;
  444. }
  445. }
  446. a {
  447. text-decoration: none;
  448. }
  449. .text-hhh {
  450. color: #EE7800;
  451. }
  452. .content {
  453. background-color: #FCFCFC;
  454. padding: 1rem 30px 0.5rem;
  455. .infoCard {
  456. color: #727679;
  457. text-align: center;
  458. padding: 1rem;
  459. background-color: rgba(244, 244, 244, 0.8);
  460. box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15);
  461. transform: translateY(-150px);
  462. &__seo {
  463. font-size: .9rem;
  464. text-align: center;
  465. padding: 1rem;
  466. display: block;
  467. line-height: 1.2;
  468. }
  469. &__approve {
  470. color: #FF0000;
  471. }
  472. &__avatar {
  473. width: 200px;
  474. height: 200px;
  475. border: 3px solid #FFF;
  476. border-radius: 50%;
  477. background-size: cover;
  478. background-repeat: no-repeat;
  479. }
  480. &__detail {
  481. aside {
  482. line-height: 2;
  483. font-size: .9rem;
  484. }
  485. &__l {
  486. flex-basis: 30%;
  487. display: flex;
  488. justify-content: flex-end;
  489. flex-grow: 0;
  490. max-width: 30%;
  491. &.title {
  492. color: #AAAAAA;
  493. font-size: 1.125rem;
  494. font-weight: bold;
  495. transform: translateX(-15px);
  496. }
  497. }
  498. &__r {
  499. flex-basis: 70%;
  500. text-align: start;
  501. flex-grow: 0;
  502. max-width: 70%;
  503. word-break: break-all;
  504. }
  505. }
  506. .scMedia {
  507. display: flex;
  508. padding: 1rem 0;
  509. width: 100%;
  510. margin-left: auto;
  511. margin-right: auto;
  512. justify-content: space-around;
  513. a {
  514. width: 16%;
  515. img {
  516. width: 100%;
  517. }
  518. }
  519. }
  520. }
  521. }
  522. .infoContent {
  523. a {
  524. color: #727679;
  525. text-decoration: none;
  526. font-size: .9rem;
  527. &.active {
  528. color: #EE7800;
  529. }
  530. }
  531. .nav-item {
  532. margin: 0 0.8rem;
  533. width: auto;
  534. &-link {
  535. display: block;
  536. padding: 0.5rem 2.5rem;
  537. text-decoration: none;
  538. background-color: transparent;
  539. font-size: .9rem;
  540. color: #727679;
  541. &.active {
  542. color: #EE7800;
  543. border-bottom: 2px solid #EE7800;
  544. }
  545. }
  546. }
  547. .likeSee {
  548. &__divider {
  549. height: 12px;
  550. display: inline-block;
  551. border: 0.5px solid #9d9d9d;
  552. }
  553. }
  554. .card {
  555. box-shadow: 0 1px 10px #eee;
  556. margin: 0 0 1.5rem;
  557. border: none;
  558. &__bgImg {
  559. height: 293px;
  560. background-repeat: no-repeat;
  561. background-size: cover;
  562. background-position: center;
  563. position: relative;
  564. display: flex;
  565. justify-content: center;
  566. -webkit-box-align: center;
  567. align-items: center;
  568. -webkit-box-pack: center;
  569. }
  570. &-body {
  571. padding: 0.5rem 1rem;
  572. }
  573. &__title {
  574. font-size: 1.125rem;
  575. -webkit-box-orient: vertical;
  576. box-orient: vertical;
  577. -webkit-line-clamp: 2;
  578. height: calc(18px * 2 * 1.5);
  579. overflow: hidden;
  580. text-overflow: ellipsis;
  581. display: -webkit-box;
  582. font-weight: bold;
  583. margin: 0.5rem 0;
  584. color: #727679;
  585. }
  586. &__tag {
  587. margin: 0 0.2rem 0 0;
  588. }
  589. }
  590. .company {
  591. &__block {
  592. margin: 0 0 2rem;
  593. }
  594. &__title {
  595. color: #AAAAAA;
  596. font-size: 2rem;
  597. font-weight: bold;
  598. }
  599. &__text {
  600. color: #43484C;
  601. }
  602. }
  603. }
  604. .nav-collapse-fixed {
  605. position: fixed;
  606. top: 52px;
  607. z-index: 1010;
  608. width: 100%;
  609. opacity: 0;
  610. transition: opacity .5s;
  611. &.sticky {
  612. display: block;
  613. opacity: 1;
  614. }
  615. .nav-collpase {
  616. padding: 1rem 0;
  617. background-color: #FCFCFC;
  618. box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15)
  619. }
  620. }
  621. .navbar-main.sticky + .hero {
  622. padding-top: 53px;
  623. }
  624. .fixed-btn {
  625. position: fixed;
  626. right: 15px;
  627. bottom: 2rem;
  628. .btn-gotop, .btn-login, .btn-favor {
  629. cursor: pointer;
  630. padding: 1.2rem .8rem;
  631. background-color: rgba(255, 255, 255, 0.897);
  632. display: flex;
  633. align-items: center;
  634. box-shadow: 1px 1px 1px -3px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
  635. -webkit-box-shadow: 1px 1px 1px -3px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
  636. -moz-box-shadow: 1px 1px 1px -3px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
  637. }
  638. }
  639. .footer {
  640. background: #e9e9e9;
  641. padding: 2.5rem 0;
  642. .container {
  643. @media (max-width: 1100px) {
  644. width: 98%;
  645. max-width: 950px;
  646. }
  647. }
  648. &__block {
  649. padding: 1rem 3rem;
  650. border-left: 1px solid rgb(143, 143, 143);
  651. @media (max-width: 1100px) {
  652. padding: 1rem 1rem;
  653. }
  654. &-title {
  655. font-size: 1.3rem;
  656. margin-bottom: 1.5rem;
  657. }
  658. &-list {
  659. padding-left: 0;
  660. }
  661. &:nth-of-type(1) {
  662. border-left: none;
  663. }
  664. &:nth-of-type(2) {
  665. padding: 1rem 4rem;
  666. @media (max-width: 1100px) {
  667. padding: 1rem 1rem;
  668. }
  669. }
  670. &-socials {
  671. padding-left: 0;
  672. display: flex;
  673. align-items: center;
  674. justify-content: space-between;
  675. img {
  676. @media (max-width: 1100px) {
  677. width: 30px;
  678. }
  679. }
  680. }
  681. .follows-fp {
  682. text-decoration: none;
  683. color: #696969;
  684. font-size: .9rem;
  685. display: flex;
  686. align-items: center;
  687. @media (max-width: 1100px) {
  688. font-size: .8rem;
  689. }
  690. }
  691. &-phone {
  692. p {
  693. display: inline;
  694. @media (max-width: 900px) {
  695. display: block;
  696. }
  697. }
  698. p, span {
  699. font-size: .9rem;
  700. }
  701. .text-phone {
  702. color: #EE7800;
  703. text-decoration: none;
  704. }
  705. }
  706. &-links {
  707. display: flex;
  708. align-items: center;
  709. margin-top: 1rem;
  710. justify-content: center;
  711. &-grp {
  712. padding: .3rem;
  713. border-left: 1px solid rgb(185, 185, 185);
  714. &:nth-of-type(1) {
  715. border-left: none;
  716. }
  717. a {
  718. display: block;
  719. text-decoration: none;
  720. color: #696969;
  721. font-size: .9rem;
  722. margin-bottom: .4rem;
  723. @media (max-width: 1100px) {
  724. font-size: .8rem;
  725. }
  726. }
  727. }
  728. }
  729. &-subscribe {
  730. width: 100%;
  731. margin-top: 1rem;
  732. .subscribeBar {
  733. font-size: .8rem;
  734. width: 70%;
  735. margin-left: 7%;
  736. @media (max-width: 900px) {
  737. width: 75%;
  738. margin-left: 3%;
  739. font-size: .7rem;
  740. }
  741. }
  742. .subscribeBtn {
  743. width: 20%;
  744. padding: .4rem .6rem;
  745. padding-bottom: 9px;
  746. border: none;
  747. outline: none;
  748. background-color: rgb(41, 41, 41);
  749. color: white;
  750. border-radius: 0 3px 3px 0;
  751. margin-left: -.4rem;
  752. @media (max-width: 900px) {
  753. margin-left: -.3rem;
  754. font-size: .8rem;
  755. padding-top: 9px;
  756. padding-bottom: 10px;
  757. }
  758. }
  759. }
  760. }
  761. &__list-item {
  762. display: flex;
  763. align-items: center;
  764. text-decoration: none;
  765. margin-bottom: .5rem;
  766. p {
  767. color: #696969;
  768. font-size: .9rem;
  769. font-weight: 300;
  770. }
  771. }
  772. &__list-icon {
  773. width: 30px;
  774. display: flex;
  775. justify-content: center;
  776. margin-right: .3rem;
  777. }
  778. .bottom-box {
  779. padding: 1rem 0;
  780. border-top: 1px solid rgb(185, 185, 185);
  781. margin-top: 2.5rem;
  782. }
  783. }