launcher.css 17 KB

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