My SMM panel
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

1339 lignes
20 KiB

  1. @use "vars";
  2. @font-face {
  3. font-family: "PatuaOne";
  4. src: url("../PatuaOne-Regular.ttf") format("opentype");
  5. font-style: normal;
  6. font-weight: normal;
  7. }
  8. html body {
  9. font-family: 'PatuaOne', 'Times New Roman';
  10. margin: 0;
  11. }
  12. section {
  13. position: relative;
  14. padding-top: 3em;
  15. padding-bottom: 3em;
  16. overflow: hidden;
  17. padding-right: 15px;
  18. padding-left: 15px;
  19. }
  20. button {
  21. font-family: 'PatuaOne', 'Times New Roman';
  22. }
  23. h1 {
  24. color: white;
  25. }
  26. h2 {
  27. color: vars.getColor("brand-orange");
  28. text-align: center;
  29. }
  30. h3 {
  31. color: vars.getColor("faded-text");
  32. // text-transform: uppercase;
  33. }
  34. ul {
  35. color: vars.getColor("faded-text");
  36. list-style-type: none;
  37. padding: 0;
  38. }
  39. input, select {
  40. border: 2px solid black;
  41. border-radius: 20px;
  42. padding: 4px;
  43. }
  44. .icon {
  45. width: 25px;
  46. margin: 10px;
  47. }
  48. .services-cards li {
  49. padding-bottom: 8px;
  50. &:before {
  51. width: 30px;
  52. height: 30px;
  53. content: url("../images/green-check.svg");
  54. display: inline;
  55. margin-right: 5px;
  56. // top: 30px;
  57. }
  58. }
  59. a {
  60. text-decoration: none;
  61. }
  62. nav {
  63. position: absolute;
  64. width: 100%;
  65. top: 10px;
  66. display: flex;
  67. flex-flow: row wrap;
  68. align-items: center;
  69. justify-content: space-between;
  70. // background-color: transparent;
  71. }
  72. nav h1 {
  73. margin: 4px 0 10px 6px;
  74. display: inline-block;
  75. }
  76. nav.info-page h1 {
  77. margin: 4px 0 10px 6px;
  78. display: inline-block;
  79. color: vars.getColor('brand-orange');
  80. }
  81. .formal-font {
  82. font-family: "FreeSans";
  83. }
  84. nav #logo {
  85. margin-right: 50px;
  86. }
  87. nav form {
  88. display: flex;
  89. flex-wrap: wrap;
  90. margin-right: 20px;
  91. }
  92. nav form div {
  93. margin: 0 10px;
  94. }
  95. nav form button {
  96. min-width: 5em;
  97. }
  98. nav form p {
  99. margin-top: 0;
  100. }
  101. nav form input,label {
  102. opacity: 0.7;
  103. }
  104. nav .nav-toggle {
  105. position: absolute;
  106. right: 10px;
  107. top: 5px;
  108. display: none;
  109. height: 45px;
  110. width: 45px;
  111. margin-left: auto;
  112. background: url("../images/menu-icon.svg");
  113. background-size: 100%;
  114. background-size: cover;
  115. color: white;
  116. }
  117. nav .nav-toggle.toggled {
  118. background: url("../images/cancel-icon2.svg");
  119. width: 25px;
  120. height: 25px;
  121. background-size: 100%;
  122. background-size: cover;
  123. top: 10px;
  124. right: 15px;
  125. color: white;
  126. }
  127. div.landing-hero {
  128. top: 0;
  129. height: 50em;
  130. background-color: #ff4e00;
  131. // background-image: linear-gradient(to right bottom, #ff4e00, #fc6200, #f87200, #f58100, #f18e00, #f19507, #f09c0f, #f0a317, #f3a620, #f6a927, #f8ad2e, #fbb034);
  132. background-image: linear-gradient(315deg, #ff4e00 0%, #ec9f05 74%);
  133. z-index: 0;
  134. }
  135. div.hero-filter {
  136. width: 100%;
  137. height: 100%;
  138. }
  139. div.hero-filter h2 {
  140. color: black;
  141. opacity: 0.7;
  142. max-width: 10em;
  143. font-size: 2.4em;
  144. position: absolute;
  145. top: 3em;
  146. margin-left: 5%;
  147. }
  148. div.hero-filter p {
  149. position: absolute;
  150. top: 12em;
  151. margin-left: 5%;
  152. font-size: 20px;
  153. width: 10em;
  154. opacity: 0.7;
  155. }
  156. div.errors {
  157. background-color: #ececec;
  158. color: vars.getColor("red-alert");
  159. border: 2px solid vars.getColor("red-alert");
  160. border-radius: 4px;
  161. min-height: 50px;
  162. position: absolute;
  163. left: 50%;
  164. margin-right: -50%;
  165. top: 100px;
  166. min-width: 30em;
  167. transform: translate(-50%, -50%);
  168. }
  169. .errors ul {
  170. margin: auto;
  171. }
  172. form.login {
  173. // font-weight: bold;
  174. color: white;
  175. }
  176. .cancel-icon {
  177. width: 30px;
  178. }
  179. form.login input {
  180. margin-left: 2px;
  181. color: white;
  182. background-color: transparent;
  183. border: 2px solid white;
  184. border-radius: 2px;
  185. outline-color: orange
  186. }
  187. form.login .login-btn {
  188. @include vars.special-button("medium-blue", "dark-blue");
  189. }
  190. .hero-filter .register-btn {
  191. @include vars.transparent-button;
  192. display: block;
  193. position: relative;
  194. width: 7em;
  195. top: 60%;
  196. margin-left: auto;
  197. margin-right: auto;
  198. }
  199. div.blue-background {
  200. background-image: url("../images/black-circle.svg");
  201. background-size: 10px;
  202. background-color: #0d324d;
  203. }
  204. section.about-us {
  205. padding: 70px 0;
  206. }
  207. section.about-us p {
  208. max-width: 600px;
  209. margin-left: auto;
  210. margin-right: auto;
  211. border-top: 2px solid vars.getColor("grey");
  212. border-bottom: 2px solid vars.getColor("grey");
  213. padding: 15px;
  214. background-color: #0d324d;
  215. color: white;
  216. }
  217. section.services-cards {
  218. // margin-bottom: 0;
  219. background-color: lightgrey;
  220. padding-bottom: 4em;
  221. background: linear-gradient(to bottom right, transparent 0%, transparent 50%, #e9e9e9 50%, vars.getColor("light-grey") 100%);
  222. }
  223. section.services-cards .cards{
  224. display: flex;
  225. flex-flow: wrap;
  226. margin-top: 2em;
  227. gap: 25px;
  228. justify-content: center;
  229. max-width: 1050px;
  230. margin-left: auto;
  231. margin-right: auto;
  232. text-align: center;
  233. }
  234. section.services-cards h2 {
  235. text-align: center;
  236. padding: 10px;
  237. margin-top: 0;
  238. padding-top: 30px;
  239. color: white;
  240. }
  241. section.services-cards .card {
  242. width: 280px;
  243. height: 350px;
  244. padding: 18px 9px;
  245. border-radius: 4px;
  246. background: white;
  247. box-shadow: 7px 10px 8px rgb(156 166 175 / 22%);
  248. transition: transform 0.2s;
  249. &:hover {
  250. transform: translateY(-20px);
  251. }
  252. }
  253. section.services-cards img {
  254. width: 50px;
  255. height: 50px;
  256. }
  257. section.services-cards button {
  258. @include vars.brand-button("orange");
  259. }
  260. section.features-info {
  261. // height: fit-content;
  262. height: 70em;
  263. background: radial-gradient(ellipse at left, #fff, vars.getColor("light-grey") 80%);
  264. }
  265. .circle-prop {
  266. height: 70em;
  267. overflow: hidden;
  268. width: 100%;
  269. position: relative;
  270. // transform: translateX(-10em);
  271. }
  272. .circle-prop svg {
  273. width: 50%;
  274. }
  275. .features-info img {
  276. width: 600px;
  277. position: absolute;
  278. top: 15%;
  279. right: 4%;
  280. }
  281. div.info-cards {
  282. position: absolute;
  283. top: 10em;
  284. margin-left: 20%;
  285. width: 70%;
  286. }
  287. .info-card {
  288. margin-bottom: 6em;
  289. &:nth-of-type(2) {
  290. margin-left: 13%;
  291. }
  292. &:nth-of-type(3) {
  293. margin-left: 10%;
  294. }
  295. &:nth-of-type(4) {
  296. margin-left: 5%;
  297. }
  298. p {
  299. max-width: 20em;
  300. background: white;
  301. padding: 5px;
  302. border-radius: 4px;
  303. text-align: center;
  304. color: vars.getColor("faded-text2");
  305. // border: 2px solid vars.getColor("medium-orange");
  306. @include vars.hovering;
  307. }
  308. }
  309. section.panel-infos {
  310. min-height: 40em;
  311. margin-top: 5em;
  312. margin-bottom: 5em;
  313. display: flex;
  314. flex-flow: wrap;
  315. align-items: center;
  316. justify-content: center;
  317. gap: 20px;
  318. .panel-preview {
  319. // box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  320. @include vars.hovering;
  321. padding: 0;
  322. }
  323. }
  324. .panel-infos h2 {
  325. width: 100%;
  326. }
  327. .panel-info {
  328. max-width: 25em;
  329. margin-top: 4em;
  330. }
  331. .panel-info img {
  332. width: 50px;
  333. height: 50px;
  334. }
  335. .panel-info p {
  336. color: vars.getColor("faded-text2");
  337. }
  338. section.benefits-info div {
  339. margin: 1em auto;
  340. padding: 1em 1em;
  341. border-top: 2px solid vars.getColor("faded-text2");
  342. border-bottom: 2px solid vars.getColor("faded-text2");
  343. max-width: 40em;
  344. color: vars.getColor("faded-text");
  345. }
  346. .benefits-info h2 {
  347. margin-bottom: 2em;
  348. }
  349. section.faq-info {
  350. margin-bottom: 6em;
  351. margin-top: 3em;
  352. min-height: 30em;
  353. }
  354. .faq-info h2 {
  355. margin-bottom: 2em;
  356. }
  357. section.faq-info .collapsibles {
  358. display: flex;
  359. flex-flow: wrap;
  360. gap: 2em;
  361. justify-content: center;
  362. max-width: 65em;
  363. width: fit-content;
  364. margin-left: auto;
  365. margin-right: auto;
  366. align-text: center;
  367. }
  368. .faq-info .collapsible {
  369. text-align: center;
  370. width: 20em;
  371. &:not(.active) .content {
  372. display: none;
  373. }
  374. }
  375. .collapsible button {
  376. width: 95%;
  377. display: block;
  378. margin-right: auto;
  379. height: 2.5em;
  380. border: 2px solid vars.getColor("brand-orange");
  381. @include vars.button("light-grey");
  382. font-size: 17px;
  383. // font-weight: bold;
  384. }
  385. .collapsible button:after {
  386. content: '\02795'; /* Unicode character for "plus" sign (+) */
  387. font-size: 13px;
  388. color: white;
  389. float: right;
  390. margin-left: 5px;
  391. }
  392. .collapsible .content {
  393. // background-color: vars.getColor("faded-text2");
  394. border: 2px solid black;
  395. border-radius: 4px;
  396. padding: 4px;
  397. // transition: all 0.2s;
  398. // height: 1px;
  399. }
  400. footer {
  401. height: 6em;
  402. background-color: vars.getColor("dark-grey");
  403. padding: 20px;
  404. color: vars.getColor("faded-text2");
  405. }
  406. footer .foot-links {
  407. width: 20em;
  408. margin: 2em auto;
  409. text-align: center;
  410. }
  411. footer a {
  412. margin: 0 8px;
  413. color: vars.getColor("faded-text2");
  414. &:hover {
  415. color: vars.getColor("faded-text");
  416. }
  417. }
  418. .hidden {
  419. display: none;
  420. }
  421. .loading-icon {
  422. display: block;
  423. width: 50px;
  424. height: 50px;
  425. margin: auto;
  426. }
  427. .register-area p {
  428. text-align: center;
  429. }
  430. .register-area .loading-icon {
  431. margin-top: 100px;
  432. }
  433. div.register-area {
  434. overflow: hidden;
  435. height: 0px;
  436. width: 100%;
  437. z-index: 1;
  438. @include vars.hovering3;
  439. margin-bottom: 2em;
  440. position: fixed;
  441. border-radius: 0;
  442. padding: 0;
  443. opacity: 0;
  444. transition: all 0.2s;
  445. background: white;
  446. h3 {
  447. text-align: center;
  448. }
  449. label,input {
  450. color: black;
  451. display: block;
  452. border-color: black;
  453. width: 95%;
  454. }
  455. div {
  456. margin-top: 20px;
  457. margin-bottom: 20px;
  458. width: 100%;
  459. }
  460. form {
  461. width: 160px;
  462. margin: 20px auto;
  463. }
  464. .submit-btn {
  465. width: 100%;
  466. background-color: #3bb78f;
  467. @include vars.special-button("light-green", "dark-green");
  468. }
  469. .cancel-button {
  470. width: 20px;
  471. height: 20px;
  472. background: url("../images/close-icon-black.svg");
  473. background-size: cover;
  474. position: absolute;
  475. top: 20px;
  476. right: 20px;
  477. }
  478. }
  479. section.features-info {
  480. // min-height: 90em;
  481. }
  482. div.register-area.active {
  483. min-height: 35em;
  484. opacity: 1;
  485. }
  486. .medium-icon {
  487. width: 50px;
  488. height: 50px;
  489. margin-left: auto;
  490. margin-right: auto;
  491. display: block;
  492. top: 50px;
  493. }
  494. // Make small screens more usable
  495. @media (max-width: 720px) {
  496. nav { display: block; }
  497. nav form {
  498. // display: none;
  499. width: 190px;
  500. margin-left: auto;
  501. margin-right: auto;
  502. align-items: center;
  503. margin-top: 5em;
  504. opacity: 0;
  505. transition: transform 0.3s;
  506. transform: translateY(-50px);
  507. }
  508. nav form.active {
  509. display: block;
  510. transform: translateX(0%);
  511. opacity: 1;
  512. // background: white;
  513. // color: black;
  514. }
  515. nav form div {
  516. margin: 10px auto;
  517. }
  518. nav div label,input {
  519. display: block;
  520. }
  521. nav .nav-toggle {
  522. display: block;
  523. }
  524. div.register-area.active {
  525. display: initial;
  526. }
  527. div.register-area h1 {
  528. font-size: 1.5rem;
  529. display: inline-block;
  530. color: vars.getColor("brand-orange");
  531. }
  532. div.register-area h3 {
  533. text-align: center;
  534. }
  535. div.register-area .login {
  536. color: vars.getColor("brand-orange");
  537. display: block;
  538. margin-left: auto;
  539. margin-right: auto;
  540. // margin-top: 1em;
  541. width: 10em;
  542. // top: 40px;
  543. // position: absolute;
  544. }
  545. div.register-area .login input {
  546. border: 2px solid black;
  547. border-color: black;
  548. color: black;
  549. }
  550. div.register-area button {
  551. margin-top: 1em;
  552. width: 6em;
  553. }
  554. div.register-area div {
  555. margin-top: 10px;
  556. margin-bottom: 5px;
  557. margin-left: auto;
  558. margin-right: auto;
  559. }
  560. .landing-hero div.hero-filter h2 {
  561. top: 4em;
  562. }
  563. .landing-hero div.hero-filter p {
  564. top: 15em;
  565. }
  566. .landing-hero div.hero-filter .register-btn {
  567. top: 75%;
  568. }
  569. }
  570. .info-heading {
  571. text-align: center;
  572. margin-top: 3em;
  573. margin-left: auto;
  574. margin-right: auto;
  575. max-width: 35em;
  576. padding: 3em;
  577. height: 30em;
  578. button {
  579. display: block;
  580. margin: 3em auto;
  581. width: 6em;
  582. @include vars.special-button("light-green", "dark-green");
  583. }
  584. }
  585. main.panel {
  586. // min-height: 750px;
  587. height: 100vh;
  588. // max-height: 100vh;
  589. background-image: linear-gradient(315deg, #ff4e00 0%, #ec9f05 74%);
  590. }
  591. #panel {
  592. top: 50px;
  593. padding: 0 5%;
  594. margin: auto;
  595. position: relative;
  596. max-width: 800px;
  597. height: 90%;
  598. display: flex;
  599. gap: 10px;
  600. }
  601. #sidebar {
  602. position: relative;
  603. width: 6%;
  604. max-width: 55px;
  605. height: 50%;
  606. color: white;
  607. background: transparent;
  608. display: block;
  609. flex-shrink: 0;
  610. a {
  611. display: block;
  612. margin: 20px 0;
  613. }
  614. svg {
  615. width: 100%;
  616. height: 35px;
  617. color: white;
  618. }
  619. a.selected svg {
  620. color: vars.getColor("brand-orange");
  621. }
  622. }
  623. #panel #main {
  624. background: white;
  625. width: 100%;
  626. flex-shrink: 1;
  627. margin-left: auto;
  628. position: relative;
  629. @include vars.hovering3;
  630. transition: opacity 0.5s ease;
  631. vertical-align: middle;
  632. overflow: scroll;
  633. // text-align: center;
  634. section {
  635. padding: 5px;
  636. border-radius: 4px;
  637. min-height: 3em;
  638. margin-bottom: 1em;
  639. }
  640. h4 {
  641. margin: 4px;
  642. color: vars.getColor("dark-grey");
  643. }
  644. p {
  645. margin: 0;
  646. }
  647. .welcome-pane {
  648. text-align: center;
  649. }
  650. .credits-pane {
  651. border: 3px solid vars.getColor("orange");
  652. display: flex;
  653. align-items: center;
  654. justify-content: center;
  655. color: vars.getColor('brand-orange');
  656. }
  657. .alerts-pane {
  658. border: 3px solid vars.getColor("grey");
  659. padding: 1em;
  660. }
  661. }
  662. .fade-enter-from, .fade-leave-to {
  663. opacity: 0;
  664. }
  665. .recent-pane, .history-pane{
  666. table {
  667. border-spacing: 4px;
  668. margin: auto;
  669. text-align: center;
  670. width: 100%;
  671. }
  672. th {
  673. font-weight: normal;
  674. color: vars.getColor("light2-grey");
  675. }
  676. tr {
  677. border-bottom: 3px solid black;
  678. }
  679. td {
  680. border-bottom: 2px solid vars.getColor("grey");
  681. // color: vars.getColor("light3-grey");
  682. // font-size: 1rem;
  683. font-size: 0.8rem;
  684. }
  685. td.completed span {
  686. background: vars.getColor('green');
  687. color: vars.darkenColor('green');
  688. border-radius: 4px;
  689. padding: 2px;
  690. }
  691. td.processing {
  692. color: vars.getColor('light-blue');
  693. }
  694. td.canceled {
  695. color: vars.getColor('red-alert');
  696. }
  697. }
  698. .pending-pane {
  699. .pending-heading {
  700. position: relative;
  701. border-bottom: 1px solid vars.getColor('light2-grey');
  702. // background-color: vars.getColor('light-grey');
  703. &:hover {
  704. color: vars.darkenColor('text-blue-medium');
  705. }
  706. }
  707. .pending-content {
  708. color: grey;
  709. height: 0;
  710. overflow: hidden;
  711. transition: all 0.2s;
  712. }
  713. .selected .pending-content {
  714. height: fit-content;
  715. }
  716. li {
  717. margin: 10px 0;
  718. display: inline-block;
  719. width: 15em;
  720. }
  721. img {
  722. // border: 2px solid vars.getColor('light2-grey');
  723. padding: 4px;
  724. // border-radius: 50%;
  725. margin-top: 5px;
  726. width: 25px;
  727. display: inline-block;
  728. margin-bottom: 3px;
  729. margin-left: 2px;
  730. position: absolute;
  731. transition: all 0.2s;
  732. }
  733. .selected img {
  734. transform: rotate(180deg);
  735. }
  736. }
  737. .history-pane {
  738. overflow: visible;
  739. transition: all 0.2s;
  740. .nav-btn {
  741. width: 1.5em;
  742. transform: translateY(1.5em);
  743. }
  744. .nav-btn.right {
  745. bottom: 0px;
  746. right: 1em;
  747. position: absolute;
  748. display: block;
  749. margin-left: auto;
  750. }
  751. .nav-btn.left {
  752. bottom: 0px;
  753. left: 1em;
  754. position: absolute;
  755. display: block;
  756. margin-right: auto;
  757. }
  758. .nav-legend {
  759. color: grey;
  760. transform: translateX(-1.5em);
  761. text-align: center;
  762. position: absolute;
  763. width: 3em;
  764. left: 50%;
  765. }
  766. }
  767. .actions {
  768. margin-bottom: 1em;
  769. }
  770. .actions a {
  771. color: vars.getColor('brand-orange');
  772. margin: 1em;
  773. margin-bottom: 2em;
  774. padding: 3px;
  775. }
  776. .actions a:hover {
  777. color: vars.darkenColor('brand-orange');
  778. }
  779. .logout-pane {
  780. margin-top: 25%;
  781. text-align: center;
  782. height: 10em;
  783. a {
  784. display: block;
  785. // vertical-align: center;
  786. margin: auto;
  787. margin-top: 2em;
  788. height: 1.3em;
  789. width: 5em;
  790. @include vars.inverting-button(black, white);
  791. }
  792. }
  793. .settings-page {
  794. h3 {
  795. text-align: center;
  796. }
  797. h5 {
  798. display: inline-block;
  799. margin-right: 2em;
  800. margin-top: 0;
  801. margin-bottom: 0.5em;
  802. color: vars.getColor('brand-orange');
  803. }
  804. input {
  805. display: block;
  806. margin-bottom: 1em;
  807. right: 2px;
  808. position: relative;
  809. }
  810. button {
  811. &>*{vertical-align: middle;}
  812. margin-right: 10px;
  813. display: inline-block;
  814. @include vars.inverting-button(vars.getColor('text-blue-medium'), white);
  815. }
  816. .loading-icon {
  817. width: 1.5em;
  818. height: 1.5em;
  819. display: none;
  820. color: white;
  821. margin-left: 0.5em;
  822. margin-right: 0.5em;
  823. }
  824. .loading .loading-icon {
  825. display: inline;
  826. }
  827. .completed span {
  828. color: vars.getColor('green');
  829. }
  830. .error span {
  831. color: vars.getColor('red-alert');
  832. }
  833. }
  834. .services-legend {
  835. display: flex;
  836. justify-content: space-between;
  837. margin-top: 20px;
  838. border-top: 1px solid darkgrey;
  839. border-bottom: 1px solid darkgrey;
  840. min-height: 2em;
  841. background-color: rgb(239, 239, 239);
  842. color: rgb(118, 118, 118);
  843. padding-right: 30px;
  844. h5 {
  845. display: inline-block;
  846. margin: auto;
  847. text-align: center;
  848. width: 20%;
  849. // max-width: 25%;
  850. }
  851. :nth-child(1) {
  852. width: 30%;
  853. }
  854. }
  855. .sliding-menu {
  856. display: flex;
  857. justify-content: center;
  858. flex-basis: 50%;
  859. margin-top: 1em;
  860. flex-flow: wrap;
  861. gap: 10px;
  862. a {
  863. width: 25%;
  864. font-size: 1.1rem;
  865. background: none;
  866. border: none;
  867. color: grey;
  868. text-align: center;
  869. }
  870. .selected {
  871. color: black;
  872. }
  873. }
  874. .menu-slider {
  875. width: 55%;
  876. div {
  877. transition: all 0.2s;
  878. width: 50%;
  879. border-bottom: 2px solid black;
  880. flex: 2;
  881. }
  882. }
  883. .menu-slider.credits div {
  884. transform: translateX(100%);
  885. }
  886. .menu-slider.right div {
  887. transform: translateX(100%);
  888. }
  889. .services-pane {
  890. li {
  891. display: flex;
  892. // gap: 0.5em;
  893. justify-content: space-between;
  894. align-items: center;
  895. border-top: 1px solid grey;
  896. // border-bottom: 1px solid grey;
  897. padding: 6px 0;
  898. }
  899. li span {
  900. // width: 10%;
  901. text-align:center;
  902. vertical-align: middle;
  903. }
  904. li :nth-child(1) {
  905. width: 30%;
  906. }
  907. li:hover span {
  908. color: vars.darkenColor('faded-text');
  909. }
  910. svg {
  911. width: 25px;
  912. height: 25px;
  913. color: vars.getColor('brand-orange');
  914. right: 10px;
  915. }
  916. svg:hover {
  917. color: vars.getColor('dark-orange');
  918. }
  919. }
  920. #overlay {
  921. position: fixed;
  922. width: 100%;
  923. height: 100%;
  924. background-color: rgba(0,0,0,0.5);
  925. left: 0;
  926. top: 0;
  927. .overlay-item {
  928. width: 20em;
  929. min-height: 20em;
  930. background: white;
  931. margin: auto;
  932. margin-top: 20%;
  933. opacity: 1;
  934. border-radius: 4px;
  935. padding: 5px;
  936. @include vars.hovering2;
  937. div {
  938. width: 15em;
  939. margin: auto;
  940. margin-bottom: 1em;
  941. }
  942. input {
  943. // width: 40%;
  944. display: inline;
  945. }
  946. }
  947. .icon {
  948. width: 40px;
  949. height: 40px;
  950. display: block;
  951. margin: 0 auto;
  952. }
  953. h3 {
  954. text-align: center;
  955. margin-top: 5px;
  956. }
  957. h4 {
  958. text-align: center;
  959. }
  960. .cancel {
  961. position: absolute;
  962. width: 30px;
  963. right: 10px;
  964. top: 10px;
  965. }
  966. button {
  967. display: inline-block;
  968. margin: auto;
  969. display: flex;
  970. align-items: center;
  971. text-align: center;
  972. justify-content: center;
  973. @include vars.inverting-button(vars.getColor('brand-orange'), white);
  974. font-size: 1.1rem;
  975. min-width: 7em;
  976. }
  977. #url {
  978. width: 100%;
  979. }
  980. p {
  981. margin-top: 2em;
  982. text-align: center;
  983. }
  984. }
  985. button .loading-icon {
  986. display: inline;
  987. height: 1.5em;
  988. }
  989. #panel #main .credits-display {
  990. text-align: center;
  991. margin: 1em;
  992. color: vars.getColor('brand-orange');
  993. display: flex;
  994. justify-content: center;
  995. align-items: center;
  996. }
  997. .select-credits .credits-pane {
  998. flex-flow: wrap;
  999. border-radius: 4px;
  1000. margin-bottom: 2em;
  1001. text-align: center;
  1002. display: flex;
  1003. gap: 5%;
  1004. padding: 0.5em 0;
  1005. span {margin-right: 0.5em;}
  1006. }
  1007. .select-credits h2 {
  1008. margin: 0;
  1009. }
  1010. .select-credits h3 {
  1011. text-align: center;
  1012. }
  1013. .select-credits input {
  1014. width: 3em;
  1015. }
  1016. .brand-btn {
  1017. display: inline-block;
  1018. margin: auto;
  1019. display: flex;
  1020. align-items: center;
  1021. text-align: center;
  1022. justify-content: center;
  1023. @include vars.inverting-button(vars.getColor('brand-orange'), white);
  1024. font-size: 1.1rem;
  1025. min-width: 7em;
  1026. }
  1027. div#card-errors {
  1028. margin: 5%;
  1029. text-align: center;
  1030. }
  1031. #payment-section {
  1032. h4 {
  1033. text-align: center;
  1034. }
  1035. form {
  1036. margin-top: 2em;
  1037. }
  1038. label {
  1039. display: block;
  1040. }
  1041. input {
  1042. margin: 1em 0;
  1043. }
  1044. #save-card {
  1045. display: flex;
  1046. gap: 10px;
  1047. align-items: center;
  1048. justify-content: center;
  1049. }
  1050. #billing-name {
  1051. width: 25em;
  1052. max-width: 90%;
  1053. }
  1054. }
  1055. #card-element {
  1056. border: 2px solid grey;
  1057. border-radius: 4px;
  1058. padding: 10px;
  1059. }
  1060. .info-grey {
  1061. text-align: center;
  1062. color: grey;
  1063. // color: vars.getColor('light2-grey');
  1064. div {
  1065. width: 20%;
  1066. margin: auto;
  1067. height: 4px;
  1068. margin-top: 1em;
  1069. background: vars.getColor('light2-grey');
  1070. border-radius: 2px;
  1071. }
  1072. }
  1073. .saved-card {
  1074. display: flex;
  1075. gap: 15px;
  1076. align-items: center;
  1077. justify-content: space-around;
  1078. max-width: 15em;
  1079. margin: auto;
  1080. }
  1081. .status-dialog {
  1082. margin: auto;
  1083. max-width: 20em;
  1084. img {
  1085. margin: auto;
  1086. display: block;
  1087. }
  1088. }
  1089. .saved-cards-heading {
  1090. display: flex;
  1091. align-items: center;
  1092. justify-content: space-around;
  1093. max-width: 25em;
  1094. margin: auto;
  1095. h5 {
  1096. margin: 0;
  1097. }
  1098. }
  1099. .settings-page .saved-card {
  1100. max-width: 25em;
  1101. // align-items: start;
  1102. justify-content: space-between;
  1103. margin-top: 1em;
  1104. > * {
  1105. min-width: 20%;
  1106. }
  1107. img {
  1108. width: 15px;
  1109. display: block;
  1110. }
  1111. input {
  1112. display: block;
  1113. margin: auto;
  1114. }
  1115. }
  1116. .saved-card button {
  1117. width: 3em;
  1118. height: 2em;
  1119. }
  1120. nav.info-page {
  1121. position: relative;
  1122. }
  1123. main.terms {
  1124. section {
  1125. padding-top: 0;
  1126. padding-bottom: 2em;
  1127. padding-right: 5%;
  1128. padding-left: 5%;
  1129. max-width: 50em;
  1130. margin: auto;
  1131. }
  1132. section:nth-child(1) {
  1133. margin-top: 3em;
  1134. }
  1135. p {
  1136. color: grey;
  1137. }
  1138. }