My SMM panel
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 

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