launcher.css 76 KB

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