launcher.css 18 KB

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