/* * @Author: fanken * @Date: 2019-08-07 10:54:43 * @Last Modified by: fanken * @Last Modified time: 2019-08-12 16:34:54 */ .header-banner img { width: 100%; } .library-header { background: linear-gradient(to bottom, #7FD5FF 0%, #00BAF4 100%); background-size: 1314px 320px; background-position: center -85px; padding: 0px 15px; } .library-header .library-cover { max-width: var(--max-width); margin: auto; display: flex; position: relative; min-height: 200px; } .library-header .library-header-right { text-align: right; } .library-header-button { display: inline-block; width: 150px; height: 50px; line-height: 50px; font-weight: 500; font-size: 15px; border: 0px; border-radius: 30px; outline: 0px; text-decoration: none; text-align: center; margin: 15px; color: #fff; background: #7ac60c; } .library-header-button::before { content: "+"; display: inline-block; vertical-align: middle; margin-right: 10px; font-size: 28px; } .library-header-button:hover, .library-header-button:focus { color: #fff; text-decoration: none; } .library-header .library-cover .cover-center { margin: auto; width: 100%; } .library-title { font-weight: 300; font-size: 35px; color: #fff; margin: 0px; line-height: 42px; margin-bottom: 5px; } .library-description { font-weight: 400; font-size: 16px; color: #fff; line-height: 22px; /* max-width: 390px;*/ margin: 0px; } .library-library-cover { padding-left: 30px; padding-top: 10px; } .library-library-container { position: relative; width: 100%; height: 45px; } #library-library-input { width: 100%; height: 100%; font-weight: 500; font-size: 15px; color: #231f20; padding: 0px 30px; padding-right: 50px; background: #fff; border: 2px solid var(--color-blue-bg); outline: 0px; border-radius: 30px; position: relative; z-index: 1001; } #library-library-input::placeholder { font-weight: 300; color: var(--color-default-text); } .library-header-menu { width: 100%; position: absolute; bottom: 0px; left: 0px; overflow: hidden; } .library-header-menu-cover { white-space: nowrap; display: inline-block; } .library-header-menu .menu-item { display: inline-block; height: 35px; line-height: 35px; vertical-align: bottom; padding: 0px 20px; font-weight: 500; font-size: 13px; color: #fff; text-decoration: none; outline: 0px; min-width: 100px; text-align: center; } .library-header-menu .menu-item.menu-active { border-bottom: 4px solid #fff; } .tab-content .tab-pane { padding-top: 0px; } .product-group { max-width: 1150px; margin: 10px auto 30px; position: relative; z-index: 1; padding-bottom: 30px; background: #fff; padding: 0px 0px 15px; } .product-group.product-learning-group { padding-bottom: 0px; } .product-group h1 { font-size: 25px; font-weight: 300 !important; margin-bottom: 0px; margin-top: 20px; } .product-group h2 { font-size: 16px; font-weight: 300 !important; margin-top: 30px; max-width: 390px; line-height: 22px; text-transform: uppercase; } .product-group .nav-tabs.product-tab { border-bottom: 1px solid #d2d4d3; position: relative; margin-top: 20px; } .product-group .nav-tabs.product-tab > li { margin: 0px; margin-right: 15px; padding-bottom: 9px; } .product-group .nav-tabs.product-tab > li.active { border: 0px; } .product-group .nav-tabs.product-tab > li > a { color: #575757; font-size: 15px; padding: 0px; margin: 0px; border-radius: 0px; text-decoration: none; outline: 0px; border: 0px; transition: 0.15s all linear; min-width: 100px; text-align: center; height: unset; line-height: unset; display: inline-block; } .product-group .nav-tabs.product-tab > li > a:hover { background: none; } .nav-tabs.product-tab > li.active > a, .nav-tabs.product-tab > li.active > a:focus, .nav-tabs.product-tab > li.active > a:hover { color: #00c5f9; border: 0px; font-weight: 400 !important; } .product-group .nav-tabs.product-tab > li > a span { background: #00c5f9; color: #fff; margin-left: 5px; padding-left: 7px; padding-right: 7px; border-radius: 10px; } .product-tab .active-bar { width: 0px; height: 3px; background: #00c5f9; position: absolute; bottom: 0px; left: 0px; transition: 0.3s all ease-out, 0.2s width linear; } .product-tab-content { margin-left: 0px; width: 100%; } .individual-home-product-list { max-width: 100%; margin: auto; position: relative; z-index: 1; } .individual-home-product-list .home-library-product { width: 100%; min-height: 135px; display: block; position: relative; text-align: left; padding: 10px 0px; border-bottom: 1px solid #ddd; } .individual-home-product-list .home-library-product-cover { width: 100%; height: 100%; display: block; text-decoration: none; border-radius: 10px; box-shadow: none; position: relative; } .individual-home-product-list .product-ads .home-library-product-cover { border: 0; box-shadow: none; border-radius: 0; } .home-library-product .product-image-group { width: 100%; height: 115px; position: relative; max-width: 200px; float: left; background: #fff; } .home-library-product .product-image { width: 100%; height: 100%; } .home-library-product .image-shadow { width: 100%; height: 100%; position: absolute; left: 0px; top: 0px; background-color: rgba(0, 0, 0, .7); display: flex; opacity: 0; transition: 0.3s all ease; } .home-library-product .image-shadow .image-button { display: inline-block; height: 45px; padding: 0px 12px; line-height: 45px; border-radius: 3px; background-color: var(--color-blue-bg); font-weight: 500; font-size: 13px; color: #fff; margin: auto; } .home-library-product .product-image-group:hover .image-shadow { opacity: 1; } .home-library-product .product-content { float: left; width: 100%; max-width: 500px; padding: 0px 15px; } .home-library-product .product-name { font-weight: 600; font-size: 14px; color: #231f20; margin-bottom: 5px; line-height: 20px; min-height: 25px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; display: -webkit-box; text-transform: uppercase; margin-top: 0px; } .home-library-product .product-category { font-weight: 400; font-size: 12px; color: #231F20; margin-bottom: 10px; } .home-library-product .product-category span { background: #00c5f9; color: #fff; padding: 1px 10px; border-radius: 15px; margin-right: 7px; display: inline-block; min-width: 85px; text-align: center; } .home-library-product .product-category span.Vocabulary { background: #00c5f9; } .home-library-product .product-category span.Grammar { background: #15C39A; } .home-library-product .product-category span.Natural { background: #7AC60C; } .home-library-product .product-category span.Pronunciation { background: #c09666; } .home-library-product .product-category span.Music { background: #64008D; } .home-library-product .product-category span.Writing { background: #003366; } .home-library-product .product-description { font-weight: 400; font-size: 12px; color: #0000007d; line-height: 18px; margin: 0px; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; display: -webkit-box; } .home-library-product .individual-product-bottom { padding: 0px 15px; width: 100%; float: left; max-width: 300px; } .progress-full { background: #EBEBEB; height: 20px; margin-top: 20px; border-radius: 10px; overflow: hidden; display: block; } .progress-value { width: calc(50%); display: block; background: #FFB020; height: 20px; border-radius: 10px; padding-left: 7px; font-size: 14px; color: #000; line-height: 20px; font-weight: 600; } .individual-learning-continue { display: block; width: 123px; height: 30px; margin-top: 15px; border: 1px solid #ddd; border-radius: 15px; text-align: center; line-height: 30px; color: #000; font-weight: 600; } .individual-home-product-list .home-library-product:hover, .individual-home-product-list .home-library-product.product-active { background: #8de7ff36; } .individual-home-product-list .home-library-product:hover .individual-learning-continue, .individual-home-product-list .home-library-product.product-active .individual-learning-continue { background: #FFB020; border: 1px solid #FFB020; } .btn-view-product { display: block; width: 200px; height: 30px; border: 1px solid #00c5f9; text-align: center; line-height: 28px; color: #00c5f9; margin: 10px auto 0px; border-radius: 4px; font-size: 13px; } .btn-view-product:hover { text-decoration: none; color: #fff; background: #00c5f9; } .individual-home-product-list .home-library-product-cover .lesson-image { height: 71px; width: 71px; border-radius: 35px; margin: 15px auto; } .individual-home-product-list .home-library-product-cover .lesson-image span { display: inline-block; width: 100%; height: 100%; background: url(../img/lesson_pronunciation_bg.png?n=1); background-position: -1px -1px; } .home-pronunction-list .home-library-product-cover .title { text-align: center; font-weight: 500; font-size: 13px; color: #824D02; margin: auto; max-width: 165px; } .home-pronunction-list .home-library-product-cover .subtitle { text-align: center; font-weight: 300; font-size: 13px; color: #824D02; margin: auto; max-width: 165px; } .home-pronunction-list .home-library-product-cover .individual-product-bottom { padding: 0px 15px; width: 100%; height: 55px; display: flex; position: absolute; left: 0px; bottom: 0px; background: #fff; } .home-pronunction-list .home-library-product-cover .individual-product-bottom button { display: inline-block; width: 100%; height: 40px; text-align: center; text-decoration: none; line-height: 38px; border: 0px; outline: 0px; border-radius: 30px; background: #0096fc; color: #fff; margin: 0px; position: relative; font-weight: 500; font-size: 13px; } .home-pronunction-list .home-library-product-cover .individual-product-bottom .btn-lock { color: #BCBEC0; background: #fff; position: relative; width: 85px; display: block; margin-left: auto; margin-right: auto; text-align: left; } .home-pronunction-list .home-library-product-cover .individual-product-bottom .btn-lock::after { width: 25px; height: 25px; content: ""; display: inline-block; background: url(../img/hv-icon-bg.svg?n=1) 0px -1090px; position: absolute; right: 0; top: 10px; } .home-pronunction-list .home-library-product-cover .individual-product-bottom .btn-lock-view { display: none; } .home-pronunction-list .home-library-product:hover .individual-product-bottom .btn-lock-view { display: block; } .home-pronunction-list .home-library-product:hover .individual-product-bottom .btn-lock { display: none; } .blog-group ul { padding: 0; background: #fd9b25; min-height: 35px; margin-top: 10px; margin-bottom: 0; } .blog-group ul li { list-style-type: none; display: inline-block; height: 100%; } .blog-group ul li a { display: inline-block; height: 35px; line-height: 35px; padding: 0px 15px; font-weight: 500; font-size: 13px; color: #fff; text-decoration: none; outline: 0px; text-align: center; } .btn-learning-all { text-transform: none; font-weight: 500; font-size: 14px; color: #00bcef; float: right; line-height: 30px; text-decoration: none; outline: 0px; } .btn-learning-all:hover { text-decoration: none; color: #00bcef; } .btn-learning-all i { font-size: 20px; margin-left: 10px; vertical-align: text-bottom; } .product-list-content { display: inline; } .product-empty h2 { text-align: center; font-weight: 500 !important; max-width: unset; } .product-empty h3 { text-align: center; max-width: 300px; margin: 10px auto; font-size: 16px; font-weight: 300; line-height: 26px; } .product-empty a { background: #85cb21; min-width: 90px; display: inline-block; border-radius: 35px; text-align: center; font-size: 13px; font-weight: 600; margin-top: 0px; margin-left: 10px; height: 45px; line-height: 45px; display: block; width: 150px; color: #fff; margin: 20px auto; } @media(max-width: 1000px) { .product-group { padding-left: 15px; padding-right: 15px; } } @media(max-width: 991px) { .product-group .nav-tabs.product-tab > li { margin-right: 5px; } .product-group .nav-tabs.product-tab > li > a { min-width: 80px; font-size: 13px; } }