base.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664
  1. @import url('https://fonts.googleapis.com/css2?family=Josefin+Sans&family=Open+Sans:wght@300&display=swap');
  2. @import url('https://fonts.googleapis.com/css2?family=Hubballi&display=swap');
  3. body,
  4. html {
  5. width: 100%;
  6. height: 100%;
  7. margin: 0;
  8. padding: 0;
  9. }
  10. body {
  11. /* background: #16181d; */
  12. font-family: Hubballi;
  13. }
  14. .bg {
  15. width: 100%;
  16. height: 100%;
  17. margin: 0;
  18. padding: 0;
  19. position: fixed;
  20. z-index: -2;
  21. background: #111;
  22. }
  23. .bg_inner {
  24. width: 90%;
  25. height: 90%;
  26. padding: 0;
  27. top: 0;
  28. left: 0;
  29. right: 0;
  30. bottom: 0;
  31. margin: auto;
  32. position: fixed;
  33. z-index: -1;
  34. border-radius: 50%;
  35. background: rgb(127, 35, 112);
  36. filter: blur(100px);
  37. transition: background .5s ease;
  38. }
  39. #sky {
  40. width: 100vw;
  41. height: 100vh;
  42. position: fixed;
  43. overflow: hidden;
  44. margin: 0;
  45. padding: 0;
  46. }
  47. #shootingstars {
  48. margin: 0;
  49. padding: 0;
  50. width: 150vh;
  51. height: 100vw;
  52. position: fixed;
  53. overflow: hidden;
  54. transform: translatex(calc(50vw - 50%)) translatey(calc(50vh - 50%)) rotate(120deg);
  55. }
  56. .wish {
  57. height: 2px;
  58. top: 300px;
  59. width: 100px;
  60. margin: 0;
  61. opacity: 0;
  62. padding: 0;
  63. background-color: white;
  64. position: absolute;
  65. background: linear-gradient(-45deg, white, rgba(0, 0, 255, 0));
  66. filter: drop-shadow(0 0 6px white);
  67. overflow: hidden;
  68. }
  69. .title {
  70. font-size: 50px;
  71. font-family: Hubballi;
  72. text-align: center;
  73. color: #fff;
  74. width: 100%;
  75. z-index: 2;
  76. position: relative;
  77. height: 50px;
  78. line-height: 50px;
  79. }
  80. .description {
  81. font-size: 24px;
  82. color: #eee;
  83. text-align: center;
  84. width: 100%;
  85. z-index: 2;
  86. position: relative;
  87. padding-top: 20px;
  88. line-height: 1.3;
  89. font-family: Hubballi;
  90. }
  91. .wrapper {
  92. width: 100%;
  93. height: 100%;
  94. position: absolute;
  95. justify-content: center;
  96. align-items: center;
  97. display: flex;
  98. flex-direction: column;
  99. }
  100. #root {
  101. position: absolute;
  102. top: 0;
  103. right: 0;
  104. left: 0;
  105. bottom: 0;
  106. margin: auto;
  107. }
  108. .darken {
  109. position: absolute;
  110. width: 100%;
  111. height: 100%;
  112. z-index: 1;
  113. background: rgba(0, 0, 0, .1);
  114. top: 0;
  115. bottom: 0;
  116. right: 0;
  117. left: 0;
  118. margin: auto;
  119. }
  120. .main_content {
  121. display: none;
  122. }
  123. .center {
  124. justify-content: center;
  125. align-items: center;
  126. display: flex;
  127. position: relative;
  128. z-index: 2;
  129. margin-top: 20px;
  130. }
  131. .blur {
  132. padding: 4rem 6rem;
  133. border-radius: 0.375rem;
  134. background-color: rgba(22, 24, 29, .5);
  135. border: 1px solid rgba(42, 46, 55, 1);
  136. backdrop-filter: blur(6px);
  137. position: relative;
  138. z-index: 99;
  139. }
  140. @media screen and (max-width: 736px) {
  141. .blur {
  142. width: 100%;
  143. height: 100%;
  144. padding: 1.5rem;
  145. box-sizing: border-box;
  146. display: flex;
  147. flex-direction: column;
  148. align-items: center;
  149. justify-content: center;
  150. }
  151. .title {
  152. height: auto;
  153. line-height: auto;
  154. }
  155. .finish_block,
  156. .auth {
  157. display: flex;
  158. flex-direction: column;
  159. align-items: center;
  160. justify-content: center;
  161. }
  162. }
  163. @keyframes floating {
  164. from {
  165. transform: translateY(-10px);
  166. }
  167. 50% {
  168. transform: translateY(10px);
  169. }
  170. to {
  171. transform: translateY(-10px);
  172. }
  173. }
  174. .button {
  175. border-radius: 3px;
  176. padding: 10px 20px;
  177. border: none;
  178. color: #eee;
  179. margin: 5px 0;
  180. background: transparent;
  181. border: 1px solid #aaa;
  182. cursor: pointer;
  183. transition: box-shadow .2s ease;
  184. user-select: none;
  185. min-height: 42px;
  186. box-sizing: border-box;
  187. }
  188. .button:hover {
  189. box-shadow: inset 3px 3px 1px rgba(255, 255, 255, .1), inset -3px -3px 1px rgba(255, 255, 255, .1);
  190. }
  191. input {
  192. outline: none;
  193. color: #fff;
  194. text-align: center;
  195. border-radius: 5px;
  196. padding: 10px 20px;
  197. border: none;
  198. background: transparent;
  199. border: 1px solid #aaa;
  200. transition: box-shadow .2s ease;
  201. }
  202. input:focus {
  203. box-shadow: inset 3px 3px 1px rgba(255, 255, 255, .1), inset -3px -3px 1px rgba(255, 255, 255, .1);
  204. }
  205. label {
  206. margin: 0 10px;
  207. color: #eee;
  208. user-select: none;
  209. }
  210. #continue_btn,
  211. #block_api_id,
  212. #block_api_hash,
  213. #block_phone,
  214. #block_2fa,
  215. #block_custom_bot {
  216. display: none;
  217. }
  218. .red_state .bg_inner {
  219. background: rgb(148, 55, 55);
  220. }
  221. .horiz_center {
  222. justify-content: center;
  223. align-items: center;
  224. display: flex;
  225. }
  226. .vert_center {
  227. justify-content: center;
  228. align-items: center;
  229. display: flex;
  230. flex-direction: column;
  231. }
  232. #installation_icon {
  233. height: 200px;
  234. margin-bottom: 35px;
  235. }
  236. .light {
  237. position: absolute;
  238. width: 3px;
  239. filter: blur(4px);
  240. top: 100vh;
  241. bottom: 0px;
  242. left: 0px;
  243. right: 0px;
  244. margin: auto;
  245. z-index: -1;
  246. background: #fff;
  247. }
  248. .x1 {
  249. filter: blur(3px);
  250. -webkit-animation: floatUp 4s infinite linear;
  251. -moz-animation: floatUp 4s infinite linear;
  252. -o-animation: floatUp 4s infinite linear;
  253. animation: floatUp 4s infinite linear;
  254. -webkit-transform: scale(1.0);
  255. -moz-transform: scale(1.0);
  256. -o-transform: scale(1.0);
  257. transform: scale(1.0);
  258. }
  259. .x2 {
  260. filter: blur(3px);
  261. -webkit-animation: floatUp 7s infinite linear;
  262. -moz-animation: floatUp 7s infinite linear;
  263. -o-animation: floatUp 7s infinite linear;
  264. animation: floatUp 7s infinite linear;
  265. -webkit-transform: scale(1.6);
  266. -moz-transform: scale(1.6);
  267. -o-transform: scale(1.6);
  268. transform: scale(1.6);
  269. left: 15%;
  270. }
  271. .x3 {
  272. filter: blur(3px);
  273. -webkit-animation: floatUp 2.5s infinite linear;
  274. -moz-animation: floatUp 2.5s infinite linear;
  275. -o-animation: floatUp 2.5s infinite linear;
  276. animation: floatUp 2.5s infinite linear;
  277. -webkit-transform: scale(.5);
  278. -moz-transform: scale(.5);
  279. -o-transform: scale(.5);
  280. transform: scale(.5);
  281. left: -15%;
  282. }
  283. .x4 {
  284. filter: blur(5px);
  285. -webkit-animation: floatUp 4.5s infinite linear;
  286. -moz-animation: floatUp 4.5s infinite linear;
  287. -o-animation: floatUp 4.5s infinite linear;
  288. animation: floatUp 4.5s infinite linear;
  289. -webkit-transform: scale(1.2);
  290. -moz-transform: scale(1.2);
  291. -o-transform: scale(1.2);
  292. transform: scale(1.2);
  293. left: -34%;
  294. }
  295. .x5 {
  296. filter: blur(6px);
  297. -webkit-animation: floatUp 8s infinite linear;
  298. -moz-animation: floatUp 8s infinite linear;
  299. -o-animation: floatUp 8s infinite linear;
  300. animation: floatUp 8s infinite linear;
  301. -webkit-transform: scale(2.2);
  302. -moz-transform: scale(2.2);
  303. -o-transform: scale(2.2);
  304. transform: scale(2.2);
  305. left: -57%;
  306. }
  307. .x6 {
  308. filter: blur(4px);
  309. -webkit-animation: floatUp 3s infinite linear;
  310. -moz-animation: floatUp 3s infinite linear;
  311. -o-animation: floatUp 3s infinite linear;
  312. animation: floatUp 3s infinite linear;
  313. -webkit-transform: scale(.8);
  314. -moz-transform: scale(.8);
  315. -o-transform: scale(.8);
  316. transform: scale(.8);
  317. left: -81%;
  318. }
  319. .x7 {
  320. filter: blur(3px);
  321. -webkit-animation: floatUp 5.3s infinite linear;
  322. -moz-animation: floatUp 5.3s infinite linear;
  323. -o-animation: floatUp 5.3s infinite linear;
  324. animation: floatUp 5.3s infinite linear;
  325. -webkit-transform: scale(3.2);
  326. -moz-transform: scale(3.2);
  327. -o-transform: scale(3.2);
  328. transform: scale(3.2);
  329. left: 37%;
  330. }
  331. .x8 {
  332. filter: blur(6px);
  333. -webkit-animation: floatUp 4.7s infinite linear;
  334. -moz-animation: floatUp 4.7s infinite linear;
  335. -o-animation: floatUp 4.7s infinite linear;
  336. animation: floatUp 4.7s infinite linear;
  337. -webkit-transform: scale(1.7);
  338. -moz-transform: scale(1.7);
  339. -o-transform: scale(1.7);
  340. transform: scale(1.7);
  341. left: 62%;
  342. }
  343. .x9 {
  344. filter: blur(3px);
  345. -webkit-animation: floatUp 4.1s infinite linear;
  346. -moz-animation: floatUp 4.1s infinite linear;
  347. -o-animation: floatUp 4.1s infinite linear;
  348. animation: floatUp 4.1s infinite linear;
  349. -webkit-transform: scale(0.9);
  350. -moz-transform: scale(0.9);
  351. -o-transform: scale(0.9);
  352. transform: scale(0.9);
  353. left: 85%;
  354. }
  355. @keyframes floatUp {
  356. 0% {
  357. top: 100vh;
  358. opacity: 0;
  359. }
  360. 25% {
  361. opacity: 1;
  362. }
  363. 50% {
  364. top: 0vh;
  365. opacity: .8;
  366. }
  367. 75% {
  368. opacity: 1;
  369. }
  370. 100% {
  371. top: -100vh;
  372. opacity: 0;
  373. }
  374. }
  375. .gg-add {
  376. box-sizing: border-box;
  377. position: relative;
  378. display: block;
  379. width: 20px;
  380. height: 20px;
  381. border: 1px solid;
  382. transform: scale(var(--ggs, 1));
  383. border-radius: 20px
  384. }
  385. .gg-add::after,
  386. .gg-add::before {
  387. content: "";
  388. display: block;
  389. box-sizing: border-box;
  390. position: absolute;
  391. width: 9px;
  392. height: 1px;
  393. background: currentColor;
  394. border-radius: 5px;
  395. top: 9px;
  396. left: 5px
  397. }
  398. .gg-add::after {
  399. width: 1px;
  400. height: 9px;
  401. top: 5px;
  402. left: 9px
  403. }
  404. .gg-brackets {
  405. box-sizing: border-box;
  406. position: relative;
  407. display: block;
  408. transform: scale(var(--ggs, 1));
  409. width: 18px;
  410. height: 18px;
  411. border: 1px solid;
  412. border-radius: 2px
  413. }
  414. .gg-brackets::after,
  415. .gg-brackets::before {
  416. content: "";
  417. display: block;
  418. box-sizing: border-box;
  419. position: absolute;
  420. border: 1px solid;
  421. width: 4px;
  422. height: 11px;
  423. top: 2px
  424. }
  425. .gg-brackets::before {
  426. border-right: 0;
  427. left: 3px
  428. }
  429. .gg-brackets::after {
  430. border-left: 0;
  431. right: 3px
  432. }
  433. .gg-chevron-right-o {
  434. box-sizing: border-box;
  435. position: relative;
  436. display: block;
  437. transform: scale(var(--ggs, 1));
  438. width: 20px;
  439. height: 20px;
  440. border: 1px solid;
  441. border-radius: 100px
  442. }
  443. .gg-chevron-right-o::after {
  444. content: "";
  445. display: block;
  446. box-sizing: border-box;
  447. position: absolute;
  448. width: 6px;
  449. height: 6px;
  450. border-bottom: 1px solid;
  451. border-right: 1px solid;
  452. transform: rotate(-45deg);
  453. left: 5px;
  454. top: 6px
  455. }
  456. .button i {
  457. margin-left: .5em;
  458. }
  459. .button {
  460. margin: 10px 5px;
  461. }
  462. .mountains {
  463. display: none;
  464. }
  465. #tg_icon {
  466. height: 40vh;
  467. }
  468. .auth {
  469. position: absolute;
  470. top: 0;
  471. bottom: 0;
  472. right: 0;
  473. left: 0;
  474. margin: auto;
  475. width: 70%;
  476. height: 60%;
  477. padding: 2rem;
  478. display: none;
  479. }
  480. @media screen and (max-width: 736px) {
  481. .auth {
  482. width: 100%;
  483. height: 100%;
  484. margin: 0;
  485. }
  486. }
  487. .confirm_auth {
  488. font-size: 36px;
  489. text-align: center;
  490. color: #fff;
  491. padding: 10px 0;
  492. }
  493. .waiting_for_auth {
  494. font-size: 22px;
  495. text-align: center;
  496. color: #fff;
  497. padding: 15px 0;
  498. }
  499. .finish_block {
  500. display: none;
  501. }
  502. .lights {
  503. width: 100%;
  504. height: 100%;
  505. position: fixed;
  506. top: 0;
  507. left: 0;
  508. right: 0;
  509. bottom: 0;
  510. margin: auto;
  511. z-index: -1;
  512. overflow: hidden;
  513. }
  514. .auth-code-form {
  515. display: none;
  516. width: 60%;
  517. height: 80%;
  518. padding: 0;
  519. border-radius: 15px;
  520. position: absolute;
  521. top: 0;
  522. right: 0;
  523. bottom: 0;
  524. left: 0;
  525. margin: auto;
  526. z-index: 101;
  527. text-align: center;
  528. }
  529. @media screen and (max-width: 736px) {
  530. .auth-code-form {
  531. width: 100%;
  532. height: 100%;
  533. }
  534. }
  535. .enter {
  536. padding: 5px 10px;
  537. border: 1px solid #dc137b;
  538. color: #dc137b;
  539. font-size: 30px;
  540. border-radius: 8px;
  541. width: 50%;
  542. margin-left: 25%;
  543. margin-top: 10px;
  544. box-sizing: border-box;
  545. transition: all .15s ease;
  546. display: none;
  547. }
  548. @media screen and (max-width: 736px) {
  549. .enter {
  550. display: block;
  551. }
  552. }
  553. .enter.tgcode {
  554. display: none;
  555. }
  556. .enter:active {
  557. background: #dc137b;
  558. color: #fff;
  559. }
  560. #monkey,
  561. #monkey-close {
  562. height: 200px;
  563. margin-top: 30px;
  564. }
  565. #monkey-close {
  566. display: none;
  567. }
  568. .code-input {
  569. width: 50%;
  570. margin-top: 25px;
  571. height: 32px;
  572. border-radius: 15px;
  573. border: 1px solid #121212;
  574. background: #212121;
  575. transition: border .2s ease-in;
  576. font-size: 18px;
  577. }
  578. .code-input:focus {
  579. border: 2px solid rgb(135, 116, 225);
  580. }
  581. .code-caption {
  582. font-size: 26px;
  583. color: #fefefe;
  584. padding-top: 50px;
  585. }