style.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844
  1. @import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;600;700&display=swap");
  2. @import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&display=swap");
  3. @import url("https://fonts.googleapis.com/css2?family=Sassy+Frass&display=swap");
  4. .menu-margin-bottom {
  5. margin-bottom: 20px;
  6. }
  7. .info-list__item_icon {
  8. width: 30px;
  9. height: 30px;
  10. }
  11. .menu-icon {
  12. width: 30px;
  13. height: 30px;
  14. fill: #181719;
  15. transition: fill 0.3s ease;
  16. }
  17. .list-icon {
  18. height: 100%;
  19. min-width: 16px;
  20. }
  21. .list-icon.red {
  22. fill: #FF0000;
  23. }
  24. .list-icon.green {
  25. fill: #76DE37;
  26. }
  27. .list-icon.blue {
  28. fill: #5D7DF0;
  29. }
  30. .menu {
  31. display: flex;
  32. flex-direction: column;
  33. justify-content: space-between;
  34. max-width: 430px;
  35. min-width: 320px;
  36. border-radius: 50px;
  37. background-color: #F4F4F4;
  38. padding: 50px 36px 50px 50px;
  39. }
  40. .menu__header {
  41. display: flex;
  42. align-items: center;
  43. justify-content: space-between;
  44. }
  45. .menu__header_title {
  46. flex: 1 1 auto;
  47. font-family: "Oswald";
  48. font-size: 36px;
  49. color: #181719;
  50. font-weight: 600;
  51. }
  52. .menu__header_icon {
  53. display: block;
  54. position: relative;
  55. z-index: 2;
  56. width: 30px;
  57. height: 20px;
  58. }
  59. .menu__header_icon span {
  60. position: absolute;
  61. z-index: 1;
  62. display: block;
  63. width: 100%;
  64. height: 3px;
  65. left: 0;
  66. background-color: #181719;
  67. transition: all 0.3s ease;
  68. }
  69. .menu__header_icon span:first-child {
  70. top: 0;
  71. }
  72. .menu__header_icon span:nth-child(2) {
  73. top: 50%;
  74. transform: translateY(-50%);
  75. }
  76. .menu__header_icon span:last-child {
  77. bottom: 0;
  78. }
  79. .menu__header_icon.active span:first-child {
  80. top: 50%;
  81. transform: rotate(-45deg);
  82. }
  83. .menu__header_icon.active span:last-child {
  84. top: 50%;
  85. transform: rotate(45deg);
  86. }
  87. .menu__header_icon.active span:nth-child(2) {
  88. width: 0;
  89. }
  90. .menu__info_title {
  91. font-family: "Oswald";
  92. font-size: 21px;
  93. color: #181719;
  94. font-weight: 600;
  95. margin-bottom: 10px;
  96. }
  97. .info-list {
  98. padding: 0 0 0 8px;
  99. }
  100. .info-list__item {
  101. display: flex;
  102. align-items: center;
  103. }
  104. .info-list__item:not(:last-child) {
  105. margin-bottom: 10px;
  106. }
  107. .info-list__link {
  108. flex: 1 1 100%;
  109. display: flex;
  110. align-items: center;
  111. }
  112. .info-list__background {
  113. padding: 10px 15px;
  114. background-color: #FFF9F9;
  115. border-radius: 50px;
  116. box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  117. transition: background-color 0.3s ease;
  118. }
  119. .info-list__background.active {
  120. background-color: #5D7DF0;
  121. }
  122. .info-list__background.active .menu-icon {
  123. fill: #FFF9F9;
  124. }
  125. .info-list__background.active .info-list__item_text {
  126. color: #FFF9F9;
  127. }
  128. .info-list__item_text {
  129. flex: 1 1 auto;
  130. display: flex;
  131. align-items: center;
  132. font-family: "Noto sans";
  133. font-size: 14px;
  134. color: #39363D;
  135. font-weight: 400;
  136. margin-left: 8px;
  137. transition: color 0.3s ease;
  138. }
  139. .info-list__item_count {
  140. display: inline-flex;
  141. justify-content: center;
  142. align-items: center;
  143. color: #181719;
  144. font-size: 12px;
  145. font-weight: bold;
  146. border-radius: 50px;
  147. background-color: #C4C4C4;
  148. padding: 5px 15px;
  149. }
  150. .login-btn {
  151. display: flex;
  152. align-items: center;
  153. width: 100%;
  154. border-radius: 50px;
  155. padding: 10px 20px;
  156. background-color: #FFF9F9;
  157. color: #181719;
  158. box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  159. }
  160. .login-btn_icon {
  161. fill: #5D7DF0;
  162. width: 20px;
  163. height: 20px;
  164. }
  165. .login-btn_text {
  166. font-family: "Noto sans";
  167. font-size: 21px;
  168. font-weight: 400;
  169. margin-left: 15px;
  170. white-space: nowrap;
  171. }
  172. .button-green {
  173. display: inline-block;
  174. color: #181719;
  175. background-color: #76DE37;
  176. padding: 15px 45px;
  177. font-size: 24px;
  178. font-family: "Noto Sans";
  179. font-weight: normal;
  180. border-radius: 20px;
  181. box-shadow: 3px 3px 7px rgba(24, 23, 25, 0.25);
  182. }
  183. .modal {
  184. position: fixed;
  185. z-index: 1;
  186. left: 0;
  187. top: 0;
  188. display: flex;
  189. align-items: center;
  190. justify-content: center;
  191. height: 100vh;
  192. width: 100vw;
  193. background-color: rgba(24, 23, 25, 0.5);
  194. opacity: 0;
  195. transition: opacity 0.3s ease;
  196. pointer-events: none;
  197. padding: 10px;
  198. }
  199. .modal.active {
  200. pointer-events: all;
  201. opacity: 1;
  202. }
  203. .modal.active .modal__content {
  204. transform: scale(1);
  205. }
  206. .modal__content {
  207. padding: 20px;
  208. border-radius: 15px;
  209. background-color: #FFF9F9;
  210. min-width: 300px;
  211. transform: scale(0.5);
  212. transition: transform 0.3s ease;
  213. }
  214. .task-form {
  215. position: relative;
  216. }
  217. .task-form__close {
  218. position: absolute;
  219. z-index: 1;
  220. right: 0px;
  221. top: 0px;
  222. width: 35px;
  223. height: 35px;
  224. }
  225. .task-form__info {
  226. margin-bottom: 30px;
  227. }
  228. .task-form__field {
  229. display: flex;
  230. align-items: center;
  231. }
  232. .task-form__field:not(:last-child) {
  233. margin-bottom: 20px;
  234. }
  235. .task-form__field_icon {
  236. min-width: 40px;
  237. width: 40px;
  238. height: 40px;
  239. margin-right: 15px;
  240. }
  241. .task-form__field_input {
  242. width: 100%;
  243. font-family: "Noto Sans";
  244. font-size: 34px;
  245. color: #39363D;
  246. flex: 1 1 auto;
  247. padding: 3px;
  248. border-bottom: 1px solid #181719;
  249. }
  250. .task-form__actions {
  251. display: flex;
  252. align-items: center;
  253. justify-content: space-between;
  254. }
  255. .form-action-btn {
  256. text-align: center;
  257. font-family: "Noto sans";
  258. font-size: 24px;
  259. font-weight: 400;
  260. padding: 10px 30px;
  261. border-radius: 19px;
  262. }
  263. .task-form__actions_close {
  264. color: #FFF9F9;
  265. background-color: #39363D;
  266. }
  267. .task-form__actions_confirm {
  268. color: #181719;
  269. background-color: #76DE37;
  270. }
  271. .select {
  272. position: relative;
  273. }
  274. .select__note {
  275. font-family: "Noto Sans";
  276. font-size: 15px;
  277. font-style: italic;
  278. color: #39363D;
  279. margin-bottom: 2px;
  280. }
  281. .option-list {
  282. position: absolute;
  283. z-index: 1;
  284. display: block;
  285. left: 0;
  286. top: 0;
  287. width: 100%;
  288. transform: scaleY(0.5);
  289. opacity: 0;
  290. transition: all 0.3s ease;
  291. -webkit-backdrop-filter: blur(10px);
  292. backdrop-filter: blur(10px);
  293. padding: 5px 0 0 0;
  294. pointer-events: none;
  295. visibility: hidden;
  296. }
  297. .option-list.active {
  298. visibility: visible;
  299. pointer-events: all;
  300. top: 100%;
  301. opacity: 1;
  302. transform: scaleY(1);
  303. }
  304. .select__item {
  305. position: relative;
  306. z-index: 2;
  307. transition: border-color 0.3s ease;
  308. border: 2px solid transparent;
  309. }
  310. .select__item.active {
  311. border: 2px solid #d7cd18;
  312. }
  313. .select__item.active .select__item_icon {
  314. transform: rotate(180deg);
  315. }
  316. @media (hover: hover) {
  317. .select__item:hover {
  318. cursor: pointer;
  319. }
  320. }
  321. .select__item_icon {
  322. max-width: 20px;
  323. margin-right: 5px;
  324. transition: transform 0.4s ease;
  325. }
  326. .option {
  327. display: flex;
  328. align-items: center;
  329. justify-content: space-between;
  330. font-family: "Noto Sans";
  331. padding: 10px 25px;
  332. border-radius: 15px;
  333. font-size: 30px;
  334. color: #FFF9F9;
  335. background-color: #5D7DF0;
  336. }
  337. .option:not(:last-child) {
  338. margin-bottom: 5px;
  339. }
  340. @media (hover: hover) {
  341. .option:hover {
  342. cursor: pointer;
  343. }
  344. }
  345. .option__icon {
  346. max-height: 40px;
  347. }
  348. .upcoming {
  349. display: flex;
  350. flex-direction: column;
  351. grid-gap: 20px;
  352. }
  353. .auth {
  354. display: flex;
  355. align-items: center;
  356. width: 100vw;
  357. height: 100vh;
  358. padding: 0 15%;
  359. overflow: hidden;
  360. background: linear-gradient(90deg, rgb(93, 125, 240) 0%, rgb(28, 28, 28) 62%, rgb(69, 53, 91) 100%);
  361. }
  362. .auth__info_title {
  363. font-family: "Noto Sans";
  364. font-weight: bold;
  365. font-size: 120px;
  366. color: #FFF9F9;
  367. margin-bottom: 40px;
  368. }
  369. .auth__info_sub-title {
  370. font-family: "Oswald";
  371. font-weight: 400;
  372. font-size: 56px;
  373. color: #C4C4C4;
  374. margin-bottom: 20px;
  375. }
  376. .auth__img {
  377. width: 100%;
  378. height: 100%;
  379. position: relative;
  380. }
  381. .auth__img img {
  382. width: 100%;
  383. height: 100%;
  384. -o-object-fit: contain;
  385. object-fit: contain;
  386. }
  387. .login {
  388. background-color: #C4C4C4;
  389. display: grid;
  390. grid-template-columns: repeat(2, 1fr);
  391. grid-gap: 25px;
  392. height: 100vh;
  393. padding: 40px 80px;
  394. }
  395. .login__column {
  396. border-radius: 40px;
  397. overflow: hidden;
  398. max-height: inherit;
  399. box-shadow: 2px 2px 20px rgba(24, 23, 25, 0.4);
  400. }
  401. .login__img img {
  402. height: 100%;
  403. width: 100%;
  404. -o-object-fit: cover;
  405. object-fit: cover;
  406. }
  407. .login__body {
  408. background-color: #FFF9F9;
  409. display: flex;
  410. align-items: center;
  411. justify-content: center;
  412. }
  413. .form-login {
  414. min-width: 300px;
  415. }
  416. .form-login__title {
  417. font-family: "Oswald";
  418. font-weight: bold;
  419. font-size: 36px;
  420. margin-bottom: 25px;
  421. }
  422. .form-login__field:not(:last-child) {
  423. margin-bottom: 20px;
  424. }
  425. .form-login__field_input {
  426. width: 100%;
  427. font-family: "Noto Sans";
  428. font-size: 15px;
  429. border: 1px solid #181719;
  430. padding: 7px 15px;
  431. color: #181719;
  432. border-radius: 7px;
  433. }
  434. .form-login__field_input::-moz-placeholder {
  435. color: #39363D;
  436. }
  437. .form-login__field_input::placeholder {
  438. color: #39363D;
  439. }
  440. .form-login__send {
  441. text-align: center;
  442. }
  443. .form-login__line {
  444. display: flex;
  445. align-items: center;
  446. }
  447. .form-login__line_text {
  448. font-family: "Noto Sans";
  449. font-size: 15px;
  450. color: #C4C4C4;
  451. padding: 0 25px;
  452. margin: 10px 0;
  453. }
  454. .form-login__line_span {
  455. flex: 1 1 auto;
  456. display: block;
  457. height: 1px;
  458. border-radius: 5px;
  459. background-color: #C4C4C4;
  460. }
  461. .form-login__link_login {
  462. display: block;
  463. text-align: center;
  464. font-family: "Noto Sans";
  465. font-size: 15px;
  466. color: #181719;
  467. }
  468. .form-login__link_login span {
  469. color: #5D7DF0;
  470. }
  471. .registration {
  472. background-color: #C4C4C4;
  473. display: grid;
  474. grid-template-columns: repeat(2, 1fr);
  475. grid-gap: 25px;
  476. height: 100vh;
  477. padding: 40px 80px;
  478. }
  479. .registration__column {
  480. border-radius: 40px;
  481. overflow: hidden;
  482. max-height: inherit;
  483. box-shadow: 2px 2px 20px rgba(24, 23, 25, 0.4);
  484. }
  485. .registration__img img {
  486. height: 100%;
  487. width: 100%;
  488. -o-object-fit: cover;
  489. object-fit: cover;
  490. }
  491. .registration__body {
  492. background-color: #FFF9F9;
  493. display: flex;
  494. align-items: center;
  495. justify-content: center;
  496. }
  497. .form-registration {
  498. min-width: 300px;
  499. }
  500. .form-registration__title {
  501. font-family: "Oswald";
  502. font-weight: bold;
  503. font-size: 36px;
  504. margin-bottom: 25px;
  505. }
  506. .form-registration__field:not(:last-child) {
  507. margin-bottom: 20px;
  508. }
  509. .form-registration__field_input {
  510. width: 100%;
  511. font-family: "Noto Sans";
  512. font-size: 15px;
  513. border: 1px solid #181719;
  514. padding: 7px 15px;
  515. color: #181719;
  516. border-radius: 7px;
  517. }
  518. .form-registration__field_input::-moz-placeholder {
  519. color: #39363D;
  520. }
  521. .form-registration__field_input::placeholder {
  522. color: #39363D;
  523. }
  524. .form-registration__send {
  525. text-align: center;
  526. }
  527. .form-registration__line {
  528. display: flex;
  529. align-items: center;
  530. }
  531. .form-registration__line_text {
  532. font-family: "Noto Sans";
  533. font-size: 15px;
  534. color: #C4C4C4;
  535. padding: 0 25px;
  536. margin: 10px 0;
  537. }
  538. .form-registration__line_span {
  539. flex: 1 1 auto;
  540. display: block;
  541. height: 1px;
  542. border-radius: 5px;
  543. background-color: #C4C4C4;
  544. }
  545. .form-registration__link_login {
  546. display: block;
  547. text-align: center;
  548. font-family: "Noto Sans";
  549. font-size: 15px;
  550. color: #181719;
  551. }
  552. .form-registration__link_login span {
  553. color: #5D7DF0;
  554. }
  555. .add-category {
  556. flex: 0 1 400px;
  557. }
  558. .add-category__title {
  559. font-family: "Oswald";
  560. font-size: 30px;
  561. font-weight: bold;
  562. margin-bottom: 30px;
  563. text-align: center;
  564. }
  565. .add-category__field {
  566. display: flex;
  567. align-items: center;
  568. justify-content: space-between;
  569. grid-gap: 10px;
  570. }
  571. .add-category__field:not(:last-child) {
  572. margin-bottom: 15px;
  573. }
  574. .add-category__field_label {
  575. font-size: 24px;
  576. color: #181719;
  577. }
  578. .add-category__field_input {
  579. flex: 1 1 auto;
  580. font-size: 24px;
  581. color: #181719;
  582. padding: 5px 5px 5px 10px;
  583. border: 1px solid #181719;
  584. border-radius: 10px;
  585. }
  586. .category-color_input {
  587. display: block;
  588. width: 50px;
  589. height: 50px;
  590. border-radius: 50%;
  591. overflow: hidden;
  592. }
  593. @media (hover: hover) {
  594. .category-color_input:hover {
  595. cursor: pointer;
  596. }
  597. }
  598. .tasks {
  599. display: grid;
  600. grid-template-columns: 1fr 1fr;
  601. grid-row-gap: 15px;
  602. grid-column-gap: 20px;
  603. justify-content: center;
  604. }
  605. .event-wrapper {
  606. flex: 1 1 auto;
  607. grid-column-start: 1;
  608. grid-column-end: 3;
  609. }
  610. .event {
  611. flex: 1 1 auto;
  612. border: 1px solid #39363D;
  613. border-radius: 30px;
  614. padding: 20px 25px 40px 25px;
  615. }
  616. .event:not(:last-child) {
  617. margin-bottom: 20px;
  618. }
  619. .event__header {
  620. display: flex;
  621. align-items: center;
  622. margin-bottom: 20px;
  623. }
  624. .event__header_title {
  625. flex: 1 1 auto;
  626. font-size: 36px;
  627. font-family: "Oswald";
  628. font-weight: 600;
  629. }
  630. .event__header_button {
  631. display: flex;
  632. align-items: center;
  633. padding: 15px;
  634. border: 1px solid #39363D;
  635. border-radius: 15px;
  636. font-family: "Noto Sans";
  637. font-weight: 300;
  638. font-size: 18px;
  639. }
  640. .event__header_icon {
  641. width: 30px;
  642. height: 30px;
  643. margin-right: 15px;
  644. fill: #5D7DF0;
  645. }
  646. .event__item {
  647. display: flex;
  648. align-items: center;
  649. padding: 7px 5px 12px 7px;
  650. border-bottom: 2px solid #39363D;
  651. }
  652. .event__item:not(:last-child) {
  653. margin-bottom: 10px;
  654. }
  655. .event__item_category {
  656. width: 40px;
  657. height: 35px;
  658. min-width: 40px;
  659. }
  660. .event__item_icon {
  661. margin-right: 12px;
  662. }
  663. .event__item_title {
  664. flex: 1 1 auto;
  665. font-size: 18px;
  666. font-family: "Noto Sans";
  667. font-weight: 400;
  668. color: #39363D;
  669. }
  670. .event__item_check {
  671. display: flex;
  672. align-items: center;
  673. justify-content: center;
  674. height: 30px;
  675. width: 30px;
  676. min-width: 30px;
  677. padding: 2px 1px 2px 2px;
  678. border: 3px solid #181719;
  679. border-radius: 4px;
  680. fill: #76DE37;
  681. transition: border-color 0.5s ease;
  682. }
  683. .event__item_check svg {
  684. transform: scale(0);
  685. transition: transform 0.3s ease;
  686. }
  687. .event__item_check.done {
  688. border: 3px solid #76DE37;
  689. }
  690. .event__item_check.done svg {
  691. transform: scale(1);
  692. }
  693. @media (hover: hover) {
  694. .event__item_check:hover {
  695. cursor: pointer;
  696. }
  697. }
  698. .event__footer {
  699. text-align: center;
  700. font-family: "Sassy Frass", cursive;
  701. font-size: 36px;
  702. letter-spacing: 1px;
  703. font-weight: 400;
  704. font-style: normal;
  705. margin-top: 15px;
  706. }
  707. .wrapper {
  708. font-family: "Oswald";
  709. min-height: 100vh;
  710. width: 100%;
  711. display: grid;
  712. grid-template-columns: minmax(320px, 370px) 1fr;
  713. grid-gap: 30px;
  714. background-color: #FFF9F9;
  715. padding: 27px 30px 40px 30px;
  716. }
  717. .main {
  718. flex: 1 1 auto;
  719. max-height: calc(100vh - 67px);
  720. overflow-y: auto;
  721. overflow-x: hidden;
  722. }
  723. .welcome {
  724. width: 100%;
  725. height: 100%;
  726. border-radius: 50px;
  727. background-color: #F4F4F4;
  728. display: flex;
  729. align-items: center;
  730. justify-content: center;
  731. flex-direction: column;
  732. grid-gap: 30px;
  733. }
  734. .welcome__title {
  735. font-family: "Oswald";
  736. font-weight: bold;
  737. font-size: 36px;
  738. text-align: center;
  739. }
  740. .welcome__text {
  741. max-width: 50%;
  742. font-family: "Noto Sans";
  743. font-size: 14px;
  744. font-weight: 500;
  745. line-height: 1.4rem;
  746. text-align: center;
  747. }
  748. .welcome__button {
  749. display: flex;
  750. justify-content: center;
  751. }/*# sourceMappingURL=style.css.map */