launcher.css 17 KB

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