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.

main.scss 10 KiB

3 år sedan
3 år sedan
3 år sedan
3 år sedan
3 år sedan
3 år sedan
3 år sedan
3 år sedan
3 år sedan
3 år sedan
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665
  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 input,label {
  88. opacity: 0.7;
  89. }
  90. nav .nav-toggle {
  91. position: absolute;
  92. right: 10px;
  93. top: 5px;
  94. display: none;
  95. height: 45px;
  96. width: 45px;
  97. margin-left: auto;
  98. background: url("../images/menu-icon.svg");
  99. background-size: 100%;
  100. background-size: cover;
  101. color: white;
  102. }
  103. nav .nav-toggle.toggled {
  104. background: url("../images/cancel-icon2.svg");
  105. width: 25px;
  106. height: 25px;
  107. background-size: 100%;
  108. background-size: cover;
  109. top: 10px;
  110. right: 15px;
  111. color: white;
  112. }
  113. div.landing-hero {
  114. top: 0;
  115. height: 50em;
  116. background-color: #ff4e00;
  117. // background-image: linear-gradient(to right bottom, #ff4e00, #fc6200, #f87200, #f58100, #f18e00, #f19507, #f09c0f, #f0a317, #f3a620, #f6a927, #f8ad2e, #fbb034);
  118. background-image: linear-gradient(315deg, #ff4e00 0%, #ec9f05 74%);
  119. z-index: 0;
  120. }
  121. div.hero-filter {
  122. width: 100%;
  123. height: 100%;
  124. }
  125. div.hero-filter h2 {
  126. color: black;
  127. opacity: 0.7;
  128. width: 10em;
  129. font-size: 2.4em;
  130. position: absolute;
  131. top: 3em;
  132. margin-left: 5%;
  133. }
  134. div.hero-filter p {
  135. position: absolute;
  136. top: 12em;
  137. margin-left: 5%;
  138. font-size: 20px;
  139. width: 10em;
  140. opacity: 0.7;
  141. }
  142. div.errors {
  143. background-color: #ececec;
  144. color: vars.getColor("red-alert");
  145. border: 2px solid vars.getColor("red-alert");
  146. border-radius: 4px;
  147. min-height: 50px;
  148. position: absolute;
  149. left: 50%;
  150. margin-right: -50%;
  151. top: 100px;
  152. min-width: 30em;
  153. transform: translate(-50%, -50%);
  154. }
  155. .errors ul {
  156. margin: auto;
  157. }
  158. form.login {
  159. // font-weight: bold;
  160. color: white;
  161. }
  162. .cancel-icon {
  163. width: 30px;
  164. }
  165. form.login input {
  166. margin-left: 2px;
  167. color: white;
  168. background-color: transparent;
  169. border: 2px solid white;
  170. border-radius: 2px;
  171. outline-color: orange
  172. }
  173. form.login .login-btn {
  174. @include vars.special-button("medium-blue", "dark-blue");
  175. }
  176. .hero-filter .register-btn {
  177. @include vars.transparent-button;
  178. display: block;
  179. position: relative;
  180. width: 7em;
  181. top: 60%;
  182. margin-left: auto;
  183. margin-right: auto;
  184. }
  185. div.blue-background {
  186. background-image: url("../images/black-circle.svg");
  187. background-size: 10px;
  188. background-color: #0d324d;
  189. }
  190. section.about-us {
  191. padding: 70px 0;
  192. }
  193. section.about-us p {
  194. max-width: 600px;
  195. margin-left: auto;
  196. margin-right: auto;
  197. border-top: 2px solid vars.getColor("grey");
  198. border-bottom: 2px solid vars.getColor("grey");
  199. padding: 15px;
  200. background-color: #0d324d;
  201. color: white;
  202. }
  203. section.services-cards {
  204. // margin-bottom: 0;
  205. background-color: lightgrey;
  206. padding-bottom: 4em;
  207. background: linear-gradient(to bottom right, transparent 0%, transparent 50%, #e9e9e9 50%, vars.getColor("light-grey") 100%);
  208. }
  209. section.services-cards .cards{
  210. display: flex;
  211. flex-flow: wrap;
  212. margin-top: 2em;
  213. gap: 25px;
  214. justify-content: center;
  215. max-width: 1050px;
  216. margin-left: auto;
  217. margin-right: auto;
  218. text-align: center;
  219. }
  220. section.services-cards h2 {
  221. text-align: center;
  222. padding: 10px;
  223. margin-top: 0;
  224. padding-top: 30px;
  225. color: white;
  226. }
  227. section.services-cards .card {
  228. width: 280px;
  229. height: 350px;
  230. padding: 18px 9px;
  231. border-radius: 4px;
  232. background: white;
  233. box-shadow: 7px 10px 8px rgb(156 166 175 / 22%);
  234. transition: transform 0.2s;
  235. &:hover {
  236. transform: translateY(-20px);
  237. }
  238. }
  239. section.services-cards img {
  240. width: 50px;
  241. height: 50px;
  242. }
  243. section.services-cards button {
  244. @include vars.brand-button("orange");
  245. }
  246. section.features-info {
  247. // height: fit-content;
  248. height: 60em;
  249. background: radial-gradient(ellipse at left, #fff, vars.getColor("light-grey") 80%);
  250. }
  251. .circle-prop {
  252. height: 100%;
  253. overflow: hidden;
  254. width: 100%;
  255. position: relative;
  256. // transform: translateX(-10em);
  257. }
  258. .circle-prop svg {
  259. width: 50%;
  260. }
  261. .features-info img {
  262. width: 600px;
  263. position: absolute;
  264. top: 15%;
  265. right: 4%;
  266. }
  267. div.info-cards {
  268. position: absolute;
  269. top: 10em;
  270. margin-left: 20%;
  271. width: 70%;
  272. }
  273. .info-card {
  274. margin-bottom: 40px;
  275. &:nth-of-type(2) {
  276. margin-left: 13%;
  277. }
  278. &:nth-of-type(3) {
  279. margin-left: 10%;
  280. }
  281. &:nth-of-type(4) {
  282. margin-left: 5%;
  283. }
  284. p {
  285. max-width: 20em;
  286. background: white;
  287. padding: 5px;
  288. border-radius: 4px;
  289. text-align: center;
  290. color: vars.getColor("faded-text2");
  291. // border: 2px solid vars.getColor("medium-orange");
  292. @include vars.hovering;
  293. }
  294. }
  295. section.panel-infos {
  296. height: 40em;
  297. margin-top: 5em;
  298. margin-bottom: 5em;
  299. }
  300. section.panel-infos img.panel-preview {
  301. margin-top: 4em;
  302. height: 80%;
  303. position: absolute;
  304. right: 50%;
  305. }
  306. .panel-info {
  307. left: 50%;
  308. width: 50%;
  309. margin-left: auto;
  310. margin-top: 4em;
  311. }
  312. .panel-info img {
  313. width: 50px;
  314. height: 50px;
  315. }
  316. .panel-info p {
  317. color: vars.getColor("faded-text2");
  318. }
  319. section.benefits-info div {
  320. margin: 1em auto;
  321. padding: 1em 1em;
  322. border-top: 2px solid vars.getColor("faded-text2");
  323. border-bottom: 2px solid vars.getColor("faded-text2");
  324. max-width: 40em;
  325. color: vars.getColor("faded-text");
  326. }
  327. .benefits-info h2 {
  328. margin-bottom: 2em;
  329. }
  330. section.faq-info {
  331. margin-bottom: 6em;
  332. margin-top: 3em;
  333. min-height: 30em;
  334. }
  335. .faq-info h2 {
  336. margin-bottom: 2em;
  337. }
  338. section.faq-info .collapsibles {
  339. display: flex;
  340. flex-flow: wrap;
  341. gap: 2em;
  342. justify-content: space-around;
  343. max-width: 65em;
  344. width: fit-content;
  345. margin-left: auto;
  346. margin-right: auto;
  347. align-text: center;
  348. }
  349. .faq-info .collapsible {
  350. text-align: center;
  351. width: 25em;
  352. &:not(.active) .content {
  353. display: none;
  354. }
  355. }
  356. .collapsible button {
  357. width: 95%;
  358. display: block;
  359. margin-right: auto;
  360. height: 2.5em;
  361. border: 2px solid vars.getColor("brand-orange");
  362. @include vars.button("light-grey");
  363. font-size: 17px;
  364. // font-weight: bold;
  365. }
  366. .collapsible button:after {
  367. content: '\02795'; /* Unicode character for "plus" sign (+) */
  368. font-size: 13px;
  369. color: white;
  370. float: right;
  371. margin-left: 5px;
  372. }
  373. .collapsible .content {
  374. // background-color: vars.getColor("faded-text2");
  375. border: 2px solid black;
  376. border-radius: 4px;
  377. padding: 4px;
  378. // transition: all 0.2s;
  379. // height: 1px;
  380. }
  381. footer {
  382. height: 6em;
  383. background-color: vars.getColor("dark-grey");
  384. padding: 20px;
  385. color: vars.getColor("faded-text2");
  386. }
  387. footer .foot-links {
  388. width: 20em;
  389. margin: 2em auto;
  390. text-align: center;
  391. }
  392. footer a {
  393. margin: 0 8px;
  394. color: vars.getColor("faded-text2");
  395. &:hover {
  396. color: vars.getColor("faded-text");
  397. }
  398. }
  399. .hidden {
  400. display: none;
  401. }
  402. .loading-icon {
  403. display: block;
  404. width: 50px;
  405. height: 50px;
  406. margin: auto;
  407. }
  408. .register-area p {
  409. text-align: center;
  410. }
  411. .register-area .loading-icon {
  412. margin-top: 100px;
  413. }
  414. div.register-area {
  415. overflow: hidden;
  416. height: 0px;
  417. width: 100%;
  418. z-index: 1;
  419. @include vars.hovering3;
  420. margin-bottom: 2em;
  421. position: fixed;
  422. border-radius: 0;
  423. padding: 0;
  424. opacity: 0;
  425. transition: all 0.2s;
  426. background: white;
  427. h3 {
  428. text-align: center;
  429. }
  430. label,input {
  431. color: black;
  432. display: block;
  433. border-color: black;
  434. width: 95%;
  435. }
  436. div {
  437. margin-top: 20px;
  438. margin-bottom: 20px;
  439. width: 100%;
  440. }
  441. form {
  442. width: 160px;
  443. margin: 20px auto;
  444. }
  445. .submit-btn {
  446. width: 100%;
  447. background-color: #3bb78f;
  448. @include vars.special-button("light-green", "dark-green");
  449. }
  450. .cancel-button {
  451. width: 20px;
  452. height: 20px;
  453. background: url("../images/close-icon-black.svg");
  454. background-size: cover;
  455. position: absolute;
  456. top: 20px;
  457. right: 20px;
  458. }
  459. }
  460. section.features-info {
  461. min-height: 70em;
  462. }
  463. div.register-area.active {
  464. min-height: 400px;
  465. opacity: 1;
  466. }
  467. .medium-icon {
  468. width: 50px;
  469. height: 50px;
  470. margin-left: auto;
  471. margin-right: auto;
  472. display: block;
  473. top: 50px;
  474. }
  475. // Make small screens more usable
  476. @media (max-width: 720px) {
  477. nav { display: block; }
  478. nav form {
  479. // display: none;
  480. width: 190px;
  481. margin-left: auto;
  482. margin-right: auto;
  483. align-items: center;
  484. margin-top: 5em;
  485. opacity: 0;
  486. transition: transform 0.3s;
  487. transform: translateY(-50px);
  488. }
  489. nav form.active {
  490. display: block;
  491. transform: translateX(0%);
  492. opacity: 1;
  493. // background: white;
  494. // color: black;
  495. }
  496. nav form div {
  497. margin: 10px auto;
  498. }
  499. nav div label,input {
  500. display: block;
  501. }
  502. nav .nav-toggle {
  503. display: block;
  504. }
  505. div.register-area.active {
  506. display: initial;
  507. }
  508. div.register-area h1 {
  509. font-size: 1.5rem;
  510. display: inline-block;
  511. color: vars.getColor("brand-orange");
  512. }
  513. div.register-area h3 {
  514. text-align: center;
  515. }
  516. div.register-area .login {
  517. color: vars.getColor("brand-orange");
  518. display: block;
  519. margin-left: auto;
  520. margin-right: auto;
  521. // margin-top: 1em;
  522. width: 10em;
  523. // top: 40px;
  524. // position: absolute;
  525. }
  526. div.register-area .login input {
  527. border: 2px solid black;
  528. border-color: black;
  529. color: black;
  530. }
  531. div.register-area button {
  532. margin-top: 1em;
  533. width: 6em;
  534. }
  535. div.register-area div {
  536. margin-top: 10px;
  537. margin-bottom: 5px;
  538. margin-left: auto;
  539. margin-right: auto;
  540. }
  541. .landing-hero div.hero-filter h2 {
  542. top: 4em;
  543. }
  544. .landing-hero div.hero-filter p {
  545. top: 15em;
  546. }
  547. .landing-hero div.hero-filter .register-btn {
  548. top: 75%;
  549. }
  550. }
  551. .info-heading {
  552. margin-top: 3em;
  553. margin-left: auto;
  554. margin-right: auto;
  555. max-width: 35em;
  556. padding: 3em;
  557. height: 30em;
  558. button {
  559. display: block;
  560. margin: 3em auto;
  561. width: 6em;
  562. @include vars.special-button("light-green", "dark-green");
  563. }
  564. }