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.
 
 
 
 
 
 

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