user-course.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680
  1. /*
  2. * @Author: fanken
  3. * @Date: 2019-08-07 10:54:43
  4. * @Last Modified by: fanken
  5. * @Last Modified time: 2019-08-12 16:34:54
  6. */
  7. .header-banner img {
  8. width: 100%;
  9. }
  10. .library-header {
  11. background: linear-gradient(to bottom, #7FD5FF 0%, #00BAF4 100%);
  12. background-size: 1314px 320px;
  13. background-position: center -85px;
  14. padding: 0px 15px;
  15. }
  16. .library-header .library-cover {
  17. max-width: var(--max-width);
  18. margin: auto;
  19. display: flex;
  20. position: relative;
  21. min-height: 200px;
  22. }
  23. .library-header .library-header-right {
  24. text-align: right;
  25. }
  26. .library-header-button {
  27. display: inline-block;
  28. width: 150px;
  29. height: 50px;
  30. line-height: 50px;
  31. font-weight: 500;
  32. font-size: 15px;
  33. border: 0px;
  34. border-radius: 30px;
  35. outline: 0px;
  36. text-decoration: none;
  37. text-align: center;
  38. margin: 15px;
  39. color: #fff;
  40. background: #7ac60c;
  41. }
  42. .library-header-button::before {
  43. content: "+";
  44. display: inline-block;
  45. vertical-align: middle;
  46. margin-right: 10px;
  47. font-size: 28px;
  48. }
  49. .library-header-button:hover,
  50. .library-header-button:focus {
  51. color: #fff;
  52. text-decoration: none;
  53. }
  54. .library-header .library-cover .cover-center {
  55. margin: auto;
  56. width: 100%;
  57. }
  58. .library-title {
  59. font-weight: 300;
  60. font-size: 35px;
  61. color: #fff;
  62. margin: 0px;
  63. line-height: 42px;
  64. margin-bottom: 5px;
  65. }
  66. .library-description {
  67. font-weight: 400;
  68. font-size: 16px;
  69. color: #fff;
  70. line-height: 22px;
  71. /* max-width: 390px;*/
  72. margin: 0px;
  73. }
  74. .library-library-cover {
  75. padding-left: 30px;
  76. padding-top: 10px;
  77. }
  78. .library-library-container {
  79. position: relative;
  80. width: 100%;
  81. height: 45px;
  82. }
  83. #library-library-input {
  84. width: 100%;
  85. height: 100%;
  86. font-weight: 500;
  87. font-size: 15px;
  88. color: #231f20;
  89. padding: 0px 30px;
  90. padding-right: 50px;
  91. background: #fff;
  92. border: 2px solid var(--color-blue-bg);
  93. outline: 0px;
  94. border-radius: 30px;
  95. position: relative;
  96. z-index: 1001;
  97. }
  98. #library-library-input::placeholder {
  99. font-weight: 300;
  100. color: var(--color-default-text);
  101. }
  102. .library-header-menu {
  103. width: 100%;
  104. position: absolute;
  105. bottom: 0px;
  106. left: 0px;
  107. overflow: hidden;
  108. }
  109. .library-header-menu-cover {
  110. white-space: nowrap;
  111. display: inline-block;
  112. }
  113. .library-header-menu .menu-item {
  114. display: inline-block;
  115. height: 35px;
  116. line-height: 35px;
  117. vertical-align: bottom;
  118. padding: 0px 20px;
  119. font-weight: 500;
  120. font-size: 13px;
  121. color: #fff;
  122. text-decoration: none;
  123. outline: 0px;
  124. min-width: 100px;
  125. text-align: center;
  126. }
  127. .library-header-menu .menu-item.menu-active {
  128. border-bottom: 4px solid #fff;
  129. }
  130. .tab-content .tab-pane {
  131. padding-top: 0px;
  132. }
  133. .product-group {
  134. max-width: 1150px;
  135. margin: 10px auto 30px;
  136. position: relative;
  137. z-index: 1;
  138. padding-bottom: 30px;
  139. background: #fff;
  140. padding: 0px 0px 15px;
  141. }
  142. .product-group.product-learning-group {
  143. padding-bottom: 0px;
  144. }
  145. .product-group h1 {
  146. font-size: 25px;
  147. font-weight: 300 !important;
  148. margin-bottom: 0px;
  149. margin-top: 20px;
  150. }
  151. .product-group h2 {
  152. font-size: 16px;
  153. font-weight: 300 !important;
  154. margin-top: 30px;
  155. max-width: 390px;
  156. line-height: 22px;
  157. text-transform: uppercase;
  158. }
  159. .product-group .nav-tabs.product-tab {
  160. border-bottom: 1px solid #d2d4d3;
  161. position: relative;
  162. margin-top: 20px;
  163. }
  164. .product-group .nav-tabs.product-tab > li {
  165. margin: 0px;
  166. margin-right: 15px;
  167. padding-bottom: 9px;
  168. }
  169. .product-group .nav-tabs.product-tab > li.active {
  170. border: 0px;
  171. }
  172. .product-group .nav-tabs.product-tab > li > a {
  173. color: #575757;
  174. font-size: 15px;
  175. padding: 0px;
  176. margin: 0px;
  177. border-radius: 0px;
  178. text-decoration: none;
  179. outline: 0px;
  180. border: 0px;
  181. transition: 0.15s all linear;
  182. min-width: 100px;
  183. text-align: center;
  184. height: unset;
  185. line-height: unset;
  186. display: inline-block;
  187. }
  188. .product-group .nav-tabs.product-tab > li > a:hover {
  189. background: none;
  190. }
  191. .nav-tabs.product-tab > li.active > a,
  192. .nav-tabs.product-tab > li.active > a:focus,
  193. .nav-tabs.product-tab > li.active > a:hover {
  194. color: #00c5f9;
  195. border: 0px;
  196. font-weight: 400 !important;
  197. }
  198. .product-group .nav-tabs.product-tab > li > a span {
  199. background: #00c5f9;
  200. color: #fff;
  201. margin-left: 5px;
  202. padding-left: 7px;
  203. padding-right: 7px;
  204. border-radius: 10px;
  205. }
  206. .product-tab .active-bar {
  207. width: 0px;
  208. height: 3px;
  209. background: #00c5f9;
  210. position: absolute;
  211. bottom: 0px;
  212. left: 0px;
  213. transition: 0.3s all ease-out, 0.2s width linear;
  214. }
  215. .product-tab-content {
  216. margin-left: 0px;
  217. width: 100%;
  218. }
  219. .individual-home-product-list {
  220. max-width: 100%;
  221. margin: auto;
  222. position: relative;
  223. z-index: 1;
  224. }
  225. .individual-home-product-list .home-library-product {
  226. width: 100%;
  227. min-height: 135px;
  228. display: block;
  229. position: relative;
  230. text-align: left;
  231. padding: 10px 0px;
  232. border-bottom: 1px solid #ddd;
  233. }
  234. .individual-home-product-list .home-library-product-cover {
  235. width: 100%;
  236. height: 100%;
  237. display: block;
  238. text-decoration: none;
  239. border-radius: 10px;
  240. box-shadow: none;
  241. position: relative;
  242. }
  243. .individual-home-product-list .product-ads .home-library-product-cover {
  244. border: 0;
  245. box-shadow: none;
  246. border-radius: 0;
  247. }
  248. .home-library-product .product-image-group {
  249. width: 100%;
  250. height: 115px;
  251. position: relative;
  252. max-width: 200px;
  253. float: left;
  254. background: #fff;
  255. }
  256. .home-library-product .product-image {
  257. width: 100%;
  258. height: 100%;
  259. }
  260. .home-library-product .image-shadow {
  261. width: 100%;
  262. height: 100%;
  263. position: absolute;
  264. left: 0px;
  265. top: 0px;
  266. background-color: rgba(0, 0, 0, .7);
  267. display: flex;
  268. opacity: 0;
  269. transition: 0.3s all ease;
  270. }
  271. .home-library-product .image-shadow .image-button {
  272. display: inline-block;
  273. height: 45px;
  274. padding: 0px 12px;
  275. line-height: 45px;
  276. border-radius: 3px;
  277. background-color: var(--color-blue-bg);
  278. font-weight: 500;
  279. font-size: 13px;
  280. color: #fff;
  281. margin: auto;
  282. }
  283. .home-library-product .product-image-group:hover .image-shadow {
  284. opacity: 1;
  285. }
  286. .home-library-product .product-content {
  287. float: left;
  288. width: 100%;
  289. max-width: 500px;
  290. padding: 0px 15px;
  291. }
  292. .home-library-product .product-name {
  293. font-weight: 600;
  294. font-size: 14px;
  295. color: #231f20;
  296. margin-bottom: 5px;
  297. line-height: 20px;
  298. min-height: 25px;
  299. overflow: hidden;
  300. -webkit-line-clamp: 2;
  301. -webkit-box-orient: vertical;
  302. display: -webkit-box;
  303. text-transform: uppercase;
  304. margin-top: 0px;
  305. }
  306. .home-library-product .product-category {
  307. font-weight: 400;
  308. font-size: 12px;
  309. color: #231F20;
  310. margin-bottom: 10px;
  311. }
  312. .home-library-product .product-category span {
  313. background: #00c5f9;
  314. color: #fff;
  315. padding: 1px 10px;
  316. border-radius: 15px;
  317. margin-right: 7px;
  318. display: inline-block;
  319. min-width: 85px;
  320. text-align: center;
  321. }
  322. .home-library-product .product-category span.Vocabulary {
  323. background: #00c5f9;
  324. }
  325. .home-library-product .product-category span.Grammar {
  326. background: #15C39A;
  327. }
  328. .home-library-product .product-category span.Natural {
  329. background: #7AC60C;
  330. }
  331. .home-library-product .product-category span.Pronunciation {
  332. background: #c09666;
  333. }
  334. .home-library-product .product-category span.Music {
  335. background: #64008D;
  336. }
  337. .home-library-product .product-category span.Writing {
  338. background: #003366;
  339. }
  340. .home-library-product .product-description {
  341. font-weight: 400;
  342. font-size: 12px;
  343. color: #0000007d;
  344. line-height: 18px;
  345. margin: 0px;
  346. overflow: hidden;
  347. -webkit-line-clamp: 3;
  348. -webkit-box-orient: vertical;
  349. display: -webkit-box;
  350. }
  351. .home-library-product .individual-product-bottom {
  352. padding: 0px 15px;
  353. width: 100%;
  354. float: left;
  355. max-width: 300px;
  356. }
  357. .progress-full {
  358. background: #EBEBEB;
  359. height: 20px;
  360. margin-top: 20px;
  361. border-radius: 10px;
  362. overflow: hidden;
  363. display: block;
  364. }
  365. .progress-value {
  366. width: calc(50%);
  367. display: block;
  368. background: #FFB020;
  369. height: 20px;
  370. border-radius: 10px;
  371. padding-left: 7px;
  372. font-size: 14px;
  373. color: #000;
  374. line-height: 20px;
  375. font-weight: 600;
  376. }
  377. .individual-learning-continue {
  378. display: block;
  379. width: 123px;
  380. height: 30px;
  381. margin-top: 15px;
  382. border: 1px solid #ddd;
  383. border-radius: 15px;
  384. text-align: center;
  385. line-height: 30px;
  386. color: #000;
  387. font-weight: 600;
  388. }
  389. .individual-home-product-list .home-library-product:hover,
  390. .individual-home-product-list .home-library-product.product-active {
  391. background: #8de7ff36;
  392. }
  393. .individual-home-product-list .home-library-product:hover .individual-learning-continue,
  394. .individual-home-product-list .home-library-product.product-active .individual-learning-continue {
  395. background: #FFB020;
  396. border: 1px solid #FFB020;
  397. }
  398. .btn-view-product {
  399. display: block;
  400. width: 200px;
  401. height: 30px;
  402. border: 1px solid #00c5f9;
  403. text-align: center;
  404. line-height: 28px;
  405. color: #00c5f9;
  406. margin: 10px auto 0px;
  407. border-radius: 4px;
  408. font-size: 13px;
  409. }
  410. .btn-view-product:hover {
  411. text-decoration: none;
  412. color: #fff;
  413. background: #00c5f9;
  414. }
  415. .individual-home-product-list .home-library-product-cover .lesson-image {
  416. height: 71px;
  417. width: 71px;
  418. border-radius: 35px;
  419. margin: 15px auto;
  420. }
  421. .individual-home-product-list .home-library-product-cover .lesson-image span {
  422. display: inline-block;
  423. width: 100%;
  424. height: 100%;
  425. background: url(../img/lesson_pronunciation_bg.png?n=1);
  426. background-position: -1px -1px;
  427. }
  428. .home-pronunction-list .home-library-product-cover .title {
  429. text-align: center;
  430. font-weight: 500;
  431. font-size: 13px;
  432. color: #824D02;
  433. margin: auto;
  434. max-width: 165px;
  435. }
  436. .home-pronunction-list .home-library-product-cover .subtitle {
  437. text-align: center;
  438. font-weight: 300;
  439. font-size: 13px;
  440. color: #824D02;
  441. margin: auto;
  442. max-width: 165px;
  443. }
  444. .home-pronunction-list .home-library-product-cover .individual-product-bottom {
  445. padding: 0px 15px;
  446. width: 100%;
  447. height: 55px;
  448. display: flex;
  449. position: absolute;
  450. left: 0px;
  451. bottom: 0px;
  452. background: #fff;
  453. }
  454. .home-pronunction-list .home-library-product-cover .individual-product-bottom button {
  455. display: inline-block;
  456. width: 100%;
  457. height: 40px;
  458. text-align: center;
  459. text-decoration: none;
  460. line-height: 38px;
  461. border: 0px;
  462. outline: 0px;
  463. border-radius: 30px;
  464. background: #0096fc;
  465. color: #fff;
  466. margin: 0px;
  467. position: relative;
  468. font-weight: 500;
  469. font-size: 13px;
  470. }
  471. .home-pronunction-list .home-library-product-cover .individual-product-bottom .btn-lock {
  472. color: #BCBEC0;
  473. background: #fff;
  474. position: relative;
  475. width: 85px;
  476. display: block;
  477. margin-left: auto;
  478. margin-right: auto;
  479. text-align: left;
  480. }
  481. .home-pronunction-list .home-library-product-cover .individual-product-bottom .btn-lock::after {
  482. width: 25px;
  483. height: 25px;
  484. content: "";
  485. display: inline-block;
  486. background: url(../img/hv-icon-bg.svg?n=1) 0px -1090px;
  487. position: absolute;
  488. right: 0;
  489. top: 10px;
  490. }
  491. .home-pronunction-list .home-library-product-cover .individual-product-bottom .btn-lock-view {
  492. display: none;
  493. }
  494. .home-pronunction-list .home-library-product:hover .individual-product-bottom .btn-lock-view {
  495. display: block;
  496. }
  497. .home-pronunction-list .home-library-product:hover .individual-product-bottom .btn-lock {
  498. display: none;
  499. }
  500. .blog-group ul {
  501. padding: 0;
  502. background: #fd9b25;
  503. min-height: 35px;
  504. margin-top: 10px;
  505. margin-bottom: 0;
  506. }
  507. .blog-group ul li {
  508. list-style-type: none;
  509. display: inline-block;
  510. height: 100%;
  511. }
  512. .blog-group ul li a {
  513. display: inline-block;
  514. height: 35px;
  515. line-height: 35px;
  516. padding: 0px 15px;
  517. font-weight: 500;
  518. font-size: 13px;
  519. color: #fff;
  520. text-decoration: none;
  521. outline: 0px;
  522. text-align: center;
  523. }
  524. .btn-learning-all {
  525. text-transform: none;
  526. font-weight: 500;
  527. font-size: 14px;
  528. color: #00bcef;
  529. float: right;
  530. line-height: 30px;
  531. text-decoration: none;
  532. outline: 0px;
  533. }
  534. .btn-learning-all:hover {
  535. text-decoration: none;
  536. color: #00bcef;
  537. }
  538. .btn-learning-all i {
  539. font-size: 20px;
  540. margin-left: 10px;
  541. vertical-align: text-bottom;
  542. }
  543. .product-list-content {
  544. display: inline;
  545. }
  546. .product-empty h2 {
  547. text-align: center;
  548. font-weight: 500 !important;
  549. max-width: unset;
  550. }
  551. .product-empty h3 {
  552. text-align: center;
  553. max-width: 300px;
  554. margin: 10px auto;
  555. font-size: 16px;
  556. font-weight: 300;
  557. line-height: 26px;
  558. }
  559. .product-empty a {
  560. background: #85cb21;
  561. min-width: 90px;
  562. display: inline-block;
  563. border-radius: 35px;
  564. text-align: center;
  565. font-size: 13px;
  566. font-weight: 600;
  567. margin-top: 0px;
  568. margin-left: 10px;
  569. height: 45px;
  570. line-height: 45px;
  571. display: block;
  572. width: 150px;
  573. color: #fff;
  574. margin: 20px auto;
  575. }
  576. @media(max-width: 1000px) {
  577. .product-group {
  578. padding-left: 15px;
  579. padding-right: 15px;
  580. }
  581. }
  582. @media(max-width: 991px) {
  583. .product-group .nav-tabs.product-tab > li {
  584. margin-right: 5px;
  585. }
  586. .product-group .nav-tabs.product-tab > li > a {
  587. min-width: 80px;
  588. font-size: 13px;
  589. }
  590. }