My SMM panel
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

773 lines
12 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. }
  18. button {
  19. font-family: 'PatuaOne', 'Times New Roman';
  20. }
  21. h1 {
  22. color: white;
  23. }
  24. h2 {
  25. color: vars.getColor("brand-orange");
  26. text-align: center;
  27. }
  28. h3 {
  29. color: vars.getColor("faded-text");
  30. // text-transform: uppercase;
  31. }
  32. ul {
  33. color: vars.getColor("faded-text");
  34. list-style-type: none;
  35. padding: 0;
  36. }
  37. li {
  38. padding-bottom: 8px;
  39. &:before {
  40. width: 30px;
  41. height: 30px;
  42. content: url("../images/green-check.svg");
  43. display: inline;
  44. margin-right: 5px;
  45. // top: 30px;
  46. }
  47. }
  48. a {
  49. text-decoration: none;
  50. }
  51. nav {
  52. position: absolute;
  53. width: 100%;
  54. top: 10px;
  55. display: flex;
  56. flex-flow: row wrap;
  57. align-items: center;
  58. justify-content: space-between;
  59. // background-color: transparent;
  60. }
  61. nav h1 {
  62. margin: 4px 0 10px 6px;
  63. display: inline-block;
  64. }
  65. nav.info-page h1 {
  66. margin: 4px 0 10px 6px;
  67. display: inline-block;
  68. color: vars.getColor('brand-orange');
  69. }
  70. .formal-font {
  71. font-family: "FreeSans";
  72. }
  73. nav #logo {
  74. margin-right: 50px;
  75. }
  76. nav form {
  77. display: flex;
  78. flex-wrap: wrap;
  79. margin-right: 20px;
  80. }
  81. nav form div {
  82. margin: 0 10px;
  83. }
  84. nav form button {
  85. min-width: 5em;
  86. }
  87. nav form p {
  88. margin-top: 0;
  89. }
  90. nav form input,label {
  91. opacity: 0.7;
  92. }
  93. nav .nav-toggle {
  94. position: absolute;
  95. right: 10px;
  96. top: 5px;
  97. display: none;
  98. height: 45px;
  99. width: 45px;
  100. margin-left: auto;
  101. background: url("../images/menu-icon.svg");
  102. background-size: 100%;
  103. background-size: cover;
  104. color: white;
  105. }
  106. nav .nav-toggle.toggled {
  107. background: url("../images/cancel-icon2.svg");
  108. width: 25px;
  109. height: 25px;
  110. background-size: 100%;
  111. background-size: cover;
  112. top: 10px;
  113. right: 15px;
  114. color: white;
  115. }
  116. div.landing-hero {
  117. top: 0;
  118. height: 50em;
  119. background-color: #ff4e00;
  120. // background-image: linear-gradient(to right bottom, #ff4e00, #fc6200, #f87200, #f58100, #f18e00, #f19507, #f09c0f, #f0a317, #f3a620, #f6a927, #f8ad2e, #fbb034);
  121. background-image: linear-gradient(315deg, #ff4e00 0%, #ec9f05 74%);
  122. z-index: 0;
  123. }
  124. div.hero-filter {
  125. width: 100%;
  126. height: 100%;
  127. }
  128. div.hero-filter h2 {
  129. color: black;
  130. opacity: 0.7;
  131. width: 10em;
  132. font-size: 2.4em;
  133. position: absolute;
  134. top: 3em;
  135. margin-left: 5%;
  136. }
  137. div.hero-filter p {
  138. position: absolute;
  139. top: 12em;
  140. margin-left: 5%;
  141. font-size: 20px;
  142. width: 10em;
  143. opacity: 0.7;
  144. }
  145. div.errors {
  146. background-color: #ececec;
  147. color: vars.getColor("red-alert");
  148. border: 2px solid vars.getColor("red-alert");
  149. border-radius: 4px;
  150. min-height: 50px;
  151. position: absolute;
  152. left: 50%;
  153. margin-right: -50%;
  154. top: 100px;
  155. min-width: 30em;
  156. transform: translate(-50%, -50%);
  157. }
  158. .errors ul {
  159. margin: auto;
  160. }
  161. form.login {
  162. // font-weight: bold;
  163. color: white;
  164. }
  165. .cancel-icon {
  166. width: 30px;
  167. }
  168. form.login input {
  169. margin-left: 2px;
  170. color: white;
  171. background-color: transparent;
  172. border: 2px solid white;
  173. border-radius: 2px;
  174. outline-color: orange
  175. }
  176. form.login .login-btn {
  177. @include vars.special-button("medium-blue", "dark-blue");
  178. }
  179. .hero-filter .register-btn {
  180. @include vars.transparent-button;
  181. display: block;
  182. position: relative;
  183. width: 7em;
  184. top: 60%;
  185. margin-left: auto;
  186. margin-right: auto;
  187. }
  188. div.blue-background {
  189. background-image: url("../images/black-circle.svg");
  190. background-size: 10px;
  191. background-color: #0d324d;
  192. }
  193. section.about-us {
  194. padding: 70px 0;
  195. }
  196. section.about-us p {
  197. max-width: 600px;
  198. margin-left: auto;
  199. margin-right: auto;
  200. border-top: 2px solid vars.getColor("grey");
  201. border-bottom: 2px solid vars.getColor("grey");
  202. padding: 15px;
  203. background-color: #0d324d;
  204. color: white;
  205. }
  206. section.services-cards {
  207. // margin-bottom: 0;
  208. background-color: lightgrey;
  209. padding-bottom: 4em;
  210. background: linear-gradient(to bottom right, transparent 0%, transparent 50%, #e9e9e9 50%, vars.getColor("light-grey") 100%);
  211. }
  212. section.services-cards .cards{
  213. display: flex;
  214. flex-flow: wrap;
  215. margin-top: 2em;
  216. gap: 25px;
  217. justify-content: center;
  218. max-width: 1050px;
  219. margin-left: auto;
  220. margin-right: auto;
  221. text-align: center;
  222. }
  223. section.services-cards h2 {
  224. text-align: center;
  225. padding: 10px;
  226. margin-top: 0;
  227. padding-top: 30px;
  228. color: white;
  229. }
  230. section.services-cards .card {
  231. width: 280px;
  232. height: 350px;
  233. padding: 18px 9px;
  234. border-radius: 4px;
  235. background: white;
  236. box-shadow: 7px 10px 8px rgb(156 166 175 / 22%);
  237. transition: transform 0.2s;
  238. &:hover {
  239. transform: translateY(-20px);
  240. }
  241. }
  242. section.services-cards img {
  243. width: 50px;
  244. height: 50px;
  245. }
  246. section.services-cards button {
  247. @include vars.brand-button("orange");
  248. }
  249. section.features-info {
  250. // height: fit-content;
  251. height: 60em;
  252. background: radial-gradient(ellipse at left, #fff, vars.getColor("light-grey") 80%);
  253. }
  254. .circle-prop {
  255. height: 100%;
  256. overflow: hidden;
  257. width: 100%;
  258. position: relative;
  259. // transform: translateX(-10em);
  260. }
  261. .circle-prop svg {
  262. width: 50%;
  263. }
  264. .features-info img {
  265. width: 600px;
  266. position: absolute;
  267. top: 15%;
  268. right: 4%;
  269. }
  270. div.info-cards {
  271. position: absolute;
  272. top: 10em;
  273. margin-left: 20%;
  274. width: 70%;
  275. }
  276. .info-card {
  277. margin-bottom: 40px;
  278. &:nth-of-type(2) {
  279. margin-left: 13%;
  280. }
  281. &:nth-of-type(3) {
  282. margin-left: 10%;
  283. }
  284. &:nth-of-type(4) {
  285. margin-left: 5%;
  286. }
  287. p {
  288. max-width: 20em;
  289. background: white;
  290. padding: 5px;
  291. border-radius: 4px;
  292. text-align: center;
  293. color: vars.getColor("faded-text2");
  294. // border: 2px solid vars.getColor("medium-orange");
  295. @include vars.hovering;
  296. }
  297. }
  298. section.panel-infos {
  299. height: 40em;
  300. margin-top: 5em;
  301. margin-bottom: 5em;
  302. }
  303. section.panel-infos img.panel-preview {
  304. margin-top: 4em;
  305. height: 80%;
  306. position: absolute;
  307. right: 50%;
  308. }
  309. .panel-info {
  310. left: 50%;
  311. width: 50%;
  312. margin-left: auto;
  313. margin-top: 4em;
  314. }
  315. .panel-info img {
  316. width: 50px;
  317. height: 50px;
  318. }
  319. .panel-info p {
  320. color: vars.getColor("faded-text2");
  321. }
  322. section.benefits-info div {
  323. margin: 1em auto;
  324. padding: 1em 1em;
  325. border-top: 2px solid vars.getColor("faded-text2");
  326. border-bottom: 2px solid vars.getColor("faded-text2");
  327. max-width: 40em;
  328. color: vars.getColor("faded-text");
  329. }
  330. .benefits-info h2 {
  331. margin-bottom: 2em;
  332. }
  333. section.faq-info {
  334. margin-bottom: 6em;
  335. margin-top: 3em;
  336. min-height: 30em;
  337. }
  338. .faq-info h2 {
  339. margin-bottom: 2em;
  340. }
  341. section.faq-info .collapsibles {
  342. display: flex;
  343. flex-flow: wrap;
  344. gap: 2em;
  345. justify-content: space-around;
  346. max-width: 65em;
  347. width: fit-content;
  348. margin-left: auto;
  349. margin-right: auto;
  350. align-text: center;
  351. }
  352. .faq-info .collapsible {
  353. text-align: center;
  354. width: 25em;
  355. &:not(.active) .content {
  356. display: none;
  357. }
  358. }
  359. .collapsible button {
  360. width: 95%;
  361. display: block;
  362. margin-right: auto;
  363. height: 2.5em;
  364. border: 2px solid vars.getColor("brand-orange");
  365. @include vars.button("light-grey");
  366. font-size: 17px;
  367. // font-weight: bold;
  368. }
  369. .collapsible button:after {
  370. content: '\02795'; /* Unicode character for "plus" sign (+) */
  371. font-size: 13px;
  372. color: white;
  373. float: right;
  374. margin-left: 5px;
  375. }
  376. .collapsible .content {
  377. // background-color: vars.getColor("faded-text2");
  378. border: 2px solid black;
  379. border-radius: 4px;
  380. padding: 4px;
  381. // transition: all 0.2s;
  382. // height: 1px;
  383. }
  384. footer {
  385. height: 6em;
  386. background-color: vars.getColor("dark-grey");
  387. padding: 20px;
  388. color: vars.getColor("faded-text2");
  389. }
  390. footer .foot-links {
  391. width: 20em;
  392. margin: 2em auto;
  393. text-align: center;
  394. }
  395. footer a {
  396. margin: 0 8px;
  397. color: vars.getColor("faded-text2");
  398. &:hover {
  399. color: vars.getColor("faded-text");
  400. }
  401. }
  402. .hidden {
  403. display: none;
  404. }
  405. .loading-icon {
  406. display: block;
  407. width: 50px;
  408. height: 50px;
  409. margin: auto;
  410. }
  411. .register-area p {
  412. text-align: center;
  413. }
  414. .register-area .loading-icon {
  415. margin-top: 100px;
  416. }
  417. div.register-area {
  418. overflow: hidden;
  419. height: 0px;
  420. width: 100%;
  421. z-index: 1;
  422. @include vars.hovering3;
  423. margin-bottom: 2em;
  424. position: fixed;
  425. border-radius: 0;
  426. padding: 0;
  427. opacity: 0;
  428. transition: all 0.2s;
  429. background: white;
  430. h3 {
  431. text-align: center;
  432. }
  433. label,input {
  434. color: black;
  435. display: block;
  436. border-color: black;
  437. width: 95%;
  438. }
  439. div {
  440. margin-top: 20px;
  441. margin-bottom: 20px;
  442. width: 100%;
  443. }
  444. form {
  445. width: 160px;
  446. margin: 20px auto;
  447. }
  448. .submit-btn {
  449. width: 100%;
  450. background-color: #3bb78f;
  451. @include vars.special-button("light-green", "dark-green");
  452. }
  453. .cancel-button {
  454. width: 20px;
  455. height: 20px;
  456. background: url("../images/close-icon-black.svg");
  457. background-size: cover;
  458. position: absolute;
  459. top: 20px;
  460. right: 20px;
  461. }
  462. }
  463. section.features-info {
  464. min-height: 70em;
  465. }
  466. div.register-area.active {
  467. min-height: 400px;
  468. opacity: 1;
  469. }
  470. .medium-icon {
  471. width: 50px;
  472. height: 50px;
  473. margin-left: auto;
  474. margin-right: auto;
  475. display: block;
  476. top: 50px;
  477. }
  478. // Make small screens more usable
  479. @media (max-width: 720px) {
  480. nav { display: block; }
  481. nav form {
  482. // display: none;
  483. width: 190px;
  484. margin-left: auto;
  485. margin-right: auto;
  486. align-items: center;
  487. margin-top: 5em;
  488. opacity: 0;
  489. transition: transform 0.3s;
  490. transform: translateY(-50px);
  491. }
  492. nav form.active {
  493. display: block;
  494. transform: translateX(0%);
  495. opacity: 1;
  496. // background: white;
  497. // color: black;
  498. }
  499. nav form div {
  500. margin: 10px auto;
  501. }
  502. nav div label,input {
  503. display: block;
  504. }
  505. nav .nav-toggle {
  506. display: block;
  507. }
  508. div.register-area.active {
  509. display: initial;
  510. }
  511. div.register-area h1 {
  512. font-size: 1.5rem;
  513. display: inline-block;
  514. color: vars.getColor("brand-orange");
  515. }
  516. div.register-area h3 {
  517. text-align: center;
  518. }
  519. div.register-area .login {
  520. color: vars.getColor("brand-orange");
  521. display: block;
  522. margin-left: auto;
  523. margin-right: auto;
  524. // margin-top: 1em;
  525. width: 10em;
  526. // top: 40px;
  527. // position: absolute;
  528. }
  529. div.register-area .login input {
  530. border: 2px solid black;
  531. border-color: black;
  532. color: black;
  533. }
  534. div.register-area button {
  535. margin-top: 1em;
  536. width: 6em;
  537. }
  538. div.register-area div {
  539. margin-top: 10px;
  540. margin-bottom: 5px;
  541. margin-left: auto;
  542. margin-right: auto;
  543. }
  544. .landing-hero div.hero-filter h2 {
  545. top: 4em;
  546. }
  547. .landing-hero div.hero-filter p {
  548. top: 15em;
  549. }
  550. .landing-hero div.hero-filter .register-btn {
  551. top: 75%;
  552. }
  553. }
  554. .info-heading {
  555. text-align: center;
  556. margin-top: 3em;
  557. margin-left: auto;
  558. margin-right: auto;
  559. max-width: 35em;
  560. padding: 3em;
  561. height: 30em;
  562. button {
  563. display: block;
  564. margin: 3em auto;
  565. width: 6em;
  566. @include vars.special-button("light-green", "dark-green");
  567. }
  568. }
  569. main.panel {
  570. min-height: 750px;
  571. height: 90vh;
  572. // max-height: 100vh;
  573. background-image: linear-gradient(315deg, #ff4e00 0%, #ec9f05 74%);
  574. }
  575. #panel {
  576. top: 50px;
  577. padding: 10px;
  578. margin: auto;
  579. position: relative;
  580. max-width: 450px;
  581. height: 600px;
  582. display: flex;
  583. gap: 10px;
  584. }
  585. #sidebar {
  586. position: relative;
  587. width: 35px;
  588. height: 50%;
  589. color: white;
  590. background: transparent;
  591. display: block;
  592. flex-shrink: 0;
  593. a {
  594. display: block;
  595. margin: 20px 0;
  596. }
  597. svg {
  598. width: 35px;
  599. height: 35px;
  600. color: white;
  601. }
  602. a.selected svg {
  603. color: vars.getColor("brand-orange");
  604. }
  605. }
  606. #panel #main {
  607. height: 100%;
  608. background: white;
  609. width: 100%;
  610. flex-shrink: 1;
  611. margin-left: auto;
  612. position: relative;
  613. // opacity: 1;
  614. @include vars.hovering3;
  615. transition: opacity 0.5s ease;
  616. vertical-align: middle;
  617. // text-align: center;
  618. section {
  619. padding: 5px;
  620. border-radius: 4px;
  621. min-height: 3em;
  622. margin-bottom: 1em;
  623. }
  624. h4 {
  625. margin: 4px;
  626. color: vars.getColor("dark-grey");
  627. }
  628. p {
  629. margin: 0;
  630. }
  631. .icon {
  632. width: 25px;
  633. margin: 10px;
  634. }
  635. .welcome-pane {
  636. text-align: center;
  637. }
  638. .credits-pane {
  639. border: 3px solid vars.getColor("alt-blue-medium");
  640. background: vars.getColor("alt-blue-light");
  641. > * {
  642. display: inline;
  643. vertical-align: middle;
  644. }
  645. }
  646. .alerts-pane {
  647. border: 3px solid vars.getColor("grey");
  648. padding: 1em;
  649. }
  650. }
  651. // .fade-enter-active, .fade-leave-active {
  652. // transition: opacity 1s ease;
  653. // }
  654. .fade-enter-from, .fade-leave-to {
  655. opacity: 0;
  656. }