launcher.css 74 KB

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