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.
 
 
 
 
 
 

1375 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. height: fit-content;
  484. min-height: 20em;
  485. opacity: 1;
  486. }
  487. .medium-icon {
  488. width: 50px;
  489. height: 50px;
  490. margin-left: auto;
  491. margin-right: auto;
  492. display: block;
  493. top: 50px;
  494. }
  495. // Make small screens more usable
  496. @media (max-width: 720px) {
  497. nav { display: block; }
  498. nav form {
  499. // display: none;
  500. width: 190px;
  501. margin-left: auto;
  502. margin-right: auto;
  503. align-items: center;
  504. margin-top: 5em;
  505. opacity: 0;
  506. transition: transform 0.3s;
  507. transform: translateY(-50px);
  508. }
  509. nav form.active {
  510. display: block;
  511. transform: translateX(0%);
  512. opacity: 1;
  513. // background: white;
  514. // color: black;
  515. }
  516. nav form div {
  517. margin: 10px auto;
  518. }
  519. nav div label,input {
  520. display: block;
  521. }
  522. nav .nav-toggle {
  523. display: block;
  524. }
  525. div.register-area.active {
  526. display: initial;
  527. }
  528. div.register-area h1 {
  529. font-size: 1.5rem;
  530. display: inline-block;
  531. color: vars.getColor("brand-orange");
  532. }
  533. div.register-area h3 {
  534. text-align: center;
  535. }
  536. div.register-area .login {
  537. color: vars.getColor("brand-orange");
  538. display: block;
  539. margin-left: auto;
  540. margin-right: auto;
  541. // margin-top: 1em;
  542. width: 10em;
  543. // top: 40px;
  544. // position: absolute;
  545. }
  546. div.register-area .login input {
  547. border: 2px solid black;
  548. border-color: black;
  549. color: black;
  550. }
  551. div.register-area button {
  552. margin-top: 1em;
  553. width: 6em;
  554. }
  555. div.register-area div {
  556. margin-top: 10px;
  557. margin-bottom: 5px;
  558. margin-left: auto;
  559. margin-right: auto;
  560. }
  561. .landing-hero div.hero-filter h2 {
  562. top: 4em;
  563. }
  564. .landing-hero div.hero-filter p {
  565. top: 15em;
  566. }
  567. .landing-hero div.hero-filter .register-btn {
  568. top: 75%;
  569. }
  570. }
  571. .info-heading {
  572. text-align: center;
  573. margin-top: 3em;
  574. margin-left: auto;
  575. margin-right: auto;
  576. max-width: 35em;
  577. padding: 3em;
  578. height: 30em;
  579. button {
  580. display: block;
  581. margin: 3em auto;
  582. width: 6em;
  583. @include vars.special-button("light-green", "dark-green");
  584. }
  585. }
  586. main.panel {
  587. // min-height: 750px;
  588. height: 100vh;
  589. // max-height: 100vh;
  590. background-image: linear-gradient(315deg, #ff4e00 0%, #ec9f05 74%);
  591. }
  592. #panel {
  593. top: 50px;
  594. padding: 0 5%;
  595. margin: auto;
  596. position: relative;
  597. max-width: 800px;
  598. height: 90%;
  599. display: flex;
  600. gap: 10px;
  601. }
  602. #sidebar {
  603. position: relative;
  604. width: 6%;
  605. max-width: 55px;
  606. height: 50%;
  607. color: white;
  608. background: transparent;
  609. display: block;
  610. flex-shrink: 0;
  611. a {
  612. display: block;
  613. margin: 20px 0;
  614. }
  615. svg {
  616. width: 100%;
  617. height: 35px;
  618. color: white;
  619. }
  620. a.selected svg {
  621. color: vars.getColor("brand-orange");
  622. }
  623. }
  624. #panel #main {
  625. background: white;
  626. width: 100%;
  627. flex-shrink: 1;
  628. margin-left: auto;
  629. position: relative;
  630. @include vars.hovering3;
  631. transition: opacity 0.5s ease;
  632. vertical-align: middle;
  633. overflow: scroll;
  634. // text-align: center;
  635. section {
  636. padding: 5px;
  637. border-radius: 4px;
  638. min-height: 3em;
  639. margin-bottom: 1em;
  640. }
  641. h4 {
  642. margin: 4px;
  643. color: vars.getColor("dark-grey");
  644. }
  645. p {
  646. margin: 0;
  647. }
  648. .welcome-pane {
  649. text-align: center;
  650. }
  651. .credits-pane {
  652. border: 3px solid vars.getColor("orange");
  653. display: flex;
  654. align-items: center;
  655. justify-content: center;
  656. color: vars.getColor('brand-orange');
  657. }
  658. .alerts-pane {
  659. border: 3px solid vars.getColor("grey");
  660. padding: 1em;
  661. }
  662. }
  663. .fade-enter-from, .fade-leave-to {
  664. opacity: 0;
  665. }
  666. .recent-pane, .history-pane{
  667. table {
  668. border-spacing: 4px;
  669. margin: auto;
  670. text-align: center;
  671. width: 100%;
  672. }
  673. th {
  674. font-weight: normal;
  675. color: vars.getColor("light2-grey");
  676. }
  677. tr {
  678. border-bottom: 3px solid black;
  679. }
  680. td {
  681. border-bottom: 2px solid vars.getColor("grey");
  682. // color: vars.getColor("light3-grey");
  683. // font-size: 1rem;
  684. font-size: 0.8rem;
  685. }
  686. td.completed span {
  687. background: vars.getColor('green');
  688. color: vars.darkenColor('green');
  689. border-radius: 4px;
  690. padding: 2px;
  691. }
  692. td.processing {
  693. color: vars.getColor('light-blue');
  694. }
  695. td.canceled {
  696. color: vars.getColor('red-alert');
  697. }
  698. }
  699. .pending-pane {
  700. .pending-heading {
  701. position: relative;
  702. border-bottom: 1px solid vars.getColor('light2-grey');
  703. // background-color: vars.getColor('light-grey');
  704. &:hover {
  705. color: vars.darkenColor('text-blue-medium');
  706. }
  707. }
  708. .pending-content {
  709. color: grey;
  710. height: 0;
  711. overflow: hidden;
  712. transition: all 0.2s;
  713. }
  714. .selected .pending-content {
  715. height: fit-content;
  716. }
  717. li {
  718. margin: 10px 0;
  719. display: inline-block;
  720. width: 15em;
  721. }
  722. img {
  723. // border: 2px solid vars.getColor('light2-grey');
  724. padding: 4px;
  725. // border-radius: 50%;
  726. margin-top: 5px;
  727. width: 25px;
  728. display: inline-block;
  729. margin-bottom: 3px;
  730. margin-left: 2px;
  731. position: absolute;
  732. transition: all 0.2s;
  733. }
  734. .selected img {
  735. transform: rotate(180deg);
  736. }
  737. }
  738. .history-pane {
  739. overflow: visible;
  740. transition: all 0.2s;
  741. .nav-btn {
  742. width: 1.5em;
  743. transform: translateY(1.5em);
  744. }
  745. .nav-btn.right {
  746. bottom: 0px;
  747. right: 1em;
  748. position: absolute;
  749. display: block;
  750. margin-left: auto;
  751. }
  752. .nav-btn.left {
  753. bottom: 0px;
  754. left: 1em;
  755. position: absolute;
  756. display: block;
  757. margin-right: auto;
  758. }
  759. .nav-legend {
  760. color: grey;
  761. transform: translateX(-1.5em);
  762. text-align: center;
  763. position: absolute;
  764. width: 3em;
  765. left: 50%;
  766. }
  767. }
  768. .actions {
  769. margin-bottom: 1em;
  770. }
  771. .actions a {
  772. color: vars.getColor('brand-orange');
  773. margin: 1em;
  774. margin-bottom: 2em;
  775. padding: 3px;
  776. }
  777. .actions a:hover {
  778. color: vars.darkenColor('brand-orange');
  779. }
  780. .logout-pane {
  781. margin-top: 25%;
  782. text-align: center;
  783. height: 10em;
  784. a {
  785. display: block;
  786. // vertical-align: center;
  787. margin: auto;
  788. margin-top: 2em;
  789. height: 1.3em;
  790. width: 5em;
  791. @include vars.inverting-button(black, white);
  792. }
  793. }
  794. .settings-page {
  795. h3 {
  796. text-align: center;
  797. }
  798. h5 {
  799. display: inline-block;
  800. margin-right: 2em;
  801. margin-top: 0;
  802. margin-bottom: 0.5em;
  803. color: vars.getColor('brand-orange');
  804. }
  805. input {
  806. display: block;
  807. margin-bottom: 1em;
  808. right: 2px;
  809. position: relative;
  810. }
  811. button {
  812. &>*{vertical-align: middle;}
  813. margin-right: 10px;
  814. display: inline-block;
  815. @include vars.inverting-button(vars.getColor('text-blue-medium'), white);
  816. }
  817. .loading-icon {
  818. width: 1.5em;
  819. height: 1.5em;
  820. display: none;
  821. color: white;
  822. margin-left: 0.5em;
  823. margin-right: 0.5em;
  824. }
  825. .loading .loading-icon {
  826. display: inline;
  827. }
  828. .completed span {
  829. color: vars.getColor('green');
  830. }
  831. .error span {
  832. color: vars.getColor('red-alert');
  833. }
  834. }
  835. .services-legend {
  836. display: flex;
  837. justify-content: space-between;
  838. margin-top: 20px;
  839. border-top: 1px solid darkgrey;
  840. border-bottom: 1px solid darkgrey;
  841. min-height: 2em;
  842. background-color: rgb(239, 239, 239);
  843. color: rgb(118, 118, 118);
  844. padding-right: 30px;
  845. h5 {
  846. display: inline-block;
  847. margin: auto;
  848. text-align: center;
  849. width: 20%;
  850. // max-width: 25%;
  851. }
  852. :nth-child(1) {
  853. width: 30%;
  854. }
  855. }
  856. .sliding-menu {
  857. display: flex;
  858. justify-content: center;
  859. flex-basis: 50%;
  860. margin-top: 1em;
  861. flex-flow: wrap;
  862. gap: 10px;
  863. a {
  864. width: 25%;
  865. font-size: 1.1rem;
  866. background: none;
  867. border: none;
  868. color: grey;
  869. text-align: center;
  870. }
  871. .selected {
  872. color: black;
  873. }
  874. }
  875. .menu-slider {
  876. width: 55%;
  877. div {
  878. transition: all 0.2s;
  879. width: 50%;
  880. border-bottom: 2px solid black;
  881. flex: 2;
  882. }
  883. }
  884. .menu-slider.credits div {
  885. transform: translateX(100%);
  886. }
  887. .menu-slider.right div {
  888. transform: translateX(100%);
  889. }
  890. .services-pane {
  891. li {
  892. display: flex;
  893. // gap: 0.5em;
  894. justify-content: space-between;
  895. align-items: center;
  896. border-top: 1px solid grey;
  897. // border-bottom: 1px solid grey;
  898. padding: 6px 0;
  899. }
  900. li span {
  901. // width: 10%;
  902. text-align:center;
  903. vertical-align: middle;
  904. }
  905. li :nth-child(1) {
  906. width: 30%;
  907. }
  908. li:hover span {
  909. color: vars.darkenColor('faded-text');
  910. }
  911. svg {
  912. width: 25px;
  913. height: 25px;
  914. color: vars.getColor('brand-orange');
  915. right: 10px;
  916. }
  917. svg:hover {
  918. color: vars.getColor('dark-orange');
  919. }
  920. }
  921. #overlay {
  922. position: fixed;
  923. width: 100%;
  924. height: 100%;
  925. background-color: rgba(0,0,0,0.5);
  926. left: 0;
  927. top: 0;
  928. .overlay-item {
  929. width: 20em;
  930. min-height: 20em;
  931. background: white;
  932. margin: auto;
  933. margin-top: 20%;
  934. opacity: 1;
  935. border-radius: 4px;
  936. padding: 5px;
  937. @include vars.hovering2;
  938. div {
  939. width: 15em;
  940. margin: auto;
  941. margin-bottom: 1em;
  942. }
  943. input {
  944. // width: 40%;
  945. display: inline;
  946. }
  947. }
  948. .icon {
  949. width: 40px;
  950. height: 40px;
  951. display: block;
  952. margin: 0 auto;
  953. }
  954. h3 {
  955. text-align: center;
  956. margin-top: 5px;
  957. }
  958. h4 {
  959. text-align: center;
  960. }
  961. .cancel {
  962. position: absolute;
  963. width: 30px;
  964. right: 10px;
  965. top: 10px;
  966. }
  967. button {
  968. display: inline-block;
  969. margin: auto;
  970. display: flex;
  971. align-items: center;
  972. text-align: center;
  973. justify-content: center;
  974. @include vars.inverting-button(vars.getColor('brand-orange'), white);
  975. font-size: 1.1rem;
  976. min-width: 7em;
  977. }
  978. #url {
  979. width: 100%;
  980. }
  981. p {
  982. margin-top: 2em;
  983. text-align: center;
  984. }
  985. }
  986. button .loading-icon {
  987. display: inline;
  988. height: 1.5em;
  989. }
  990. #panel #main .credits-display {
  991. text-align: center;
  992. margin: 1em;
  993. color: vars.getColor('brand-orange');
  994. display: flex;
  995. justify-content: center;
  996. align-items: center;
  997. }
  998. .select-credits .credits-pane {
  999. flex-flow: wrap;
  1000. border-radius: 4px;
  1001. margin-bottom: 2em;
  1002. text-align: center;
  1003. display: flex;
  1004. gap: 5%;
  1005. padding: 0.5em 0;
  1006. span {margin-right: 0.5em;}
  1007. }
  1008. .select-credits h2 {
  1009. margin: 0;
  1010. }
  1011. .select-credits h3 {
  1012. text-align: center;
  1013. }
  1014. .select-credits input {
  1015. width: 3em;
  1016. }
  1017. .brand-btn {
  1018. display: inline-block;
  1019. margin: auto;
  1020. display: flex;
  1021. align-items: center;
  1022. text-align: center;
  1023. justify-content: center;
  1024. @include vars.inverting-button(vars.getColor('brand-orange'), white);
  1025. font-size: 1.1rem;
  1026. min-width: 7em;
  1027. }
  1028. div#card-errors {
  1029. margin: 5%;
  1030. text-align: center;
  1031. }
  1032. #payment-section {
  1033. h4 {
  1034. text-align: center;
  1035. }
  1036. form {
  1037. margin-top: 2em;
  1038. }
  1039. label {
  1040. display: block;
  1041. }
  1042. input {
  1043. margin: 1em 0;
  1044. }
  1045. #save-card {
  1046. display: flex;
  1047. gap: 10px;
  1048. align-items: center;
  1049. justify-content: center;
  1050. }
  1051. #billing-name {
  1052. width: 25em;
  1053. max-width: 90%;
  1054. }
  1055. }
  1056. #card-element {
  1057. border: 2px solid grey;
  1058. border-radius: 4px;
  1059. padding: 10px;
  1060. }
  1061. .info-grey {
  1062. text-align: center;
  1063. color: grey;
  1064. // color: vars.getColor('light2-grey');
  1065. div {
  1066. width: 20%;
  1067. margin: auto;
  1068. height: 4px;
  1069. margin-top: 1em;
  1070. background: vars.getColor('light2-grey');
  1071. border-radius: 2px;
  1072. }
  1073. }
  1074. .saved-card {
  1075. display: flex;
  1076. gap: 15px;
  1077. align-items: center;
  1078. justify-content: space-around;
  1079. max-width: 15em;
  1080. margin: auto;
  1081. }
  1082. .status-dialog {
  1083. position: relative;
  1084. top: 15%;
  1085. margin: auto;
  1086. max-width: 20em;
  1087. text-align: center;
  1088. img {
  1089. margin: auto;
  1090. display: block;
  1091. }
  1092. }
  1093. .saved-cards-heading {
  1094. display: flex;
  1095. align-items: center;
  1096. justify-content: space-around;
  1097. max-width: 25em;
  1098. margin: auto;
  1099. h5 {
  1100. margin: 0;
  1101. }
  1102. }
  1103. .settings-page .saved-card {
  1104. max-width: 25em;
  1105. // align-items: start;
  1106. justify-content: space-between;
  1107. margin-top: 1em;
  1108. > * {
  1109. min-width: 20%;
  1110. }
  1111. img {
  1112. width: 15px;
  1113. display: block;
  1114. }
  1115. input {
  1116. display: block;
  1117. margin: auto;
  1118. }
  1119. }
  1120. .saved-card button {
  1121. width: 3em;
  1122. height: 2em;
  1123. }
  1124. nav.info-page {
  1125. position: relative;
  1126. }
  1127. main.terms {
  1128. section {
  1129. padding-top: 0;
  1130. padding-bottom: 2em;
  1131. padding-right: 5%;
  1132. padding-left: 5%;
  1133. max-width: 50em;
  1134. margin: auto;
  1135. }
  1136. section:nth-child(1) {
  1137. margin-top: 3em;
  1138. }
  1139. p {
  1140. color: grey;
  1141. }
  1142. }
  1143. .payment-window {
  1144. min-height: 5em;
  1145. margin-top: 1em;
  1146. text-align: center;
  1147. color: grey;
  1148. img {
  1149. width: 250px;
  1150. max-width: 80%;
  1151. margin: auto;
  1152. margin-bottom: 1em;
  1153. display: block;
  1154. height: 90px;
  1155. }
  1156. }
  1157. #agreement-check {
  1158. margin: auto;
  1159. max-width: 30em;
  1160. display: flex;
  1161. align-items: center;
  1162. label {
  1163. display: inline-block;
  1164. // width: 85%;
  1165. margin: 1em;
  1166. }
  1167. input {
  1168. display: inline-block;
  1169. }
  1170. }