library.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781
  1. body, #voca-wrap{
  2. background: #f7f7f7;
  3. }
  4. .library-header {
  5. background: linear-gradient(to bottom, #F7DC6F 0%, #F39C12 100%);
  6. background-size: 1314px 320px;
  7. background-position: center -85px;
  8. padding: 0px 15px;
  9. }
  10. .library-header .library-cover{
  11. max-width: var(--max-width);
  12. margin: auto;
  13. display: flex;
  14. position: relative;
  15. min-height: 200px;
  16. }
  17. .library-header .library-cover .cover-center{
  18. margin: auto;
  19. width: 100%;
  20. }
  21. .library-title{
  22. font-family: opensanslight;
  23. font-size: 35px;
  24. color: #fff;
  25. margin: 0px;
  26. line-height: 42px;
  27. margin-bottom: 5px;
  28. }
  29. .library-description{
  30. font-family: opensansregular;
  31. font-size: 16px;
  32. color: #fff;
  33. line-height: 22px;
  34. /* max-width: 390px;*/
  35. margin: 0px;
  36. }
  37. .library-search-cover{
  38. padding-left: 30px;
  39. padding-top: 10px;
  40. }
  41. .library-search-container{
  42. position: relative;
  43. width: 100%;
  44. height: 45px;
  45. }
  46. #library-search-input{
  47. width: 100%;
  48. height: 100%;
  49. font-family: opensanssemibold;
  50. font-size: 15px;
  51. color: var(--color-default-title);
  52. padding: 0px 30px;
  53. padding-right: 50px;
  54. background: #fff;
  55. border: 2px solid var(--color-blue-bg);
  56. outline: 0px;
  57. border-radius: 30px;
  58. position: relative;
  59. z-index: 1001;
  60. }
  61. #library-search-input::placeholder{
  62. font-family: opensanslight;
  63. color: var(--color-default-text);
  64. }
  65. .library-header-menu{
  66. width: 100%;
  67. position: absolute;
  68. bottom: 0px;
  69. left: 0px;
  70. overflow: hidden;
  71. }
  72. .library-header-menu-cover{
  73. white-space: nowrap;
  74. display: inline-block;
  75. }
  76. .library-header-menu .menu-item{
  77. display: inline-block;
  78. height: 35px;
  79. line-height: 35px;
  80. vertical-align: bottom;
  81. padding: 0px 20px;
  82. font-family: opensanssemibold;
  83. font-size: 13px;
  84. color: #fff;
  85. text-decoration: none;
  86. outline: 0px;
  87. min-width: 100px;
  88. text-align: center;
  89. }
  90. .library-header-menu .menu-item.menu-active{
  91. border-bottom: 4px solid #fff;
  92. }
  93. .library-body{
  94. padding: 40px 15px;
  95. }
  96. .library-body .body-cover{
  97. max-width: var(--max-width);
  98. margin: auto;
  99. }
  100. .library-list-product {
  101. margin-left: -15px;
  102. margin-right: -15px;
  103. text-align: center;
  104. }
  105. .library-list-product .library-product {
  106. width: 259px;
  107. height: 250px;
  108. display: inline-block;
  109. vertical-align: top;
  110. /*margin: 0px 15px 40px;*/
  111. margin: 0px 10px 20px;
  112. position: relative;
  113. transition: 0.1s all linear;
  114. }
  115. .library-list-product .library-product-cover{
  116. width: 100%;
  117. height: 100%;
  118. display: inline-block;
  119. text-decoration: none;
  120. border-radius: 10px;
  121. background: #fff;
  122. border: 1px solid #E3E4E5;
  123. box-shadow: 0px 0px 5px 0px #E8E8E8;
  124. position: relative;
  125. transition: 0.1s all linear;
  126. overflow: hidden;
  127. }
  128. .library-list-product .library-product:hover .library-product-cover{
  129. box-shadow: 0px 2px 10px 1px #E8E8E8;
  130. }
  131. .library-list-product .library-product:hover{
  132. transform: translate(0, -3px);
  133. }
  134. .library-product .product-image{
  135. width: 100%;
  136. height: 120px;
  137. margin-bottom: 15px;
  138. }
  139. .library-product .product-price{
  140. display: inline-block;
  141. width: 50px;
  142. height: 35px;
  143. position: absolute;
  144. left: 10px;
  145. top: 0;
  146. font-size: 13px;
  147. color: #fff;
  148. background: #EC008C;
  149. padding-top: 4px;
  150. line-height: 15px;
  151. text-align: center;
  152. }
  153. .library-product .product-price:after {
  154. content: "";
  155. position: absolute;
  156. bottom: -15px;
  157. left: 0;
  158. width: 0;
  159. height: 0;
  160. border-left: 25px solid transparent;
  161. border-right: 25px solid transparent;
  162. border-top: 15px solid #EC008C;
  163. }
  164. .library-product .product-price.product-free{
  165. background: #7AC60C;
  166. font-size: 15px;
  167. padding-top: 13px;
  168. }
  169. .library-product .product-price.product-free:after {
  170. border-top: 15px solid #7AC60C;
  171. }
  172. .library-product .product-name{
  173. padding: 0px 15px;
  174. font-family: opensansbold;
  175. font-size: 16px;
  176. color: var(--color-default-title);
  177. margin-bottom: 5px;
  178. line-height: 20px;
  179. min-height: 25px;
  180. overflow: hidden;
  181. -webkit-line-clamp: 2;
  182. -webkit-box-orient: vertical;
  183. display: -webkit-box;
  184. }
  185. .library-product .product-category{
  186. padding: 0px 15px;
  187. font-family: opensansregular;
  188. font-size: 13px;
  189. color: var(--color-green-text);
  190. margin-bottom: 10px;
  191. }
  192. .library-product .product-description{
  193. padding: 0px 15px;
  194. font-family: opensansregular;
  195. font-size: 13px;
  196. color: #AFAFAF;
  197. line-height: 18px;
  198. margin: 0px;
  199. overflow: hidden;
  200. -webkit-line-clamp: 3;
  201. -webkit-box-orient: vertical;
  202. display: -webkit-box;
  203. }
  204. .library-product .product-bottom{
  205. padding: 0px 15px;
  206. width: 100%;
  207. height: 55px;
  208. display: flex;
  209. position: absolute;
  210. left: 0px;
  211. bottom: 0px;
  212. background: #eaeaea;
  213. }
  214. .library-product .product-bottom .bottom-text{
  215. font-family: opensanslight;
  216. font-size: 16px;
  217. color: var(--color-default-title);
  218. margin: auto;
  219. text-align: center;
  220. }
  221. .library-product .product-bottom .bottom-text .text-bold{
  222. font-family: opensanssemibold;
  223. }
  224. .library-product .dropdown{
  225. position: absolute;
  226. right: 10px;
  227. top: 10px;
  228. }
  229. .library-product .dropdown button{
  230. display: inline-block;
  231. width: 17px;
  232. height: 17px;
  233. background: url('../imgs/learning-icon-bg.svg') 0px -2620px;
  234. border: 0px;
  235. outline: 0px;
  236. padding: 0px;
  237. margin: 0px;
  238. opacity: 0;
  239. transition: opacity .25s ease;
  240. }
  241. .library-product:hover .dropdown button{
  242. opacity: 1;
  243. }
  244. .library-product .dropdown.open button{
  245. background-position: 0px -2640px;
  246. opacity: 1;
  247. }
  248. .library-product .dropdown .dropdown-menu{
  249. width: 180px;
  250. padding: 15px 0px;
  251. background: #fff;
  252. border-radius: 10px;
  253. border: 0px;
  254. box-shadow: 0px 0px 10px 1px #D6D7D8;
  255. top: calc(100% + 17px);
  256. left: auto;
  257. right: -20px;
  258. }
  259. .library-product .dropdown .dropdown-menu::before{
  260. content: "";
  261. display: inline-block;
  262. width: 12px;
  263. height: 12px;
  264. box-shadow: 1px -1px 10px 0px #D6D7D8;
  265. position: absolute;
  266. top: 0px;
  267. right: 23px;
  268. transform: translate(0px, -50%) rotate(-45deg);
  269. background: #fff;
  270. }
  271. .library-product .dropdown .dropdown-menu li a{
  272. font-family: opensansregular;
  273. font-size: 13px;
  274. color: var(--color-default-title);
  275. height: 35px;
  276. line-height: 35px;
  277. width: 100%;
  278. transition: 0.2s all ease;
  279. padding: 0px 0px 0px 25px;
  280. }
  281. .library-product .dropdown .dropdown-menu li a:hover{
  282. font-family: opensanssemibold;
  283. color: #fff;
  284. background: var(--color-blue-bg);
  285. }
  286. .library-search-icon{
  287. position: absolute;
  288. right: 17px;
  289. top: calc(50% - 12px);
  290. display: inline-block;
  291. width: 25px;
  292. height: 25px;
  293. background: #fff;
  294. transition: 0.3s ease;
  295. transform-style: preserve-3d;
  296. cursor: pointer;
  297. z-index: 1001;
  298. }
  299. .library-search-icon .icon-search{
  300. display: inline-block;
  301. width: 20px;
  302. height: 21px;
  303. background: url('../imgs/learning-icon-bg.svg') 0px -2480px;
  304. position: absolute;
  305. left: 50%;
  306. top: 50%;
  307. transform: translate(-50%, -50%);
  308. backface-visibility: hidden;
  309. z-index: 2;
  310. }
  311. .library-search-icon .icon-search-close{
  312. display: inline-block;
  313. width: 18px;
  314. height: 18px;
  315. background: url('../imgs/learning-icon-bg.svg') 0px -2505px;
  316. position: absolute;
  317. left: 50%;
  318. top: 50%;
  319. transform: translate(-50%, -50%) rotateY(-180deg);
  320. backface-visibility: hidden;
  321. }
  322. .library-search-icon.flipper-icon {
  323. transform: rotateY(-180deg);
  324. }
  325. .library-search-result{
  326. position: absolute;
  327. width: 100%;
  328. left: 0px;
  329. top: calc(100% + 8px);
  330. border: 1px solid var(--color-blue-bg);
  331. background: #fff;
  332. display: none;
  333. z-index: 1001;
  334. border-radius: 15px;
  335. }
  336. .library-search-result .result-empty{
  337. padding: 35px 30px;
  338. text-align: center;
  339. }
  340. .library-search-result .result-product{
  341. padding: 20px 30px;
  342. display: none;
  343. }
  344. .library-search-result .result-empty .empty-icon{
  345. display: block;
  346. margin: auto;
  347. width: 45px;
  348. height: 46px;
  349. background: url('../imgs/learning-icon-bg.svg') 0px -1660px;
  350. margin-bottom: 15px;
  351. }
  352. .library-search-result .result-empty .empty-text{
  353. font-family: opensansregular;
  354. font-size: 13px;
  355. color: var(--color-gray);
  356. line-height: 22px;
  357. margin: auto;
  358. text-align: center;
  359. max-width: 300px;
  360. }
  361. .library-search-result .result-empty .empty-button{
  362. display: block;
  363. width: 200px;
  364. height: 48px;
  365. line-height: 48px;
  366. border: 0px;
  367. border-radius: 30px;
  368. font-family: opensanssemibold;
  369. font-size: 13px;
  370. color: #fff;
  371. background: var(--color-blue-bg);
  372. text-decoration: none;
  373. text-align: center;
  374. margin: auto;
  375. margin-top: 15px;
  376. }
  377. .library-search-container .shadow-overlap {
  378. position: fixed;
  379. width: 100%;
  380. height: 100%;
  381. left: 0px;
  382. top: 0px;
  383. right: 0px;
  384. bottom: 0px;
  385. background: rgba(0, 0, 0, .5);
  386. z-index: 1000;
  387. display: none;
  388. }
  389. .library-search-result .result-product-title{
  390. font-family: opensanslight;
  391. font-size: 13px;
  392. color: var(--color-default-title);
  393. margin-bottom: 10px;
  394. border-bottom: 1px solid #E5E5E5;
  395. padding-bottom: 10px;
  396. }
  397. .library-search-result .result-detai{
  398. font-family: opensanssemibold;
  399. font-size: 15px;
  400. color: var(--color-default-title);
  401. display: block;
  402. padding: 0px 30px;
  403. line-height: 45px;
  404. height: 45px;
  405. overflow: hidden;
  406. white-space: nowrap;
  407. text-overflow: ellipsis;
  408. border-radius: 30px;
  409. text-decoration: none;
  410. outline: 0px;
  411. transition: 0.2s all ease;
  412. }
  413. .library-search-result .result-detai:hover{
  414. color: var(--color-blue-text);
  415. background: #E6F9FF;
  416. }
  417. .library-result-search{
  418. margin-bottom: 40px;
  419. }
  420. .library-result-search .result-search-title{
  421. font-family: opensanslight;
  422. font-size: 25px;
  423. color: var(--color-default-title);
  424. margin-bottom: 5px;
  425. }
  426. .library-result-search .result-search-value{
  427. font-family: opensanslight;
  428. font-size: 16px;
  429. color: var(--color-default-title);
  430. margin: 0px;
  431. }
  432. .library-result-search .result-search-value span{
  433. color: var(--color-blue-text);
  434. }
  435. @media (max-width: 768px){
  436. .library-header .library-cover{
  437. padding-bottom: 35px;
  438. }
  439. .library-search-cover{
  440. padding-left: 0px;
  441. }
  442. .library-list-product{
  443. width: 289px;
  444. margin: auto;
  445. }
  446. .library-header {
  447. /*background: var(--color-main-white);*/
  448. margin-top: 8px;
  449. }
  450. .library-header .library-cover{
  451. min-height: 50px;
  452. }
  453. .cover-center{
  454. /*display: none;*/
  455. }
  456. .library-header-menu .menu-item{
  457. font-size: 15px;
  458. color: var(--color-default-text);
  459. }
  460. .library-header-menu .menu-item.menu-active{
  461. border-bottom-color: var(--color-blue-bg);
  462. color: var(--color-blue-text);
  463. }
  464. }
  465. /* MODAL */
  466. @media (min-width: 768px){
  467. #modal-suggest-product .modal-dialog {
  468. width: 460px;
  469. margin-top: 70px;
  470. }
  471. }
  472. #modal-suggest-product .modal-content{
  473. padding: 30px 30px 85px;
  474. background: #F7F7F7;
  475. border-radius: 6px;
  476. position: relative;
  477. }
  478. #modal-suggest-product form{
  479. margin: 0px;
  480. }
  481. .suggest-product-title{
  482. font-family: opensanslight;
  483. font-size: 22px;
  484. color: var(--color-blue-text);
  485. margin-bottom: 30px;
  486. text-align: center;
  487. }
  488. .suggest-product-label{
  489. font-family: opensansregular;
  490. font-size: 13px;
  491. color: var(--color-default-text);
  492. margin-bottom: 15px;
  493. display: block;
  494. }
  495. .suggest-product-label .text-blue{
  496. font-family: opensansitalic;
  497. color: var(--color-blue-text);
  498. }
  499. .suggest-product-label .text-important{
  500. color: var(--color-blue-text);
  501. }
  502. .suggest-product-input{
  503. width: 100%;
  504. height: 40px;
  505. border: 1px solid #DBDBDB;
  506. border-radius: 3px;
  507. outline: 0px;
  508. background: transparent;
  509. font-family: opensansregular;
  510. font-size: 15px;
  511. color: var(--color-default-text);
  512. padding: 0px 17px;
  513. margin-bottom: 20px;
  514. transition: 0.2s all ease;
  515. }
  516. textarea.suggest-product-input{
  517. padding-top: 10px;
  518. height: 110px;
  519. resize: none;
  520. }
  521. .suggest-product-input:hover, .suggest-product-input:focus{
  522. border-color: var(--color-blue-bg);
  523. }
  524. .suggest-product-input::placeholder{
  525. font-size: 14px;
  526. color: var(--color-gray);
  527. }
  528. .suggest-product-input.input-captcha{
  529. width: calc(100% - 200px);
  530. display: inline-block;
  531. vertical-align: top;
  532. }
  533. .suggest-product-captcha{
  534. width: 196px;
  535. display: inline-block;
  536. vertical-align: top;
  537. text-align: right;
  538. }
  539. .suggest-product-captcha .captcha-img{
  540. width: 140px;
  541. height: 40px;
  542. border-radius: 3px;
  543. border: 1px solid var(--color-blue-bg);
  544. vertical-align: middle;
  545. display: inline-block;
  546. }
  547. .suggest-product-captcha .captcha-icon{
  548. display: inline-block;
  549. width: 15px;
  550. height: 15px;
  551. background: url('../imgs/learning-icon-bg.svg') 0px -1710px;
  552. margin-left: 15px;
  553. vertical-align: middle;
  554. cursor: pointer;
  555. }
  556. .suggest-product-bottom{
  557. position: absolute;
  558. width: 100%;
  559. height: 85px;
  560. bottom: 0px;
  561. left: 0px;
  562. display: flex;
  563. padding: 15px;
  564. background: #F4F4F4;
  565. border-bottom-left-radius: 5px;
  566. border-bottom-right-radius: 5px;
  567. }
  568. .suggest-product-bottom button{
  569. display: inline-block;
  570. width: 180px;
  571. height: 48px;
  572. outline: 0px;
  573. border: 0px;
  574. font-family: opensanssemibold;
  575. font-size: 15px;
  576. color: #AFAFAF;
  577. background: #DDDDDD;
  578. text-align: center;
  579. border-radius: 30px;
  580. margin: auto;
  581. transition: 0.2s all ease;
  582. }
  583. .suggest-product-bottom button.button-active{
  584. color: #fff;
  585. background: var(--color-blue-bg);
  586. }
  587. #modal-suggest-product .modal-button-close {
  588. display: inline-block;
  589. width: 25px;
  590. height: 25px;
  591. background: url('../imgs/learning-icon-bg.svg') 0px -1495px;
  592. text-decoration: none;
  593. outline: 0px;
  594. padding: 0px;
  595. position: absolute;
  596. right: -9px;
  597. top: -9px;
  598. cursor: pointer;
  599. }
  600. @media (max-width: 767px){
  601. .suggest-product-input.input-captcha{
  602. width: 100%;
  603. }
  604. .suggest-product-captcha{
  605. text-align: left;
  606. margin-bottom: 20px;
  607. }
  608. }
  609. /* END MODAl */
  610. /* PAGINATION */
  611. .library-list-pagination .pagination {
  612. display: block;
  613. text-align: center;
  614. margin: auto;
  615. }
  616. .library-list-pagination .pagination > li {
  617. display: inline-block;
  618. vertical-align: top;
  619. margin: 5px;
  620. }
  621. .library-list-pagination .pagination > li > a,
  622. .library-list-pagination .pagination > li > span {
  623. position: relative;
  624. float: none;
  625. display: inline-block;
  626. width: 35px;
  627. height: 35px;
  628. padding: 0px;
  629. margin: 0px;
  630. line-height: 33px;
  631. color: var(--color-blue-text);
  632. text-decoration: none;
  633. text-align: center;
  634. background-color: transparent;
  635. border: 1px solid var(--color-blue-bg);
  636. outline: 0px;
  637. border-radius: 50%;
  638. font-family: opensansregular;
  639. font-size: 18px;
  640. }
  641. .library-list-pagination .pagination > li > a:hover,
  642. .library-list-pagination .pagination > li > span:hover,
  643. .library-list-pagination .pagination > li > a:focus,
  644. .library-list-pagination .pagination > li > span:focus {
  645. z-index: 2;
  646. color: #fff;
  647. background-color: var(--color-blue-bg);
  648. border-color: var(--color-blue-bg);
  649. }
  650. .library-list-pagination .pagination > .active > a,
  651. .library-list-pagination .pagination > .active > span,
  652. .library-list-pagination .pagination > .active > a:hover,
  653. .library-list-pagination .pagination > .active > span:hover,
  654. .library-list-pagination .pagination > .active > a:focus,
  655. .library-list-pagination .pagination > .active > span:focus {
  656. z-index: 3;
  657. color: #fff;
  658. background-color: var(--color-blue-bg);
  659. border-color: var(--color-blue-bg);
  660. }
  661. .library-list-pagination .pagination > .disabled > span,
  662. .library-list-pagination .pagination > .disabled > span:hover,
  663. .library-list-pagination .pagination > .disabled > span:focus,
  664. .library-list-pagination .pagination > .disabled > a,
  665. .library-list-pagination .pagination > .disabled > a:hover,
  666. .library-list-pagination .pagination > .disabled > a:focus {
  667. color: var(--color-blue-text);
  668. cursor: default;
  669. background-color: transparent;
  670. border-color: var(--color-blue-bg);
  671. }
  672. /* END PAGINATION */
  673. .ads-banner{
  674. display:none!important;
  675. }
  676. /*.library-header{
  677. background: #f7f7f7;
  678. border-bottom: 1px solid #ddd;
  679. }
  680. .library-header .library-cover{
  681. min-height: 45px;
  682. }
  683. .library-header .library-cover .cover-center{
  684. display: none;
  685. }
  686. .library-header-menu .menu-item{
  687. color: #231F20;
  688. }
  689. .library-header-menu .menu-item.menu-active{
  690. border-bottom: 4px solid #00c5f9;
  691. color: #00bcef;
  692. }*/