style.scss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815
  1. @import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600&display=swap');
  2. body {
  3. font-family: 'Work Sans', sans-serif;
  4. }
  5. .color__grey {
  6. background-color: #f5f5f5;
  7. }
  8. .row {
  9. height: auto;
  10. }
  11. .navbar {
  12. background-color: #e57373;
  13. }
  14. .navbar-dark .navbar-toggler {
  15. border: none;
  16. .navbar-close-icon {
  17. display: inline-block;
  18. width: 1.5rem;
  19. height: 1.5rem;
  20. vertical-align: middle;
  21. position: relative;
  22. &::before {
  23. content: "";
  24. width: 1.5rem;
  25. height: 2px;
  26. background-color: white;
  27. left: 0;
  28. display: inline-block;
  29. position: absolute;
  30. top: 8px;
  31. transform: rotate(45deg);
  32. }
  33. &::after {
  34. content: "";
  35. width: 1.5rem;
  36. height: 2px;
  37. background-color: white;
  38. left: 0;
  39. display: inline-block;
  40. position: absolute;
  41. top: 8px;
  42. transform: rotate(-45deg);
  43. }
  44. }
  45. }
  46. .nav-link {
  47. color: rgb(99, 97, 97);
  48. padding: 1rem .75rem;
  49. cursor: pointer;
  50. }
  51. .nav-link:hover {
  52. color: $black;
  53. }
  54. .table tbody th, .table tbody td {
  55. padding: 1rem;
  56. }
  57. .span {
  58. display: block;
  59. margin-bottom: .4rem;
  60. }
  61. .badge {
  62. margin: .1rem;
  63. }
  64. .highTrend {
  65. color: $white;
  66. background-color: $bg-color;
  67. }
  68. .btn__kw {
  69. padding: .75rem;
  70. background-color: $bg-color-lighten-2;
  71. border: none;
  72. outline: none;
  73. border-radius: 5px;
  74. transition: all .2s;
  75. &:hover {
  76. background-color: $bg-color-lighten-1;
  77. }
  78. &:focus {
  79. outline: none;
  80. }
  81. }
  82. .badge {
  83. font-size: 1rem;
  84. }
  85. .card-img-top {
  86. width: 150px;
  87. height: 200px;
  88. }
  89. .btn__del {
  90. display: inline-block;
  91. width:35px;
  92. height: 35px;
  93. position: absolute;
  94. top: 6px;
  95. right: 6px;
  96. outline: none;
  97. border: none;
  98. border-radius: 50%;
  99. padding: 10px;
  100. background-color: red;
  101. color: $white;
  102. transition: all .3s;
  103. box-shadow: 0 0 6px rgb(179, 179, 179);
  104. &:hover {
  105. background-color: rgb(176, 238, 228);
  106. }
  107. i {
  108. font-size: 1.1rem;
  109. line-height: 1rem;
  110. }
  111. }
  112. .btn__sub {
  113. display: inline-block;
  114. position: absolute;
  115. top: 6px;
  116. right: 6px;
  117. outline: none;
  118. border: none;
  119. border-radius: 10px;
  120. padding: 10px 16px;
  121. transition: all .3s;
  122. color: black;
  123. background-color: rgb(224, 221, 221);
  124. box-shadow: 0 0 6px rgb(179, 179, 179);
  125. &:hover {
  126. color: $white;
  127. background-color: gray;
  128. }
  129. }
  130. .group__row {
  131. height: auto;
  132. margin-bottom: 2rem;
  133. }
  134. .card__subsribed {
  135. position: relative;
  136. }
  137. .text-muted {
  138. letter-spacing: 1px;
  139. font-size: 1.3rem;
  140. }
  141. .words__block {
  142. height: 3.5rem;
  143. overflow: hidden;
  144. }
  145. .autoHeight {
  146. height: auto;
  147. }
  148. .group__title {
  149. text-align: left;
  150. }
  151. .footer__txt {
  152. position: fixed;
  153. bottom: 1rem;
  154. left: 3rem;
  155. opacity: 0.7;
  156. }
  157. .form-group-center {
  158. width: 90%;
  159. position: absolute;
  160. top: 30%;
  161. }
  162. .group__tag {
  163. background-color: $bg-color-lighten-1;
  164. width: 10rem;
  165. color: #f5f5f5;
  166. height: 3rem;
  167. font-size: 1.5rem;
  168. line-height: 2.5rem;
  169. border-radius: 10px 10px 0 0 ;
  170. }
  171. .btn__genCal {
  172. color: white;
  173. &:hover {
  174. color: black;
  175. }
  176. }
  177. .btn__close {
  178. background-color: $bg-color !important;
  179. color: #f5f5f5 !important;
  180. }
  181. .img_fr {
  182. width: 100%;
  183. height: 12rem;
  184. img {
  185. width: 100%;
  186. height: 100%;
  187. }
  188. }
  189. .url_fr {
  190. padding: 0.5rem;
  191. border: 2px solid grey;
  192. border-radius: 5px;
  193. }
  194. .step {
  195. display: inline-block;
  196. padding: 6px 12px;
  197. background-color: $bg-color;
  198. color: white;
  199. border-radius: 15px;
  200. }
  201. .search__form {
  202. width: 90%;
  203. max-width: 38rem;
  204. position: relative;
  205. border-bottom: 2px solid gray;
  206. margin-top: 2rem;
  207. margin-bottom: 1rem;
  208. &:hover {
  209. transform: scale(1.05);
  210. }
  211. .search__bar {
  212. border: none;
  213. transition: all .3s;
  214. width: 75%;
  215. @include x-small {
  216. width: 67%;
  217. }
  218. &:focus {
  219. outline: none;
  220. }
  221. }
  222. .search__btn {
  223. position: absolute;
  224. right: 0px;
  225. top: 0px;
  226. background: transparent;
  227. border: none;
  228. outline: none;
  229. color: black;
  230. transition: all .3s;
  231. font-size: 1.2rem;
  232. @include x-small {
  233. font-size: 1rem;
  234. }
  235. &:hover {
  236. color: $bg-color;
  237. transform: scale(1.01);
  238. }
  239. }
  240. .warnmsg {
  241. position: absolute;
  242. color: red;
  243. font-size: 1rem;
  244. top: 100%;
  245. left: 0%;
  246. }
  247. }
  248. .usernews__table__title {
  249. display: inline-block;
  250. font-size: 1.5rem;
  251. margin-bottom: 1.5rem;
  252. font-weight: 400;
  253. position: relative;
  254. text-align: left;
  255. &::after {
  256. position: absolute;
  257. left: 30%;
  258. bottom: -10px;
  259. width: 80%;
  260. height: 1.5rem;
  261. content: " ";
  262. background-color: $bg-color-lighten-2;
  263. z-index: -1;
  264. }
  265. }
  266. .col-card {
  267. @include medium {
  268. margin-bottom: 1.5rem;
  269. }
  270. }
  271. .col-table {
  272. @include medium {
  273. margin-bottom: 2rem;
  274. }
  275. }
  276. .card {
  277. box-shadow: 0px 0px 8px rgb(211, 211, 211);
  278. }
  279. .card-body {
  280. padding: 0.5rem;
  281. }
  282. .btn__searchedWord {
  283. padding: .5rem;
  284. border: 1px solid grey !important;
  285. border-radius: 10rem !important;
  286. margin-right: 1rem;
  287. cursor: pointer;
  288. @include x-small {
  289. font-size: .9rem;
  290. padding: .2rem .3rem !important;
  291. }
  292. .btn__delete {
  293. display: inline-block;
  294. margin-left: 1rem;
  295. @include x-small {
  296. margin-left: .5rem;
  297. }
  298. }
  299. }
  300. .history__block {
  301. margin-bottom: 4rem;
  302. }
  303. .calendar-parent {
  304. height: 85vh;
  305. margin-bottom: 4rem;
  306. box-shadow: 0px 0px 5px rgb(211, 211, 211);;
  307. }
  308. .cv-item {
  309. height: 2rem;
  310. }
  311. .cv-item.isHovered {
  312. white-space: normal;
  313. word-wrap: break-word;
  314. height: 4rem;
  315. }
  316. .group__box {
  317. display: flex;
  318. align-items: center;
  319. .select {
  320. width: 12rem;
  321. .selector {
  322. border-radius: 10px;
  323. border: 1px solid $bg-color;
  324. padding: 6px;
  325. width: 12rem;
  326. &:focus-visible {
  327. border: none;
  328. }
  329. }
  330. }
  331. }
  332. .group__btn {
  333. border-radius: 10px;
  334. }
  335. .btn-group .btn__date {
  336. color: $bg-color;
  337. border: 1px solid $bg-color;
  338. background-color: transparent;
  339. padding: .5rem;
  340. width: 4rem;
  341. transition: all .4s;
  342. }
  343. .btn-group .btn__date:nth-of-type(1) {
  344. border-radius: 5px 0 0 5px;
  345. }
  346. .btn-group .btn__date:nth-of-type(3) {
  347. border-radius: 0 5px 5px 0;
  348. }
  349. .btn-group .btn__date:hover {
  350. background-color: $bg-color;
  351. color: $white;
  352. }
  353. .btn-group .btn__date.active {
  354. background-color: $bg-color;
  355. color: $white;
  356. }
  357. .cv-header {
  358. &-day {
  359. background-color: transparent !important;
  360. }
  361. background-color: $bg-color-lighten-1 !important;
  362. border-color: $bg-color-lighten-1 !important;
  363. padding: .5rem;
  364. .cv-header-nav {
  365. border: $white;
  366. border-radius: 10px;
  367. button {
  368. padding: 10px;
  369. background-color: white;
  370. transition: all .2s;
  371. &:hover {
  372. background-color: rgb(141, 140, 140);
  373. color: $white;
  374. }
  375. }
  376. .previousYear {
  377. border: 1px solid $white;
  378. border-radius: 10px 0 0 10px;
  379. }
  380. .nextYear {
  381. border: 1px solid $white;
  382. border-radius: 0 10px 10px 0;
  383. }
  384. .previousPeriod {
  385. border-right: none;
  386. border-top-color: white;
  387. border-bottom-color: white;
  388. }
  389. .nextPeriod {
  390. border-left: none;
  391. border-top-color: white;
  392. border-bottom-color: white;
  393. }
  394. .currentPeriod {
  395. border-top-color: white;
  396. border-bottom-color: white;
  397. }
  398. }
  399. }
  400. .periodLabel {
  401. color: $white;
  402. }
  403. .today {
  404. background-color: $white !important;
  405. .cv-day-number {
  406. color: $white;
  407. background-color: $bg-color;
  408. border-radius: 50%;
  409. }
  410. }
  411. .theme-default .cv-item {
  412. border-color: $bg-color !important;
  413. background-color: #fae5e5 !important;
  414. border-radius: 5px !important;
  415. }
  416. .b-table-sticky-header {
  417. max-height: 400px;
  418. }
  419. .step__text {
  420. margin-right: 2rem;
  421. color: white;
  422. font-size: 1.4rem;
  423. background-color: #1266f1;
  424. box-shadow: 1px 1px 3px 1px rgb(168, 168, 168);
  425. padding: .5rem .75rem;
  426. border-radius: 3.5rem;
  427. }
  428. /* search bar */
  429. .text_input {
  430. margin: 1.5rem;
  431. padding-top: 2rem;
  432. padding-bottom: 2rem;
  433. }
  434. /* .search__form {
  435. width: 45rem;
  436. margin: 2rem 1.5rem;
  437. } */
  438. .text__bar {
  439. width: 420px;
  440. height: 150px;
  441. padding: .5rem;
  442. transition: all .3s;
  443. border: 3px solid rgb(187, 187, 187);
  444. border-radius: 10px;
  445. }
  446. input[type="radio"] {
  447. display: none;
  448. }
  449. input[type="radio"]:checked + label {
  450. outline: 4px solid #1266f1;
  451. }
  452. /* .search__btn {
  453. padding: 8px 24px;
  454. } */
  455. .submit.disabled {
  456. pointer-events: none;
  457. background-color: rgb(148, 147, 147);
  458. }
  459. .search__form .text__bar:focus {
  460. box-shadow: 1px 1px 3px 1px #1266f1;
  461. border-radius: 10px;
  462. }
  463. .h3 {
  464. font-size: 2rem;
  465. }
  466. .characs {
  467. margin: 2rem 1.5rem;
  468. }
  469. .characs_fr {
  470. width: 120px;
  471. height: 150px;
  472. object-fit: cover;
  473. }
  474. .characs_fr > img {
  475. width: 100%;
  476. height: 100%;
  477. }
  478. .back_fr {
  479. width: 180px;
  480. height: 150px;
  481. object-fit: cover;
  482. }
  483. .back_fr > img {
  484. width: 100%;
  485. height: 100%;
  486. }
  487. .submit {
  488. color: white;
  489. font-size: 1.4rem;
  490. background-color: #1266f1;
  491. box-shadow: 1px 1px 3px 1px rgb(168, 168, 168);
  492. padding: .75rem 2rem;
  493. border-radius: 3.5rem;
  494. outline: none;
  495. transition: all .3s;
  496. }
  497. .submit:hover {
  498. transform: scale(1.05);
  499. }
  500. /* card */
  501. .card{
  502. transition: all .3s;
  503. cursor: pointer;
  504. }
  505. .card:hover {
  506. transform: scale(1.05);
  507. }
  508. .card.card__notHover {
  509. transform: scale(1);
  510. }
  511. .card-title {
  512. font-size: 1.3rem;
  513. }
  514. /* top card */
  515. .card__grback {
  516. background-image: linear-gradient(105deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 75%, #1266f1 75%, #1266f1 100%);
  517. background-position: center;
  518. background-size: contain;
  519. margin-top: 2rem;
  520. }
  521. .card__left {
  522. width: 75%;
  523. }
  524. .card__url {
  525. font-size: 1.8rem;
  526. margin-bottom: 1.5rem;
  527. }
  528. .card__url__icon {
  529. display: inline-block;
  530. margin-right: 1rem;
  531. font-size: 1.4rem;
  532. }
  533. .card__intro {
  534. font-size: .9rem;
  535. line-height: 1.5rem;
  536. }
  537. .intro_text {
  538. padding-top: .5rem;
  539. padding-bottom: .5rem;
  540. padding-left: 4rem;
  541. }
  542. .intro_text:nth-of-type(2) {
  543. padding-left: 3rem;
  544. }
  545. .intro_text:nth-of-type(3) {
  546. padding-left: 2rem;
  547. }
  548. .intro_text:nth-of-type(4) {
  549. padding-left: 1rem;
  550. }
  551. .intro_num {
  552. display: inline-block;
  553. background-color: lightblue;
  554. width: 20px;
  555. height: 20px;
  556. border-radius: 50%;
  557. text-align: center;
  558. line-height: 20px;
  559. position: relative;
  560. z-index: 2;
  561. }
  562. .intro_num::after{
  563. content: " ";
  564. position: absolute;
  565. top: 100%;
  566. left: 0;
  567. width: 100%;
  568. height: 22px;
  569. border-left: 2px solid gray;
  570. transform: rotate(25deg);
  571. z-index: 1;
  572. }
  573. .intro_num_last::after {
  574. display: none;
  575. }
  576. .download {
  577. margin-top: 1.5rem;
  578. transition: all .3s;
  579. }
  580. .download:hover {
  581. background-color: #1266f1;
  582. color: white;
  583. }
  584. /* rank card */
  585. .card__rank__title {
  586. font-weight: 500;
  587. }
  588. .card__rank__title i {
  589. display: inline-block;
  590. margin-right: .5rem;
  591. font-size: 1.2rem;
  592. }
  593. .rank__mark {
  594. font-size: 1.4rem;
  595. line-height: 1.4rem;
  596. }
  597. .rank_num {
  598. font-size: 2rem;
  599. }
  600. /* chart */
  601. .chart {
  602. width: 600px;
  603. height:400px;
  604. margin:1.5rem auto;
  605. }
  606. .animate_fade{
  607. opacity: 0;
  608. transform: translateY(-30%);
  609. transition: all 1.2s;
  610. }
  611. .fade_up{
  612. transform: translateY(0%);
  613. opacity: 1;
  614. }
  615. .intro__last {
  616. width: 8rem;
  617. height: auto;
  618. text-align: center;
  619. line-height: 1.5rem;
  620. }
  621. .youtube__icon {
  622. display: block;
  623. font-size: 2rem;;
  624. }
  625. .animate_in {
  626. opacity: 0;
  627. transform: translateX(-30%);
  628. transition: all 1s;
  629. }
  630. .animate_in:nth-of-type(2) {
  631. transition-delay: 1s;
  632. }
  633. .animate_in:nth-of-type(3) {
  634. transition-delay: 2s;
  635. }
  636. .fade_in{
  637. transform: translateX(0%);
  638. opacity: 1;
  639. }
  640. .popular__card {
  641. color: gray;
  642. text-decoration: none;
  643. font-weight: 600;
  644. .card {
  645. padding: 1rem;
  646. .popular__word {
  647. font-size: 1.2rem;
  648. color: gray;
  649. margin-left: 1.5rem;
  650. margin-right: 2rem;
  651. @include small {
  652. font-size: 1rem;
  653. color: gray;
  654. margin-left: .5rem;
  655. margin-right: .5rem;
  656. }
  657. }
  658. @include small {
  659. padding: .5rem;
  660. }
  661. }
  662. &:hover {
  663. text-decoration: none;
  664. color: $black;
  665. .popular__word {
  666. color: $black;
  667. }
  668. }
  669. }
  670. .btn__showmore {
  671. background-color: white;
  672. border: none;
  673. outline: none;
  674. box-shadow: 0 0 6px 2px rgb(179, 179, 179);
  675. border-radius: 3rem;
  676. padding: .4rem 2.5rem;
  677. letter-spacing: 1px;
  678. transition: all .3s;
  679. &:hover {
  680. transform: scale(1.05);
  681. background-color: $bg-color;
  682. color: $white;
  683. }
  684. }
  685. .badge {
  686. font-size: 1rem !important;
  687. }
  688. .kw {
  689. &__title {
  690. display: inline-block;
  691. margin-right: 2rem;
  692. }
  693. &__query {
  694. display: inline-block;
  695. font-size: 1.5rem;
  696. margin-right: 1rem;
  697. }
  698. &__icon {
  699. font-size: 1.1rem;
  700. &__up {
  701. color: green;
  702. }
  703. &__down {
  704. color: red;
  705. }
  706. }
  707. }
  708. .reltopic {
  709. .card-body {
  710. padding: .5rem;
  711. margin-bottom: 0;
  712. font-size: 1.2rem;
  713. }
  714. &__title {
  715. display: inline-block;
  716. margin-right: .5rem;
  717. font-size: 1.2rem;
  718. }
  719. &__tag {
  720. border: 1px solid #dd6565;
  721. color: #dd6565;
  722. font-weight: 400;
  723. }
  724. }
  725. .card:hover {
  726. transform: none;
  727. }
  728. .hotWord{
  729. &__card {
  730. padding: .5rem;
  731. &__title {
  732. font-size: 1.2rem;
  733. }
  734. &__muted {
  735. font-size: .9rem;
  736. }
  737. &__num {
  738. font-weight: 500;
  739. color: $bg-color;
  740. }
  741. }
  742. .card-body {
  743. padding: 0;
  744. }
  745. }
  746. .sub__date {
  747. background-color: transparent;
  748. padding: .25rem .5rem;
  749. color: $bg-color;
  750. border: 1px solid $bg-color;
  751. outline: none;
  752. border-radius: 10px;
  753. margin-left: .5rem;
  754. &:hover {
  755. background-color: $bg-color;
  756. color: $white;
  757. }
  758. }
  759. .mx-input:hover {
  760. border-color: $bg-color;
  761. }