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.
 
 
 
 
 
 

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