| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626 |
- /* Header */
- body {
- padding-top: 0px;
- }
- .main-header {
- height: 60px;
- width: 100%;
- position: relative;
- top: 0px;
- left: 0px;
- right: 0px;
- background: var(--color-blue-bg);
- padding: 0px 15px;
- z-index: 1005;
- }
- .main-header-cover {
- display: flex;
- max-width: var(--max-width);
- margin: auto;
- height: 100%;
- }
- .main-header .header-logo {
- margin: auto 30px auto 0px;
- color: #fff;
- }
- .main-header .header-logo svg {
- float: left;
- }
- .main-header .header-nav {
- margin: auto 0px;
- }
- .main-header .header-nav .nav-link {
- display: inline-block;
- height: 26px;
- line-height: 26px;
- padding: 0px;
- outline: 0px;
- border: 0px;
- text-decoration: none;
- border-radius: 3px;
- margin: 5px 15px;
- font-weight: 500;
- font-size: 15px;
- color: #fff;
- vertical-align: middle;
- }
- .main-header .header-nav .nav-link.link-pin {
- background: var(--color-green-bg);
- padding: 0px 18px 0px 10px;
- }
- .main-header .header-nav .nav-link.link-pin::before {
- content: "+";
- font-weight: 500;
- font-size: 20px;
- margin-right: 8px;
- vertical-align: top;
- line-height: 26px;
- }
- .main-header .header-left {
- margin: auto auto auto 0px;
- }
- .main-header .header-right {
- margin: auto 0px auto auto;
- text-align: right;
- }
- .main-header .main-header-button-back {
- font-weight: 500;
- font-size: 13px;
- color: #fff;
- display: inline-block;
- text-decoration: none;
- outline: 0px;
- }
- .main-header .main-header-button-back::before {
- content: "";
- display: inline-block;
- width: 22px;
- height: 21px;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9');
- vertical-align: top;
- margin-right: 18px;
- }
- .main-header .main-header-button-login {
- font-weight: 500;
- font-size: 13px;
- color: #fff;
- text-decoration: none;
- outline: 0px;
- width: 110px;
- height: 30px;
- line-height: 30px;
- background: #39C9F6;
- display: inline-block;
- text-align: center;
- border-radius: 15px;
- }
- .main-header .main-header-button-login:hover {
- background: #23A6D9;
- }
- .main-header .main-header-button-login.btn-pricing {
- background: transparent;
- }
- .main-header .main-header-button-login.btn-pricing:hover {
- text-decoration: none;
- color: #fff;
- }
- .main-header .btn-register {
- margin-left: 15px;
- display: inline-block;
- height: 30px;
- line-height: 30px;
- background: #FFF200;
- color: #0B3E71;
- width: 110px;
- text-align: center;
- border-radius: 19px;
- font-size: 13px;
- font-weight: 500;
- color: #231F20;
- }
- .main-header .btn-register:hover {
- background: #FFDA00;
- }
- .main-header .header-avatar {
- margin: auto 0px;
- padding: 0px;
- }
- .main-header .header-avatar .dropdown > button > img {
- width: 41px;
- height: 41px;
- border: 1px solid #fff;
- border-radius: 50%;
- }
- .main-header .header-avatar .dropdown > button {
- border: 0px;
- outline: 0px;
- padding: 0px;
- margin: 0px;
- background: transparent;
- }
- .main-header .header-avatar .dropdown > button::before {
- display: inline-block;
- font: normal normal normal 14px/1 FontAwesome;
- font-size: 24px;
- text-rendering: auto;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- content: "\f107";
- color: #fff;
- vertical-align: middle;
- transition: all 0.2s linear;
- margin-right: 15px;
- }
- .dropdown.menu-setting,
- .dropdown.menu-notification,
- .dropdown.menu-product {
- float: right;
- height: 60px;
- margin-top: 13px;
- }
- .main-header .header-avatar .dropdown.menu-setting > button,
- .main-header .header-avatar .dropdown.menu-notification > button,
- .main-header .header-avatar .dropdown.menu-product > button {
- width: 35px;
- height: 35px;
- text-align: center;
- border-radius: 18px;
- line-height: 1px;
- }
- .main-header .header-avatar .dropdown.menu-notification > button {
- margin-right: 20px;
- background: #05ACD9;
- }
- .main-header .header-avatar .dropdown.menu-product > button {
- margin-right: 10px;
- text-align: center;
- padding-left: 5px;
- padding-right: 4px;
- padding-top: 4px;
- }
- .main-header .header-avatar .dropdown.menu-setting > button:hover,
- .main-header .header-avatar .dropdown.menu-notification > button:hover,
- .main-header .header-avatar .dropdown.menu-product > button:hover {
- background: #26CEFA;
- }
- .main-header .header-avatar .dropdown.menu-setting > button span {
- width: 5.229px;
- height: 5.229px;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -710px;
- display: inline-block;
- }
- .main-header .header-avatar .dropdown.menu-setting > button::before,
- .main-header .header-avatar .dropdown.menu-notification > button::before,
- .main-header .header-avatar .dropdown.menu-product > button::before {
- content: unset;
- }
- .main-header .header-avatar .dropdown.menu-notification > button span {
- width: 22.443px;
- height: 25px;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -720px;
- display: inline-block;
- }
- .main-header .header-avatar .dropdown.menu-product > button span {
- width: 4.249px;
- height: 4.249px;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -700px;
- display: inline-block;
- margin-bottom: 2px;
- }
- .dropdown.menu-notification .notification-quantity {
- position: absolute;
- top: 2px;
- right: 18px;
- color: #fff;
- background: #ff0000;
- width: 10px;
- height: 10px;
- border-radius: 7px;
- font-weight: 600;
- font-size: 8px;
- text-align: center;
- line-height: 8px;
- }
- .main-header .header-avatar .dropdown .dropdown-menu {
- width: 180px;
- box-shadow: 0px 0px 3px 1px #dedede;
- border-radius: 5px;
- border: 0px;
- padding: 15px 0px;
- left: auto;
- right: 25px;
- margin-top: 10px;
- }
- .main-header .header-avatar .dropdown.menu-notification .dropdown-menu {
- width: 430px;
- box-shadow: 0px 0px 3px 1px #dedede;
- border-radius: 5px;
- border: 0px;
- padding: 15px 0px;
- left: auto;
- right: 25px;
- margin-top: 10px;
- min-height: 200px;
- }
- .main-header .header-avatar .dropdown.menu-notification .dropdown-menu::-webkit-scrollbar {
- background-color: #fff;
- width: 16px
- }
- /* background of the scrollbar except button or resizer */
- .main-header .header-avatar .dropdown.menu-notification .dropdown-menu::-webkit-scrollbar-track {
- background-color: #fff;
- }
- /* scrollbar itself */
- .main-header .header-avatar .dropdown.menu-notification .dropdown-menu::-webkit-scrollbar-thumb {
- background-color: #aaa;
- border-radius: 16px;
- border: 4px solid #fff;
- }
- /* set button(top and bottom of the scrollbar) */
- body::-webkit-scrollbar-button {
- display: none
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu {
- width: 275px;
- padding: 20px;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li {
- display: block;
- float: left;
- width: 65px;
- margin-right: 13px;
- text-align: center;
- margin-bottom: 25px;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li span {
- display: inline-block;
- border: 1px solid transparent;
- width: 41px;
- height: 41px;
- padding: 2px;
- border-radius: 10px;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.product-hint {
- width: 100%;
- border-top: 1px solid #ddd;
- padding-top: 15px;
- font-size: 13px;
- margin-bottom: 0;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-voca:hover span {
- border: 1px solid #00c5f9;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-voca:hover a {
- color: #00bcef;
- background-color: transparent;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-music:hover span {
- border: 1px solid #64008D;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-music:hover a {
- color: #64008D;
- background-color: transparent;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-grammar:hover span {
- border: 1px solid #15C39A;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-grammar:hover a {
- color: #15C39A;
- background-color: transparent;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-natural:hover span {
- border: 1px solid #7AC60C;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-natural:hover a {
- color: #77BC00;
- background-color: transparent;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-pronunciation:hover span {
- border: 1px solid #F7C78D;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-pronunciation:hover a {
- color: #F7C78D;
- background-color: transparent;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-writing:hover span {
- border: 1px solid #003366;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-writing:hover a {
- color: #003366;
- background-color: transparent;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-voca,
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-music,
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-grammar,
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-natural,
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-pronunciation,
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-writing {
- width: 40px;
- height: 40px;
- display: inline-block;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li a {
- font-size: 10px;
- color: #231F20;
- padding: 0px;
- }
- .main-header .header-avatar .dropdown.menu-setting .dropdown-menu,
- .main-header .header-avatar .dropdown.menu-notification .dropdown-menu,
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu {
- right: 0px;
- top: 37px;
- }
- .main-header .header-avatar .dropdown .dropdown-menu::before {
- content: "";
- width: 12px;
- height: 12px;
- background: #fff;
- display: inline-block;
- position: absolute;
- top: -6px;
- right: 35px;
- transform: rotate(45deg);
- }
- .main-header .header-avatar .dropdown.menu-setting .dropdown-menu > li > a {
- font-weight: 300;
- font-size: 14px;
- color: var(--color-default-text);
- display: block;
- height: 35px;
- line-height: 35px;
- padding: 0px 25px;
- outline: 0px;
- text-decoration: none;
- transition: 0.2s all ease;
- }
- .main-header .header-avatar .dropdown.menu-setting .dropdown-menu > li > a:hover {
- color: var(--color-blue-text);
- background: #fff;
- }
- .main-header .header-avatar .dropdown.menu-setting .dropdown-menu::before {
- right: 10px;
- }
- .main-header .header-avatar .dropdown.menu-notification .dropdown-menu::before {
- right: 30px;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu::before {
- right: 20px;
- }
- .main-header .header-avatar .dropdown .dropdown-menu.remind-menu {
- padding: 20px;
- }
- .main-header .header-avatar .dropdown .dropdown-menu.remind-menu li {
- min-height: 60px;
- border-bottom: 1px solid #ededed;
- list-style-type: none;
- }
- .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-improve,
- .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-review,
- .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.gift-me,
- .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-notification {
- float: left;
- width: calc(100% - 70px);
- height: 59px;
- line-height: 59px;
- overflow: unset;
- -webkit-line-clamp: 1;
- overflow: hidden;
- text-overflow: ellipsis;
- padding-left: 50px;
- position: relative;
- font-size: 14px;
- font-weight: 300;
- color: #231F20;
- }
- .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-improve span,
- .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-review span,
- .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.gift-me span,
- .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-notification span {
- color: var(--color-blue-text);
- }
- .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.btn-view {
- float: right;
- padding: 0px;
- font-size: 12px;
- height: 58px;
- margin-top: -59px;
- width: 70px;
- text-align: center;
- line-height: 60px;
- color: var(--color-blue-text);
- }
- .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a:hover {
- background: #fff;
- text-decoration: none;
- }
- .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-improve::before {
- width: 35px;
- height: 35px;
- display: inline-block;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -800px;
- content: "";
- position: absolute;
- left: 0;
- top: 10px;
- }
- .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-review::before {
- width: 35px;
- height: 35px;
- display: inline-block;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -840px;
- content: "";
- position: absolute;
- left: 0;
- top: 10px;
- }
- .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.gift-me::before {
- width: 35px;
- height: 35px;
- display: inline-block;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -880px;
- content: "";
- position: absolute;
- left: 0;
- top: 10px;
- }
- .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-notification::before {
- width: 35px;
- height: 35px;
- display: inline-block;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -920px;
- content: "";
- position: absolute;
- left: 0;
- top: 10px;
- }
- .main-header .header-avatar .menu-avatar {
- display: inline-block;
- float: right;
- width: 40px;
- height: 40px;
- padding: 1px;
- background: #fff;
- border-radius: 18px;
- overflow: hidden;
- margin-right: 10px;
- margin-top: 10px;
- }
- .main-header .header-avatar .menu-avatar.menu-avatar-vip {
- padding: 2px;
- background: url('https://www.voca.vn/assets/img/vip-bg.svg?n=9');
- }
- .main-header .header-avatar .menu-avatar img {
- width: 100%;
- height: 100%;
- border-radius: 50%;
- }
- .main-header .header-avatar .menu-avatar span {
- width: 100%;
- height: 100%;
- border-radius: 50%;
- display: inline-block;
- font-size: 14px;
- text-align: center;
- line-height: 30px;
- background: #FFB020;
- color: #fff;
- font-weight: 500;
- }
- .main-header .header-avatar .menu-upgrade {
- color: #fff;
- width: 80px;
- float: right;
- height: 30px;
- background: #FFF200;
- margin-right: 15px;
- text-align: center;
- border-radius: 15px;
- line-height: 30px;
- text-decoration: none;
- font-size: 11px;
- font-weight: 500;
- margin-top: 15px;
- background: linear-gradient(90deg, #FE9300 0%, #FFD800 100%);
- }
- .main-header .header-avatar .menu-upgrade:hover {
- color: #fff;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-voca {
- width: 35px;
- height: 35px;
- display: inline-block;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -960px;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-music {
- width: 35px;
- height: 35px;
- display: inline-block;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -1000px;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-grammar {
- width: 35px;
- height: 35px;
- display: inline-block;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -1040px;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-natural {
- width: 35px;
- height: 35px;
- display: inline-block;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -1080px;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-pronunciation {
- width: 35px;
- height: 35px;
- display: inline-block;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -1120px;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-writing {
- width: 35px;
- height: 35px;
- display: inline-block;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=10') 0px -1750px;
- }
- .main-header .header-avatar .image-text {
- display: inline-block;
- width: 41px;
- height: 41px;
- border: 1px solid #fff;
- border-radius: 50%;
- font-weight: 500;
- font-size: 20px;
- text-align: center;
- line-height: 39px;
- color: #fff;
- }
- .main-header .header-product {
- display: inline-block;
- vertical-align: middle;
- }
- .main-header .header-product .dropdown > button > img {
- width: 41px;
- height: 41px;
- border: 1px solid #fff;
- border-radius: 50%;
- }
- .main-header .header-product .dropdown > button {
- height: 26px;
- line-height: 26px;
- padding: 0px;
- outline: 0px;
- border: 0px;
- text-decoration: none;
- border-radius: 3px;
- margin: 15px 15px;
- font-weight: 500;
- font-size: 14px;
- color: #fff;
- background: transparent;
- }
- .main-header .header-product .dropdown > button::after {
- display: inline-block;
- font: normal normal normal 14px/1 FontAwesome;
- font-size: 16px;
- text-rendering: auto;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- content: "\f107";
- color: #fff;
- vertical-align: middle;
- transition: all 0.2s linear;
- margin-left: 5px;
- }
- .main-header .header-product .dropdown .dropdown-menu {
- width: unset;
- min-width: 140px;
- box-shadow: 0px 0px 10px 1px #D6D7D8;
- border-radius: 5px;
- border: 0px;
- padding: 15px 0px;
- left: auto;
- right: -12px;
- margin-top: 10px;
- top: calc(100% - 12px);
- }
- .main-header .header-product:hover .dropdown .dropdown-menu {
- display: block;
- }
- .main-header .header-product .dropdown .dropdown-menu::before {
- content: "";
- width: 10px;
- height: 10px;
- background: #fff;
- display: inline-block;
- box-shadow: -2px -2px 5px 0px #D6D7D8;
- position: absolute;
- top: -5px;
- right: 27px;
- transform: rotate(45deg);
- }
- .main-header .header-product .dropdown .dropdown-menu > li > a {
- font-weight: 400;
- font-size: 13px;
- color: var(--color-header);
- display: block;
- height: 35px;
- line-height: 35px;
- padding: 0px 25px;
- outline: 0px;
- text-decoration: none;
- transition: 0.2s all ease;
- }
- .main-header .header-product .dropdown .dropdown-menu > li > a:hover {
- background: var(--color-blue-bg);
- color: #fff;
- }
- .main-header .btn-back {
- font-weight: 500;
- font-size: 13px;
- text-decoration: none;
- outline: 0px;
- color: #fff;
- max-width: 200px;
- white-space: nowrap;
- display: inline-block;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .main-header .btn-back::before {
- content: "";
- display: inline-block;
- width: 22px;
- height: 20px;
- background: url(https://www.voca.vn/assets/img/learning-icon-bg.svg?n=9) 0px 0px;
- vertical-align: middle;
- margin-right: 15px;
- }
- .main-header li {
- list-style-type: none;
- }
- .dropdown.menu-course {
- height: 60px;
- margin-left: 10px;
- float: left;
- }
- .dropdown.menu-course button {
- background: transparent;
- border: 0;
- color: #fff;
- font-size: 14px;
- margin-top: 19px;
- }
- .dropdown.menu-course button:focus {
- outline: none;
- }
- .main-header .dropdown.menu-course .dropdown-menu {
- border: 0px;
- left: -165px;
- position: absolute;
- box-shadow: none;
- background: #ffffff;
- min-height: 317px;
- padding-top: 0px;
- border-radius: 0px;
- }
- .main-header .dropdown.menu-course:hover .dropdown-menu {
- display: block !important;
- }
- .main-header .dropdown.menu-course .dropdown-menu .subs {
- display: block;
- width: 240px;
- height: 32px;
- line-height: 32px;
- font-size: 13px;
- color: #575757;
- }
- .main-header .dropdown.menu-course .dropdown-menu .subs .dropdown-subs {
- position: absolute;
- left: 240px;
- width: 235px;
- top: 0px;
- padding-left: 0;
- background: #f7f8fa;
- -webkit-box-shadow: -2px 1px 5px rgba(0, 0, 0, 0.02);
- box-shadow: -2px 1px 5px rgba(0, 0, 0, 0.02);
- min-height: 317px;
- display: none;
- }
- .main-header .dropdown.menu-course .dropdown-menu a:hover,
- .main-header .dropdown.menu-course .dropdown-menu a:focus {
- color: #00c5f9;
- }
- .main-header .dropdown.menu-course .dropdown-menu .subs:first-child {
- color: #00c5f9;
- }
- .main-header .dropdown.menu-course .dropdown-menu .subs:first-child > a {
- color: #00c5f9;
- }
- .main-header .dropdown.menu-course .dropdown-menu .subs:first-child > a.ic-menu-level:before {
- background-position: 0px -1720px;
- }
- .main-header .dropdown.menu-course .dropdown-menu .subs:hover {
- color: #00c5f9;
- }
- .main-header .dropdown.menu-course .dropdown-menu .subs:hover > a {
- color: #00c5f9;
- }
- .main-header .dropdown.menu-course .dropdown-menu:hover > *:not(:hover) {
- color: #575757;
- }
- .main-header .dropdown.menu-course .dropdown-menu:hover > *:not(:hover) > a {
- color: #575757;
- }
- .main-header .dropdown.menu-course .dropdown-menu:hover > *:not(:hover) > a.ic-menu-vocabulary:before {
- background-position: 0px -1230px;
- }
- .main-header .dropdown.menu-course .dropdown-menu .subs1 {
- display: block;
- width: 235px;
- }
- .main-header .dropdown.menu-course .dropdown-menu a {
- padding: 0px 0px 0px 50px;
- height: 32px;
- line-height: 32px;
- width: 100%;
- position: relative;
- }
- .main-header .dropdown.menu-course .dropdown-menu .ic-menu-vocabulary:before {
- display: inline-block;
- content: "";
- width: 17.998px;
- height: 21.997px;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -1230px;
- position: absolute;
- top: 7px;
- left: 20px;
- transform: scale(0.8);
- }
- .main-header .dropdown.menu-course .dropdown-menu a.ic-menu-vocabulary:hover:before {
- background-position: 0px -1260px;
- }
- .main-header .dropdown.menu-course .dropdown-menu .ic-menu-music:before {
- display: inline-block;
- content: "";
- width: 17.998px;
- height: 19.997px;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -1350px;
- position: absolute;
- top: 8px;
- left: 20px;
- transform: scale(0.8);
- }
- .main-header .dropdown.menu-course .dropdown-menu a.ic-menu-music:hover:before {
- background-position: 0px -1380px;
- }
- .main-header .dropdown.menu-course .dropdown-menu .ic-menu-natural:before {
- display: inline-block;
- content: "";
- width: 17.998px;
- height: 18.998px;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -1290px;
- position: absolute;
- top: 9px;
- left: 20px;
- transform: scale(0.8);
- }
- .main-header .dropdown.menu-course .dropdown-menu a.ic-menu-natural:hover:before {
- background-position: 0px -1320px;
- }
- .main-header .dropdown.menu-course .dropdown-menu .ic-menu-writing:before {
- display: inline-block;
- content: "";
- width: 20px;
- height: 20px;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -1800px;
- position: absolute;
- top: 7px;
- left: 20px;
- transform: scale(0.8);
- }
- .main-header .dropdown.menu-course .dropdown-menu a.ic-menu-writing:hover:before {
- background-position: 0px -1830px;
- }
- .main-header .dropdown.menu-course .dropdown-menu .ic-menu-grammar:before {
- display: inline-block;
- content: "";
- width: 17.998px;
- height: 21.997px;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -1410px;
- position: absolute;
- top: 7px;
- left: 20px;
- transform: scale(0.8);
- }
- .main-header .dropdown.menu-course .dropdown-menu a.ic-menu-grammar:hover:before {
- background-position: 0px -1440px;
- }
- .main-header .dropdown.menu-course .dropdown-menu .ic-menu-pronunciation:before {
- display: inline-block;
- content: "";
- width: 17.998px;
- height: 27.996px;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -1470px;
- position: absolute;
- top: 2px;
- left: 20px;
- transform: scale(0.8);
- }
- .main-header .dropdown.menu-course .dropdown-menu a.ic-menu-pronunciation:hover:before {
- background-position: 0px -1500px;
- }
- .main-header .dropdown.menu-course .dropdown-menu .ic-menu-progress:before {
- display: inline-block;
- content: "";
- width: 18px;
- height: 18px;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=3') 0px -1570px;
- position: absolute;
- top: 5px;
- left: 20px;
- transform: scale(0.8);
- }
- .main-header .dropdown.menu-course .dropdown-menu .ic-menu-level:before {
- display: inline-block;
- content: "";
- width: 20px;
- height: 20px;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=5') 0px -1690px;
- position: absolute;
- top: 5px;
- left: 20px;
- transform: scale(0.8);
- }
- .main-header .dropdown.menu-course .dropdown-menu .ic-menu-certificate:before {
- display: inline-block;
- content: "";
- width: 20px;
- height: 20px;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=5') 0px -1630px;
- position: absolute;
- top: 5px;
- left: 20px;
- transform: scale(0.8);
- }
- .main-header .dropdown.menu-course .dropdown-menu a.ic-menu-progress:hover:before {
- background-position: 0px -1600px;
- }
- .main-header .dropdown.menu-course .dropdown-menu a.ic-menu-certificate:hover:before {
- background-position: 0px -1660px;
- }
- .main-header .dropdown.menu-course .dropdown-menu a.ic-menu-level:hover:before {
- background-position: 0px -1720px;
- }
- .main-header .dropdown.menu-course .dropdown-menu .subs1 a {
- color: #575757;
- padding-left: 17px;
- font-size: 13px;
- display: block;
- }
- .main-header .dropdown.menu-course .dropdown-menu .subs1:hover,
- .main-header .dropdown.menu-course .dropdown-menu .subs1:focus {
- color: #00c5f9;
- }
- .main-header .dropdown.menu-course .dropdown-menu .subs1:hover a,
- .main-header .dropdown.menu-course .dropdown-menu .subs1:focus a {
- text-decoration: none;
- color: #00c5f9;
- }
- .main-header .dropdown.menu-course .dropdown-menu .subs1:first-child a {
- text-decoration: none;
- color: #00c5f9;
- }
- .main-header .dropdown.menu-course .dropdown-subs:hover > *:not(:hover) > a {
- color: #575757;
- }
- .main-header .dropdown.menu-course .dropdown-menu .subs .dropdown-subs1 {
- position: absolute;
- left: 235px;
- width: 300px;
- top: 0px;
- padding-left: 0;
- background: #f3f4f7;
- min-height: 317px;
- display: none;
- }
- .main-header .dropdown.menu-course .dropdown-menu .subs .dropdown-subs1 a {
- color: #575757;
- }
- .main-header .dropdown.menu-course .dropdown-menu .dropdown-subs1 li:hover,
- .main-header .dropdown.menu-course .dropdown-menu .dropdown-subs1 li:focus {
- color: #00c5f9;
- }
- .main-header .dropdown.menu-course .dropdown-menu .dropdown-subs1 li:hover a,
- .main-header .dropdown.menu-course .dropdown-menu .dropdown-subs1 li:focus a {
- text-decoration: none;
- color: #00c5f9;
- }
- .dropdown.menu-course .dropdown-menu .subs .dropdown-subs1 .dropdown-image {
- position: absolute;
- left: 300px;
- width: 425px;
- top: 0px;
- padding-left: 0;
- background: #f3f4f7;
- display: none;
- }
- .dropdown.menu-course .dropdown-menu li:first-child .dropdown-subs1 .dropdown-image {
- display: block;
- }
- .dropdown.menu-course .dropdown-menu li:hover .dropdown-subs1 .dropdown-image {
- display: block;
- }
- .dropdown.menu-course .dropdown-menu .subs .dropdown-subs1 .dropdown-image a {
- padding: 0px;
- }
- .main-header .dropdown.menu-course .dropdown-menu li:first-child .dropdown-subs {
- display: block;
- }
- .main-header .dropdown.menu-course .dropdown-menu li:first-child .subs1:first-child .dropdown-subs1 {
- display: block;
- }
- .main-header .dropdown.menu-course .dropdown-menu li:hover .dropdown-subs {
- display: block;
- }
- .main-header .dropdown.menu-course .dropdown-menu li:hover .subs1:first-child .dropdown-subs1 {
- display: block;
- }
- .main-header .dropdown.menu-course .dropdown-menu li:hover .subs1:hover .dropdown-subs1 {
- display: block;
- }
- .dropdown.menu-course .dropdown-menu .subs .dropdown-subs1 .dropdown-image img {
- width: 100%;
- }
- .dropdown.menu-course i {
- display: inline-block;
- width: 15px;
- height: 15px;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=3') 0px -1160px;
- float: right;
- margin-left: 5px;
- margin-top: 3px;
- }
- .dropdown.menu-course .dropdown-menu i {
- background-position: 0px -1210px;
- margin-top: 9px;
- margin-right: 8px;
- }
- .dropdown.menu-course ul {
- margin-top: 0px;
- }
- .main-header .menu-search {
- float: left;
- margin-left: 10px;
- height: 60px;
- padding-top: 12px;
- width: 400px;
- position: relative;
- max-width: calc(100% - 110px);
- }
- .main-header .menu-search input {
- width: 100%;
- height: 36px;
- border: 0px;
- border-radius: 4px;
- padding-left: 47px;
- }
- .main-header .menu-search input:focus {
- outline: none;
- border: 0px !important;
- }
- .main-header .menu-search span {
- display: inline-block;
- width: 20.001px;
- height: 20.23px;
- background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=3') 0px -1180px;
- position: absolute;
- left: 10px;
- top: 21px;
- }
- @media (min-width: 1060px) {
- .header-menu {
- display: none !important;
- }
- .main-header .header-avatar .dropdown:hover:not(.menu-notification) .dropdown-menu {
- display: block;
- }
- }
- @media(max-width: 1240px) {
- .header-middle .a-menu-left {
- display: none !important;
- }
- }
- @media(max-width: 1060px) {
- .main-header {
- position: fixed !important;
- top: 0px;
- }
- body {
- padding-top: 60px;
- }
- .main-header-cover {
- display: block;
- }
- .header-middle {
- display: block;
- text-align: left;
- cursor: pointer;
- margin: 15px 10px 0px 0px;
- float: left;
- width: 20px;
- height: 15px;
- }
- .header-middle .a-menu-left {
- display: block !important;
- }
- .main-header .menu-search {
- width: 30px;
- margin-top: -13px;
- }
- .main-header .menu-search-active {
- width: calc(100% - 90px);
- z-index: 1010;
- -webkit-transition: all 0.3s ease 0s;
- -khtml-transition: all 0.3s ease 0s;
- -moz-transition: all 0.3s ease 0s;
- -ms-transition: all 0.3s ease 0s;
- -o-transition: all 0.3s ease 0s;
- transition: all 0.3s ease 0s;
- }
- .main-header .menu-search span {
- background-position: 0px -1540px;
- left: 0px;
- }
- .main-header .menu-search input {
- display: none;
- }
- .main-header .menu-search-active span {
- background-position: 0px -1180px;
- right: 10px;
- left: unset;
- }
- .main-header .menu-search-active input {
- display: block;
- padding-left: 15px;
- padding-right: 45px;
- }
- .main-header .menu-search button {
- background: transparent;
- border: 0;
- }
- .main-header .menu-search button:focus {
- border: 0;
- outline: none;
- }
- .open-overlay:before {
- content: '';
- position: fixed;
- width: 100%;
- height: 100%;
- background: #0000008f;
- left: 0;
- top: 0;
- z-index: 1006;
- display: block;
- }
- .overlay-hint {
- display: none;
- }
- .open-overlay .overlay-hint {
- position: fixed;
- width: 100%;
- height: 100%;
- background: #fff;
- left: 0;
- top: 60px;
- z-index: 1006;
- display: block;
- padding: 15px;
- }
- .open-overlay .overlay-hint a {
- padding: 5px 10px;
- border-radius: 15px;
- background: #f0f0f0;
- color: #231F20;
- display: inline-block;
- margin-bottom: 10px;
- margin-right: 10px;
- font-size: 13px;
- }
- .header-menu-icon {
- display: inline-block;
- position: relative;
- width: 20px;
- height: 2px;
- background-color: #fff;
- border-radius: 100px;
- transition: transform .4s ease;
- outline: none;
- cursor: pointer;
- }
- .header-menu-icon::before {
- content: '';
- display: block;
- width: 100%;
- position: absolute;
- height: 2px;
- background-color: #fff;
- border-radius: 100px;
- transition: all .2s ease;
- bottom: 200%;
- right: 0;
- margin-bottom: 2px;
- }
- .header-menu-icon::after {
- content: '';
- display: block;
- width: 100%;
- position: absolute;
- height: 2px;
- background-color: #fff;
- border-radius: 100px;
- transition: all .2s ease;
- top: 200%;
- right: 0;
- margin-top: 2px;
- }
- .main-header .header-avatar .menu-upgrade {
- color: #fff;
- float: right;
- height: 30px;
- background: #FFF200;
- margin-right: 15px;
- text-align: center;
- border-radius: 15px;
- line-height: 30px;
- text-decoration: none;
- font-size: 11px;
- font-weight: 500;
- margin-top: 0px;
- margin-right: 10px;
- background: linear-gradient(90deg, #FE9300 0%, #FFD800 100%);
- display: none;
- }
- .header-nav {
- display: none;
- }
- .main-header .header-right {
- margin: 15px 0px 0px 0px;
- width: 100%;
- }
- .header-right .header-avatar .menu-avatar {
- display: none;
- }
- .main-header .header-avatar .dropdown.menu-product > button,
- .main-header .header-avatar .dropdown > button {
- background: #26CEFA;
- }
- .main-header .header-avatar .dropdown.menu-product > button {
- margin-right: 0px;
- }
- .dropdown.menu-setting,
- .dropdown.menu-notification,
- .dropdown.menu-product {
- margin-top: 0px;
- }
- .dropdown.menu-product {
- margin-right: 10px;
- }
- .main-header .header-avatar .menu-avatar {
- margin-top: 0px;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu {
- right: -10px;
- }
- .main-header .header-avatar.header-product-mobile .dropdown.menu-product .dropdown-menu {
- right: -10px;
- }
- .header-product-mobile .dropdown.menu-product {
- display: block;
- margin-left: 10px;
- }
- .main-header .header-avatar .dropdown.menu-product .dropdown-menu::before {
- left: unset;
- right: 20px;
- }
- .main-header .header-avatar.header-product-mobile .dropdown.menu-product .dropdown-menu::before {
- left: unset;
- }
- .main-header .btn-register {
- display: inline-block;
- width: 100px;
- float: right;
- }
- .main-header .btn-register:hover,
- .main-header .btn-register:focus {
- }
- .main-header .header-logo {
- width: 100%;
- width: 100px;
- }
- .main-header .header-logo svg {
- width: 100px;
- height: 52px;
- margin-top: -8px;
- }
- .main-header .header-menu {
- position: absolute;
- width: calc(100% + 30px);
- left: -15px;
- bottom: 1px;
- transform: translate(0%, 100%);
- background: #00c5f9;
- display: none;
- padding-top: 0px;
- padding-left: 15px;
- padding-right: 15px;
- box-shadow: inset 0 3px 5px rgba(0,0,0,0.05);
- z-index: 2;
- padding-top: 10px;
- }
- .main-header .header-menu-link {
- display: inline-block;
- padding: 0px 18px;
- height: 32px;
- line-height: 30px;
- border-radius: 30px;
- font-weight: 400;
- font-size: 14px;
- color: #fff;
- text-align: center;
- text-decoration: none;
- outline: 0px;
- border: 0px;
- }
- .main-header .header-menu-link {
- display: block;
- margin-bottom: 0;
- border-radius: 0;
- text-align: left;
- border-bottom: 1px solid #fff6f640;
- height: 40px;
- line-height: 38px;
- }
- .main-header .link-course-group {
- display: none;
- }
- .main-header .link-course-group .header-menu-link {
- padding-left: 45px;
- }
- .main-header .header-menu-link.head-menu-item-active {
- background: rgba(0, 0, 0, 0.2);
- font-weight: 500;
- }
- .main-header .header-menu-link.menu-link-course {
- position: relative;
- }
- .main-header .header-menu-link.menu-link-course::before {
- display: inline-block;
- font: normal normal normal 14px/1 FontAwesome;
- font-size: 22px;
- text-rendering: auto;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- content: "\f107";
- color: #fff;
- vertical-align: middle;
- transition: all 0.2s linear;
- margin-left: 5px;
- position: absolute;
- right: 15px;
- top: 5px;
- }
- .main-header .menu-product .dropdown-menu.show {
- display: block;
- }
- .main-header .header-avatar .menu-upgrade {
- display: inline-block;
- }
- }
- @media(max-width: 768px) {
- .main-header .btn-pricing {
- display: none;
- }
- .main-header .header-avatar .dropdown.menu-notification .dropdown-menu {
- max-width: 320px;
- }
- .main-header .menu-search {
- margin-left: 0px;
- }
- .main-header .header-avatar .menu-upgrade {
- width: 80px;
- font-size: 10px;
- margin-right: 5px;
- }
- .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-improve, .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-review, .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.gift-me, .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-notification {
- padding-right: 0px;
- }
- }
- .menu-product-btn span {
- animation: lds-grid 1.2s linear infinite;
- }
- .menu-product-btn span:nth-child(1) {
- animation-delay: 0s;
- }
- .menu-product-btn span:nth-child(2) {
- animation-delay: -0.4s;
- }
- .menu-product-btn span:nth-child(3) {
- animation-delay: -0.8s;
- }
- .menu-product-btn span:nth-child(4) {
- animation-delay: -0.4s;
- }
- .menu-product-btn span:nth-child(5) {
- animation-delay: -0.8s;
- }
- .menu-product-btn span:nth-child(6) {
- animation-delay: -1.2s;
- }
- .menu-product-btn span:nth-child(7) {
- animation-delay: -0.8s;
- }
- .menu-product-btn span:nth-child(8) {
- animation-delay: -1.2s;
- }
- .menu-product-btn span:nth-child(9) {
- top: 45px;
- left: 45px;
- animation-delay: -1.6s;
- }
- @keyframes lds-grid {
- 0%, 100% {
- opacity: 1;
- }
- 50% {
- opacity: 0.5;
- }
- }
- /* End Header */
|