launcher.css 89 KB

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