launcher.css 74 KB

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