launcher.css 61 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740
  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. /* Content container for the done button. */
  866. #settingsNavContentBottom {
  867. position: absolute;
  868. bottom: 20%;
  869. }
  870. /* Settings navigational divider. */
  871. .settingsNavDivider {
  872. width: 75%;
  873. height: 0.5px;
  874. background: rgba(255, 255, 255, 0.75);
  875. margin-left: auto;
  876. margin-bottom: 25px;
  877. }
  878. /* Settings done button styles. */
  879. #settingsNavDone {
  880. background: none;
  881. border: none;
  882. text-align: left;
  883. margin: 5px 0px;
  884. padding: 0px 20px;
  885. color: white;
  886. cursor: pointer;
  887. outline: none;
  888. transition: 0.25s ease;
  889. }
  890. #settingsNavDone:hover,
  891. #settingsNavDone:focus {
  892. text-shadow: 0px 0px 20px white, 0px 0px 20px white, 0px 0px 20px white;
  893. }
  894. #settingsNavDone:active {
  895. 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);
  896. color: rgba(255, 255, 255, 0.75);
  897. }
  898. #settingsNavDone:disabled {
  899. color: rgba(255, 255, 255, 0.75);
  900. pointer-events: none;
  901. }
  902. /* Right hand side of the settings container, for tabs. */
  903. #settingsContainerRight {
  904. height: 100%;
  905. width: 75%;
  906. padding-top: 5%;
  907. box-sizing: border-box;
  908. }
  909. /* Settings tab shared styles. */
  910. .settingsTab {
  911. width: 100%;
  912. height: 100%;
  913. overflow-y: auto;
  914. }
  915. .settingsTab::-webkit-scrollbar {
  916. width: 2px;
  917. }
  918. .settingsTab::-webkit-scrollbar-track {
  919. display: none;
  920. }
  921. .settingsTab::-webkit-scrollbar-thumb {
  922. border-radius: 10px;
  923. box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.50);
  924. }
  925. /* Tab header shared styles. */
  926. .settingsTabHeader {
  927. display: flex;
  928. flex-direction: column;
  929. }
  930. .settingsTabHeaderText {
  931. font-size: 20px;
  932. font-family: 'Avenir Medium';
  933. }
  934. .settingsTabHeaderDesc {
  935. font-size: 12px;
  936. }
  937. /* Remove spin button from number inputs. */
  938. #settingsContainer input[type=number]::-webkit-inner-spin-button {
  939. -webkit-appearance: none;
  940. }
  941. /* Default styles for text/number inputs. */
  942. #settingsContainer input[type=number],
  943. #settingsContainer input[type=text] {
  944. color: white;
  945. background: rgba(0, 0, 0, 0.25);
  946. border-radius: 3px;
  947. border: 1px solid rgba(126, 126, 126, 0.57);
  948. font-family: 'Avenir Book';
  949. transition: 0.25s ease;
  950. }
  951. #settingsContainer input[type=number]:focus,
  952. #settingsContainer input[type=text]:focus {
  953. outline: none;
  954. border-color: rgba(126, 126, 126, 0.87);
  955. }
  956. #settingsContainer input[type=number][error] {
  957. border-color: rgb(255, 27, 12);
  958. background: rgba(236, 0, 0, 0.25);
  959. color: rgb(255, 27, 12);
  960. }
  961. /* Styles for a generic settings entry. */
  962. .settingsFieldContainer {
  963. display: flex;
  964. align-items: center;
  965. justify-content: space-between;
  966. margin: 20px 0px;
  967. width: 75%;
  968. }
  969. .settingsFieldLeft {
  970. display: flex;
  971. flex-direction: column;
  972. }
  973. .settingsFieldTitle {
  974. font-size: 14px;
  975. font-family: 'Avenir Medium';
  976. color: rgba(255, 255, 255, 0.95);
  977. }
  978. .settingsFieldDesc {
  979. font-size: 12px;
  980. color: rgba(255, 255, 255, .95);
  981. }
  982. .settingsDivider {
  983. height: 1px;
  984. width: 75%;
  985. background: rgba(255, 255, 255, 0.25);
  986. }
  987. /* Toggle Switch */
  988. .toggleSwitch {
  989. position: relative;
  990. display: inline-block;
  991. width: 50px;
  992. height: 25px;
  993. border-radius: 3px;
  994. box-sizing: border-box;
  995. }
  996. .toggleSwitch input {
  997. display:none;
  998. }
  999. .toggleSwitchSlider {
  1000. position: absolute;
  1001. cursor: pointer;
  1002. top: 0;
  1003. left: 0;
  1004. right: 0;
  1005. bottom: 0;
  1006. background-color: rgba(0, 0, 0, 0.25);
  1007. transition: .4s;
  1008. border-radius: 3px;
  1009. border: 1px solid rgba(126, 126, 126, 0.57);
  1010. }
  1011. .toggleSwitchSlider:before {
  1012. position: absolute;
  1013. content: "";
  1014. height: 17px;
  1015. width: 21px;
  1016. left: 3px;
  1017. bottom: 3px;
  1018. background-color: rgb(202, 202, 202);
  1019. border-radius: 3px;
  1020. transition: .4s;
  1021. }
  1022. input:checked + .toggleSwitchSlider {
  1023. background-color: rgba(36, 255, 0, 0.25);
  1024. }
  1025. input:checked + .toggleSwitchSlider:before {
  1026. transform: translateX(21px);
  1027. }
  1028. /* * *
  1029. * Settings View (Account Tab)
  1030. * * */
  1031. /* Add account button styles. */
  1032. #settingsAddAccountContainer {
  1033. margin-top: 20px;
  1034. }
  1035. #settingsAddAccount {
  1036. background: rgba(0, 0, 0, 0.25);
  1037. border: 1px solid rgba(126, 126, 126, 0.57);
  1038. border-radius: 3px;
  1039. height: 50px;
  1040. width: 75%;
  1041. text-align: left;
  1042. padding: 0px 50px;
  1043. cursor: pointer;
  1044. outline: none;
  1045. transition: 0.25s ease;
  1046. }
  1047. #settingsAddAccount:hover,
  1048. #settingsAddAccount:focus {
  1049. background: rgba(54, 54, 54, 0.25);
  1050. text-shadow: 0px 0px 20px white;
  1051. }
  1052. /* Settings auth accounts header. */
  1053. #settingsCurrentAccountsHeader {
  1054. margin: 20px 0px;
  1055. }
  1056. /* Auth account list container styles. */
  1057. #settingsCurrentAccounts {
  1058. margin-bottom: 5%;
  1059. }
  1060. #settingsCurrentAccounts > .settingsAuthAccount:not(:last-child) {
  1061. margin-bottom: 10px;
  1062. }
  1063. #settingsCurrentAccounts > .settingsAuthAccount:not(:first-child) {
  1064. margin-top: 10px;
  1065. }
  1066. /* Auth account shared styles. */
  1067. .settingsAuthAccount {
  1068. display: flex;
  1069. width: 75%;
  1070. background: rgba(0, 0, 0, 0.25);
  1071. border-radius: 3px;
  1072. border: 1px solid rgba(126, 126, 126, 0.57);
  1073. }
  1074. /* Left hand side of an auth account element, for the skin image. */
  1075. .settingsAuthAccountLeft {
  1076. padding: 5px 5px 5px 20px;
  1077. }
  1078. /* Image of the auth account's skin. */
  1079. .settingsAuthAccountImage {
  1080. height: 115px;
  1081. }
  1082. /* Right hand side of the auth account, for info + actions. */
  1083. .settingsAuthAccountRight {
  1084. display: flex;
  1085. width: 100%;
  1086. }
  1087. /* Account details container. */
  1088. .settingsAuthAccountDetails {
  1089. display: flex;
  1090. flex-direction: column;
  1091. justify-content: center;
  1092. margin-left: 20px;
  1093. width: 100%;
  1094. }
  1095. .settingsAuthAccountDetails > *:not(:last-child) {
  1096. margin-bottom: 20px;
  1097. }
  1098. /* Account detail element styles. */
  1099. .settingsAuthAccountDetailPane {
  1100. display: flex;
  1101. flex-direction: column;
  1102. }
  1103. .settingsAuthAccountDetailTitle {
  1104. font-size: 12px;
  1105. color: grey;
  1106. font-weight: bold;
  1107. font-family: 'Avenir Medium';
  1108. }
  1109. .settingsAuthAccountDetailValue {
  1110. font-size: 14px;
  1111. }
  1112. /* Account actions container. */
  1113. .settingsAuthAccountActions {
  1114. display: flex;
  1115. flex-direction: column;
  1116. justify-content: space-between;
  1117. align-items: flex-end;
  1118. padding: 10px;
  1119. }
  1120. /* Account select button shared styles. */
  1121. .settingsAuthAccountSelect {
  1122. opacity: 0;
  1123. border: none;
  1124. white-space: nowrap;
  1125. background: none;
  1126. font-family: 'Avenir Medium';
  1127. outline: none;
  1128. transition: 0.25s ease;
  1129. }
  1130. .settingsAuthAccountSelect:hover:not([selected]),
  1131. .settingsAuthAccountSelect:focus:not([selected]) {
  1132. text-shadow: 0px 0px 20px white, 0px 0px 20px white;
  1133. cursor: pointer;
  1134. }
  1135. .settingsAuthAccount:hover .settingsAuthAccountSelect:not([selected]),
  1136. .settingsAuthAccountSelect[selected] {
  1137. opacity: 1;
  1138. }
  1139. .settingsAuthAccountSelect[selected] {
  1140. pointer-events: none;
  1141. }
  1142. /* Account logout button shared styles. */
  1143. .settingsAuthAccountLogOut {
  1144. opacity: 0;
  1145. border: 1px solid rgb(241, 55, 55);
  1146. color: rgb(241, 55, 55);
  1147. background: none;
  1148. font-size: 12px;
  1149. border-radius: 3px;
  1150. font-family: 'Avenir Medium';
  1151. transition: 0.25s ease;
  1152. cursor: pointer;
  1153. outline: none;
  1154. }
  1155. .settingsAuthAccountLogOut:hover,
  1156. .settingsAuthAccountLogOut:focus {
  1157. box-shadow: 0px 0px 20px rgb(241, 55, 55);
  1158. background: rgba(241, 55, 55, 0.25);
  1159. }
  1160. .settingsAuthAccountLogOut:active {
  1161. box-shadow: 0px 0px 20px rgb(185, 47, 47);
  1162. background: rgba(185, 47, 47, 0.25);
  1163. border: 1px solid rgb(185, 47, 47);
  1164. color: rgb(185, 47, 47);
  1165. }
  1166. .settingsAuthAccount:hover .settingsAuthAccountLogOut {
  1167. opacity: 1;
  1168. }
  1169. /* * *
  1170. * Settings View (Minecraft Tab)
  1171. * * */
  1172. /* Game resolution UI elements. */
  1173. #settingsGameResolutionContainer {
  1174. display: flex;
  1175. flex-direction: column;
  1176. margin: 20px 0px;
  1177. }
  1178. #settingsGameResolutionContent {
  1179. display: flex;
  1180. align-items: center;
  1181. padding-top: 10px;
  1182. }
  1183. #settingsGameResolutionCross {
  1184. color: grey;
  1185. padding: 0px 15px;
  1186. }
  1187. #settingsGameWidth,
  1188. #settingsGameHeight {
  1189. padding: 7.5px 5px;
  1190. width: 75px;
  1191. }
  1192. /*******************************************************************************
  1193. * *
  1194. * Landing View (Structural Styles) *
  1195. * *
  1196. ******************************************************************************/
  1197. /* Main content container. */
  1198. #landingContainer {
  1199. height: 100%;
  1200. position: relative;
  1201. transition: background 2s ease;
  1202. overflow-y: hidden;
  1203. }
  1204. /* Upper content container. */
  1205. #landingContainer > #upper {
  1206. position: relative;
  1207. transition: top 2s ease;
  1208. top: 0px;
  1209. height: 77%;
  1210. display: flex;
  1211. }
  1212. #landingContainer > #upper > #left {
  1213. display: inline-flex;
  1214. width: 15%;
  1215. height: 100%;
  1216. justify-content: flex-end;
  1217. }
  1218. #landingContainer > #upper > #content {
  1219. display: inline-flex;
  1220. width: 70%;
  1221. height: 100%;
  1222. }
  1223. #landingContainer > #upper > #right {
  1224. display: inline-flex;
  1225. width: 15%;
  1226. height: 100%;
  1227. }
  1228. /* Lower content container. */
  1229. #landingContainer > #lower {
  1230. height: 23%;
  1231. display: flex;
  1232. background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  1233. }
  1234. #landingContainer > #lower > #left {
  1235. position: relative;
  1236. transition: top 2s ease;
  1237. top: 0px;
  1238. height: 100%;
  1239. width: 33%;
  1240. display: inline-flex;
  1241. justify-content: center;
  1242. }
  1243. #landingContainer > #lower > #left #content {
  1244. position: relative;
  1245. top: 25px;
  1246. display: inline-flex;
  1247. line-height: 24px;
  1248. left: 50px;
  1249. }
  1250. #landingContainer > #lower > #center {
  1251. position: relative;
  1252. transition: top 2s ease;
  1253. top: 0px;
  1254. height: 100%;
  1255. width: 34%;
  1256. display: inline-flex;
  1257. justify-content: center;
  1258. }
  1259. #landingContainer > #lower > #center #content {
  1260. position: relative;
  1261. z-index: 500;
  1262. transition: top 2s ease;
  1263. top: 10px;
  1264. }
  1265. #landingContainer > #lower > #right {
  1266. position: relative;
  1267. transition: top 2s ease;
  1268. top: 0px;
  1269. height: 100%;
  1270. width: 33%;
  1271. display: inline-flex;
  1272. }
  1273. /*******************************************************************************
  1274. * *
  1275. * Landing View (News Styles) *
  1276. * *
  1277. ******************************************************************************/
  1278. /* Main container. */
  1279. #newsContainer {
  1280. position: absolute;
  1281. top: 100%;
  1282. height: 100%;
  1283. width: 100%;
  1284. transition: top 2s ease;
  1285. display: flex;
  1286. align-items: flex-end;
  1287. justify-content: center;
  1288. }
  1289. /* News content container. */
  1290. #newsContent {
  1291. height: 82vh;
  1292. width: 82vw;
  1293. display: flex;
  1294. }
  1295. /* News article status container (left). */
  1296. #newsStatusContainer {
  1297. width: 25%;
  1298. height: calc(100% - 30px);
  1299. padding: 15px;
  1300. display: flex;
  1301. flex-direction: column;
  1302. justify-content: space-between;
  1303. }
  1304. /* News status content. */
  1305. #newsStatusContent {
  1306. display: flex;
  1307. flex-direction: column;
  1308. }
  1309. /* News article title styles. */
  1310. #newsArticleTitle {
  1311. font-size: 20px;
  1312. font-weight: bold;
  1313. font-family: 'Avenir Medium';
  1314. }
  1315. #newsArticleTitle {
  1316. color: white;
  1317. text-decoration: none;
  1318. transition: 0.25s ease;
  1319. outline: none;
  1320. }
  1321. #newsArticleTitle:hover,
  1322. #newsArticleTitle:focus {
  1323. text-shadow: 0px 0px 20px white;
  1324. }
  1325. #newsArticleTitle:active {
  1326. color: #c7c7c7;
  1327. text-shadow: 0px 0px 20px #c7c7c7;
  1328. }
  1329. /* News meta container. */
  1330. #newsMetaContainer {
  1331. display: flex;
  1332. flex-direction: column;
  1333. }
  1334. /* Date and author shared styles. */
  1335. #newsArticleDate,
  1336. #newsArticleAuthor {
  1337. display: inline-block;
  1338. font-size: 10px;
  1339. padding: 0px 5px;
  1340. font-weight: bold;
  1341. border-radius: 2px;
  1342. }
  1343. /* Date styles. */
  1344. #newsArticleDate {
  1345. background: white;
  1346. color: black;
  1347. margin-top: 5px;
  1348. }
  1349. /* Author styles. */
  1350. #newsArticleAuthor {
  1351. background: #a02d2a;
  1352. }
  1353. /* News article comments styles. */
  1354. #newsArticleComments {
  1355. margin-top: 5px;
  1356. display: inline-block;
  1357. font-size: 10px;
  1358. color: #ffffff;
  1359. text-decoration: none;
  1360. transition: 0.25s ease;
  1361. outline: none;
  1362. }
  1363. #newsArticleComments:focus,
  1364. #newsArticleComments:hover {
  1365. color: #e0e0e0;
  1366. }
  1367. #newsArticleComments:active {
  1368. color: #c7c7c7;
  1369. }
  1370. /* Article content container (right). */
  1371. #newsArticleContainer {
  1372. width: 75%;
  1373. height: 100%;
  1374. }
  1375. /* Article content styles. */
  1376. #newsArticleContentScrollable {
  1377. font-size: 12px;
  1378. max-width: 80%;
  1379. margin: 25px 35px 0px 25px;
  1380. overflow-y: scroll;
  1381. height: calc(100% - 25px);
  1382. padding: 0px 15px 0px 15px;
  1383. }
  1384. #newsArticleContentScrollable img {
  1385. max-width: 95%;
  1386. display: block;
  1387. margin: 0 auto;
  1388. }
  1389. #newsArticleContentScrollable a {
  1390. color: rgba(202, 202, 202, 0.75);
  1391. transition: 0.25s ease;
  1392. outline: none;
  1393. }
  1394. #newsArticleContentScrollable a:hover,
  1395. #newsArticleContentScrollable a:focus {
  1396. color: rgba(255, 255, 255, 0.75);
  1397. }
  1398. #newsArticleContentScrollable a:active {
  1399. color: rgba(165, 165, 165, 0.75);
  1400. }
  1401. #newsArticleContentScrollable::-webkit-scrollbar {
  1402. width: 2px;
  1403. }
  1404. #newsArticleContentScrollable::-webkit-scrollbar-track {
  1405. display: none;
  1406. }
  1407. #newsArticleContentScrollable::-webkit-scrollbar-thumb {
  1408. border-radius: 10px;
  1409. box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.50);
  1410. }
  1411. /* Div to add spacing at the end of a news article. */
  1412. .newsArticleSpacer {
  1413. height: 30px;
  1414. }
  1415. /* News navigation container. */
  1416. #newsNavigationContainer {
  1417. display: flex;
  1418. justify-content: center;
  1419. align-items: center;
  1420. margin-bottom: 10px;
  1421. }
  1422. /* Navigation status span. */
  1423. #newsNavigationStatus {
  1424. font-size: 12px;
  1425. margin: 0px 15px;
  1426. }
  1427. /* Left and right navigation button styles. */
  1428. #newsNavigateLeft,
  1429. #newsNavigateRight {
  1430. background: none;
  1431. border: none;
  1432. outline: none;
  1433. height: 20px;
  1434. cursor: pointer;
  1435. }
  1436. #newsNavigateLeft:hover #newsNavigationLeftSVG,
  1437. #newsNavigateLeft:focus #newsNavigationLeftSVG,
  1438. #newsNavigateRight:hover #newsNavigationRightSVG,
  1439. #newsNavigateRight:focus #newsNavigationRightSVG {
  1440. -webkit-filter: drop-shadow(0px 0px 2px #fff);
  1441. }
  1442. #newsNavigateLeft:active #newsNavigationLeftSVG .arrowLine,
  1443. #newsNavigateRight:active #newsNavigationRightSVG .arrowLine {
  1444. stroke: #c7c7c7;
  1445. }
  1446. #newsNavigateLeft:active #newsNavigationLeftSVG,
  1447. #newsNavigateRight:active #newsNavigationRightSVG {
  1448. -webkit-filter: drop-shadow(0px 0px 2px #c7c7c7);
  1449. }
  1450. #newsNavigateLeft:disabled #newsNavigationLeftSVG .arrowLine,
  1451. #newsNavigateRight:disabled #newsNavigationRightSVG .arrowLine {
  1452. stroke: rgba(255, 255, 255, 0.75);
  1453. }
  1454. #newsNavigationLeftSVG {
  1455. transform: rotate(-90deg);
  1456. width: 15px;
  1457. }
  1458. #newsNavigationRightSVG {
  1459. transform: rotate(90deg);
  1460. width: 15px;
  1461. }
  1462. /* News error (message) container. */
  1463. #newsErrorContainer {
  1464. height: 100%;
  1465. display: flex;
  1466. align-items: center;
  1467. flex-direction: column;
  1468. justify-content: center;
  1469. }
  1470. #newsErrorFailed {
  1471. display: flex;
  1472. align-items: center;
  1473. flex-direction: column;
  1474. justify-content: center;
  1475. }
  1476. /* News error content (message). */
  1477. .newsErrorContent {
  1478. font-size: 20px;
  1479. }
  1480. #newsErrorLoading {
  1481. display: flex;
  1482. width: 168.92px;
  1483. }
  1484. #nELoadSpan {
  1485. white-space: pre;
  1486. }
  1487. /* News error retry button styles. */
  1488. #newsErrorRetry {
  1489. font-size: 12px;
  1490. font-weight: bold;
  1491. cursor: pointer;
  1492. background: none;
  1493. border: none;
  1494. outline: none;
  1495. transition: 0.25s ease;
  1496. }
  1497. #newsErrorRetry:focus,
  1498. #newsErrorRetry:hover {
  1499. text-shadow: 0px 0px 20px white;
  1500. }
  1501. #newsErrorRetry:active {
  1502. color: #c7c7c7;
  1503. text-shadow: 0px 0px 20px #c7c7c7;
  1504. }
  1505. /*******************************************************************************
  1506. * *
  1507. * Landing View (Top Styles) *
  1508. * *
  1509. ******************************************************************************/
  1510. /* * *
  1511. * Landing View (Top Styles) | Left Content
  1512. * * */
  1513. /* Logo image. */
  1514. #image_seal {
  1515. height: 70px;
  1516. width: auto;
  1517. position: relative;
  1518. border: 2px solid white;
  1519. box-sizing: border-box;
  1520. border-radius: 50%;
  1521. }
  1522. /* Logo container styles. */
  1523. #image_seal_container {
  1524. position: relative;
  1525. height: 70px;
  1526. width: 70px;
  1527. border-radius: 50%;
  1528. margin-top: 50px;
  1529. }
  1530. /* Logo container styles w/ update. */
  1531. #image_seal_container[update]{
  1532. cursor: pointer
  1533. }
  1534. #image_seal_container[update]:before,
  1535. #image_seal_container[update]:after {
  1536. cursor: pointer;
  1537. position: absolute;
  1538. content: '';
  1539. height: 100%;
  1540. width: 100%;
  1541. top: 0%;
  1542. left: 0%;
  1543. border-radius: 50%;
  1544. box-shadow: 0 0 15px #43c628;
  1545. animation: glow-grow 4s ease-out infinite;
  1546. background: rgba(0, 0, 0, 0.15);
  1547. }
  1548. #image_seal_container[update]:before {
  1549. animation-delay: 2s;
  1550. }
  1551. /* Update available tooltip styles. */
  1552. #updateAvailableTooltip {
  1553. cursor: pointer;
  1554. visibility: hidden;
  1555. opacity: 0;
  1556. width: 100px;
  1557. height: 15px;
  1558. background-color: rgb(0, 0, 0);
  1559. color: #fff;
  1560. text-align: center;
  1561. border-radius: 4px;
  1562. padding: 2px;
  1563. position: absolute;
  1564. z-index: 1;
  1565. top: 115%;
  1566. left: -17.5px;
  1567. font-family: 'Avenir Medium';
  1568. font-size: 12px;
  1569. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  1570. }
  1571. #updateAvailableTooltip::after {
  1572. content: " ";
  1573. position: absolute;
  1574. left: 50%;
  1575. bottom: 100%;
  1576. margin-left: -5px;
  1577. border-width: 5px;
  1578. border-style: solid;
  1579. border-color: transparent transparent rgb(0, 0, 0) transparent;
  1580. }
  1581. #image_seal_container[update]:hover #updateAvailableTooltip {
  1582. visibility: visible;
  1583. opacity: 1;
  1584. transition-delay: 0s;
  1585. }
  1586. /* Update available animation. */
  1587. @keyframes glow-grow {
  1588. 0% {
  1589. opacity: 0;
  1590. transform: scale(1);
  1591. }
  1592. 80% {
  1593. opacity: 1;
  1594. }
  1595. 100% {
  1596. transform: scale(1.5);
  1597. opacity: 0;
  1598. }
  1599. }
  1600. /* * *
  1601. * Landing View (Bottom Styles) | Right Content
  1602. * * */
  1603. /* Wrapper container for top, right content. */
  1604. #rightContainer {
  1605. display: flex;
  1606. flex-direction: column;
  1607. position: relative;
  1608. top: 50px;
  1609. align-items: flex-start;
  1610. height: calc(100% - 50px);
  1611. }
  1612. /* Right hand user content container. */
  1613. #user_content {
  1614. display: flex;
  1615. align-items: center;
  1616. justify-content: center;
  1617. box-sizing: border-box;
  1618. position: relative;
  1619. }
  1620. /* User profile avatar container. */
  1621. #avatarContainer {
  1622. border-radius: 50%;
  1623. border: 2px solid #cad7e1;
  1624. box-sizing: border-box;
  1625. background: rgba(1, 2, 1, 0.5);
  1626. height: 70px;
  1627. width: 70px;
  1628. box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);
  1629. overflow: hidden;
  1630. position: relative;
  1631. background-image: url('https://cdn.discordapp.com/avatars/169197209630277642/6650b5a50e1cb3d00a79b9b88b9a0cd4.png');
  1632. background-size: contain;
  1633. }
  1634. /* Avatar edit overlay. */
  1635. #avatarOverlay {
  1636. opacity: 0;
  1637. position: absolute;
  1638. z-index: 1;
  1639. display: flex;
  1640. justify-content: center;
  1641. align-items: center;
  1642. transition: 0.25s ease;
  1643. font-weight: bold;
  1644. letter-spacing: 2px;
  1645. background: linear-gradient(65deg, rgba(0, 0, 0, 0.4), rgba(136, 77, 77, 0.4) 60%);
  1646. -webkit-user-select: none;
  1647. cursor: pointer;
  1648. width: 100%;
  1649. height: 100%;
  1650. border-radius: 50%;
  1651. }
  1652. #avatarOverlay:hover {
  1653. opacity: 1;
  1654. }
  1655. /* User profile name text. */
  1656. #user_text {
  1657. font-size: 12px;
  1658. min-width: 135px;
  1659. font-weight: 900;
  1660. letter-spacing: 1px;
  1661. text-shadow: 0px 0px 20px black;
  1662. position: absolute;
  1663. right: 95px;
  1664. text-align: right;
  1665. }
  1666. /* Social media icon content container. */
  1667. #mediaContent {
  1668. position: relative;
  1669. display: flex;
  1670. flex-direction: column;
  1671. margin-top: 25px;
  1672. height: calc(100% - 95px);
  1673. width: 70px;
  1674. align-items: center;
  1675. }
  1676. /* Social Media Icon division containers. */
  1677. #internalMedia, #externalMedia {
  1678. display: flex;
  1679. flex-direction: column;
  1680. }
  1681. /* Container object which wraps an icon to ensure fluid transitions. */
  1682. .mediaContainer {
  1683. display: flex;
  1684. justify-content: center;
  1685. align-items: center;
  1686. height: 27px;
  1687. }
  1688. /* Divider bar between the external and internal icons. */
  1689. .mediaDivider {
  1690. height: 1px;
  1691. width: 14px;
  1692. background: rgb(255, 255, 255);
  1693. margin: 10px 0px;
  1694. }
  1695. /* Social media icon shared styles. */
  1696. .mediaSVG {
  1697. fill: #ffffff;
  1698. height: 12px;
  1699. transition: 0.25s ease;
  1700. cursor: pointer;
  1701. height: 12px;
  1702. width: 25px;
  1703. }
  1704. .mediaSVG:hover,
  1705. .mediaURL:focus .mediaSVG,
  1706. .mediaSVG:active {
  1707. height: 20px;
  1708. }
  1709. /* Social media URL shared styles. */
  1710. .mediaURL {
  1711. outline: none;
  1712. }
  1713. /* Internal media button shared styles. */
  1714. .mediaButton {
  1715. background: none;
  1716. border: none;
  1717. padding: 0px;
  1718. display: flex;
  1719. align-items: center;
  1720. outline: none;
  1721. }
  1722. #settingsMediaContainer {
  1723. position: relative;
  1724. }
  1725. /* Settings icon colors. */
  1726. #settingsSVG {
  1727. stroke: #ffffff;
  1728. height: 15px;
  1729. }
  1730. .mediaButton:hover #settingsSVG,
  1731. .mediaButton:focus #settingsSVG,
  1732. .mediaButton:active #settingsSVG {
  1733. height: 23px;
  1734. }
  1735. /* Settings tooltip styles. */
  1736. #settingsTooltip {
  1737. visibility: hidden;
  1738. opacity: 0;
  1739. width: 75px;
  1740. height: 20px;
  1741. background-color: rgba(0, 0, 0, 0.75);
  1742. text-align: center;
  1743. border-radius: 4px;
  1744. position: absolute;
  1745. z-index: 1;
  1746. right: 130%;
  1747. font-size: 12px;
  1748. line-height: 20px;
  1749. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  1750. }
  1751. #settingsTooltip::after {
  1752. content: " ";
  1753. position: absolute;
  1754. top: 50%;
  1755. left: 100%;
  1756. margin-top: -5px;
  1757. border-width: 5px;
  1758. border-style: solid;
  1759. border-color: transparent transparent transparent rgba(0, 0, 0, 0.75);
  1760. }
  1761. .mediaButton:hover #settingsTooltip,
  1762. .mediaButton:focus #settingsTooltip,
  1763. .mediaButton:active #settingsTooltip {
  1764. visibility: visible;
  1765. opacity: 1;
  1766. transition-delay:0s;
  1767. }
  1768. /* Twitter icon colors. */
  1769. #twitterSVG:hover,
  1770. #twitterURL:focus #twitterSVG {
  1771. fill: #1da1f2;
  1772. }
  1773. #twitterSVG:active {
  1774. fill: #1b8dd4;
  1775. }
  1776. /* Instagram icon colors. */
  1777. #instagramSVG:hover,
  1778. #instagramURL:focus #instagramSVG {
  1779. fill: url('#instaFill')
  1780. /*fill: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); */
  1781. }
  1782. #instagramSVG:active {
  1783. fill: url('#instaFill')
  1784. }
  1785. /* Youtube icon colors. */
  1786. #youtubeSVG:hover,
  1787. #youtubeURL:focus #youtubeSVG {
  1788. fill: #f00;
  1789. }
  1790. #youtubeSVG:active {
  1791. fill: #ea0202;
  1792. }
  1793. /* Discord icon colors. */
  1794. #discordSVG:hover,
  1795. #discordURL:focus #discordSVG {
  1796. fill: #7288d9;
  1797. }
  1798. #discordSVG:active {
  1799. fill: #657ac4;
  1800. }
  1801. /*******************************************************************************
  1802. * *
  1803. * Landing View (Bottom Styles) *
  1804. * *
  1805. ******************************************************************************/
  1806. /* Style for a general label on the bottom of the landing view. */
  1807. .bot_label {
  1808. font-size: 9px;
  1809. letter-spacing: 1px;
  1810. font-weight: bold;
  1811. text-shadow: 0px 0px 0px #bebcbb;
  1812. }
  1813. /* Divider used on the bottom of the landing view. */
  1814. .bot_divider {
  1815. height: 25px;
  1816. width: 2px;
  1817. background: rgba(107, 105, 105, 0.7);
  1818. margin-left: 20px;
  1819. margin-right: 20px;
  1820. }
  1821. /* * *
  1822. * Landing View (Bottom Styles) | Left Content
  1823. * * */
  1824. /* Maintains maximum width on the status bar. */
  1825. #server_status_wrapper {
  1826. display: inline-flex;
  1827. width: 75px;
  1828. }
  1829. /* Span which displays the player count of the selected server. */
  1830. #player_count {
  1831. color: #949494;
  1832. font-size: 8px;
  1833. font-weight: 900;
  1834. text-shadow: 0px 0px 20px #949494;
  1835. margin-left: 10px;
  1836. }
  1837. /* Wrapper container for the mojang status bar. */
  1838. #mojangStatusWrapper {
  1839. position: relative;
  1840. display: flex;
  1841. cursor: pointer;
  1842. }
  1843. /* Icon which displays the status of the mojang services. */
  1844. #mojang_status_icon {
  1845. font-size: 30px;
  1846. color: #848484;
  1847. margin-left: 15px;
  1848. font-family: 'sans-serif';
  1849. }
  1850. /* Tooltip which displays more details about the mojang statuses. */
  1851. #mojangStatusTooltip {
  1852. position: absolute;
  1853. visibility: hidden;
  1854. opacity: 0;
  1855. width: 145px;
  1856. min-height: 150px;
  1857. background-color: rgba(0, 0, 0, 0.75);
  1858. color: #fff;
  1859. border-radius: 4px;
  1860. padding: 5px 10px;
  1861. z-index: 1;
  1862. font-family: 'Avenir Medium';
  1863. font-size: 12px;
  1864. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  1865. bottom: calc(100% + 15px);
  1866. transform: translateX(-50%);
  1867. margin-left: 50%;
  1868. box-shadow: 0px 0px 20px rgb(0, 0, 0);
  1869. cursor: default;
  1870. }
  1871. #mojangStatusTooltip:after {
  1872. content: " ";
  1873. position: absolute;
  1874. left: 50%;
  1875. top: 100%;
  1876. margin-left: -5px;
  1877. border-width: 5px;
  1878. border-style: solid;
  1879. border-color: rgba(0, 0, 0, 0.75) transparent transparent transparent;
  1880. }
  1881. #mojangStatusWrapper:hover #mojangStatusTooltip {
  1882. visibility: visible;
  1883. opacity: 1;
  1884. transition-delay: 0s;
  1885. }
  1886. /* Tooltip title for the mojang statuses. */
  1887. #mojangStatusTooltipTitle {
  1888. width: 100%;
  1889. text-align: center;
  1890. margin-bottom: 5px;
  1891. letter-spacing: 1px;
  1892. }
  1893. /* Wrapper container for the non essential services title. */
  1894. #mojangStatusNEContainer {
  1895. display: flex;
  1896. align-items: center;
  1897. margin: 10px 0px;
  1898. }
  1899. /* White bar which surrounds the non essential service title. */
  1900. .mojangStatusNEBar {
  1901. height: 1px;
  1902. width: 100%;
  1903. background: white;
  1904. }
  1905. /* Non essential service title text. */
  1906. #mojangStatusNETitle {
  1907. font-size: 10px;
  1908. padding: 0px 3px;
  1909. text-align: center;
  1910. letter-spacing: 1px;
  1911. }
  1912. /* Wrapper container for mojang service information. */
  1913. .mojangStatusContainer {
  1914. display: flex;
  1915. }
  1916. /* Displays the name of the mojang service. */
  1917. .mojangStatusName {
  1918. width: 100%;
  1919. font-size: 10px;
  1920. letter-spacing: 1px;
  1921. line-height: 12px;
  1922. padding: 6px 0px;
  1923. }
  1924. /* Displays the status of the mojang service. */
  1925. .mojangStatusIcon {
  1926. margin-right: 10px;
  1927. font-size: 18.5px;
  1928. color: #848484;
  1929. }
  1930. /* * *
  1931. * Landing View (Bottom Styles) | Center Content
  1932. * * */
  1933. /* Button which opens the news view. */
  1934. #newsButton {
  1935. background: none;
  1936. border: none;
  1937. cursor: pointer;
  1938. outline: none;
  1939. }
  1940. #newsButton:hover #newsButtonText,
  1941. #newsButton:focus #newsButtonText {
  1942. text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff;
  1943. }
  1944. #newsButton:active {
  1945. color: #c7c7c7;
  1946. text-shadow: 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7;
  1947. }
  1948. #newsButton:hover #newsButtonSVG,
  1949. #newsButton:focus #newsButtonSVG {
  1950. -webkit-filter: drop-shadow(0px 0px 2px #fff);
  1951. }
  1952. #newsButton:active #newsButtonSVG .arrowLine {
  1953. stroke: #c7c7c7;
  1954. }
  1955. #newsButton:active #newsButtonSVG {
  1956. -webkit-filter: drop-shadow(0px 0px 2px #c7c7c7);
  1957. }
  1958. #newsButton:disabled #newsButtonSVG .arrowLine {
  1959. stroke: rgba(255, 255, 255, 0.75);
  1960. }
  1961. /* Arrow image which floats above the news button. */
  1962. #newsButtonSVG {
  1963. height: 11px;
  1964. margin-left: -2px;
  1965. transition: 0.25s ease;
  1966. }
  1967. /* Span which contains the news button text. */
  1968. #newsButtonText {
  1969. color: white;
  1970. font-weight: 900;
  1971. letter-spacing: 2px;
  1972. text-shadow: 0px 0px 0px #bebcbb;
  1973. font-size: 11px;
  1974. line-height: 30px;
  1975. display: flex;
  1976. transition: 0.25s ease;
  1977. }
  1978. /* * *
  1979. * Landing View (Bottom Styles) | Right Content
  1980. * * */
  1981. /* Main launch content container. */
  1982. #landingContainer > #lower > #right #launch_content {
  1983. position: relative;
  1984. top: 25px;
  1985. display: inline-flex;
  1986. }
  1987. /* The launch button. */
  1988. #launch_button {
  1989. background: none;
  1990. border: none;
  1991. cursor: pointer;
  1992. font-weight: 900;
  1993. letter-spacing: 2px;
  1994. text-shadow: 0px 0px 0px #bebcbb;
  1995. font-size: 20px;
  1996. padding: 0px;
  1997. transition: 0.25s ease;
  1998. outline: none;
  1999. }
  2000. #launch_button:hover,
  2001. #launch_button:focus {
  2002. text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff;
  2003. }
  2004. #launch_button:active {
  2005. color: #c7c7c7;
  2006. text-shadow: 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7;
  2007. }
  2008. #launch_button:disabled {
  2009. color: #c7c7c7;
  2010. cursor: default;
  2011. pointer-events: none;
  2012. }
  2013. /* Launch details main container, hidden until launch processing begins. */
  2014. #launch_details {
  2015. position: relative;
  2016. top: 25px;
  2017. display: none;
  2018. }
  2019. /* Left side of launch details container, displays percentage and a divider. */
  2020. #launch_details_left {
  2021. display: flex;
  2022. }
  2023. /* Span which displays percentage complete. */
  2024. #launch_progress_label {
  2025. font-weight: 900;
  2026. letter-spacing: 1px;
  2027. text-shadow: 0px 0px 0px #bebcbb;
  2028. font-size: 20px;
  2029. min-width: 53.21px;
  2030. max-width: 53.21px;
  2031. text-align: right;
  2032. }
  2033. /* Right side of launch details container, displays progress bar and details. */
  2034. #launch_details_right {
  2035. display: flex;
  2036. flex-direction: column;
  2037. justify-content: center;
  2038. }
  2039. /* Button which opens the server selection view. */
  2040. #server_selection_button {
  2041. background: none;
  2042. border: none;
  2043. outline: none;
  2044. cursor: pointer;
  2045. line-height: 24px;
  2046. padding: 0px;
  2047. transition: 0.25s ease;
  2048. }
  2049. #server_selection_button:hover,
  2050. #server_selection_button:focus {
  2051. text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff, 0px 0px 20px #fff;
  2052. }
  2053. #server_selection_button:active {
  2054. color: #c7c7c7;
  2055. text-shadow: 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7;
  2056. }
  2057. /* Progress bar styles. */
  2058. #launch_progress[value] {
  2059. height: 3px;
  2060. width: 265px;
  2061. -webkit-appearance: none;
  2062. }
  2063. #launch_progress[value]::-webkit-progress-bar {
  2064. background-color: transparent;
  2065. }
  2066. #launch_progress[value]::-webkit-progress-value {
  2067. background-color: #fff;
  2068. }
  2069. /* Span which displays information about the status of the launch process. */
  2070. #launch_details_text {
  2071. font-size: 11px;
  2072. text-overflow: ellipsis;
  2073. white-space: nowrap;
  2074. overflow: hidden;
  2075. }
  2076. /*******************************************************************************
  2077. * *
  2078. * Overlay View (overlay.ejs) *
  2079. * *
  2080. ******************************************************************************/
  2081. /* * *
  2082. * Overlay View (Main Content)
  2083. * * */
  2084. /* Overlay container, placed over the main div. */
  2085. #overlayContainer {
  2086. position: absolute;
  2087. z-index: 500;
  2088. top: 22px;
  2089. display: flex;
  2090. align-items: center;
  2091. justify-content: center;
  2092. width: 100%;
  2093. height: calc(100% - 22px);
  2094. background: rgba(0, 0, 0, 0.50);
  2095. }
  2096. /* Main overlay content. */
  2097. #overlayContent {
  2098. position: relative;
  2099. display: flex;
  2100. flex-direction: column;
  2101. align-items: center;
  2102. /*justify-content: space-between;*/
  2103. width: 300px;
  2104. /*height: 35%;*/
  2105. box-sizing: border-box;
  2106. padding: 15px 0px;
  2107. /* background-color: #424242; */
  2108. text-align: center;
  2109. }
  2110. /* Main overlay content anchor styles. */
  2111. #overlayContent a,
  2112. #overlayDismiss {
  2113. color: rgba(202, 202, 202, 0.75);
  2114. transition: 0.25s ease;
  2115. }
  2116. #overlayContent a:hover,
  2117. #overlayContent a:focus,
  2118. #overlayDismiss:focus {
  2119. color: rgba(255, 255, 255, 0.75);
  2120. }
  2121. #overlayContent a:active,
  2122. #overlayDismiss:active {
  2123. color: rgba(165, 165, 165, 0.75);
  2124. }
  2125. /* Add spacing between overlay content elements. */
  2126. #overlayContent > *:first-child {
  2127. margin-top: 0px !important;
  2128. }
  2129. #overlayContent > *:last-child {
  2130. margin-bottom: 0px !important;
  2131. }
  2132. #overlayContent > * {
  2133. margin: 8px 0px;
  2134. }
  2135. /* Overlay title styles. */
  2136. #overlayTitle {
  2137. font-family: 'Avenir Medium';
  2138. font-size: 20px;
  2139. font-weight: bold;
  2140. letter-spacing: 1px;
  2141. }
  2142. /* Overlay description styles. */
  2143. #overlayDesc {
  2144. font-size: 12px;
  2145. font-weight: bold;
  2146. }
  2147. /* Div which contains action buttons. */
  2148. #overlayActionContainer {
  2149. display: flex;
  2150. flex-direction: column;
  2151. justify-content: center;
  2152. }
  2153. /* Overlay acknowledge button styles. */
  2154. #overlayAcknowledge {
  2155. background: none;
  2156. border: 1px solid #ffffff;
  2157. color: white;
  2158. font-family: 'Avenir Medium';
  2159. font-weight: bold;
  2160. border-radius: 2px;
  2161. padding: 0px 8.1px;
  2162. cursor: pointer;
  2163. transition: 0.25s ease;
  2164. }
  2165. #overlayAcknowledge:hover,
  2166. #overlayAcknowledge:focus {
  2167. box-shadow: 0px 0px 10px 0px #fff;
  2168. outline: none;
  2169. }
  2170. #overlayAcknowledge:active {
  2171. border-color: rgba(255, 255, 255, 0.75);
  2172. color: rgba(255, 255, 255, 0.75);
  2173. }
  2174. /* Overlay dismiss option styles. */
  2175. #overlayDismiss {
  2176. font-weight: bold;
  2177. font-size: 10px;
  2178. text-decoration: none;
  2179. padding-top: 2.5px;
  2180. background: none;
  2181. border: none;
  2182. outline: none;
  2183. cursor: pointer;
  2184. }
  2185. #overlayDismiss:hover {
  2186. color: rgba(255, 255, 255, 0.75);
  2187. }
  2188. #overlayDismiss:active {
  2189. color: rgba(165, 165, 165, 0.75);
  2190. }
  2191. /* * *
  2192. * Overlay View (Server + Account Selection Content)
  2193. * * */
  2194. /* Server selection content container. */
  2195. #serverSelectContent,
  2196. #accountSelectContent {
  2197. display: flex;
  2198. flex-direction: column;
  2199. justify-content: center;
  2200. align-items: center;
  2201. height: 75%;
  2202. }
  2203. /* Server selection header. */
  2204. #serverSelectHeader,
  2205. #accountSelectHeader {
  2206. font-family: 'Avenir Medium';
  2207. font-size: 20px;
  2208. font-weight: bold;
  2209. color: #fff;
  2210. margin-bottom: 25px;
  2211. }
  2212. /* Wrapper div for the list of available servers. */
  2213. #serverSelectList,
  2214. #accountSelectList {
  2215. display: flex;
  2216. flex-direction: column;
  2217. align-items: center;
  2218. justify-content: center;
  2219. max-height: 65%;
  2220. min-height: 40%;
  2221. }
  2222. /* Scrollable div which lists the available servers. */
  2223. #serverSelectListScrollable,
  2224. #accountSelectListScrollable {
  2225. padding: 0px 5px;
  2226. overflow-y: scroll;
  2227. }
  2228. #serverSelectListScrollable::-webkit-scrollbar,
  2229. #accountSelectListScrollable::-webkit-scrollbar {
  2230. width: 2px;
  2231. }
  2232. #serverSelectListScrollable::-webkit-scrollbar-track,
  2233. #accountSelectListScrollable::-webkit-scrollbar-track {
  2234. display: none;
  2235. }
  2236. #serverSelectListScrollable::-webkit-scrollbar-thumb,
  2237. #accountSelectListScrollable::-webkit-scrollbar-thumb {
  2238. border-radius: 10px;
  2239. box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.50);
  2240. }
  2241. /* Content container for a server listing. */
  2242. .serverListing {
  2243. border: none;
  2244. padding: 0px;
  2245. width: 375px;
  2246. min-height: 60px;
  2247. display: flex;
  2248. justify-content: flex-start;
  2249. align-items: center;
  2250. opacity: 0.6;
  2251. transition: 0.25s ease;
  2252. cursor: pointer;
  2253. position: relative;
  2254. background: rgba(131, 131, 131, 0.25);
  2255. }
  2256. .serverListing[selected] {
  2257. cursor: default;
  2258. opacity: 1.0;
  2259. }
  2260. .serverListing:hover,
  2261. .serverListing:focus {
  2262. outline: none;
  2263. opacity: 1.0;
  2264. }
  2265. .accountListing {
  2266. color: white;
  2267. border: 1px solid rgba(170, 170, 170, 0.5);
  2268. border-radius: 4px;
  2269. padding: 5px 45px;
  2270. width: 250px;
  2271. display: flex;
  2272. justify-content: flex-start;
  2273. align-items: center;
  2274. opacity: 0.6;
  2275. transition: 0.25s ease;
  2276. cursor: pointer;
  2277. position: relative;
  2278. background: rgba(255, 255, 255, 0.25);
  2279. }
  2280. .accountListing[selected] {
  2281. cursor: default;
  2282. opacity: 1.0;
  2283. }
  2284. .accountListing:hover,
  2285. .accountListing:focus {
  2286. outline: none;
  2287. opacity: 1.0;
  2288. }
  2289. .accountListingName {
  2290. display: flex;
  2291. height: 100%;
  2292. width: 100%;
  2293. padding-left: 10px;
  2294. }
  2295. /* Add spacing between server listings. */
  2296. #serverSelectListScrollable > .serverListing:not(:first-child):not(:last-child),
  2297. #accountSelectListScrollable > .accountListing:not(:first-child):not(:last-child) {
  2298. margin: 5px 0px;
  2299. }
  2300. #serverSelectListScrollable > .serverListing:first-child,
  2301. #accountSelectListScrollable > .accountListing:first-child {
  2302. margin-bottom: 5px;
  2303. }
  2304. #serverSelectListScrollable > .serverListing:last-child,
  2305. #accountSelectListScrollable > .accountListing:last-child {
  2306. margin-top: 5px;
  2307. }
  2308. /* Server listing image. */
  2309. .serverListingImg {
  2310. margin: 0px 10px 0px 5px;
  2311. border: 1px solid #fff;
  2312. height: 50px;
  2313. width: 50px;
  2314. }
  2315. /* Content container for the server listing's details. */
  2316. .serverListingDetails {
  2317. display: flex;
  2318. flex-direction: column;
  2319. align-items: flex-start;
  2320. justify-content: space-between;
  2321. height: 50px;
  2322. }
  2323. /* The name of the server listing. */
  2324. .serverListingName {
  2325. font-size: 14px;
  2326. font-weight: bold;
  2327. }
  2328. /* Description for the server listing. */
  2329. .serverListingDescription {
  2330. font-size: 10px;
  2331. line-height: 10px;
  2332. font-weight: bold;
  2333. }
  2334. /* Content container for the server listing's information. */
  2335. .serverListingInfo {
  2336. width: 100%;
  2337. display: flex;
  2338. justify-content: flex-start;
  2339. }
  2340. /* The minecraft version of the server listing. */
  2341. .serverListingVersion {
  2342. font-size: 10px;
  2343. text-align: center;
  2344. display: flex;
  2345. justify-content: center;
  2346. align-items: center;
  2347. line-height: 12px;
  2348. height: 12px;
  2349. border-radius: 2px;
  2350. background: rgba(31, 140, 11, 0.8);
  2351. padding: 0px 2px;
  2352. }
  2353. /* The revision version of the server's manifest. */
  2354. .serverListingRevision {
  2355. color: #969696;
  2356. font-size: 10px;
  2357. line-height: 12px;
  2358. padding: 0px 5px;
  2359. }
  2360. /* Star which indicates the default (main) server. */
  2361. .serverListingStarWrapper {
  2362. display: flex;
  2363. align-items: center;
  2364. cursor: pointer;
  2365. height: 12px;
  2366. position: relative;
  2367. }
  2368. /* Tooltip which displays when hovering over the star. */
  2369. .serverListingStarTooltip {
  2370. visibility: hidden;
  2371. opacity: 0;
  2372. width: 65px;
  2373. background-color: rgba(0, 0, 0, 0.40);
  2374. text-align: center;
  2375. border-radius: 4px;
  2376. position: absolute;
  2377. z-index: 1;
  2378. left: 130%;
  2379. font-size: 10px;
  2380. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  2381. }
  2382. .serverListingStarTooltip::after {
  2383. content: " ";
  2384. position: absolute;
  2385. top: 50%;
  2386. right: 100%; /* To the left of the tooltip */
  2387. margin-top: -5px;
  2388. border-width: 5px;
  2389. border-style: solid;
  2390. border-color: transparent rgba(0, 0, 0, 0.40) transparent transparent;
  2391. }
  2392. .serverListingStarWrapper:hover .serverListingStarTooltip {
  2393. visibility: visible;
  2394. opacity: 1;
  2395. transition-delay:0s;
  2396. }
  2397. /* Content container which contains the server select actions. */
  2398. #serverSelectActions,
  2399. #accountSelectActions {
  2400. display: flex;
  2401. flex-direction: column;
  2402. justify-content: center;
  2403. align-items: center;
  2404. margin-top: 25px;
  2405. }
  2406. /* Server selection confirm button styles. */
  2407. #serverSelectConfirm,
  2408. #accountSelectConfirm {
  2409. background: none;
  2410. border: 1px solid #ffffff;
  2411. color: white;
  2412. font-family: 'Avenir Medium';
  2413. font-weight: bold;
  2414. border-radius: 2px;
  2415. padding: 0px 8.1px;
  2416. cursor: pointer;
  2417. transition: 0.25s ease;
  2418. min-height: 20.67px;
  2419. }
  2420. #serverSelectConfirm:hover,
  2421. #serverSelectConfirm:focus,
  2422. #accountSelectConfirm:hover,
  2423. #accountSelectConfirm:focus {
  2424. box-shadow: 0px 0px 10px 0px #fff;
  2425. outline: none;
  2426. }
  2427. #serverSelectConfirm:active,
  2428. #accountSelectConfirm:active {
  2429. border-color: rgba(255, 255, 255, 0.75);
  2430. color: rgba(255, 255, 255, 0.75);
  2431. }
  2432. /* Server selection cancel button styles. */
  2433. #serverSelectCancel,
  2434. #accountSelectCancel {
  2435. font-weight: bold;
  2436. font-size: 10px;
  2437. text-decoration: none;
  2438. padding-top: 2.5px;
  2439. color: rgba(202, 202, 202, 0.75);
  2440. transition: 0.25s ease;
  2441. background: none;
  2442. border: none;
  2443. outline: none;
  2444. cursor: pointer;
  2445. }
  2446. #serverSelectCancel:hover,
  2447. #serverSelectCancel:focus,
  2448. #accountSelectCancel:hover,
  2449. #accountSelectCancel:focus {
  2450. color: rgba(255, 255, 255, 0.75);
  2451. }
  2452. #serverSelectCancel:active,
  2453. #accountSelectCancel:active {
  2454. color: rgba(165, 165, 165, 0.75);
  2455. }
  2456. /*******************************************************************************
  2457. * *
  2458. * Loading Element (app.ejs) *
  2459. * *
  2460. ******************************************************************************/
  2461. /* Loading container, placed above everything. */
  2462. #loadingContainer {
  2463. position: absolute;
  2464. z-index: 400;
  2465. display: flex;
  2466. align-items: center;
  2467. justify-content: center;
  2468. width: 100%;
  2469. height: calc(100% - 22px);
  2470. }
  2471. /* Loading content container. */
  2472. #loadingContent {
  2473. position: relative;
  2474. display: flex;
  2475. flex-direction: column;
  2476. align-items: center;
  2477. justify-content: center;
  2478. }
  2479. /* Spinner container. */
  2480. #loadSpinnerContainer {
  2481. position: relative;
  2482. display: flex;
  2483. align-items: center;
  2484. justify-content: center;
  2485. }
  2486. /* Stationary image for the spinner. */
  2487. #loadCenterImage {
  2488. position: absolute;
  2489. width: 277px;
  2490. height: auto;
  2491. }
  2492. /* Rotating image for the spinner. */
  2493. #loadSpinnerImage {
  2494. width: 280px;
  2495. height: auto;
  2496. z-index: 400;
  2497. }
  2498. /* Rotating animation for the spinner. */
  2499. @keyframes rotating {
  2500. from {
  2501. transform: rotate(0deg);
  2502. }
  2503. to {
  2504. transform: rotate(360deg);
  2505. }
  2506. }
  2507. /* Class which is applied when the spinner image is spinning. */
  2508. .rotating {
  2509. animation: rotating 10s linear infinite;
  2510. }