launcher.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489
  1. /*******************************************************************************
  2. * *
  3. * Fonts *
  4. * *
  5. ******************************************************************************/
  6. @font-face {
  7. font-family: 'Avenir Book';
  8. src: url('../fonts/Avenir.ttc');
  9. }
  10. /*******************************************************************************
  11. * *
  12. * Element Styles *
  13. * *
  14. ******************************************************************************/
  15. /* Reset body, html, and div presets. */
  16. body, html, div {
  17. margin: 0px;
  18. padding: 0px;
  19. }
  20. /* Reset p presets. */
  21. p {
  22. -webkit-margin-before: 0em;
  23. -webkit-margin-after: 0em;
  24. }
  25. /*body {
  26. background: url('./../images/backgrounds/0.jpg') no-repeat center center fixed;
  27. background-size: cover;
  28. }*/
  29. /*******************************************************************************
  30. * *
  31. * Frame Styles (frame.ejs) *
  32. * *
  33. ******************************************************************************/
  34. #frame_bar {
  35. -webkit-app-region: drag;
  36. -webkit-user-select: none;
  37. background: rgba(1, 2, 1, 0.5);
  38. min-height: 22px;
  39. display: flex;
  40. align-items: center;
  41. position: relative;
  42. z-index: 10000;
  43. }
  44. #frame_btn_dock {
  45. margin-left: 2px;
  46. }
  47. .frame_btn {
  48. height: 12px;
  49. width: 12px;
  50. border-radius: 50%;
  51. border: 0px;
  52. margin-left: 5px;
  53. -webkit-app-region: no-drag !important;
  54. cursor: pointer;
  55. }
  56. .frame_btn:focus {
  57. outline: 0px;
  58. }
  59. #frame_btn_close {
  60. background-color: #e74c32;
  61. }
  62. #frame_btn_close:hover {
  63. background-color: #FF9A8A;
  64. }
  65. #frame_btn_restoredown {
  66. background-color: #fed045;
  67. }
  68. #frame_btn_restoredown:hover {
  69. background-color: #FFE9A9;
  70. }
  71. #frame_btn_minimize {
  72. background-color: #96e734;
  73. }
  74. #frame_btn_minimize:hover {
  75. background-color: #D6FFA6;
  76. }
  77. /*******************************************************************************
  78. * *
  79. * Login View (login.ejs) *
  80. * *
  81. ******************************************************************************/
  82. #login_main {
  83. position: relative;
  84. height: calc(100% - 22px);
  85. width: 100%;
  86. overflow: hidden;
  87. }
  88. #login_filter {
  89. height: calc(100% - 22px);
  90. width: 100%;
  91. z-index: 9000;
  92. position: absolute;
  93. filter: blur(8px) contrast(0.9) brightness(1.0);
  94. background: url('./../images/backgrounds/0.jpg') no-repeat center center fixed;
  95. transform: scale(1.2);
  96. background-size: cover;
  97. }
  98. #login_container {
  99. height: 100%;
  100. position: relative;
  101. display: flex;
  102. justify-content: center;
  103. z-index: 9001;
  104. }
  105. #login_content {
  106. width: 400px;
  107. display: flex;
  108. flex-direction: column;
  109. align-items: center;
  110. }
  111. #login_image_seal {
  112. height: 150px;
  113. width: auto;
  114. }
  115. .login_section {
  116. display: flex;
  117. flex-direction: column;
  118. align-items: center;
  119. padding: 5px;
  120. }
  121. /* Adds padding between flex children */
  122. .login_section > * {
  123. margin-bottom: 10px;
  124. }
  125. .login_section > *:last-child {
  126. margin-bottom: 0px !important;
  127. }
  128. #login_header_text {
  129. font-family: 'Avenir Book';
  130. color: #ded8cb;
  131. }
  132. #login_links a {
  133. color: #5a534b;
  134. font-family: 'Avenir Book';
  135. font-size: 10px;
  136. text-decoration: none;
  137. }
  138. #login_information input {
  139. background: none;
  140. border: none;
  141. border-top: 2px solid #fff;
  142. }
  143. /*#login_information input[type='password'] {
  144. letter-spacing: 0.3em;
  145. }*/
  146. /*******************************************************************************
  147. * *
  148. * Landing View (Structural Styles) *
  149. * *
  150. ******************************************************************************/
  151. /* Main content container. */
  152. #main {
  153. height: calc(100% - 22px);
  154. }
  155. /* Upper content container. */
  156. #main > #upper {
  157. height: 77%;
  158. display: flex;
  159. }
  160. #main > #upper > #left {
  161. display: inline-flex;
  162. width: 15%;
  163. height: 100%;
  164. justify-content: flex-end;
  165. }
  166. #main > #upper > #content {
  167. display: inline-flex;
  168. width: 59%;
  169. height: 100%;
  170. }
  171. #main > #upper > #right {
  172. display: inline-flex;
  173. width: 26%;
  174. height: 100%;
  175. }
  176. /* Lower content container. */
  177. #main > #lower {
  178. height: 23%;
  179. display: flex;
  180. background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  181. }
  182. #main > #lower > #left {
  183. height: 100%;
  184. width: 33%;
  185. display: inline-flex;
  186. justify-content: center;
  187. }
  188. #main > #lower > #left #content {
  189. position: relative;
  190. top: 25px;
  191. display: inline-flex;
  192. line-height: 24px;
  193. left: 50px;
  194. }
  195. #main > #lower > #center {
  196. height: 100%;
  197. width: 34%;
  198. display: inline-flex;
  199. justify-content: center;
  200. }
  201. #main > #lower > #center #content {
  202. position: relative;
  203. top: 10px;
  204. }
  205. #main > #lower > #right {
  206. height: 100%;
  207. width: 33%;
  208. display: inline-flex;
  209. }
  210. /*******************************************************************************
  211. * *
  212. * Landing View (Top Styles) *
  213. * *
  214. ******************************************************************************/
  215. /* * *
  216. * Landing View (Top Styles) | Left Content
  217. * * */
  218. /* Logo image. */
  219. #image_seal {
  220. height: 70px;
  221. width: auto;
  222. position: relative;
  223. margin-top: 50px;
  224. border: 2px solid white;
  225. border-radius: 50%;
  226. box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);
  227. }
  228. /* * *
  229. * Landing View (Bottom Styles) | Right Content
  230. * * */
  231. /* Wrapper container for top, right content. */
  232. #rightContainer {
  233. display: flex;
  234. flex-direction: column;
  235. position: relative;
  236. top: 50px;
  237. align-items: flex-end;
  238. height: calc(100% - 50px);
  239. }
  240. /* Right hand user content container. */
  241. #user_content {
  242. display: flex;
  243. align-items: center;
  244. justify-content: center;
  245. box-sizing: border-box;
  246. height: 75px;
  247. }
  248. /* User profile avater. */
  249. #user_avatar {
  250. border-radius: 50%;
  251. border: 2px solid #cad7e1;
  252. background: rgba(1, 2, 1, 0.5);
  253. height: 70px;
  254. width: auto;
  255. box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);
  256. }
  257. /* User profile name text. */
  258. #user_text {
  259. font-family: 'Avenir Book';
  260. font-size: 12px;
  261. min-width: 112px;
  262. font-weight: 900;
  263. letter-spacing: 1px;
  264. color: white;
  265. text-shadow: 0px 0px 20px black;
  266. position: relative;
  267. right: 25px;
  268. text-align: right;
  269. }
  270. /* Social media icon content container. */
  271. #media_container {
  272. position: relative;
  273. display: flex;
  274. flex-direction: column;
  275. right: 25px;
  276. align-items: flex-end;
  277. margin-top: 40px;
  278. height: 100%;
  279. }
  280. /* Social Media Icon division containers. */
  281. #internalMedia, #externalMedia {
  282. display: flex;
  283. flex-direction: column;
  284. }
  285. /* Social media icon shared styles. */
  286. .mediaSVG {
  287. fill: #ffffff;
  288. margin-top: 15px;
  289. height: 12px;
  290. }
  291. /*******************************************************************************
  292. * *
  293. * Landing View (Bottom Styles) *
  294. * *
  295. ******************************************************************************/
  296. /* Style for a general label on the bottom of the landing view. */
  297. .bot_label {
  298. color: white;
  299. font-family: 'Avenir Book';
  300. font-size: 9px;
  301. letter-spacing: 1px;
  302. font-weight: bold;
  303. text-shadow: 0px 0px 0px #bebcbb;
  304. }
  305. /* Divider used on the bottom of the landing view. */
  306. .bot_divider {
  307. height: 25px;
  308. width: 2px;
  309. background: rgba(107, 105, 105, 0.7);
  310. margin-left: 20px;
  311. margin-right: 20px;
  312. }
  313. /* * *
  314. * Landing View (Bottom Styles) | Left Content
  315. * * */
  316. /* Span which displays the player count of the selected server. */
  317. #player_count {
  318. color: #949494;
  319. font-family: 'Avenir Book';
  320. font-size: 8px;
  321. font-weight: 900;
  322. text-shadow: 0px 0px 20px #949494;
  323. margin-left: 10px;
  324. }
  325. /* Icon which displays the status of the mojang services. */
  326. #mojang_status_icon {
  327. font-size: 30px;
  328. color: #848484;
  329. margin-left: 15px;
  330. }
  331. /* * *
  332. * Landing View (Bottom Styles) | Center Content
  333. * * */
  334. /* Button which opens the menu view. */
  335. #menu_button {
  336. font-family: 'Avenir Book';
  337. background: none;
  338. border: none;
  339. cursor: pointer;
  340. }
  341. /* Arrow image which floats above the menu button. */
  342. #menu_img {
  343. height: 11px;
  344. margin-left: -2px;
  345. }
  346. /* Span which contains the menu button text. */
  347. #menu_text {
  348. color: white;
  349. font-weight: 900;
  350. letter-spacing: 2px;
  351. text-shadow: 0px 0px 0px #bebcbb;
  352. font-size: 11px;
  353. line-height: 30px;
  354. display: flex;
  355. }
  356. /* * *
  357. * Landing View (Bottom Styles) | Right Content
  358. * * */
  359. /* Main launch content container. */
  360. #main > #lower > #right #launch_content {
  361. position: relative;
  362. top: 25px;
  363. display: inline-flex;
  364. line-height: 24px;
  365. }
  366. /* The launch button. */
  367. #launch_button {
  368. font-family: 'Avenir Book';
  369. background: none;
  370. border: none;
  371. cursor: pointer;
  372. color: #fff;
  373. font-weight: 900;
  374. letter-spacing: 2px;
  375. text-shadow: 0px 0px 0px #bebcbb;
  376. font-size: 20px;
  377. padding: 0px;
  378. }
  379. /* Launch details main container, hidden until launch processing begins. */
  380. #launch_details {
  381. position: relative;
  382. top: 25px;
  383. display: none;
  384. }
  385. /* Left side of launch details container, displays percentage and a divider. */
  386. #launch_details_left {
  387. display: flex;
  388. }
  389. /* Span which displays percentage complete. */
  390. #launch_progress_label {
  391. color: white;
  392. font-family: 'Avenir Book';
  393. font-weight: 900;
  394. letter-spacing: 1px;
  395. text-shadow: 0px 0px 0px #bebcbb;
  396. font-size: 20px;
  397. min-width: 53.21px;
  398. max-width: 53.21px;
  399. text-align: right;
  400. }
  401. /* Right side of launch details container, displays progress bar and details. */
  402. #launch_details_right {
  403. display: flex;
  404. flex-direction: column;
  405. justify-content: center;
  406. }
  407. /* Progress bar styles. */
  408. #launch_progress[value] {
  409. height: 3px;
  410. width: 265px;
  411. -webkit-appearance: none;
  412. }
  413. #launch_progress[value]::-webkit-progress-bar {
  414. background-color: transparent;
  415. }
  416. #launch_progress[value]::-webkit-progress-value {
  417. background-color: #fff;
  418. }
  419. /* Span which displays information about the status of the launch process. */
  420. #launch_details_text {
  421. font-size: 11px;
  422. text-overflow: ellipsis;
  423. white-space: nowrap;
  424. overflow: hidden;
  425. }