My SMM panel
 
 
 
 
 
 

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