launcher.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765
  1. /*******************************************************************************
  2. * *
  3. * Fonts *
  4. * *
  5. ******************************************************************************/
  6. @font-face {
  7. font-family: 'Avenir Book';
  8. src: url('../fonts/Avenir.ttc');
  9. }
  10. @font-face {
  11. font-family: 'Avenir Medium';
  12. src: url('../fonts/Avenir-Medium.otf');
  13. }
  14. /*******************************************************************************
  15. * *
  16. * Element Styles *
  17. * *
  18. ******************************************************************************/
  19. /* Reset body, html, and div presets. */
  20. body, html, div {
  21. margin: 0px;
  22. padding: 0px;
  23. }
  24. /* Reset p presets. */
  25. p {
  26. -webkit-margin-before: 0em;
  27. -webkit-margin-after: 0em;
  28. }
  29. /*body {
  30. background: url('./../images/backgrounds/0.jpg') no-repeat center center fixed;
  31. background-size: cover;
  32. }*/
  33. /*******************************************************************************
  34. * *
  35. * Frame Styles (frame.ejs) *
  36. * *
  37. ******************************************************************************/
  38. #frame_bar {
  39. -webkit-app-region: drag;
  40. -webkit-user-select: none;
  41. background: rgba(1, 2, 1, 0.5);
  42. min-height: 22px;
  43. display: flex;
  44. align-items: center;
  45. position: relative;
  46. z-index: 10000;
  47. }
  48. #frame_btn_dock {
  49. margin-left: 2px;
  50. }
  51. .frame_btn {
  52. height: 12px;
  53. width: 12px;
  54. border-radius: 50%;
  55. border: 0px;
  56. margin-left: 5px;
  57. -webkit-app-region: no-drag !important;
  58. cursor: pointer;
  59. }
  60. .frame_btn:focus {
  61. outline: 0px;
  62. }
  63. #frame_btn_close {
  64. background-color: #e74c32;
  65. }
  66. #frame_btn_close:hover {
  67. background-color: #FF9A8A;
  68. }
  69. #frame_btn_restoredown {
  70. background-color: #fed045;
  71. }
  72. #frame_btn_restoredown:hover {
  73. background-color: #FFE9A9;
  74. }
  75. #frame_btn_minimize {
  76. background-color: #96e734;
  77. }
  78. #frame_btn_minimize:hover {
  79. background-color: #D6FFA6;
  80. }
  81. /*******************************************************************************
  82. * *
  83. * Login View (login.ejs) *
  84. * *
  85. ******************************************************************************/
  86. /* Login span styles. */
  87. .loginSpan {
  88. font-family: 'Avenir Book';
  89. font-size: 14px;
  90. color: #fff;
  91. font-weight: bold;
  92. }
  93. /* Styles for dimmer login span. */
  94. .loginSpanDim {
  95. font-family: 'Avenir Book';
  96. font-size: 12px;
  97. color: #848484;
  98. font-weight: bold;
  99. }
  100. /* Main login container. */
  101. #loginContainer {
  102. display: flex;
  103. justify-content: center;
  104. align-items: center;
  105. height: 100%;
  106. width: 100%;
  107. }
  108. /* Login content wrapper. */
  109. #loginContent {
  110. display: flex;
  111. justify-content: center;
  112. align-items: center;
  113. }
  114. /* Login form. */
  115. #loginForm {
  116. display: flex;
  117. flex-direction: column;
  118. justify-content: center;
  119. align-items: center;
  120. }
  121. /* Login form anchor styles. */
  122. #loginForm a {
  123. font-family: 'Avenir Book';
  124. font-size: 12px;
  125. color: #848484;
  126. font-weight: bold;
  127. text-decoration: none;
  128. }
  129. /* Logo on login form. */
  130. #loginImageSeal {
  131. border-radius: 50%;
  132. border: 2px solid #cad7e1;
  133. background: rgba(1, 2, 1, 0.5);
  134. height: 125px;
  135. width: 125px;
  136. box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);
  137. margin-bottom: 20px;
  138. }
  139. /* Header on login view. */
  140. #loginSubheader {
  141. font-family: 'Avenir Medium';
  142. margin-bottom: 25px;
  143. font-size: 12px;
  144. letter-spacing: 1px;
  145. }
  146. /* SVG icons on the login view. */
  147. .loginSVG {
  148. fill: #fff;
  149. }
  150. /* Login text input styles. */
  151. .loginField {
  152. font-family: 'Avenir Book';
  153. background: none;
  154. border-width: 1.5px 0px 0px 0px;
  155. border-style: solid;
  156. width: 250px;
  157. margin-bottom: 20px;
  158. border-color: #fff;
  159. color: rgb(197, 197, 197);
  160. font-weight: bold;
  161. text-align: center;
  162. box-sizing: border-box;
  163. padding: 7.5px;
  164. font-size: 10px;
  165. letter-spacing: 1px;
  166. }
  167. .loginField:focus {
  168. outline: none;
  169. }
  170. .loginField::-webkit-input-placeholder {
  171. color: rgb(197, 197, 197);
  172. font-size: 10px;
  173. letter-spacing: 1px;
  174. text-align: center;
  175. font-weight: bold;
  176. }
  177. .loginField:focus::-webkit-input-placeholder {
  178. color: transparent;
  179. }
  180. /* Add spacing between password field and options bar. */
  181. #labelPassword {
  182. margin-bottom: 13px;
  183. }
  184. /* Container which contains the forgot and remember options. */
  185. #loginOptions {
  186. display: flex;
  187. justify-content: space-between;
  188. width: 100%;
  189. }
  190. /* Remember option text. */
  191. #loginRememberText {
  192. padding-right: 10px;
  193. }
  194. /* Login button styles. */
  195. #loginButton {
  196. background: none;
  197. color: #fff;
  198. font-weight: bold;
  199. font-family: 'Avenir Book';
  200. letter-spacing: 2px;
  201. border: none;
  202. padding: 15px 5px;
  203. margin: 10px 0px;
  204. cursor: pointer;
  205. position: relative;
  206. right: -20px;
  207. transition: 0.5s ease;
  208. }
  209. #loginButton:hover {
  210. text-shadow: 0px 0px 20px #fff;
  211. }
  212. #loginButton:focus {
  213. outline: none;
  214. }
  215. #loginSVG {
  216. overflow: visible;
  217. transform: rotate(90deg);
  218. margin-left: 20px;
  219. transition: 0.25s ease;
  220. width: 20px;
  221. height: 20px;
  222. }
  223. #loginButton:hover #loginSVG {
  224. -webkit-filter: drop-shadow(0px 0px 2px #fff);
  225. }
  226. #loginButtonContent {
  227. display: flex;
  228. align-items: center;
  229. }
  230. /* Disclaimer container. */
  231. #loginDisclaimer {
  232. display: flex;
  233. flex-direction: column;
  234. justify-content: center;
  235. align-items: center;
  236. }
  237. /* Add spacing between register anchor and disclaimer. */
  238. #loginRegisterSpan {
  239. margin-bottom: 5px;
  240. }
  241. /* Disclaimer text styles. */
  242. .loginDisclaimerText {
  243. font-family: 'Avenir Book';
  244. font-size: 7px;
  245. color: #848484;
  246. font-weight: bold;
  247. text-align: center;
  248. }
  249. /* * *
  250. * Login View | Custom Checkbox
  251. * * */
  252. /* Checkbox container. */
  253. #checkmarkContainer {
  254. display: flex;
  255. justify-content: flex-end;
  256. align-items: center;
  257. position: relative;
  258. cursor: pointer;
  259. font-size: 22px;
  260. -webkit-user-select: none;
  261. }
  262. /* Hide the default checkbox. */
  263. #checkmarkContainer input {
  264. opacity: 0;
  265. cursor: pointer;
  266. position: absolute;
  267. }
  268. /* Create a custom checkbox. */
  269. .loginCheckmark {
  270. position: relative;
  271. height: 10px;
  272. width: 10px;
  273. border: 1px solid #848484;
  274. border-radius: 1px;
  275. background: none;
  276. transition: border-color 0.25s ease;
  277. }
  278. /* On mouse-over, add a grey border color. */
  279. #checkmarkContainer:hover input ~ .loginCheckmark {
  280. border-color: #a2a2a2;;
  281. }
  282. /* When the checkbox is checked, add a grey border color. */
  283. #checkmarkContainer input:checked ~ .loginCheckmark {
  284. border-color: #a2a2a2;;
  285. }
  286. /* Create the checkmark/indicator (hidden when not checked). */
  287. .loginCheckmark:after {
  288. content: "";
  289. display: none;
  290. }
  291. /* Show the checkmark when checked. */
  292. #checkmarkContainer input:checked ~ .loginCheckmark:after {
  293. display: block;
  294. }
  295. /* Style the checkmark/indicator. */
  296. #checkmarkContainer .loginCheckmark:after {
  297. position: absolute;
  298. left: 3.5px;
  299. top: 0.5px;
  300. width: 2px;
  301. height: 6px;
  302. border: solid #a2a2a2;;
  303. border-width: 0 2px 2px 0;
  304. transform: rotate(45deg);
  305. }
  306. /*
  307. #login_filter {
  308. height: calc(100% - 22px);
  309. width: 100%;
  310. z-index: 9000;
  311. position: absolute;
  312. filter: blur(8px) contrast(0.9) brightness(1.0);
  313. background: url('./../images/backgrounds/0.jpg') no-repeat center center fixed;
  314. transform: scale(1.2);
  315. background-size: cover;
  316. }
  317. */
  318. /*******************************************************************************
  319. * *
  320. * Landing View (Structural Styles) *
  321. * *
  322. ******************************************************************************/
  323. /* Main content container. */
  324. #main {
  325. height: calc(100% - 22px);
  326. }
  327. /* Upper content container. */
  328. #main > #upper {
  329. height: 77%;
  330. display: flex;
  331. }
  332. #main > #upper > #left {
  333. display: inline-flex;
  334. width: 15%;
  335. height: 100%;
  336. justify-content: flex-end;
  337. }
  338. #main > #upper > #content {
  339. display: inline-flex;
  340. width: 59%;
  341. height: 100%;
  342. }
  343. #main > #upper > #right {
  344. display: inline-flex;
  345. width: 26%;
  346. height: 100%;
  347. }
  348. /* Lower content container. */
  349. #main > #lower {
  350. height: 23%;
  351. display: flex;
  352. background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  353. }
  354. #main > #lower > #left {
  355. height: 100%;
  356. width: 33%;
  357. display: inline-flex;
  358. justify-content: center;
  359. }
  360. #main > #lower > #left #content {
  361. position: relative;
  362. top: 25px;
  363. display: inline-flex;
  364. line-height: 24px;
  365. left: 50px;
  366. }
  367. #main > #lower > #center {
  368. height: 100%;
  369. width: 34%;
  370. display: inline-flex;
  371. justify-content: center;
  372. }
  373. #main > #lower > #center #content {
  374. position: relative;
  375. top: 10px;
  376. }
  377. #main > #lower > #right {
  378. height: 100%;
  379. width: 33%;
  380. display: inline-flex;
  381. }
  382. /*******************************************************************************
  383. * *
  384. * Landing View (Top Styles) *
  385. * *
  386. ******************************************************************************/
  387. /* * *
  388. * Landing View (Top Styles) | Left Content
  389. * * */
  390. /* Logo image. */
  391. #image_seal {
  392. height: 70px;
  393. width: auto;
  394. position: relative;
  395. margin-top: 50px;
  396. border: 2px solid white;
  397. border-radius: 50%;
  398. box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);
  399. }
  400. /* * *
  401. * Landing View (Bottom Styles) | Right Content
  402. * * */
  403. /* Wrapper container for top, right content. */
  404. #rightContainer {
  405. display: flex;
  406. flex-direction: column;
  407. position: relative;
  408. top: 50px;
  409. align-items: flex-end;
  410. height: calc(100% - 50px);
  411. }
  412. /* Right hand user content container. */
  413. #user_content {
  414. display: flex;
  415. align-items: center;
  416. justify-content: center;
  417. box-sizing: border-box;
  418. height: 75px;
  419. }
  420. /* User profile avatar container. */
  421. #avatarContainer {
  422. border-radius: 50%;
  423. border: 2px solid #cad7e1;
  424. background: rgba(1, 2, 1, 0.5);
  425. height: 70px;
  426. width: 70px;
  427. box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);
  428. overflow: hidden;
  429. position: relative;
  430. }
  431. /* Avatar edit overlay. */
  432. #avatarOverlay {
  433. opacity: 0;
  434. position: absolute;
  435. z-index: 1;
  436. top: 0;
  437. bottom: 0;
  438. left: 0;
  439. right: 0;
  440. display: flex;
  441. justify-content: center;
  442. align-items: center;
  443. font-family: 'Avenir Book';
  444. color: #fff;
  445. transition: 0.25s ease;
  446. font-weight: bold;
  447. letter-spacing: 2px;
  448. background: linear-gradient(65deg, rgba(0, 0, 0, 0.4), rgba(136, 77, 77, 0.4) 60%);
  449. -webkit-user-select: none;
  450. cursor: pointer;
  451. }
  452. #avatarOverlay:hover {
  453. opacity: 1;
  454. }
  455. /* User profile avater image. */
  456. #avatarImage {
  457. height: 100%;
  458. width: auto;
  459. }
  460. /* User profile name text. */
  461. #user_text {
  462. font-family: 'Avenir Book';
  463. font-size: 12px;
  464. min-width: 112px;
  465. font-weight: 900;
  466. letter-spacing: 1px;
  467. color: white;
  468. text-shadow: 0px 0px 20px black;
  469. position: relative;
  470. right: 25px;
  471. text-align: right;
  472. }
  473. /* Social media icon content container. */
  474. #mediaContent {
  475. position: relative;
  476. display: flex;
  477. flex-direction: column;
  478. right: 25px;
  479. align-items: flex-end;
  480. margin-top: 40px;
  481. height: 100%;
  482. align-items: center;
  483. }
  484. /* Social Media Icon division containers. */
  485. #internalMedia, #externalMedia {
  486. display: flex;
  487. flex-direction: column;
  488. }
  489. /* Container object which wraps an icon to ensure fluid transitions. */
  490. .mediaContainer {
  491. display: flex;
  492. justify-content: center;
  493. align-items: center;
  494. height: 27px;
  495. }
  496. /* Divider bar between the external and internal icons. */
  497. .mediaDivider {
  498. height: 1px;
  499. width: 14px;
  500. background: rgb(255, 255, 255);
  501. margin: 10px 0px;
  502. }
  503. /* Social media icon shared styles. */
  504. .mediaSVG {
  505. fill: #ffffff;
  506. height: 12px;
  507. transition: 0.25s ease;
  508. cursor: pointer;
  509. }
  510. .mediaSVG:hover, .mediaSVG:active {
  511. height: 20px;
  512. }
  513. /* News icon colors. */
  514. #newsSVG {
  515. stroke: #ffffff;
  516. }
  517. /* Twitter icon colors. */
  518. #twitterSVG:hover {
  519. fill: #1da1f2;
  520. }
  521. #twitterSVG:active {
  522. fill: #1b8dd4;
  523. }
  524. /* Instagram icon colors. */
  525. #instagramSVG:hover {
  526. fill: url('#instaFill')
  527. /*fill: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); */
  528. }
  529. #instagramSVG:active {
  530. fill: url('#instaFill')
  531. }
  532. /* Youtube icon colors. */
  533. #youtubeSVG:hover {
  534. fill: #f00;
  535. }
  536. #youtubeSVG:active {
  537. fill: #ea0202;
  538. }
  539. /* Discord icon colors. */
  540. #discordSVG:hover {
  541. fill: #7288d9;
  542. }
  543. #discordSVG:active {
  544. fill: #657ac4;
  545. }
  546. /*******************************************************************************
  547. * *
  548. * Landing View (Bottom Styles) *
  549. * *
  550. ******************************************************************************/
  551. /* Style for a general label on the bottom of the landing view. */
  552. .bot_label {
  553. color: white;
  554. font-family: 'Avenir Book';
  555. font-size: 9px;
  556. letter-spacing: 1px;
  557. font-weight: bold;
  558. text-shadow: 0px 0px 0px #bebcbb;
  559. }
  560. /* Divider used on the bottom of the landing view. */
  561. .bot_divider {
  562. height: 25px;
  563. width: 2px;
  564. background: rgba(107, 105, 105, 0.7);
  565. margin-left: 20px;
  566. margin-right: 20px;
  567. }
  568. /* * *
  569. * Landing View (Bottom Styles) | Left Content
  570. * * */
  571. /* Span which displays the player count of the selected server. */
  572. #player_count {
  573. color: #949494;
  574. font-family: 'Avenir Book';
  575. font-size: 8px;
  576. font-weight: 900;
  577. text-shadow: 0px 0px 20px #949494;
  578. margin-left: 10px;
  579. }
  580. /* Icon which displays the status of the mojang services. */
  581. #mojang_status_icon {
  582. font-size: 30px;
  583. color: #848484;
  584. margin-left: 15px;
  585. }
  586. /* * *
  587. * Landing View (Bottom Styles) | Center Content
  588. * * */
  589. /* Button which opens the menu view. */
  590. #menu_button {
  591. font-family: 'Avenir Book';
  592. background: none;
  593. border: none;
  594. cursor: pointer;
  595. }
  596. /* Arrow image which floats above the menu button. */
  597. #menu_img {
  598. height: 11px;
  599. margin-left: -2px;
  600. }
  601. /* Span which contains the menu button text. */
  602. #menu_text {
  603. color: white;
  604. font-weight: 900;
  605. letter-spacing: 2px;
  606. text-shadow: 0px 0px 0px #bebcbb;
  607. font-size: 11px;
  608. line-height: 30px;
  609. display: flex;
  610. }
  611. /* * *
  612. * Landing View (Bottom Styles) | Right Content
  613. * * */
  614. /* Main launch content container. */
  615. #main > #lower > #right #launch_content {
  616. position: relative;
  617. top: 25px;
  618. display: inline-flex;
  619. line-height: 24px;
  620. }
  621. /* The launch button. */
  622. #launch_button {
  623. font-family: 'Avenir Book';
  624. background: none;
  625. border: none;
  626. cursor: pointer;
  627. color: #fff;
  628. font-weight: 900;
  629. letter-spacing: 2px;
  630. text-shadow: 0px 0px 0px #bebcbb;
  631. font-size: 20px;
  632. padding: 0px;
  633. }
  634. /* Launch details main container, hidden until launch processing begins. */
  635. #launch_details {
  636. position: relative;
  637. top: 25px;
  638. display: none;
  639. }
  640. /* Left side of launch details container, displays percentage and a divider. */
  641. #launch_details_left {
  642. display: flex;
  643. }
  644. /* Span which displays percentage complete. */
  645. #launch_progress_label {
  646. color: white;
  647. font-family: 'Avenir Book';
  648. font-weight: 900;
  649. letter-spacing: 1px;
  650. text-shadow: 0px 0px 0px #bebcbb;
  651. font-size: 20px;
  652. min-width: 53.21px;
  653. max-width: 53.21px;
  654. text-align: right;
  655. }
  656. /* Right side of launch details container, displays progress bar and details. */
  657. #launch_details_right {
  658. display: flex;
  659. flex-direction: column;
  660. justify-content: center;
  661. }
  662. /* Progress bar styles. */
  663. #launch_progress[value] {
  664. height: 3px;
  665. width: 265px;
  666. -webkit-appearance: none;
  667. }
  668. #launch_progress[value]::-webkit-progress-bar {
  669. background-color: transparent;
  670. }
  671. #launch_progress[value]::-webkit-progress-value {
  672. background-color: #fff;
  673. }
  674. /* Span which displays information about the status of the launch process. */
  675. #launch_details_text {
  676. font-size: 11px;
  677. text-overflow: ellipsis;
  678. white-space: nowrap;
  679. overflow: hidden;
  680. }