launcher.css 62 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782
  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. @font-face {
  15. font-family: 'Ringbearer';
  16. src: url('../fonts/Ringbearer.ttf');
  17. }
  18. /*******************************************************************************
  19. * *
  20. * Element Styles *
  21. * *
  22. ******************************************************************************/
  23. /* Reset body, html, and div presets. */
  24. body, html, div {
  25. margin: 0px;
  26. padding: 0px;
  27. }
  28. /* Reset p presets. */
  29. p {
  30. -webkit-margin-before: 0em;
  31. -webkit-margin-after: 0em;
  32. }
  33. /* Set default font and color. */
  34. body, button {
  35. font-family: 'Avenir Book';
  36. color: white;
  37. }
  38. /*body {
  39. background: url('./../images/backgrounds/0.jpg') no-repeat center center fixed;
  40. background-size: cover;
  41. }*/
  42. /*******************************************************************************
  43. * *
  44. * Frame Styles (frame.ejs) *
  45. * *
  46. ******************************************************************************/
  47. /* Frame Bar */
  48. #frameBar {
  49. position: relative;
  50. z-index: 100;
  51. display: flex;
  52. flex-direction: column;
  53. transition: background-color 1s ease;
  54. /*background-color: rgba(1, 2, 1, 0.5);*/
  55. -webkit-user-select: none;
  56. }
  57. /* Undraggable region on the top of the frame. */
  58. #frameResizableTop {
  59. height: 2px;
  60. width: 100%;
  61. -webkit-app-region: no-drag;
  62. }
  63. /* Flexbox to wrap the main frame content. */
  64. #frameMain {
  65. display: flex;
  66. height: 20px
  67. }
  68. /* Undraggable region on the left and right of the frame. */
  69. .frameResizableVert {
  70. width: 2px;
  71. -webkit-app-region: no-drag;
  72. }
  73. /* Main frame content for windows. */
  74. #frameContentWin {
  75. display: flex;
  76. justify-content: space-between;
  77. width: 100%;
  78. -webkit-app-region: drag;
  79. }
  80. /* Main frame content for darwin. */
  81. #frameContentDarwin {
  82. display: flex;
  83. justify-content: flex-start;
  84. align-items: center;
  85. width: 100%;
  86. -webkit-app-region: drag;
  87. }
  88. /* Frame logo (windows only). */
  89. #frameImageDock {
  90. width: 100px;
  91. display: flex;
  92. justify-content: center;
  93. align-items: center;
  94. position: relative;
  95. }
  96. #frameImage {
  97. height: 15px;
  98. filter: grayscale(100%);
  99. }
  100. /* Windows frame button dock. */
  101. #frameButtonDockWin {
  102. -webkit-app-region: no-drag !important;
  103. position: relative;
  104. top: -2px;
  105. right: -2px;
  106. height: 22px;
  107. }
  108. #frameButtonDockWin > .frameButton:not(:first-child) {
  109. margin-left: -4px;
  110. }
  111. /* Darwin frame button dock: NaN; */
  112. #frameButtonDockDarwin {
  113. -webkit-app-region: no-drag !important;
  114. position: relative;
  115. top: -1px;
  116. right: -1px;
  117. }
  118. /* Windows Frame Button Styles. */
  119. .frameButton {
  120. background: none;
  121. border: none;
  122. height: 22px;
  123. width: 39px;
  124. cursor: pointer;
  125. }
  126. .frameButton:hover,
  127. .frameButton:focus {
  128. background: rgba(189, 189, 189, 0.43);
  129. }
  130. .frameButton:active {
  131. background: rgba(156, 156, 156, 0.43);
  132. }
  133. .frameButton:focus {
  134. outline: 0px;
  135. }
  136. /* Close button is red. */
  137. #frameButton_close:hover,
  138. #frameButton_close:focus {
  139. background: rgba(255, 53, 53, 0.61) !important;
  140. }
  141. #frameButton_close:active {
  142. background: rgba(235, 0, 0, 0.61) !important;
  143. }
  144. /* Darwin Frame Button Styles. */
  145. .frameButtonDarwin {
  146. height: 12px;
  147. width: 12px;
  148. border-radius: 50%;
  149. border: 0px;
  150. margin-left: 5px;
  151. -webkit-app-region: no-drag !important;
  152. cursor: pointer;
  153. }
  154. .frameButtonDarwin:focus {
  155. outline: 0px;
  156. }
  157. #frameButtonDarwin_close {
  158. background-color: #e74c32;
  159. }
  160. #frameButtonDarwin_close:hover,
  161. #frameButtonDarwin_close:focus {
  162. background-color: #FF9A8A;
  163. }
  164. #frameButtonDarwin_close:active {
  165. background-color: #ff8d7b;
  166. }
  167. #frameButtonDarwin_minimize {
  168. background-color: #fed045;
  169. }
  170. #frameButtonDarwin_minimize:hover,
  171. #frameButtonDarwin_minimize:focus {
  172. background-color: #FFE9A9;
  173. }
  174. #frameButtonDarwin_minimize:active {
  175. background-color: #ffde7b;
  176. }
  177. #frameButtonDarwin_restoredown {
  178. background-color: #96e734;
  179. }
  180. #frameButtonDarwin_restoredown:hover,
  181. #frameButtonDarwin_restoredown:focus {
  182. background-color: #D6FFA6;
  183. }
  184. #frameButtonDarwin_restoredown:active {
  185. background-color: #bfff76;
  186. }
  187. /*******************************************************************************
  188. * *
  189. * Welcome View (welcome.ejs) *
  190. * *
  191. ******************************************************************************/
  192. #welcomeContainer {
  193. position: relative;
  194. display: flex;
  195. justify-content: center;
  196. align-items: center;
  197. height: 100%;
  198. width: 100%;
  199. }
  200. #welcomeContent {
  201. display: flex;
  202. flex-direction: column;
  203. justify-content: center;
  204. align-items: center;
  205. width: 50%;
  206. top: -10%;
  207. position: relative;
  208. }
  209. /*
  210. .cloudDiv {
  211. position: absolute;
  212. height: 100%;
  213. width: 100%;
  214. display: flex;
  215. flex-direction: column;
  216. }
  217. .cloudTop {
  218. height: 50%;
  219. width: 100%;
  220. background-image: url('../images/cloudTrans.png');
  221. animation: clouds1 80s linear infinite;
  222. background-size: cover;
  223. }
  224. .cloudBottom {
  225. height: 50%;
  226. width: 100%;
  227. background-image: url('../images/cloudTrans2.png');
  228. animation: clouds2 70s linear infinite;
  229. background-size: cover;
  230. }
  231. @keyframes clouds1 {
  232. to {
  233. background-position: 200%;
  234. }
  235. }
  236. @keyframes clouds2 {
  237. to {
  238. background-position: 230%;
  239. }
  240. }
  241. */
  242. #welcomeImageSeal {
  243. border-radius: 50%;
  244. border: 2px solid #cad7e1;
  245. background: rgba(1, 2, 1, 0.5);
  246. height: 125px;
  247. width: 125px;
  248. box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);
  249. margin-bottom: 5%;
  250. margin-top: 10%;
  251. }
  252. #welcomeHeader {
  253. font-family: 'Avenir Medium';
  254. text-align: center;
  255. color: white;
  256. margin-bottom: 25px;
  257. letter-spacing: 1px;
  258. font-size: 20px;
  259. text-shadow: white 0px 0px 0px;
  260. }
  261. #welcomeDescription {
  262. text-align: justify;
  263. font-size: 13px;
  264. font-weight: 100;
  265. text-shadow: rgba(255, 255, 255, 0.75) 0px 0px 20px
  266. }
  267. #welcomeDescCTA {
  268. text-align: center;
  269. font-size: 14px;
  270. font-weight: 100;
  271. text-shadow: rgba(255, 255, 255, 0.75) 0px 0px 20px
  272. }
  273. /* Login button styles. */
  274. #welcomeButton {
  275. background: none;
  276. font-weight: bold;
  277. letter-spacing: 2px;
  278. border: none;
  279. padding: 15px 5px;
  280. margin: 10px 0px;
  281. cursor: pointer;
  282. position: relative;
  283. right: -20px;
  284. transition: 0.5s ease;
  285. margin-top: 5%;
  286. margin-bottom: -5%;
  287. }
  288. #welcomeButton:disabled {
  289. color: rgba(255, 255, 255, 0.75);
  290. pointer-events: none;
  291. }
  292. #welcomeButton:hover,
  293. #welcomeButton:focus {
  294. text-shadow: 0px 0px 20px #fff;
  295. outline: none;
  296. }
  297. #welcomeButton:active {
  298. color: #c7c7c7;
  299. text-shadow: 0px 0px 20px #c7c7c7;
  300. }
  301. #welcomeSVG {
  302. -webkit-transform: translate3d(0, 0, 0);
  303. overflow: visible;
  304. transform: rotate(90deg);
  305. margin-left: 20px;
  306. transition: 0.25s ease;
  307. width: 20px;
  308. height: 20px;
  309. }
  310. #welcomeButton:hover #welcomeSVG,
  311. #welcomeButton:focus #welcomeSVG {
  312. -webkit-filter: drop-shadow(0px 0px 2px #fff);
  313. }
  314. #welcomeButton:active #welcomeSVG .arrowLine {
  315. stroke: #c7c7c7;
  316. }
  317. #welcomeButton:active #welcomeSVG {
  318. -webkit-filter: drop-shadow(0px 0px 2px #c7c7c7);
  319. }
  320. #welcomeButton:disabled #welcomeSVG .arrowLine {
  321. stroke: rgba(255, 255, 255, 0.75);
  322. }
  323. #welcomeButtonContent {
  324. display: flex;
  325. align-items: center;
  326. }
  327. /*******************************************************************************
  328. * *
  329. * Login View (login.ejs) *
  330. * *
  331. ******************************************************************************/
  332. /* Styles for dimmer login span. */
  333. .loginSpanDim {
  334. font-size: 12px;
  335. color: #848484;
  336. font-weight: bold;
  337. }
  338. /* Main login container. */
  339. #loginContainer {
  340. position: relative;
  341. display: flex;
  342. justify-content: center;
  343. align-items: center;
  344. height: 100%;
  345. width: 100%;
  346. transition: filter 0.25s ease;
  347. background: rgba(0, 0, 0, 0.50);
  348. }
  349. /* Login cancel button styles. */
  350. #loginCancelContainer {
  351. position: absolute;
  352. top: 5%;
  353. right: 5%;
  354. }
  355. /* Login cancel button styles. */
  356. #loginCancelButton {
  357. background: none;
  358. border: none;
  359. outline: none;
  360. cursor: pointer;
  361. transition: 0.25s ease;
  362. }
  363. #loginCancelButton:hover #loginCancelIcon,
  364. #loginCancelButton:hover #loginCancelText,
  365. #loginCancelButton:focus #loginCancelIcon,
  366. #loginCancelButton:focus #loginCancelText {
  367. text-shadow: 0px 0px 20px white;
  368. }
  369. #loginCancelButton:hover #loginCancelIcon,
  370. #loginCancelButton:focus #loginCancelIcon {
  371. box-shadow: 0px 0px 20px white;
  372. }
  373. #loginCancelButton:active #loginCancelIcon,
  374. #loginCancelButton:active #loginCancelText {
  375. text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.75);
  376. color: rgba(255, 255, 255, 0.75);
  377. border-color: rgba(255, 255, 255, 0.75);
  378. }
  379. #loginCancelButton:active #loginCancelIcon {
  380. box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.75);
  381. }
  382. #loginCancelButton:disabled {
  383. pointer-events: none;
  384. }
  385. #loginCancelButton:disabled #loginCancelIcon,
  386. #loginCancelButton:disabled #loginCancelText {
  387. color: rgba(255, 255, 255, 0.75);
  388. border-color: rgba(255, 255, 255, 0.75);
  389. }
  390. /* The X in a circle icon for the cancel button. */
  391. #loginCancelIcon {
  392. border-radius: 50%;
  393. border: 1px solid white;
  394. box-sizing: border-box;
  395. height: 30px;
  396. width: 30px;
  397. font-size: 19px;
  398. line-height: 30px;
  399. margin: 0 auto;
  400. margin-bottom: 5px;
  401. transition: 0.25s ease;
  402. }
  403. /* Text for the login cancel button. */
  404. #loginCancelText {
  405. font-size: 15px;
  406. transition: 0.25s ease;
  407. }
  408. /* Login content wrapper. */
  409. #loginContent {
  410. display: flex;
  411. justify-content: center;
  412. align-items: center;
  413. height: 100%;
  414. padding: 0px 25px;
  415. }
  416. /* Login form. */
  417. #loginForm {
  418. display: flex;
  419. flex-direction: column;
  420. justify-content: center;
  421. align-items: center;
  422. }
  423. /* Login form anchor styles. */
  424. #loginForm a {
  425. font-size: 12px;
  426. color: #848484;
  427. font-weight: bold;
  428. text-decoration: none;
  429. transition: 0.25s ease;
  430. }
  431. #loginForm a:hover,
  432. #loginForm a:focus {
  433. color: #a2a2a2;
  434. outline: none;
  435. }
  436. #loginForm a:active {
  437. color: #8b8b8b;
  438. }
  439. /* Logo on login form. */
  440. #loginImageSeal {
  441. border-radius: 50%;
  442. border: 2px solid #cad7e1;
  443. background: rgba(1, 2, 1, 0.5);
  444. height: 125px;
  445. width: 125px;
  446. box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);
  447. margin-bottom: 20px;
  448. }
  449. /* Header on login view. */
  450. #loginSubheader {
  451. font-family: 'Avenir Medium';
  452. margin-bottom: 25px;
  453. font-size: 12px;
  454. letter-spacing: 1px;
  455. font-weight: bold;
  456. }
  457. /* Container to organize login field elements. */
  458. .loginFieldContainer {
  459. position: relative;
  460. display: flex;
  461. flex-direction: column;
  462. justify-content: center;
  463. align-items: center;
  464. }
  465. /* SVG icons on the login view. */
  466. .loginSVG {
  467. fill: #fff;
  468. height: 20px;
  469. width: 20px;
  470. }
  471. /* Span which displays errors related to login field content. */
  472. .loginErrorSpan {
  473. font-family: 'Avenir Medium';
  474. font-weight: bold;
  475. font-size: 8px;
  476. color: #ff1b0c;
  477. width: 100%;
  478. text-align: right;
  479. position: absolute;
  480. top: 7px;
  481. opacity: 0;
  482. transition: 0.25s ease;
  483. }
  484. .shake {
  485. animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  486. }
  487. @keyframes shake {
  488. 10%, 90% {
  489. transform: translate3d(-1px, 0, 0);
  490. }
  491. 20%, 80% {
  492. transform: translate3d(2px, 0, 0);
  493. }
  494. 30%, 50%, 70% {
  495. transform: translate3d(-4px, 0, 0);
  496. }
  497. 40%, 60% {
  498. transform: translate3d(4px, 0, 0);
  499. }
  500. }
  501. /* Login text input styles. */
  502. .loginField {
  503. font-family: 'Avenir Book';
  504. background: none;
  505. border-width: 1.5px 0px 0px 0px;
  506. border-style: solid;
  507. width: 250px;
  508. margin-bottom: 20px;
  509. border-color: #fff;
  510. color: rgba(255, 255, 255, 0.75);
  511. font-weight: bold;
  512. text-align: center;
  513. box-sizing: border-box;
  514. padding: 7.5px;
  515. font-size: 10px;
  516. letter-spacing: 1px;
  517. }
  518. .loginField:focus {
  519. outline: none;
  520. }
  521. .loginField:disabled {
  522. color: rgba(255, 255, 255, 0.50);
  523. }
  524. .loginField::-webkit-input-placeholder {
  525. color: rgba(255, 255, 255, 0.75);
  526. font-size: 10px;
  527. letter-spacing: 1px;
  528. text-align: center;
  529. font-weight: bold;
  530. }
  531. .loginField:focus::-webkit-input-placeholder {
  532. color: transparent;
  533. }
  534. /* Add spacing between password field and options bar. */
  535. #labelPassword {
  536. margin-bottom: 13px;
  537. }
  538. /* Container which contains the forgot and remember options. */
  539. #loginOptions {
  540. display: flex;
  541. justify-content: space-between;
  542. width: 100%;
  543. }
  544. /* Remember option text. */
  545. #loginRememberText {
  546. padding-right: 10px;
  547. transition: 0.25s ease;
  548. }
  549. /* Login button styles. */
  550. #loginButton {
  551. background: none;
  552. font-weight: bold;
  553. letter-spacing: 2px;
  554. border: none;
  555. padding: 15px 5px;
  556. margin: 10px 0px;
  557. cursor: pointer;
  558. position: relative;
  559. right: -20px;
  560. transition: 0.5s ease;
  561. }
  562. #loginButton:disabled {
  563. color: rgba(255, 255, 255, 0.75);
  564. pointer-events: none;
  565. }
  566. #loginButton[loading] {
  567. color: #fff;
  568. }
  569. #loginButton:hover,
  570. #loginButton:focus {
  571. text-shadow: 0px 0px 20px #fff;
  572. outline: none;
  573. }
  574. #loginButton:active {
  575. color: #c7c7c7;
  576. text-shadow: 0px 0px 20px #c7c7c7;
  577. }
  578. #loginSVG {
  579. -webkit-transform: translate3d(0, 0, 0);
  580. overflow: visible;
  581. transform: rotate(90deg);
  582. margin-left: 20px;
  583. transition: 0.25s ease;
  584. width: 20px;
  585. height: 20px;
  586. }
  587. #loginButton:hover #loginSVG,
  588. #loginButton:focus #loginSVG {
  589. -webkit-filter: drop-shadow(0px 0px 2px #fff);
  590. }
  591. #loginButton:active #loginSVG .arrowLine {
  592. stroke: #c7c7c7;
  593. }
  594. #loginButton:active #loginSVG {
  595. -webkit-filter: drop-shadow(0px 0px 2px #c7c7c7);
  596. }
  597. #loginButton:disabled #loginSVG .arrowLine {
  598. stroke: rgba(255, 255, 255, 0.75);
  599. }
  600. #loginButtonContent {
  601. display: flex;
  602. align-items: center;
  603. }
  604. #loginButton .circle-loader,
  605. #loginButton[loading] #loginSVG {
  606. display: none;
  607. }
  608. #loginButton[loading] .circle-loader,
  609. #loginButton #loginSVG {
  610. display: initial;
  611. }
  612. .circle-loader {
  613. margin-left: 20px;
  614. border: 2px solid rgba(255, 255, 255, 0.5);
  615. border-left-color: #ffffff;
  616. animation-name: loader-spin;
  617. animation-duration: 1s;
  618. animation-iteration-count: infinite;
  619. animation-timing-function: linear;
  620. position: relative;
  621. display: inline-block;
  622. vertical-align: top;
  623. border-radius: 50%;
  624. width: 16px;
  625. height: 16px;
  626. }
  627. .load-complete {
  628. animation: none;
  629. border-color: #ffffff;
  630. transition: border 500ms ease-out;
  631. }
  632. .checkmark {
  633. display: none;
  634. }
  635. .checkmark.draw:after {
  636. animation-duration: 800ms;
  637. animation-timing-function: ease;
  638. animation-name: checkmark;
  639. transform: scaleX(-1) rotate(135deg);
  640. }
  641. .checkmark:after {
  642. opacity: 1;
  643. height: 8px;
  644. width: 4px;
  645. transform-origin: left top;
  646. border-right: 2px solid #ffffff;
  647. border-top: 2px solid #ffffff;
  648. content: '';
  649. left: 2px;
  650. top: 8px;
  651. position: absolute;
  652. }
  653. @keyframes loader-spin {
  654. 0% {
  655. transform: rotate(0deg);
  656. }
  657. 100% {
  658. transform: rotate(360deg);
  659. }
  660. }
  661. @keyframes checkmark {
  662. 0% {
  663. height: 0;
  664. width: 0;
  665. opacity: 1;
  666. }
  667. 20% {
  668. height: 0;
  669. width: 4px;
  670. opacity: 1;
  671. }
  672. 40% {
  673. height: 8px;
  674. width: 4px;
  675. opacity: 1;
  676. }
  677. 100% {
  678. height: 8px;
  679. width: 4px;
  680. opacity: 1;
  681. }
  682. }
  683. /*.spinningCircle {
  684. margin-left: 20px;
  685. height: 16px;
  686. width: 16px;
  687. border-radius: 50%;
  688. border: 2px solid rgba(255,255,255,0);
  689. border-top-color: #ffffff;
  690. border-right-color: #ffffff;
  691. border-left-color: rgba(255, 255, 255, 0.50);
  692. border-bottom-color: rgba(255, 255, 255, 0.50);
  693. animation: single2 4s infinite linear;
  694. }
  695. @keyframes single2 {
  696. 0% {
  697. transform: rotate(0deg);
  698. }
  699. 100% {
  700. transform: rotate(720deg);
  701. }
  702. }*/
  703. /* Disclaimer container. */
  704. #loginDisclaimer {
  705. display: flex;
  706. flex-direction: column;
  707. justify-content: center;
  708. align-items: center;
  709. }
  710. /* Add spacing between register anchor and disclaimer. */
  711. #loginRegisterSpan {
  712. margin-bottom: 5px;
  713. }
  714. /* Disclaimer text styles. */
  715. .loginDisclaimerText {
  716. font-size: 7px;
  717. color: #848484;
  718. font-weight: bold;
  719. text-align: center;
  720. }
  721. /* * *
  722. * Login View | Custom Checkbox
  723. * * */
  724. /* Checkbox container. */
  725. #checkmarkContainer {
  726. display: flex;
  727. justify-content: flex-end;
  728. align-items: center;
  729. position: relative;
  730. cursor: pointer;
  731. font-size: 22px;
  732. -webkit-user-select: none;
  733. }
  734. /* Hide the default checkbox. */
  735. #checkmarkContainer input {
  736. opacity: 0;
  737. cursor: pointer;
  738. position: absolute;
  739. }
  740. /* Create a custom checkbox. */
  741. .loginCheckmark {
  742. position: relative;
  743. height: 10px;
  744. width: 10px;
  745. border: 1px solid #848484;
  746. border-radius: 1px;
  747. background: none;
  748. transition: 0.25s ease;
  749. }
  750. /* On hover and focus, add a grey border color. */
  751. #checkmarkContainer:hover input ~ *,
  752. #checkmarkContainer input:focus ~ * {
  753. color: #a2a2a2;
  754. border-color: #a2a2a2;
  755. }
  756. /* On keydown, darken the checkbox a bit. */
  757. #checkmarkContainer input:active ~ *:not(#loginRememberText) {
  758. color: #8d8d8d;
  759. border-color: #8d8d8d;
  760. }
  761. #checkmarkContainer[disabled] {
  762. pointer-events: none;
  763. }
  764. /* For checked -> #checkmarkContainer input:checked ~ * */
  765. /* Create the checkmark/indicator (hidden when not checked). */
  766. .loginCheckmark:after {
  767. content: "";
  768. display: none;
  769. }
  770. /* Show the checkmark when checked. */
  771. #checkmarkContainer input:checked ~ .loginCheckmark:after {
  772. display: block;
  773. }
  774. /* Style the checkmark/indicator. */
  775. #checkmarkContainer .loginCheckmark:after {
  776. position: absolute;
  777. left: 3.5px;
  778. top: 0.5px;
  779. width: 2px;
  780. height: 6px;
  781. border: solid #a2a2a2;
  782. border-width: 0 2px 2px 0;
  783. transform: rotate(45deg);
  784. }
  785. /*
  786. #login_filter {
  787. height: calc(100% - 22px);
  788. width: 100%;
  789. z-index: 9000;
  790. position: absolute;
  791. filter: blur(8px) contrast(0.9) brightness(1.0);
  792. background: url('./../images/backgrounds/0.jpg') no-repeat center center fixed;
  793. transform: scale(1.2);
  794. background-size: cover;
  795. }
  796. */
  797. /*******************************************************************************
  798. * *
  799. * Settings View (sttings.ejs) *
  800. * *
  801. ******************************************************************************/
  802. /* Main settings container. */
  803. #settingsContainer {
  804. position: relative;
  805. height: 100%;
  806. display: flex;
  807. background: rgba(0, 0, 0, 0.50);
  808. }
  809. /* Left hand side of the settings UI, for navigation. */
  810. #settingsContainerLeft {
  811. height: 100%;
  812. width: 25%;
  813. padding: 5% 0px;
  814. box-sizing: border-box;
  815. }
  816. /* Settings navigation container. */
  817. #settingsNavContainer {
  818. display: flex;
  819. flex-direction: column;
  820. }
  821. /* Navigation header styles. */
  822. #settingsNavHeader {
  823. display: flex;
  824. justify-content: center;
  825. }
  826. #settingsNavHeaderText {
  827. font-size: 20px;
  828. }
  829. /* Navigation items outer container. */
  830. #settingsNavItemsContainer {
  831. height: 100%;
  832. display: flex;
  833. justify-content: center;
  834. padding-top: 25%;
  835. box-sizing: border-box;
  836. }
  837. /* Navigation items content container. */
  838. #settingsNavItemsContent {
  839. display: flex;
  840. flex-direction: column;
  841. position: relative;
  842. }
  843. /* Navigation item shared styles. */
  844. .settingsNavItem {
  845. background: none;
  846. border: none;
  847. text-align: left;
  848. margin: 5px 0px;
  849. padding: 0px 20px;
  850. color: grey;
  851. cursor: pointer;
  852. outline: none;
  853. transition: 0.25s ease;
  854. }
  855. .settingsNavItem:hover,
  856. .settingsNavItem:focus {
  857. color: #c1c1c1;
  858. text-shadow: 0px 0px 20px #c1c1c1;
  859. }
  860. .settingsNavItem[selected] {
  861. cursor: default;
  862. color: white;
  863. text-shadow: none;
  864. }
  865. /* Div to add some space between nav items. */
  866. .settingsNavSpacer {
  867. height: 25px;
  868. }
  869. /* Content container for the done button. */
  870. #settingsNavContentBottom {
  871. position: absolute;
  872. bottom: 20%;
  873. }
  874. /* Settings navigational divider. */
  875. .settingsNavDivider {
  876. width: 75%;
  877. height: 0.5px;
  878. background: rgba(255, 255, 255, 0.75);
  879. margin-left: auto;
  880. margin-bottom: 25px;
  881. }
  882. /* Settings done button styles. */
  883. #settingsNavDone {
  884. background: none;
  885. border: none;
  886. text-align: left;
  887. margin: 5px 0px;
  888. padding: 0px 20px;
  889. color: white;
  890. cursor: pointer;
  891. outline: none;
  892. transition: 0.25s ease;
  893. }
  894. #settingsNavDone:hover,
  895. #settingsNavDone:focus {
  896. text-shadow: 0px 0px 20px white, 0px 0px 20px white, 0px 0px 20px white;
  897. }
  898. #settingsNavDone:active {
  899. text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.75), 0px 0px 20px rgba(255, 255, 255, 0.75), 0px 0px 20px rgba(255, 255, 255, 0.75);
  900. color: rgba(255, 255, 255, 0.75);
  901. }
  902. #settingsNavDone:disabled {
  903. color: rgba(255, 255, 255, 0.75);
  904. pointer-events: none;
  905. }
  906. /* Right hand side of the settings container, for tabs. */
  907. #settingsContainerRight {
  908. height: 100%;
  909. width: 75%;
  910. padding-top: 5%;
  911. box-sizing: border-box;
  912. }
  913. /* Settings tab shared styles. */
  914. .settingsTab {
  915. width: 100%;
  916. height: 100%;
  917. overflow-y: auto;
  918. }
  919. .settingsTab::-webkit-scrollbar {
  920. width: 2px;
  921. }
  922. .settingsTab::-webkit-scrollbar-track {
  923. display: none;
  924. }
  925. .settingsTab::-webkit-scrollbar-thumb {
  926. border-radius: 10px;
  927. box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.50);
  928. }
  929. /* Tab header shared styles. */
  930. .settingsTabHeader {
  931. display: flex;
  932. flex-direction: column;
  933. margin-bottom: 20px;
  934. }
  935. .settingsTabHeaderText {
  936. font-size: 20px;
  937. font-family: 'Avenir Medium';
  938. }
  939. .settingsTabHeaderDesc {
  940. font-size: 12px;
  941. }
  942. /* Remove spin button from number inputs. */
  943. #settingsContainer input[type=number]::-webkit-inner-spin-button {
  944. -webkit-appearance: none;
  945. }
  946. /* Default styles for text/number inputs. */
  947. #settingsContainer input[type=number],
  948. #settingsContainer input[type=text] {
  949. color: white;
  950. background: rgba(0, 0, 0, 0.25);
  951. border-radius: 3px;
  952. border: 1px solid rgba(126, 126, 126, 0.57);
  953. font-family: 'Avenir Book';
  954. transition: 0.25s ease;
  955. }
  956. #settingsContainer input[type=number]:focus,
  957. #settingsContainer input[type=text]:focus {
  958. outline: none;
  959. border-color: rgba(126, 126, 126, 0.87);
  960. }
  961. #settingsContainer input[type=number][error] {
  962. border-color: rgb(255, 27, 12);
  963. background: rgba(236, 0, 0, 0.25);
  964. color: rgb(255, 27, 12);
  965. }
  966. /* Styles for a generic settings entry. */
  967. .settingsFieldContainer {
  968. display: flex;
  969. align-items: center;
  970. justify-content: space-between;
  971. margin: 20px 0px;
  972. width: 75%;
  973. }
  974. .settingsFieldLeft {
  975. display: flex;
  976. flex-direction: column;
  977. }
  978. .settingsFieldTitle {
  979. font-size: 14px;
  980. font-family: 'Avenir Medium';
  981. color: rgba(255, 255, 255, 0.95);
  982. }
  983. .settingsFieldDesc {
  984. font-size: 12px;
  985. color: rgba(255, 255, 255, .95);
  986. }
  987. .settingsDivider {
  988. height: 1px;
  989. width: 75%;
  990. background: rgba(255, 255, 255, 0.25);
  991. }
  992. /* Toggle Switch */
  993. .toggleSwitch {
  994. position: relative;
  995. display: inline-block;
  996. width: 50px;
  997. height: 25px;
  998. border-radius: 50px;
  999. box-sizing: border-box;
  1000. }
  1001. .toggleSwitch input {
  1002. display:none;
  1003. }
  1004. .toggleSwitchSlider {
  1005. position: absolute;
  1006. cursor: pointer;
  1007. top: 0;
  1008. left: 0;
  1009. right: 0;
  1010. bottom: 0;
  1011. background-color: rgba(255, 255, 255, 0.35);
  1012. transition: .4s;
  1013. border-radius: 50px;
  1014. border: 1px solid rgba(126, 126, 126, 0.57);
  1015. }
  1016. .toggleSwitchSlider:before {
  1017. position: absolute;
  1018. content: "";
  1019. height: 17px;
  1020. width: 21px;
  1021. left: 3px;
  1022. bottom: 3px;
  1023. background-color: white;
  1024. box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.75);
  1025. border-radius: 50px;
  1026. transition: .4s;
  1027. }
  1028. input:checked + .toggleSwitchSlider {
  1029. background-color: rgb(31, 140, 11);
  1030. }
  1031. input:checked + .toggleSwitchSlider:before {
  1032. transform: translateX(21px);
  1033. }
  1034. /* Range Slider styles. */
  1035. .rangeSlider {
  1036. width: 35%;
  1037. height: 5px;
  1038. margin: 15px 0px;
  1039. background: grey;
  1040. border-radius: 3px;
  1041. position: relative;
  1042. }
  1043. .rangeSliderBar {
  1044. position: absolute;
  1045. background: #8be88b;
  1046. width: 50%;
  1047. height: 5px;
  1048. border-radius: 3px 0px 0px 3px;
  1049. }
  1050. .rangeSliderTrack {
  1051. position: absolute;
  1052. top: -7.5px;
  1053. width: 7px;
  1054. height: 20px;
  1055. background: white;
  1056. border-radius: 3px;
  1057. left: 50%;
  1058. cursor: ew-resize;
  1059. }
  1060. /* * *
  1061. * Settings View (Account Tab)
  1062. * * */
  1063. /* Add account button styles. */
  1064. #settingsAddAccount {
  1065. background: rgba(0, 0, 0, 0.25);
  1066. border: 1px solid rgba(126, 126, 126, 0.57);
  1067. border-radius: 3px;
  1068. height: 50px;
  1069. width: 75%;
  1070. text-align: left;
  1071. padding: 0px 50px;
  1072. cursor: pointer;
  1073. outline: none;
  1074. transition: 0.25s ease;
  1075. }
  1076. #settingsAddAccount:hover,
  1077. #settingsAddAccount:focus {
  1078. background: rgba(54, 54, 54, 0.25);
  1079. text-shadow: 0px 0px 20px white;
  1080. }
  1081. /* Settings auth accounts header. */
  1082. #settingsCurrentAccountsHeader {
  1083. margin: 20px 0px;
  1084. }
  1085. /* Auth account list container styles. */
  1086. #settingsCurrentAccounts {
  1087. margin-bottom: 5%;
  1088. }
  1089. #settingsCurrentAccounts > .settingsAuthAccount:not(:last-child) {
  1090. margin-bottom: 10px;
  1091. }
  1092. #settingsCurrentAccounts > .settingsAuthAccount:not(:first-child) {
  1093. margin-top: 10px;
  1094. }
  1095. /* Auth account shared styles. */
  1096. .settingsAuthAccount {
  1097. display: flex;
  1098. width: 75%;
  1099. background: rgba(0, 0, 0, 0.25);
  1100. border-radius: 3px;
  1101. border: 1px solid rgba(126, 126, 126, 0.57);
  1102. }
  1103. /* Left hand side of an auth account element, for the skin image. */
  1104. .settingsAuthAccountLeft {
  1105. padding: 5px 5px 5px 20px;
  1106. }
  1107. /* Image of the auth account's skin. */
  1108. .settingsAuthAccountImage {
  1109. height: 115px;
  1110. }
  1111. /* Right hand side of the auth account, for info + actions. */
  1112. .settingsAuthAccountRight {
  1113. display: flex;
  1114. width: 100%;
  1115. }
  1116. /* Account details container. */
  1117. .settingsAuthAccountDetails {
  1118. display: flex;
  1119. flex-direction: column;
  1120. justify-content: center;
  1121. margin-left: 20px;
  1122. width: 100%;
  1123. }
  1124. .settingsAuthAccountDetails > *:not(:last-child) {
  1125. margin-bottom: 20px;
  1126. }
  1127. /* Account detail element styles. */
  1128. .settingsAuthAccountDetailPane {
  1129. display: flex;
  1130. flex-direction: column;
  1131. }
  1132. .settingsAuthAccountDetailTitle {
  1133. font-size: 12px;
  1134. color: grey;
  1135. font-weight: bold;
  1136. font-family: 'Avenir Medium';
  1137. }
  1138. .settingsAuthAccountDetailValue {
  1139. font-size: 14px;
  1140. }
  1141. /* Account actions container. */
  1142. .settingsAuthAccountActions {
  1143. display: flex;
  1144. flex-direction: column;
  1145. justify-content: space-between;
  1146. align-items: flex-end;
  1147. padding: 10px;
  1148. }
  1149. /* Account select button shared styles. */
  1150. .settingsAuthAccountSelect {
  1151. opacity: 0;
  1152. border: none;
  1153. white-space: nowrap;
  1154. background: none;
  1155. font-family: 'Avenir Medium';
  1156. outline: none;
  1157. transition: 0.25s ease;
  1158. }
  1159. .settingsAuthAccountSelect:hover:not([selected]),
  1160. .settingsAuthAccountSelect:focus:not([selected]) {
  1161. text-shadow: 0px 0px 20px white, 0px 0px 20px white;
  1162. cursor: pointer;
  1163. }
  1164. .settingsAuthAccount:hover .settingsAuthAccountSelect:not([selected]),
  1165. .settingsAuthAccountSelect[selected] {
  1166. opacity: 1;
  1167. }
  1168. .settingsAuthAccountSelect[selected] {
  1169. pointer-events: none;
  1170. }
  1171. /* Account logout button shared styles. */
  1172. .settingsAuthAccountLogOut {
  1173. opacity: 0;
  1174. border: 1px solid rgb(241, 55, 55);
  1175. color: rgb(241, 55, 55);
  1176. background: none;
  1177. font-size: 12px;
  1178. border-radius: 3px;
  1179. font-family: 'Avenir Medium';
  1180. transition: 0.25s ease;
  1181. cursor: pointer;
  1182. outline: none;
  1183. }
  1184. .settingsAuthAccountLogOut:hover,
  1185. .settingsAuthAccountLogOut:focus {
  1186. box-shadow: 0px 0px 20px rgb(241, 55, 55);
  1187. background: rgba(241, 55, 55, 0.25);
  1188. }
  1189. .settingsAuthAccountLogOut:active {
  1190. box-shadow: 0px 0px 20px rgb(185, 47, 47);
  1191. background: rgba(185, 47, 47, 0.25);
  1192. border: 1px solid rgb(185, 47, 47);
  1193. color: rgb(185, 47, 47);
  1194. }
  1195. .settingsAuthAccount:hover .settingsAuthAccountLogOut {
  1196. opacity: 1;
  1197. }
  1198. /* * *
  1199. * Settings View (Minecraft Tab)
  1200. * * */
  1201. /* Game resolution UI elements. */
  1202. #settingsGameResolutionContainer {
  1203. display: flex;
  1204. flex-direction: column;
  1205. margin-bottom: 20px;
  1206. }
  1207. #settingsGameResolutionContent {
  1208. display: flex;
  1209. align-items: center;
  1210. padding-top: 10px;
  1211. }
  1212. #settingsGameResolutionCross {
  1213. color: grey;
  1214. padding: 0px 15px;
  1215. }
  1216. #settingsGameWidth,
  1217. #settingsGameHeight {
  1218. padding: 7.5px 5px;
  1219. width: 75px;
  1220. }
  1221. /*******************************************************************************
  1222. * *
  1223. * Landing View (Structural Styles) *
  1224. * *
  1225. ******************************************************************************/
  1226. /* Main content container. */
  1227. #landingContainer {
  1228. height: 100%;
  1229. position: relative;
  1230. transition: background 2s ease;
  1231. overflow-y: hidden;
  1232. }
  1233. /* Upper content container. */
  1234. #landingContainer > #upper {
  1235. position: relative;
  1236. transition: top 2s ease;
  1237. top: 0px;
  1238. height: 77%;
  1239. display: flex;
  1240. }
  1241. #landingContainer > #upper > #left {
  1242. display: inline-flex;
  1243. width: 15%;
  1244. height: 100%;
  1245. justify-content: flex-end;
  1246. }
  1247. #landingContainer > #upper > #content {
  1248. display: inline-flex;
  1249. width: 70%;
  1250. height: 100%;
  1251. }
  1252. #landingContainer > #upper > #right {
  1253. display: inline-flex;
  1254. width: 15%;
  1255. height: 100%;
  1256. }
  1257. /* Lower content container. */
  1258. #landingContainer > #lower {
  1259. height: 23%;
  1260. display: flex;
  1261. background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  1262. }
  1263. #landingContainer > #lower > #left {
  1264. position: relative;
  1265. transition: top 2s ease;
  1266. top: 0px;
  1267. height: 100%;
  1268. width: 33%;
  1269. display: inline-flex;
  1270. justify-content: center;
  1271. }
  1272. #landingContainer > #lower > #left #content {
  1273. position: relative;
  1274. top: 25px;
  1275. display: inline-flex;
  1276. line-height: 24px;
  1277. left: 50px;
  1278. }
  1279. #landingContainer > #lower > #center {
  1280. position: relative;
  1281. transition: top 2s ease;
  1282. top: 0px;
  1283. height: 100%;
  1284. width: 34%;
  1285. display: inline-flex;
  1286. justify-content: center;
  1287. }
  1288. #landingContainer > #lower > #center #content {
  1289. position: relative;
  1290. z-index: 500;
  1291. transition: top 2s ease;
  1292. top: 10px;
  1293. }
  1294. #landingContainer > #lower > #right {
  1295. position: relative;
  1296. transition: top 2s ease;
  1297. top: 0px;
  1298. height: 100%;
  1299. width: 33%;
  1300. display: inline-flex;
  1301. }
  1302. /*******************************************************************************
  1303. * *
  1304. * Landing View (News Styles) *
  1305. * *
  1306. ******************************************************************************/
  1307. /* Main container. */
  1308. #newsContainer {
  1309. position: absolute;
  1310. top: 100%;
  1311. height: 100%;
  1312. width: 100%;
  1313. transition: top 2s ease;
  1314. display: flex;
  1315. align-items: flex-end;
  1316. justify-content: center;
  1317. }
  1318. /* News content container. */
  1319. #newsContent {
  1320. height: 82vh;
  1321. width: 82vw;
  1322. display: flex;
  1323. }
  1324. /* News article status container (left). */
  1325. #newsStatusContainer {
  1326. width: 25%;
  1327. height: calc(100% - 30px);
  1328. padding: 15px;
  1329. display: flex;
  1330. flex-direction: column;
  1331. justify-content: space-between;
  1332. }
  1333. /* News status content. */
  1334. #newsStatusContent {
  1335. display: flex;
  1336. flex-direction: column;
  1337. }
  1338. /* News article title styles. */
  1339. #newsArticleTitle {
  1340. font-size: 20px;
  1341. font-weight: bold;
  1342. font-family: 'Avenir Medium';
  1343. }
  1344. #newsArticleTitle {
  1345. color: white;
  1346. text-decoration: none;
  1347. transition: 0.25s ease;
  1348. outline: none;
  1349. }
  1350. #newsArticleTitle:hover,
  1351. #newsArticleTitle:focus {
  1352. text-shadow: 0px 0px 20px white;
  1353. }
  1354. #newsArticleTitle:active {
  1355. color: #c7c7c7;
  1356. text-shadow: 0px 0px 20px #c7c7c7;
  1357. }
  1358. /* News meta container. */
  1359. #newsMetaContainer {
  1360. display: flex;
  1361. flex-direction: column;
  1362. }
  1363. /* Date and author shared styles. */
  1364. #newsArticleDate,
  1365. #newsArticleAuthor {
  1366. display: inline-block;
  1367. font-size: 10px;
  1368. padding: 0px 5px;
  1369. font-weight: bold;
  1370. border-radius: 2px;
  1371. }
  1372. /* Date styles. */
  1373. #newsArticleDate {
  1374. background: white;
  1375. color: black;
  1376. margin-top: 5px;
  1377. }
  1378. /* Author styles. */
  1379. #newsArticleAuthor {
  1380. background: #a02d2a;
  1381. }
  1382. /* News article comments styles. */
  1383. #newsArticleComments {
  1384. margin-top: 5px;
  1385. display: inline-block;
  1386. font-size: 10px;
  1387. color: #ffffff;
  1388. text-decoration: none;
  1389. transition: 0.25s ease;
  1390. outline: none;
  1391. }
  1392. #newsArticleComments:focus,
  1393. #newsArticleComments:hover {
  1394. color: #e0e0e0;
  1395. }
  1396. #newsArticleComments:active {
  1397. color: #c7c7c7;
  1398. }
  1399. /* Article content container (right). */
  1400. #newsArticleContainer {
  1401. width: 75%;
  1402. height: 100%;
  1403. }
  1404. /* Article content styles. */
  1405. #newsArticleContentScrollable {
  1406. font-size: 12px;
  1407. max-width: 80%;
  1408. margin: 25px 35px 0px 25px;
  1409. overflow-y: scroll;
  1410. height: calc(100% - 25px);
  1411. padding: 0px 15px 0px 15px;
  1412. }
  1413. #newsArticleContentScrollable img {
  1414. max-width: 95%;
  1415. display: block;
  1416. margin: 0 auto;
  1417. }
  1418. #newsArticleContentScrollable a {
  1419. color: rgba(202, 202, 202, 0.75);
  1420. transition: 0.25s ease;
  1421. outline: none;
  1422. }
  1423. #newsArticleContentScrollable a:hover,
  1424. #newsArticleContentScrollable a:focus {
  1425. color: rgba(255, 255, 255, 0.75);
  1426. }
  1427. #newsArticleContentScrollable a:active {
  1428. color: rgba(165, 165, 165, 0.75);
  1429. }
  1430. #newsArticleContentScrollable::-webkit-scrollbar {
  1431. width: 2px;
  1432. }
  1433. #newsArticleContentScrollable::-webkit-scrollbar-track {
  1434. display: none;
  1435. }
  1436. #newsArticleContentScrollable::-webkit-scrollbar-thumb {
  1437. border-radius: 10px;
  1438. box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.50);
  1439. }
  1440. /* Div to add spacing at the end of a news article. */
  1441. .newsArticleSpacer {
  1442. height: 30px;
  1443. }
  1444. /* News navigation container. */
  1445. #newsNavigationContainer {
  1446. display: flex;
  1447. justify-content: center;
  1448. align-items: center;
  1449. margin-bottom: 10px;
  1450. }
  1451. /* Navigation status span. */
  1452. #newsNavigationStatus {
  1453. font-size: 12px;
  1454. margin: 0px 15px;
  1455. }
  1456. /* Left and right navigation button styles. */
  1457. #newsNavigateLeft,
  1458. #newsNavigateRight {
  1459. background: none;
  1460. border: none;
  1461. outline: none;
  1462. height: 20px;
  1463. cursor: pointer;
  1464. }
  1465. #newsNavigateLeft:hover #newsNavigationLeftSVG,
  1466. #newsNavigateLeft:focus #newsNavigationLeftSVG,
  1467. #newsNavigateRight:hover #newsNavigationRightSVG,
  1468. #newsNavigateRight:focus #newsNavigationRightSVG {
  1469. -webkit-filter: drop-shadow(0px 0px 2px #fff);
  1470. }
  1471. #newsNavigateLeft:active #newsNavigationLeftSVG .arrowLine,
  1472. #newsNavigateRight:active #newsNavigationRightSVG .arrowLine {
  1473. stroke: #c7c7c7;
  1474. }
  1475. #newsNavigateLeft:active #newsNavigationLeftSVG,
  1476. #newsNavigateRight:active #newsNavigationRightSVG {
  1477. -webkit-filter: drop-shadow(0px 0px 2px #c7c7c7);
  1478. }
  1479. #newsNavigateLeft:disabled #newsNavigationLeftSVG .arrowLine,
  1480. #newsNavigateRight:disabled #newsNavigationRightSVG .arrowLine {
  1481. stroke: rgba(255, 255, 255, 0.75);
  1482. }
  1483. #newsNavigationLeftSVG {
  1484. transform: rotate(-90deg);
  1485. width: 15px;
  1486. }
  1487. #newsNavigationRightSVG {
  1488. transform: rotate(90deg);
  1489. width: 15px;
  1490. }
  1491. /* News error (message) container. */
  1492. #newsErrorContainer {
  1493. height: 100%;
  1494. display: flex;
  1495. align-items: center;
  1496. flex-direction: column;
  1497. justify-content: center;
  1498. }
  1499. #newsErrorFailed {
  1500. display: flex;
  1501. align-items: center;
  1502. flex-direction: column;
  1503. justify-content: center;
  1504. }
  1505. /* News error content (message). */
  1506. .newsErrorContent {
  1507. font-size: 20px;
  1508. }
  1509. #newsErrorLoading {
  1510. display: flex;
  1511. width: 168.92px;
  1512. }
  1513. #nELoadSpan {
  1514. white-space: pre;
  1515. }
  1516. /* News error retry button styles. */
  1517. #newsErrorRetry {
  1518. font-size: 12px;
  1519. font-weight: bold;
  1520. cursor: pointer;
  1521. background: none;
  1522. border: none;
  1523. outline: none;
  1524. transition: 0.25s ease;
  1525. }
  1526. #newsErrorRetry:focus,
  1527. #newsErrorRetry:hover {
  1528. text-shadow: 0px 0px 20px white;
  1529. }
  1530. #newsErrorRetry:active {
  1531. color: #c7c7c7;
  1532. text-shadow: 0px 0px 20px #c7c7c7;
  1533. }
  1534. /*******************************************************************************
  1535. * *
  1536. * Landing View (Top Styles) *
  1537. * *
  1538. ******************************************************************************/
  1539. /* * *
  1540. * Landing View (Top Styles) | Left Content
  1541. * * */
  1542. /* Logo image. */
  1543. #image_seal {
  1544. height: 70px;
  1545. width: auto;
  1546. position: relative;
  1547. border: 2px solid white;
  1548. box-sizing: border-box;
  1549. border-radius: 50%;
  1550. }
  1551. /* Logo container styles. */
  1552. #image_seal_container {
  1553. position: relative;
  1554. height: 70px;
  1555. width: 70px;
  1556. border-radius: 50%;
  1557. margin-top: 50px;
  1558. }
  1559. /* Logo container styles w/ update. */
  1560. #image_seal_container[update]{
  1561. cursor: pointer
  1562. }
  1563. #image_seal_container[update]:before,
  1564. #image_seal_container[update]:after {
  1565. cursor: pointer;
  1566. position: absolute;
  1567. content: '';
  1568. height: 100%;
  1569. width: 100%;
  1570. top: 0%;
  1571. left: 0%;
  1572. border-radius: 50%;
  1573. box-shadow: 0 0 15px #43c628;
  1574. animation: glow-grow 4s ease-out infinite;
  1575. background: rgba(0, 0, 0, 0.15);
  1576. }
  1577. #image_seal_container[update]:before {
  1578. animation-delay: 2s;
  1579. }
  1580. /* Update available tooltip styles. */
  1581. #updateAvailableTooltip {
  1582. cursor: pointer;
  1583. visibility: hidden;
  1584. opacity: 0;
  1585. width: 100px;
  1586. height: 15px;
  1587. background-color: rgb(0, 0, 0);
  1588. color: #fff;
  1589. text-align: center;
  1590. border-radius: 4px;
  1591. padding: 2px;
  1592. position: absolute;
  1593. z-index: 1;
  1594. top: 115%;
  1595. left: -17.5px;
  1596. font-family: 'Avenir Medium';
  1597. font-size: 12px;
  1598. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  1599. }
  1600. #updateAvailableTooltip::after {
  1601. content: " ";
  1602. position: absolute;
  1603. left: 50%;
  1604. bottom: 100%;
  1605. margin-left: -5px;
  1606. border-width: 5px;
  1607. border-style: solid;
  1608. border-color: transparent transparent rgb(0, 0, 0) transparent;
  1609. }
  1610. #image_seal_container[update]:hover #updateAvailableTooltip {
  1611. visibility: visible;
  1612. opacity: 1;
  1613. transition-delay: 0s;
  1614. }
  1615. /* Update available animation. */
  1616. @keyframes glow-grow {
  1617. 0% {
  1618. opacity: 0;
  1619. transform: scale(1);
  1620. }
  1621. 80% {
  1622. opacity: 1;
  1623. }
  1624. 100% {
  1625. transform: scale(1.5);
  1626. opacity: 0;
  1627. }
  1628. }
  1629. /* * *
  1630. * Landing View (Bottom Styles) | Right Content
  1631. * * */
  1632. /* Wrapper container for top, right content. */
  1633. #rightContainer {
  1634. display: flex;
  1635. flex-direction: column;
  1636. position: relative;
  1637. top: 50px;
  1638. align-items: flex-start;
  1639. height: calc(100% - 50px);
  1640. }
  1641. /* Right hand user content container. */
  1642. #user_content {
  1643. display: flex;
  1644. align-items: center;
  1645. justify-content: center;
  1646. box-sizing: border-box;
  1647. position: relative;
  1648. }
  1649. /* User profile avatar container. */
  1650. #avatarContainer {
  1651. border-radius: 50%;
  1652. border: 2px solid #cad7e1;
  1653. box-sizing: border-box;
  1654. background: rgba(1, 2, 1, 0.5);
  1655. height: 70px;
  1656. width: 70px;
  1657. box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);
  1658. overflow: hidden;
  1659. position: relative;
  1660. background-image: url('https://cdn.discordapp.com/avatars/169197209630277642/6650b5a50e1cb3d00a79b9b88b9a0cd4.png');
  1661. background-size: contain;
  1662. }
  1663. /* Avatar edit overlay. */
  1664. #avatarOverlay {
  1665. opacity: 0;
  1666. position: absolute;
  1667. z-index: 1;
  1668. display: flex;
  1669. justify-content: center;
  1670. align-items: center;
  1671. transition: 0.25s ease;
  1672. font-weight: bold;
  1673. letter-spacing: 2px;
  1674. background: linear-gradient(65deg, rgba(0, 0, 0, 0.4), rgba(136, 77, 77, 0.4) 60%);
  1675. -webkit-user-select: none;
  1676. cursor: pointer;
  1677. width: 100%;
  1678. height: 100%;
  1679. border-radius: 50%;
  1680. }
  1681. #avatarOverlay:hover {
  1682. opacity: 1;
  1683. }
  1684. /* User profile name text. */
  1685. #user_text {
  1686. font-size: 12px;
  1687. min-width: 135px;
  1688. font-weight: 900;
  1689. letter-spacing: 1px;
  1690. text-shadow: 0px 0px 20px black;
  1691. position: absolute;
  1692. right: 95px;
  1693. text-align: right;
  1694. }
  1695. /* Social media icon content container. */
  1696. #mediaContent {
  1697. position: relative;
  1698. display: flex;
  1699. flex-direction: column;
  1700. margin-top: 25px;
  1701. height: calc(100% - 95px);
  1702. width: 70px;
  1703. align-items: center;
  1704. }
  1705. /* Social Media Icon division containers. */
  1706. #internalMedia, #externalMedia {
  1707. display: flex;
  1708. flex-direction: column;
  1709. }
  1710. /* Container object which wraps an icon to ensure fluid transitions. */
  1711. .mediaContainer {
  1712. display: flex;
  1713. justify-content: center;
  1714. align-items: center;
  1715. height: 27px;
  1716. }
  1717. /* Divider bar between the external and internal icons. */
  1718. .mediaDivider {
  1719. height: 1px;
  1720. width: 14px;
  1721. background: rgb(255, 255, 255);
  1722. margin: 10px 0px;
  1723. }
  1724. /* Social media icon shared styles. */
  1725. .mediaSVG {
  1726. fill: #ffffff;
  1727. height: 12px;
  1728. transition: 0.25s ease;
  1729. cursor: pointer;
  1730. height: 12px;
  1731. width: 25px;
  1732. }
  1733. .mediaSVG:hover,
  1734. .mediaURL:focus .mediaSVG,
  1735. .mediaSVG:active {
  1736. height: 20px;
  1737. }
  1738. /* Social media URL shared styles. */
  1739. .mediaURL {
  1740. outline: none;
  1741. }
  1742. /* Internal media button shared styles. */
  1743. .mediaButton {
  1744. background: none;
  1745. border: none;
  1746. padding: 0px;
  1747. display: flex;
  1748. align-items: center;
  1749. outline: none;
  1750. }
  1751. #settingsMediaContainer {
  1752. position: relative;
  1753. }
  1754. /* Settings icon colors. */
  1755. #settingsSVG {
  1756. stroke: #ffffff;
  1757. height: 15px;
  1758. }
  1759. .mediaButton:hover #settingsSVG,
  1760. .mediaButton:focus #settingsSVG,
  1761. .mediaButton:active #settingsSVG {
  1762. height: 23px;
  1763. }
  1764. /* Settings tooltip styles. */
  1765. #settingsTooltip {
  1766. visibility: hidden;
  1767. opacity: 0;
  1768. width: 75px;
  1769. height: 20px;
  1770. background-color: rgba(0, 0, 0, 0.75);
  1771. text-align: center;
  1772. border-radius: 4px;
  1773. position: absolute;
  1774. z-index: 1;
  1775. right: 130%;
  1776. font-size: 12px;
  1777. line-height: 20px;
  1778. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  1779. }
  1780. #settingsTooltip::after {
  1781. content: " ";
  1782. position: absolute;
  1783. top: 50%;
  1784. left: 100%;
  1785. margin-top: -5px;
  1786. border-width: 5px;
  1787. border-style: solid;
  1788. border-color: transparent transparent transparent rgba(0, 0, 0, 0.75);
  1789. }
  1790. .mediaButton:hover #settingsTooltip,
  1791. .mediaButton:focus #settingsTooltip,
  1792. .mediaButton:active #settingsTooltip {
  1793. visibility: visible;
  1794. opacity: 1;
  1795. transition-delay:0s;
  1796. }
  1797. /* Twitter icon colors. */
  1798. #twitterSVG:hover,
  1799. #twitterURL:focus #twitterSVG {
  1800. fill: #1da1f2;
  1801. }
  1802. #twitterSVG:active {
  1803. fill: #1b8dd4;
  1804. }
  1805. /* Instagram icon colors. */
  1806. #instagramSVG:hover,
  1807. #instagramURL:focus #instagramSVG {
  1808. fill: url('#instaFill')
  1809. /*fill: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); */
  1810. }
  1811. #instagramSVG:active {
  1812. fill: url('#instaFill')
  1813. }
  1814. /* Youtube icon colors. */
  1815. #youtubeSVG:hover,
  1816. #youtubeURL:focus #youtubeSVG {
  1817. fill: #f00;
  1818. }
  1819. #youtubeSVG:active {
  1820. fill: #ea0202;
  1821. }
  1822. /* Discord icon colors. */
  1823. #discordSVG:hover,
  1824. #discordURL:focus #discordSVG {
  1825. fill: #7288d9;
  1826. }
  1827. #discordSVG:active {
  1828. fill: #657ac4;
  1829. }
  1830. /*******************************************************************************
  1831. * *
  1832. * Landing View (Bottom Styles) *
  1833. * *
  1834. ******************************************************************************/
  1835. /* Style for a general label on the bottom of the landing view. */
  1836. .bot_label {
  1837. font-size: 9px;
  1838. letter-spacing: 1px;
  1839. font-weight: bold;
  1840. text-shadow: 0px 0px 0px #bebcbb;
  1841. }
  1842. /* Divider used on the bottom of the landing view. */
  1843. .bot_divider {
  1844. height: 25px;
  1845. width: 2px;
  1846. background: rgba(107, 105, 105, 0.7);
  1847. margin-left: 20px;
  1848. margin-right: 20px;
  1849. }
  1850. /* * *
  1851. * Landing View (Bottom Styles) | Left Content
  1852. * * */
  1853. /* Maintains maximum width on the status bar. */
  1854. #server_status_wrapper {
  1855. display: inline-flex;
  1856. width: 75px;
  1857. }
  1858. /* Span which displays the player count of the selected server. */
  1859. #player_count {
  1860. color: #949494;
  1861. font-size: 8px;
  1862. font-weight: 900;
  1863. text-shadow: 0px 0px 20px #949494;
  1864. margin-left: 10px;
  1865. }
  1866. /* Wrapper container for the mojang status bar. */
  1867. #mojangStatusWrapper {
  1868. position: relative;
  1869. display: flex;
  1870. cursor: pointer;
  1871. }
  1872. /* Icon which displays the status of the mojang services. */
  1873. #mojang_status_icon {
  1874. font-size: 30px;
  1875. color: #848484;
  1876. margin-left: 15px;
  1877. font-family: 'sans-serif';
  1878. }
  1879. /* Tooltip which displays more details about the mojang statuses. */
  1880. #mojangStatusTooltip {
  1881. position: absolute;
  1882. visibility: hidden;
  1883. opacity: 0;
  1884. width: 145px;
  1885. min-height: 150px;
  1886. background-color: rgba(0, 0, 0, 0.75);
  1887. color: #fff;
  1888. border-radius: 4px;
  1889. padding: 5px 10px;
  1890. z-index: 1;
  1891. font-family: 'Avenir Medium';
  1892. font-size: 12px;
  1893. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  1894. bottom: calc(100% + 15px);
  1895. transform: translateX(-50%);
  1896. margin-left: 50%;
  1897. box-shadow: 0px 0px 20px rgb(0, 0, 0);
  1898. cursor: default;
  1899. }
  1900. #mojangStatusTooltip:after {
  1901. content: " ";
  1902. position: absolute;
  1903. left: 50%;
  1904. top: 100%;
  1905. margin-left: -5px;
  1906. border-width: 5px;
  1907. border-style: solid;
  1908. border-color: rgba(0, 0, 0, 0.75) transparent transparent transparent;
  1909. }
  1910. #mojangStatusWrapper:hover #mojangStatusTooltip {
  1911. visibility: visible;
  1912. opacity: 1;
  1913. transition-delay: 0s;
  1914. }
  1915. /* Tooltip title for the mojang statuses. */
  1916. #mojangStatusTooltipTitle {
  1917. width: 100%;
  1918. text-align: center;
  1919. margin-bottom: 5px;
  1920. letter-spacing: 1px;
  1921. }
  1922. /* Wrapper container for the non essential services title. */
  1923. #mojangStatusNEContainer {
  1924. display: flex;
  1925. align-items: center;
  1926. margin: 10px 0px;
  1927. }
  1928. /* White bar which surrounds the non essential service title. */
  1929. .mojangStatusNEBar {
  1930. height: 1px;
  1931. width: 100%;
  1932. background: white;
  1933. }
  1934. /* Non essential service title text. */
  1935. #mojangStatusNETitle {
  1936. font-size: 10px;
  1937. padding: 0px 3px;
  1938. text-align: center;
  1939. letter-spacing: 1px;
  1940. }
  1941. /* Wrapper container for mojang service information. */
  1942. .mojangStatusContainer {
  1943. display: flex;
  1944. }
  1945. /* Displays the name of the mojang service. */
  1946. .mojangStatusName {
  1947. width: 100%;
  1948. font-size: 10px;
  1949. letter-spacing: 1px;
  1950. line-height: 12px;
  1951. padding: 6px 0px;
  1952. }
  1953. /* Displays the status of the mojang service. */
  1954. .mojangStatusIcon {
  1955. margin-right: 10px;
  1956. font-size: 18.5px;
  1957. color: #848484;
  1958. }
  1959. /* * *
  1960. * Landing View (Bottom Styles) | Center Content
  1961. * * */
  1962. /* Button which opens the news view. */
  1963. #newsButton {
  1964. background: none;
  1965. border: none;
  1966. cursor: pointer;
  1967. outline: none;
  1968. }
  1969. #newsButton:hover #newsButtonText,
  1970. #newsButton:focus #newsButtonText {
  1971. text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff;
  1972. }
  1973. #newsButton:active {
  1974. color: #c7c7c7;
  1975. text-shadow: 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7;
  1976. }
  1977. #newsButton:hover #newsButtonSVG,
  1978. #newsButton:focus #newsButtonSVG {
  1979. -webkit-filter: drop-shadow(0px 0px 2px #fff);
  1980. }
  1981. #newsButton:active #newsButtonSVG .arrowLine {
  1982. stroke: #c7c7c7;
  1983. }
  1984. #newsButton:active #newsButtonSVG {
  1985. -webkit-filter: drop-shadow(0px 0px 2px #c7c7c7);
  1986. }
  1987. #newsButton:disabled #newsButtonSVG .arrowLine {
  1988. stroke: rgba(255, 255, 255, 0.75);
  1989. }
  1990. /* Icon which indicates there is new news. */
  1991. #newsButtonAlert {
  1992. width: 5px;
  1993. height: 5px;
  1994. position: absolute;
  1995. border-radius: 50%;
  1996. background: red;
  1997. right: -1px;
  1998. top: 50%;
  1999. }
  2000. /* Arrow image which floats above the news button. */
  2001. #newsButtonSVG {
  2002. height: 11px;
  2003. margin-left: -2px;
  2004. transition: 0.25s ease;
  2005. }
  2006. /* Span which contains the news button text. */
  2007. #newsButtonText {
  2008. color: white;
  2009. font-weight: 900;
  2010. letter-spacing: 2px;
  2011. text-shadow: 0px 0px 0px #bebcbb;
  2012. font-size: 11px;
  2013. line-height: 30px;
  2014. display: flex;
  2015. transition: 0.25s ease;
  2016. }
  2017. /* * *
  2018. * Landing View (Bottom Styles) | Right Content
  2019. * * */
  2020. /* Main launch content container. */
  2021. #landingContainer > #lower > #right #launch_content {
  2022. position: relative;
  2023. top: 25px;
  2024. display: inline-flex;
  2025. }
  2026. /* The launch button. */
  2027. #launch_button {
  2028. background: none;
  2029. border: none;
  2030. cursor: pointer;
  2031. font-weight: 900;
  2032. letter-spacing: 2px;
  2033. text-shadow: 0px 0px 0px #bebcbb;
  2034. font-size: 20px;
  2035. padding: 0px;
  2036. transition: 0.25s ease;
  2037. outline: none;
  2038. }
  2039. #launch_button:hover,
  2040. #launch_button:focus {
  2041. text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff;
  2042. }
  2043. #launch_button:active {
  2044. color: #c7c7c7;
  2045. text-shadow: 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7;
  2046. }
  2047. #launch_button:disabled {
  2048. color: #c7c7c7;
  2049. cursor: default;
  2050. pointer-events: none;
  2051. }
  2052. /* Launch details main container, hidden until launch processing begins. */
  2053. #launch_details {
  2054. position: relative;
  2055. top: 25px;
  2056. display: none;
  2057. }
  2058. /* Left side of launch details container, displays percentage and a divider. */
  2059. #launch_details_left {
  2060. display: flex;
  2061. }
  2062. /* Span which displays percentage complete. */
  2063. #launch_progress_label {
  2064. font-weight: 900;
  2065. letter-spacing: 1px;
  2066. text-shadow: 0px 0px 0px #bebcbb;
  2067. font-size: 20px;
  2068. min-width: 53.21px;
  2069. max-width: 53.21px;
  2070. text-align: right;
  2071. }
  2072. /* Right side of launch details container, displays progress bar and details. */
  2073. #launch_details_right {
  2074. display: flex;
  2075. flex-direction: column;
  2076. justify-content: center;
  2077. }
  2078. /* Button which opens the server selection view. */
  2079. #server_selection_button {
  2080. background: none;
  2081. border: none;
  2082. outline: none;
  2083. cursor: pointer;
  2084. line-height: 24px;
  2085. padding: 0px;
  2086. transition: 0.25s ease;
  2087. }
  2088. #server_selection_button:hover,
  2089. #server_selection_button:focus {
  2090. text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff, 0px 0px 20px #fff;
  2091. }
  2092. #server_selection_button:active {
  2093. color: #c7c7c7;
  2094. text-shadow: 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7;
  2095. }
  2096. /* Progress bar styles. */
  2097. #launch_progress[value] {
  2098. height: 3px;
  2099. width: 265px;
  2100. -webkit-appearance: none;
  2101. }
  2102. #launch_progress[value]::-webkit-progress-bar {
  2103. background-color: transparent;
  2104. }
  2105. #launch_progress[value]::-webkit-progress-value {
  2106. background-color: #fff;
  2107. }
  2108. /* Span which displays information about the status of the launch process. */
  2109. #launch_details_text {
  2110. font-size: 11px;
  2111. text-overflow: ellipsis;
  2112. white-space: nowrap;
  2113. overflow: hidden;
  2114. }
  2115. /*******************************************************************************
  2116. * *
  2117. * Overlay View (overlay.ejs) *
  2118. * *
  2119. ******************************************************************************/
  2120. /* * *
  2121. * Overlay View (Main Content)
  2122. * * */
  2123. /* Overlay container, placed over the main div. */
  2124. #overlayContainer {
  2125. position: absolute;
  2126. z-index: 500;
  2127. top: 22px;
  2128. display: flex;
  2129. align-items: center;
  2130. justify-content: center;
  2131. width: 100%;
  2132. height: calc(100% - 22px);
  2133. background: rgba(0, 0, 0, 0.50);
  2134. }
  2135. /* Main overlay content. */
  2136. #overlayContent {
  2137. position: relative;
  2138. display: flex;
  2139. flex-direction: column;
  2140. align-items: center;
  2141. /*justify-content: space-between;*/
  2142. width: 300px;
  2143. /*height: 35%;*/
  2144. box-sizing: border-box;
  2145. padding: 15px 0px;
  2146. /* background-color: #424242; */
  2147. text-align: center;
  2148. }
  2149. /* Main overlay content anchor styles. */
  2150. #overlayContent a,
  2151. #overlayDismiss {
  2152. color: rgba(202, 202, 202, 0.75);
  2153. transition: 0.25s ease;
  2154. }
  2155. #overlayContent a:hover,
  2156. #overlayContent a:focus,
  2157. #overlayDismiss:focus {
  2158. color: rgba(255, 255, 255, 0.75);
  2159. }
  2160. #overlayContent a:active,
  2161. #overlayDismiss:active {
  2162. color: rgba(165, 165, 165, 0.75);
  2163. }
  2164. /* Add spacing between overlay content elements. */
  2165. #overlayContent > *:first-child {
  2166. margin-top: 0px !important;
  2167. }
  2168. #overlayContent > *:last-child {
  2169. margin-bottom: 0px !important;
  2170. }
  2171. #overlayContent > * {
  2172. margin: 8px 0px;
  2173. }
  2174. /* Overlay title styles. */
  2175. #overlayTitle {
  2176. font-family: 'Avenir Medium';
  2177. font-size: 20px;
  2178. font-weight: bold;
  2179. letter-spacing: 1px;
  2180. }
  2181. /* Overlay description styles. */
  2182. #overlayDesc {
  2183. font-size: 12px;
  2184. font-weight: bold;
  2185. }
  2186. /* Div which contains action buttons. */
  2187. #overlayActionContainer {
  2188. display: flex;
  2189. flex-direction: column;
  2190. justify-content: center;
  2191. }
  2192. /* Overlay acknowledge button styles. */
  2193. #overlayAcknowledge {
  2194. background: none;
  2195. border: 1px solid #ffffff;
  2196. color: white;
  2197. font-family: 'Avenir Medium';
  2198. font-weight: bold;
  2199. border-radius: 2px;
  2200. padding: 0px 8.1px;
  2201. cursor: pointer;
  2202. transition: 0.25s ease;
  2203. }
  2204. #overlayAcknowledge:hover,
  2205. #overlayAcknowledge:focus {
  2206. box-shadow: 0px 0px 10px 0px #fff;
  2207. outline: none;
  2208. }
  2209. #overlayAcknowledge:active {
  2210. border-color: rgba(255, 255, 255, 0.75);
  2211. color: rgba(255, 255, 255, 0.75);
  2212. }
  2213. /* Overlay dismiss option styles. */
  2214. #overlayDismiss {
  2215. font-weight: bold;
  2216. font-size: 10px;
  2217. text-decoration: none;
  2218. padding-top: 2.5px;
  2219. background: none;
  2220. border: none;
  2221. outline: none;
  2222. cursor: pointer;
  2223. }
  2224. #overlayDismiss:hover {
  2225. color: rgba(255, 255, 255, 0.75);
  2226. }
  2227. #overlayDismiss:active {
  2228. color: rgba(165, 165, 165, 0.75);
  2229. }
  2230. /* * *
  2231. * Overlay View (Server + Account Selection Content)
  2232. * * */
  2233. /* Server selection content container. */
  2234. #serverSelectContent,
  2235. #accountSelectContent {
  2236. display: flex;
  2237. flex-direction: column;
  2238. justify-content: center;
  2239. align-items: center;
  2240. height: 75%;
  2241. }
  2242. /* Server selection header. */
  2243. #serverSelectHeader,
  2244. #accountSelectHeader {
  2245. font-family: 'Avenir Medium';
  2246. font-size: 20px;
  2247. font-weight: bold;
  2248. color: #fff;
  2249. margin-bottom: 25px;
  2250. }
  2251. /* Wrapper div for the list of available servers. */
  2252. #serverSelectList,
  2253. #accountSelectList {
  2254. display: flex;
  2255. flex-direction: column;
  2256. align-items: center;
  2257. justify-content: center;
  2258. max-height: 65%;
  2259. min-height: 40%;
  2260. }
  2261. /* Scrollable div which lists the available servers. */
  2262. #serverSelectListScrollable,
  2263. #accountSelectListScrollable {
  2264. padding: 0px 5px;
  2265. overflow-y: scroll;
  2266. }
  2267. #serverSelectListScrollable::-webkit-scrollbar,
  2268. #accountSelectListScrollable::-webkit-scrollbar {
  2269. width: 2px;
  2270. }
  2271. #serverSelectListScrollable::-webkit-scrollbar-track,
  2272. #accountSelectListScrollable::-webkit-scrollbar-track {
  2273. display: none;
  2274. }
  2275. #serverSelectListScrollable::-webkit-scrollbar-thumb,
  2276. #accountSelectListScrollable::-webkit-scrollbar-thumb {
  2277. border-radius: 10px;
  2278. box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.50);
  2279. }
  2280. /* Content container for a server listing. */
  2281. .serverListing {
  2282. border: none;
  2283. padding: 0px;
  2284. width: 375px;
  2285. min-height: 60px;
  2286. display: flex;
  2287. justify-content: flex-start;
  2288. align-items: center;
  2289. opacity: 0.6;
  2290. transition: 0.25s ease;
  2291. cursor: pointer;
  2292. position: relative;
  2293. background: rgba(131, 131, 131, 0.25);
  2294. }
  2295. .serverListing[selected] {
  2296. cursor: default;
  2297. opacity: 1.0;
  2298. }
  2299. .serverListing:hover,
  2300. .serverListing:focus {
  2301. outline: none;
  2302. opacity: 1.0;
  2303. }
  2304. .accountListing {
  2305. color: white;
  2306. border: 1px solid rgba(170, 170, 170, 0.5);
  2307. border-radius: 4px;
  2308. padding: 5px 45px;
  2309. width: 250px;
  2310. display: flex;
  2311. justify-content: flex-start;
  2312. align-items: center;
  2313. opacity: 0.6;
  2314. transition: 0.25s ease;
  2315. cursor: pointer;
  2316. position: relative;
  2317. background: rgba(255, 255, 255, 0.25);
  2318. }
  2319. .accountListing[selected] {
  2320. cursor: default;
  2321. opacity: 1.0;
  2322. }
  2323. .accountListing:hover,
  2324. .accountListing:focus {
  2325. outline: none;
  2326. opacity: 1.0;
  2327. }
  2328. .accountListingName {
  2329. display: flex;
  2330. height: 100%;
  2331. width: 100%;
  2332. padding-left: 10px;
  2333. }
  2334. /* Add spacing between server listings. */
  2335. #serverSelectListScrollable > .serverListing:not(:first-child):not(:last-child),
  2336. #accountSelectListScrollable > .accountListing:not(:first-child):not(:last-child) {
  2337. margin: 5px 0px;
  2338. }
  2339. #serverSelectListScrollable > .serverListing:first-child,
  2340. #accountSelectListScrollable > .accountListing:first-child {
  2341. margin-bottom: 5px;
  2342. }
  2343. #serverSelectListScrollable > .serverListing:last-child,
  2344. #accountSelectListScrollable > .accountListing:last-child {
  2345. margin-top: 5px;
  2346. }
  2347. /* Server listing image. */
  2348. .serverListingImg {
  2349. margin: 0px 10px 0px 5px;
  2350. border: 1px solid #fff;
  2351. height: 50px;
  2352. width: 50px;
  2353. }
  2354. /* Content container for the server listing's details. */
  2355. .serverListingDetails {
  2356. display: flex;
  2357. flex-direction: column;
  2358. align-items: flex-start;
  2359. justify-content: space-between;
  2360. height: 50px;
  2361. }
  2362. /* The name of the server listing. */
  2363. .serverListingName {
  2364. font-size: 14px;
  2365. font-weight: bold;
  2366. }
  2367. /* Description for the server listing. */
  2368. .serverListingDescription {
  2369. font-size: 10px;
  2370. line-height: 10px;
  2371. font-weight: bold;
  2372. }
  2373. /* Content container for the server listing's information. */
  2374. .serverListingInfo {
  2375. width: 100%;
  2376. display: flex;
  2377. justify-content: flex-start;
  2378. }
  2379. /* The minecraft version of the server listing. */
  2380. .serverListingVersion {
  2381. font-size: 10px;
  2382. text-align: center;
  2383. display: flex;
  2384. justify-content: center;
  2385. align-items: center;
  2386. line-height: 12px;
  2387. height: 12px;
  2388. border-radius: 2px;
  2389. background: rgba(31, 140, 11, 0.8);
  2390. padding: 0px 2px;
  2391. }
  2392. /* The revision version of the server's manifest. */
  2393. .serverListingRevision {
  2394. color: #969696;
  2395. font-size: 10px;
  2396. line-height: 12px;
  2397. padding: 0px 5px;
  2398. }
  2399. /* Star which indicates the default (main) server. */
  2400. .serverListingStarWrapper {
  2401. display: flex;
  2402. align-items: center;
  2403. cursor: pointer;
  2404. height: 12px;
  2405. position: relative;
  2406. }
  2407. /* Tooltip which displays when hovering over the star. */
  2408. .serverListingStarTooltip {
  2409. visibility: hidden;
  2410. opacity: 0;
  2411. width: 65px;
  2412. background-color: rgba(0, 0, 0, 0.40);
  2413. text-align: center;
  2414. border-radius: 4px;
  2415. position: absolute;
  2416. z-index: 1;
  2417. left: 130%;
  2418. font-size: 10px;
  2419. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  2420. }
  2421. .serverListingStarTooltip::after {
  2422. content: " ";
  2423. position: absolute;
  2424. top: 50%;
  2425. right: 100%; /* To the left of the tooltip */
  2426. margin-top: -5px;
  2427. border-width: 5px;
  2428. border-style: solid;
  2429. border-color: transparent rgba(0, 0, 0, 0.40) transparent transparent;
  2430. }
  2431. .serverListingStarWrapper:hover .serverListingStarTooltip {
  2432. visibility: visible;
  2433. opacity: 1;
  2434. transition-delay:0s;
  2435. }
  2436. /* Content container which contains the server select actions. */
  2437. #serverSelectActions,
  2438. #accountSelectActions {
  2439. display: flex;
  2440. flex-direction: column;
  2441. justify-content: center;
  2442. align-items: center;
  2443. margin-top: 25px;
  2444. }
  2445. /* Server selection confirm button styles. */
  2446. #serverSelectConfirm,
  2447. #accountSelectConfirm {
  2448. background: none;
  2449. border: 1px solid #ffffff;
  2450. color: white;
  2451. font-family: 'Avenir Medium';
  2452. font-weight: bold;
  2453. border-radius: 2px;
  2454. padding: 0px 8.1px;
  2455. cursor: pointer;
  2456. transition: 0.25s ease;
  2457. min-height: 20.67px;
  2458. }
  2459. #serverSelectConfirm:hover,
  2460. #serverSelectConfirm:focus,
  2461. #accountSelectConfirm:hover,
  2462. #accountSelectConfirm:focus {
  2463. box-shadow: 0px 0px 10px 0px #fff;
  2464. outline: none;
  2465. }
  2466. #serverSelectConfirm:active,
  2467. #accountSelectConfirm:active {
  2468. border-color: rgba(255, 255, 255, 0.75);
  2469. color: rgba(255, 255, 255, 0.75);
  2470. }
  2471. /* Server selection cancel button styles. */
  2472. #serverSelectCancel,
  2473. #accountSelectCancel {
  2474. font-weight: bold;
  2475. font-size: 10px;
  2476. text-decoration: none;
  2477. padding-top: 2.5px;
  2478. color: rgba(202, 202, 202, 0.75);
  2479. transition: 0.25s ease;
  2480. background: none;
  2481. border: none;
  2482. outline: none;
  2483. cursor: pointer;
  2484. }
  2485. #serverSelectCancel:hover,
  2486. #serverSelectCancel:focus,
  2487. #accountSelectCancel:hover,
  2488. #accountSelectCancel:focus {
  2489. color: rgba(255, 255, 255, 0.75);
  2490. }
  2491. #serverSelectCancel:active,
  2492. #accountSelectCancel:active {
  2493. color: rgba(165, 165, 165, 0.75);
  2494. }
  2495. /*******************************************************************************
  2496. * *
  2497. * Loading Element (app.ejs) *
  2498. * *
  2499. ******************************************************************************/
  2500. /* Loading container, placed above everything. */
  2501. #loadingContainer {
  2502. position: absolute;
  2503. z-index: 400;
  2504. display: flex;
  2505. align-items: center;
  2506. justify-content: center;
  2507. width: 100%;
  2508. height: calc(100% - 22px);
  2509. }
  2510. /* Loading content container. */
  2511. #loadingContent {
  2512. position: relative;
  2513. display: flex;
  2514. flex-direction: column;
  2515. align-items: center;
  2516. justify-content: center;
  2517. }
  2518. /* Spinner container. */
  2519. #loadSpinnerContainer {
  2520. position: relative;
  2521. display: flex;
  2522. align-items: center;
  2523. justify-content: center;
  2524. }
  2525. /* Stationary image for the spinner. */
  2526. #loadCenterImage {
  2527. position: absolute;
  2528. width: 277px;
  2529. height: auto;
  2530. }
  2531. /* Rotating image for the spinner. */
  2532. #loadSpinnerImage {
  2533. width: 280px;
  2534. height: auto;
  2535. z-index: 400;
  2536. }
  2537. /* Rotating animation for the spinner. */
  2538. @keyframes rotating {
  2539. from {
  2540. transform: rotate(0deg);
  2541. }
  2542. to {
  2543. transform: rotate(360deg);
  2544. }
  2545. }
  2546. /* Class which is applied when the spinner image is spinning. */
  2547. .rotating {
  2548. animation: rotating 10s linear infinite;
  2549. }