launcher.css 17 KB

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