My SMM panel
 
 
 
 
 
 

620 строки
9.6 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. }
  74. nav form {
  75. display: flex;
  76. flex-wrap: wrap;
  77. margin-right: 20px;
  78. }
  79. nav form div {
  80. margin: 0 10px;
  81. }
  82. nav form button {
  83. min-width: 5em;
  84. }
  85. nav form input,label {
  86. opacity: 0.7;
  87. }
  88. nav .nav-toggle {
  89. position: absolute;
  90. right: 10px;
  91. top: 5px;
  92. display: none;
  93. height: 40px;
  94. width: 40px;
  95. margin-left: auto;
  96. background: url("/images/hamburger-menu.svg");
  97. background-size: 100%;
  98. background-size: cover;
  99. }
  100. nav .nav-toggle.toggled {
  101. background: url("/images/close.svg");
  102. width: 25px;
  103. height: 25px;
  104. background-size: 100%;
  105. background-size: cover;
  106. top: 10px;
  107. right: 15px;
  108. }
  109. div.landing-hero {
  110. top: 0;
  111. height: 50em;
  112. background-color: #ff4e00;
  113. // background-image: linear-gradient(to right bottom, #ff4e00, #fc6200, #f87200, #f58100, #f18e00, #f19507, #f09c0f, #f0a317, #f3a620, #f6a927, #f8ad2e, #fbb034);
  114. background-image: linear-gradient(315deg, #ff4e00 0%, #ec9f05 74%);
  115. z-index: 0;
  116. }
  117. div.hero-filter {
  118. width: 100%;
  119. height: 100%;
  120. }
  121. div.hero-filter h2 {
  122. color: black;
  123. opacity: 0.7;
  124. width: 10em;
  125. font-size: 2.4em;
  126. position: absolute;
  127. top: 3em;
  128. margin-left: 5%;
  129. }
  130. div.hero-filter p {
  131. position: absolute;
  132. top: 12em;
  133. margin-left: 5%;
  134. font-size: 20px;
  135. width: 10em;
  136. opacity: 0.7;
  137. }
  138. div.errors {
  139. background-color: #ececec;
  140. color: vars.getColor("red-alert");
  141. border: 2px solid vars.getColor("red-alert");
  142. border-radius: 4px;
  143. min-height: 50px;
  144. position: absolute;
  145. left: 50%;
  146. margin-right: -50%;
  147. top: 100px;
  148. min-width: 30em;
  149. transform: translate(-50%, -50%);
  150. }
  151. .errors ul {
  152. margin: auto;
  153. }
  154. form.login {
  155. // font-weight: bold;
  156. color: white;
  157. }
  158. .cancel-icon {
  159. width: 30px;
  160. }
  161. form.login input {
  162. margin-left: 2px;
  163. color: white;
  164. background-color: transparent;
  165. border: 2px solid white;
  166. border-radius: 2px;
  167. outline-color: orange
  168. }
  169. form.login .login-btn {
  170. @include vars.special-button("medium-blue", "dark-blue");
  171. }
  172. .hero-filter .register-btn {
  173. @include vars.transparent-button;
  174. display: block;
  175. position: relative;
  176. width: 7em;
  177. top: 60%;
  178. margin-left: auto;
  179. margin-right: auto;
  180. }
  181. div.blue-background {
  182. background-image: url("/images/polka-dots.png");
  183. background-size: 350px;
  184. background-color: #0d324d;
  185. }
  186. section.about-us {
  187. padding: 70px 0;
  188. }
  189. section.about-us p {
  190. max-width: 600px;
  191. margin-left: auto;
  192. margin-right: auto;
  193. border-top: 2px solid vars.getColor("grey");
  194. border-bottom: 2px solid vars.getColor("grey");
  195. padding: 15px;
  196. background-color: #0d324d;
  197. color: white;
  198. }
  199. section.services-cards {
  200. // margin-bottom: 0;
  201. background-color: lightgrey;
  202. padding-bottom: 4em;
  203. background: linear-gradient(to bottom right, transparent 0%, transparent 50%, #e9e9e9 50%, vars.getColor("light-grey") 100%);
  204. }
  205. section.services-cards .cards{
  206. display: flex;
  207. flex-flow: wrap;
  208. margin-top: 2em;
  209. gap: 25px;
  210. justify-content: center;
  211. max-width: 1050px;
  212. margin-left: auto;
  213. margin-right: auto;
  214. text-align: center;
  215. }
  216. section.services-cards h2 {
  217. text-align: center;
  218. padding: 10px;
  219. margin-top: 0;
  220. padding-top: 30px;
  221. color: white;
  222. }
  223. section.services-cards .card {
  224. width: 280px;
  225. height: 350px;
  226. padding: 18px 9px;
  227. border-radius: 4px;
  228. background: white;
  229. box-shadow: 7px 10px 8px rgb(156 166 175 / 22%);
  230. transition: transform 0.2s;
  231. &:hover {
  232. transform: translateY(-20px);
  233. }
  234. }
  235. section.services-cards img {
  236. width: 50px;
  237. height: 50px;
  238. }
  239. section.services-cards button {
  240. @include vars.brand-button("orange");
  241. }
  242. section.features-info {
  243. // height: fit-content;
  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. min-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.register-area {
  399. overflow: hidden;
  400. height: 0px;
  401. width: 100%;
  402. z-index: 1;
  403. @include vars.hovering3;
  404. margin-bottom: 2em;
  405. position: fixed;
  406. border-radius: 0;
  407. padding: 0;
  408. opacity: 0;
  409. transition: all 0.2s;
  410. background: white;
  411. h3 {
  412. text-align: center;
  413. }
  414. label,input {
  415. color: black;
  416. display: block;
  417. border-color: black;
  418. }
  419. div {
  420. margin-top: 20px;
  421. margin-bottom: 20px;
  422. }
  423. form {
  424. width: fit-content;
  425. margin: 20px auto;
  426. }
  427. .submit-btn {
  428. width: 100%;
  429. background-color: #3bb78f;
  430. @include vars.special-button("light-green", "dark-green");
  431. }
  432. .cancel-button {
  433. width: 20px;
  434. height: 20px;
  435. background: url("/images/close-black.svg");
  436. background-size: cover;
  437. position: absolute;
  438. top: 20px;
  439. right: 20px;
  440. }
  441. }
  442. section.features-info {
  443. min-height: 70em;
  444. }
  445. div.register-area.active {
  446. height: 400px;
  447. opacity: 1;
  448. }
  449. // Make small screens more usable
  450. @media (max-width: 720px) {
  451. nav { display: block; }
  452. nav form {
  453. // display: none;
  454. width: 190px;
  455. margin-left: auto;
  456. margin-right: auto;
  457. align-items: center;
  458. margin-top: 5em;
  459. opacity: 0;
  460. transition: transform 0.3s;
  461. transform: translateY(-50px);
  462. }
  463. nav form.active {
  464. display: block;
  465. transform: translateX(0%);
  466. opacity: 1;
  467. // background: white;
  468. // color: black;
  469. }
  470. nav form div {
  471. margin: 10px auto;
  472. }
  473. nav div label,input {
  474. display: block;
  475. }
  476. nav .nav-toggle {
  477. display: block;
  478. }
  479. div.register-area.active {
  480. display: initial;
  481. }
  482. div.register-area h1 {
  483. font-size: 1.5rem;
  484. display: inline-block;
  485. color: vars.getColor("brand-orange");
  486. }
  487. div.register-area h3 {
  488. text-align: center;
  489. }
  490. div.register-area .login {
  491. color: vars.getColor("brand-orange");
  492. display: block;
  493. margin-left: auto;
  494. margin-right: auto;
  495. // margin-top: 1em;
  496. width: 10em;
  497. // top: 40px;
  498. // position: absolute;
  499. }
  500. div.register-area .login input {
  501. border: 2px solid black;
  502. border-color: black;
  503. color: black;
  504. }
  505. div.register-area button {
  506. margin-top: 1em;
  507. width: 6em;
  508. }
  509. div.register-area div {
  510. margin-top: 10px;
  511. margin-bottom: 5px;
  512. }
  513. .landing-hero div.hero-filter h2 {
  514. top: 4em;
  515. }
  516. .landing-hero div.hero-filter p {
  517. top: 15em;
  518. }
  519. .landing-hero div.hero-filter .register-btn {
  520. top: 75%;
  521. }
  522. }