launcher.css 72 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294
  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: 50px;
  1018. height: 25px;
  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: 17px;
  1041. width: 21px;
  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. }
  1052. input:checked + .toggleSwitchSlider:before {
  1053. transform: translateX(21px);
  1054. }
  1055. /* Range Slider styles. */
  1056. .rangeSlider {
  1057. width: 35%;
  1058. height: 5px;
  1059. margin: 15px 0px;
  1060. background: grey;
  1061. border-radius: 3px;
  1062. position: relative;
  1063. }
  1064. .rangeSliderBar {
  1065. position: absolute;
  1066. background: #8be88b;
  1067. width: 50%;
  1068. height: 5px;
  1069. border-radius: 3px 0px 0px 3px;
  1070. transition: background 0.25s ease;
  1071. }
  1072. .rangeSliderTrack {
  1073. position: absolute;
  1074. top: -7.5px;
  1075. width: 7px;
  1076. height: 20px;
  1077. background: white;
  1078. border-radius: 3px;
  1079. left: 50%;
  1080. cursor: ew-resize;
  1081. }
  1082. /* * *
  1083. * Settings View (Account Tab)
  1084. * * */
  1085. /* Add account button styles. */
  1086. #settingsAddAccount {
  1087. background: rgba(0, 0, 0, 0.25);
  1088. border: 1px solid rgba(126, 126, 126, 0.57);
  1089. border-radius: 3px;
  1090. height: 50px;
  1091. width: 75%;
  1092. text-align: left;
  1093. padding: 0px 50px;
  1094. cursor: pointer;
  1095. outline: none;
  1096. transition: 0.25s ease;
  1097. }
  1098. #settingsAddAccount:hover,
  1099. #settingsAddAccount:focus {
  1100. background: rgba(54, 54, 54, 0.25);
  1101. text-shadow: 0px 0px 20px white;
  1102. }
  1103. /* Settings auth accounts header. */
  1104. #settingsCurrentAccountsHeader {
  1105. margin: 20px 0px;
  1106. }
  1107. /* Auth account list container styles. */
  1108. #settingsCurrentAccounts {
  1109. margin-bottom: 5%;
  1110. }
  1111. #settingsCurrentAccounts > .settingsAuthAccount:not(:last-child) {
  1112. margin-bottom: 10px;
  1113. }
  1114. #settingsCurrentAccounts > .settingsAuthAccount:not(:first-child) {
  1115. margin-top: 10px;
  1116. }
  1117. /* Auth account shared styles. */
  1118. .settingsAuthAccount {
  1119. display: flex;
  1120. width: 75%;
  1121. background: rgba(0, 0, 0, 0.25);
  1122. border-radius: 3px;
  1123. border: 1px solid rgba(126, 126, 126, 0.57);
  1124. }
  1125. /* Left hand side of an auth account element, for the skin image. */
  1126. .settingsAuthAccountLeft {
  1127. padding: 5px 5px 5px 20px;
  1128. }
  1129. /* Image of the auth account's skin. */
  1130. .settingsAuthAccountImage {
  1131. height: 115px;
  1132. }
  1133. /* Right hand side of the auth account, for info + actions. */
  1134. .settingsAuthAccountRight {
  1135. display: flex;
  1136. width: 100%;
  1137. }
  1138. /* Account details container. */
  1139. .settingsAuthAccountDetails {
  1140. display: flex;
  1141. flex-direction: column;
  1142. justify-content: center;
  1143. margin-left: 20px;
  1144. width: 100%;
  1145. }
  1146. .settingsAuthAccountDetails > *:not(:last-child) {
  1147. margin-bottom: 20px;
  1148. }
  1149. /* Account detail element styles. */
  1150. .settingsAuthAccountDetailPane {
  1151. display: flex;
  1152. flex-direction: column;
  1153. }
  1154. .settingsAuthAccountDetailTitle {
  1155. font-size: 12px;
  1156. color: grey;
  1157. font-weight: bold;
  1158. font-family: 'Avenir Medium';
  1159. }
  1160. .settingsAuthAccountDetailValue {
  1161. font-size: 14px;
  1162. -webkit-user-select: initial;
  1163. }
  1164. /* Account actions container. */
  1165. .settingsAuthAccountActions {
  1166. display: flex;
  1167. flex-direction: column;
  1168. justify-content: space-between;
  1169. align-items: flex-end;
  1170. padding: 10px;
  1171. }
  1172. /* Account select button shared styles. */
  1173. .settingsAuthAccountSelect {
  1174. opacity: 0;
  1175. border: none;
  1176. white-space: nowrap;
  1177. background: none;
  1178. font-family: 'Avenir Medium';
  1179. outline: none;
  1180. transition: 0.25s ease;
  1181. }
  1182. .settingsAuthAccountSelect:hover:not([selected]),
  1183. .settingsAuthAccountSelect:focus:not([selected]) {
  1184. text-shadow: 0px 0px 20px white, 0px 0px 20px white;
  1185. cursor: pointer;
  1186. }
  1187. .settingsAuthAccount:hover .settingsAuthAccountSelect:not([selected]),
  1188. .settingsAuthAccountSelect[selected] {
  1189. opacity: 1;
  1190. }
  1191. .settingsAuthAccountSelect[selected] {
  1192. pointer-events: none;
  1193. }
  1194. /* Account logout button shared styles. */
  1195. .settingsAuthAccountLogOut {
  1196. opacity: 0;
  1197. border: 1px solid rgb(241, 55, 55);
  1198. color: rgb(241, 55, 55);
  1199. background: none;
  1200. font-size: 12px;
  1201. border-radius: 3px;
  1202. font-family: 'Avenir Medium';
  1203. transition: 0.25s ease;
  1204. cursor: pointer;
  1205. outline: none;
  1206. }
  1207. .settingsAuthAccountLogOut:hover,
  1208. .settingsAuthAccountLogOut:focus {
  1209. box-shadow: 0px 0px 20px rgb(241, 55, 55);
  1210. background: rgba(241, 55, 55, 0.25);
  1211. }
  1212. .settingsAuthAccountLogOut:active {
  1213. box-shadow: 0px 0px 20px rgb(185, 47, 47);
  1214. background: rgba(185, 47, 47, 0.25);
  1215. border: 1px solid rgb(185, 47, 47);
  1216. color: rgb(185, 47, 47);
  1217. }
  1218. .settingsAuthAccount:hover .settingsAuthAccountLogOut {
  1219. opacity: 1;
  1220. }
  1221. /* * *
  1222. * Settings View (Minecraft Tab)
  1223. * * */
  1224. /* Game resolution UI elements. */
  1225. #settingsGameResolutionContainer {
  1226. display: flex;
  1227. flex-direction: column;
  1228. margin-bottom: 20px;
  1229. }
  1230. #settingsGameResolutionContent {
  1231. display: flex;
  1232. align-items: center;
  1233. padding-top: 10px;
  1234. }
  1235. #settingsGameResolutionCross {
  1236. color: grey;
  1237. padding: 0px 15px;
  1238. }
  1239. #settingsGameWidth,
  1240. #settingsGameHeight {
  1241. padding: 7.5px 5px;
  1242. width: 75px;
  1243. }
  1244. /* * *
  1245. * Settings View (Java Tab)
  1246. * * */
  1247. /* Style links on the Java tab. */
  1248. #settingsTabJava a,
  1249. #settingsChangelogText a {
  1250. color: rgba(202, 202, 202, 0.75);
  1251. transition: 0.25s ease;
  1252. outline: none;
  1253. }
  1254. #settingsTabJava a:hover,
  1255. #settingsTabJava a:focus,
  1256. #settingsChangelogText a:hover,
  1257. #settingsChangelogText a:focus {
  1258. color: rgba(255, 255, 255, 0.75);
  1259. }
  1260. #settingsTabJava a:active,
  1261. #settingsChangelogText a:active {
  1262. color: rgba(165, 165, 165, 0.75);
  1263. }
  1264. /* Main container for memory management. */
  1265. #settingsMemoryContainer {
  1266. width: 75%;
  1267. display: flex;
  1268. flex-direction: column;
  1269. border-bottom: 1px solid rgba(255, 255, 255, 0.50);
  1270. margin-bottom: 20px;
  1271. }
  1272. /* Memory management title. */
  1273. #settingsMemoryTitle {
  1274. margin-bottom: 10px;
  1275. padding-bottom: 5px;
  1276. border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  1277. }
  1278. /* Memory management content. */
  1279. #settingsMemoryContent {
  1280. display: flex;
  1281. justify-content: space-between;
  1282. width: 100%;
  1283. }
  1284. #settingsMemoryContentLeft {
  1285. width: 69%;
  1286. }
  1287. #settingsMemoryContentRight {
  1288. display: flex;
  1289. align-items: center;
  1290. margin-right: 10%;
  1291. }
  1292. /* Header for memory sliders. */
  1293. .settingsMemoryHeader {
  1294. font-size: 14px;
  1295. }
  1296. /* Wrapper container for a memory slider and label. */
  1297. .settingsMemoryActionContainer {
  1298. display: flex;
  1299. align-items: center;
  1300. justify-content: space-between;
  1301. }
  1302. /* Label which displays a memory slider's value. */
  1303. .settingsMemoryLabel {
  1304. font-size: 14px;
  1305. margin-right: 2%;
  1306. }
  1307. /* Range sliders for min and max memory settings. */
  1308. #settingsMaxRAMRange,
  1309. #settingsMinRAMRange {
  1310. width: 85%;
  1311. }
  1312. /* Memory status elements. */
  1313. #settingsMemoryStatus {
  1314. display: flex;
  1315. flex-direction: column;
  1316. }
  1317. #settingsMemoryStatus > .settingsMemoryStatusContainer:not(:last-child){
  1318. margin-bottom: 50%;
  1319. }
  1320. .settingsMemoryStatusContainer {
  1321. display: flex;
  1322. flex-direction: column;
  1323. align-items: center;
  1324. }
  1325. .settingsMemoryStatusTitle {
  1326. font-size: 12px;
  1327. color: grey;
  1328. font-weight: bold;
  1329. }
  1330. .settingsMemoryStatusValue {
  1331. color: lightgrey;
  1332. font-size: 16px;
  1333. }
  1334. /* Description for memory management. */
  1335. #settingsMemoryDesc {
  1336. font-size: 10px;
  1337. margin: 20px 0px;
  1338. color: lightgrey;
  1339. font-weight: bold;
  1340. }
  1341. /* Main container for the Java executable setting. */
  1342. #settingsJavaExecContainer {
  1343. display: flex;
  1344. flex-direction: column;
  1345. border-bottom: 1px solid rgba(255, 255, 255, 0.50);
  1346. margin-bottom: 20px;
  1347. width: 75%;
  1348. }
  1349. /* Java executable setting title. */
  1350. #settingsJavaExecTitle {
  1351. margin-bottom: 10px;
  1352. }
  1353. /* Status text which displays details on the selected executable. */
  1354. #settingsJavaExecDetails {
  1355. font-weight: bold;
  1356. color: grey;
  1357. font-size: 12px;
  1358. }
  1359. /* Wrapper container for the actionable elements. */
  1360. #settingsJavaExecActions {
  1361. display: flex;
  1362. width: 90%;
  1363. }
  1364. /* Java icon settings. */
  1365. .settingsJavaIcon {
  1366. display: flex;
  1367. align-items: center;
  1368. background: rgba(126, 126, 126, 0.57);
  1369. border-radius: 3px 0px 0px 3px;
  1370. padding: 5px;
  1371. transition: 0.25s ease;
  1372. }
  1373. .settingsJavaIconSVG {
  1374. width: 20px;
  1375. height: 20px;
  1376. fill: white;
  1377. }
  1378. /* Disabled text field which stores the selected executable path. */
  1379. #settingsJavaExecVal {
  1380. border-radius: 0px !important;
  1381. width: 100%;
  1382. padding: 5px 10px;
  1383. font-size: 12px;
  1384. }
  1385. /* File input for executable selection. */
  1386. #settingsJavaExecSel {
  1387. width: 0px;
  1388. height: 0px;
  1389. opacity: 0;
  1390. }
  1391. #settingsJavaExecSel::-webkit-file-upload-button {
  1392. display: none;
  1393. }
  1394. /* Wrapper label to add a custom style to the file input. */
  1395. #settingsJavaExecLabel {
  1396. border-left: 0px;
  1397. border-radius: 0px 3px 3px 0px;
  1398. font-size: 12px;
  1399. padding: 0px 5px;
  1400. cursor: pointer;
  1401. display: flex;
  1402. align-items: center;
  1403. background: rgba(126, 126, 126, 0.57);
  1404. transition: 0.25s ease;
  1405. white-space: nowrap;
  1406. }
  1407. #settingsJavaExecLabel:hover,
  1408. #settingsJavaExecLabel:focus,
  1409. #settingsJavaExecSel:focus ~ #settingsJavaExecLabel {
  1410. text-shadow: 0px 0px 20px white;
  1411. }
  1412. /* Description for the Java executable setting. */
  1413. #settingsJavaExecDesc {
  1414. font-size: 10px;
  1415. margin: 20px 0px;
  1416. color: lightgrey;
  1417. font-weight: bold;
  1418. width: 89%;
  1419. }
  1420. #settingsJavaExecDesc strong {
  1421. font-family: 'Avenir Medium';
  1422. }
  1423. /* Main container for the JVM options setting. */
  1424. #settingsJVMOptsContainer {
  1425. width: 75%;
  1426. }
  1427. /* JVM options title. */
  1428. #settingsJVMOptsTitle {
  1429. margin-bottom: 10px;
  1430. }
  1431. /* Wrapper container for the actionable elements. */
  1432. #settingsJVMOptsContent {
  1433. display: flex;
  1434. width: 90%;
  1435. }
  1436. /* Text field to input the JVM options. */
  1437. #settingsJVMOptsVal {
  1438. border-radius: 0px 3px 3px 0px !important;
  1439. width: 100%;
  1440. padding: 5px 10px;
  1441. font-size: 12px;
  1442. }
  1443. #settingsJVMOptsContent:focus-within > .settingsJavaIcon {
  1444. background: rgba(126, 126, 126, 0.87);
  1445. }
  1446. /* Description for the JVM options setting. */
  1447. #settingsJVMOptsDesc {
  1448. font-size: 10px;
  1449. margin: 20px 0px;
  1450. color: lightgrey;
  1451. font-weight: bold;
  1452. width: 89%;
  1453. }
  1454. /* * *
  1455. * Settings View (About Tab)
  1456. * * */
  1457. /* Main about content container. */
  1458. #settingsAboutCurrentContainer {
  1459. display: flex;
  1460. flex-direction: column;
  1461. background: rgba(0, 0, 0, 0.25);
  1462. border: 1px solid rgba(126, 126, 126, 0.57);
  1463. border-radius: 3px;
  1464. width: 75%;
  1465. margin-bottom: 20px;
  1466. }
  1467. /* About content. */
  1468. #settingsAboutCurrentContent {
  1469. display: flex;
  1470. flex-direction: column;
  1471. padding: 15px;
  1472. }
  1473. /* About header elements. */
  1474. #settingsAboutCurrentHeadline {
  1475. display: flex;
  1476. align-items: center;
  1477. padding-bottom: 5px;
  1478. border-bottom: 1px solid rgba(126, 126, 126, 0.57);
  1479. }
  1480. #settingsAboutLogo {
  1481. width: 30px;
  1482. height: 30px;
  1483. padding: 5px;
  1484. }
  1485. #settingsAboutTitle {
  1486. font-size: 23px;
  1487. padding-left: 10px;
  1488. }
  1489. /* Current version container. */
  1490. #settingsAboutCurrentVersion {
  1491. display: flex;
  1492. align-items: center;
  1493. padding-top: 10px;
  1494. }
  1495. /* Checkmark next to the version information. */
  1496. #settingsAboutCurrentVersionCheck {
  1497. border-radius: 50%;
  1498. background: #23aa23;
  1499. text-align: center;
  1500. font-weight: bold;
  1501. margin: 11px 12px;
  1502. color: white;
  1503. height: 15px;
  1504. width: 15px;
  1505. font-size: 12px;
  1506. line-height: 17px;
  1507. }
  1508. /* Current version details container. */
  1509. #settingsAboutCurrentVersionDetails {
  1510. margin-left: 10px;
  1511. }
  1512. /* Release type text. */
  1513. #settingsAboutCurrentVersionTitle {
  1514. font-size: 12px;
  1515. font-family: 'Avenir Medium';
  1516. color: #23aa23;
  1517. font-weight: bold;
  1518. }
  1519. /* Current version text. */
  1520. #settingsAboutCurrentVersionLine {
  1521. font-size: 10px;
  1522. color: grey;
  1523. font-weight: bold;
  1524. }
  1525. /* About information links. */
  1526. #settingsAboutButtons {
  1527. display: flex;
  1528. padding: 0px 15px;
  1529. margin-bottom: 5px;
  1530. }
  1531. .settingsAboutButton {
  1532. background: none;
  1533. border: none;
  1534. font-size: 10px;
  1535. color: grey;
  1536. padding: 0px 5px;
  1537. transition: 0.25s ease;
  1538. outline: none;
  1539. text-decoration: none;
  1540. }
  1541. .settingsAboutButton:hover,
  1542. .settingsAboutButton:focus {
  1543. color: rgb(165, 165, 165);
  1544. }
  1545. .settingsAboutButton:active {
  1546. color: rgba(124, 124, 124, 0.75);
  1547. }
  1548. /* Main changelog container. */
  1549. #settingsChangelogContainer {
  1550. display: flex;
  1551. flex-direction: column;
  1552. background: rgba(0, 0, 0, 0.25);
  1553. border: 1px solid rgba(126, 126, 126, 0.57);
  1554. border-radius: 3px;
  1555. width: 75%;
  1556. margin-bottom: 20px;
  1557. }
  1558. /* Changelog content container. */
  1559. #settingsChangelogContent {
  1560. display: flex;
  1561. flex-direction: column;
  1562. padding: 15px;
  1563. }
  1564. /* Changelog header container. */
  1565. #settingsChangelogHeadline {
  1566. padding-bottom: 10px;
  1567. margin-bottom: 10px;
  1568. border-bottom: 1px solid rgba(126, 126, 126, 0.57);
  1569. }
  1570. /* Changelog header label. */
  1571. #settingsChangelogLabel {
  1572. font-size: 12px;
  1573. color: grey;
  1574. font-weight: bold;
  1575. }
  1576. /* Changelog text content container. */
  1577. #settingsChangelogText {
  1578. font-size: 12px;
  1579. }
  1580. /* Styles for the changelog elements. */
  1581. #settingsChangelogText p {
  1582. margin-bottom: 16px;
  1583. line-height: 1.5;
  1584. }
  1585. #settingsChangelogText blockquote {
  1586. border-left: 0.25em solid rgba(126, 126, 126, 0.95);
  1587. margin: 0px;
  1588. padding: 0 0 0 1em;
  1589. color: rgba(255, 255, 255, 0.85);
  1590. }
  1591. #settingsChangelogText code {
  1592. padding: 0.1em 0.4em;
  1593. font-size: 85%;
  1594. background-color: rgba(255, 255, 255, 0.25);
  1595. color: white;
  1596. border-radius: 3px;
  1597. font-family: 'Avenir Book';
  1598. }
  1599. #settingsChangelogText li+li {
  1600. margin-top: .25em;
  1601. }
  1602. #settingsChangelogText a.commit-link {
  1603. font-weight: 400;
  1604. color: #ffffff;
  1605. text-decoration: none;
  1606. }
  1607. #settingsChangelogText a.commit-link:hover {
  1608. text-decoration: underline;
  1609. text-decoration-color: black;
  1610. }
  1611. #settingsChangelogText tt {
  1612. padding: 0.1em 0.4em;
  1613. font-size: 86%;
  1614. background-color: white;
  1615. border-radius: 3px;
  1616. color: black;
  1617. font-weight: bold;
  1618. }
  1619. #settingsChangelogText .highlight {
  1620. background: rgba(0, 0, 0, 0.30);
  1621. user-select: initial;
  1622. padding: 5px 10px;
  1623. }
  1624. #settingsChangelogText .highlight pre {
  1625. margin: 0px;
  1626. }
  1627. /* Container for the changelog button. */
  1628. #settingsChangelogActions {
  1629. padding: 0px 15px 5px 15px;
  1630. }
  1631. /* Open changelog on GitHub. */
  1632. #settingsChangelogButton {
  1633. padding: 0px;
  1634. }
  1635. /*******************************************************************************
  1636. * *
  1637. * Landing View (Structural Styles) *
  1638. * *
  1639. ******************************************************************************/
  1640. /* Main content container. */
  1641. #landingContainer {
  1642. height: 100%;
  1643. position: relative;
  1644. transition: background 2s ease;
  1645. overflow-y: hidden;
  1646. }
  1647. /* Upper content container. */
  1648. #landingContainer > #upper {
  1649. position: relative;
  1650. transition: top 2s ease;
  1651. top: 0px;
  1652. height: 77%;
  1653. display: flex;
  1654. }
  1655. #landingContainer > #upper > #left {
  1656. display: inline-flex;
  1657. width: 15%;
  1658. height: 100%;
  1659. justify-content: flex-end;
  1660. }
  1661. #landingContainer > #upper > #content {
  1662. display: inline-flex;
  1663. width: 70%;
  1664. height: 100%;
  1665. }
  1666. #landingContainer > #upper > #right {
  1667. display: inline-flex;
  1668. width: 15%;
  1669. height: 100%;
  1670. }
  1671. /* Lower content container. */
  1672. #landingContainer > #lower {
  1673. height: 23%;
  1674. display: flex;
  1675. background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  1676. }
  1677. #landingContainer > #lower > #left {
  1678. position: relative;
  1679. transition: top 2s ease;
  1680. top: 0px;
  1681. height: 100%;
  1682. width: 33%;
  1683. display: inline-flex;
  1684. justify-content: center;
  1685. }
  1686. #landingContainer > #lower > #left #content {
  1687. position: relative;
  1688. top: 25px;
  1689. display: inline-flex;
  1690. line-height: 24px;
  1691. left: 50px;
  1692. }
  1693. #landingContainer > #lower > #center {
  1694. position: relative;
  1695. transition: top 2s ease;
  1696. top: 0px;
  1697. height: 100%;
  1698. width: 34%;
  1699. display: inline-flex;
  1700. justify-content: center;
  1701. }
  1702. #landingContainer > #lower > #center #content {
  1703. position: relative;
  1704. z-index: 500;
  1705. transition: top 2s ease;
  1706. top: 10px;
  1707. }
  1708. #landingContainer > #lower > #right {
  1709. position: relative;
  1710. transition: top 2s ease;
  1711. top: 0px;
  1712. height: 100%;
  1713. width: 33%;
  1714. display: inline-flex;
  1715. }
  1716. /*******************************************************************************
  1717. * *
  1718. * Landing View (News Styles) *
  1719. * *
  1720. ******************************************************************************/
  1721. /* Main container. */
  1722. #newsContainer {
  1723. position: absolute;
  1724. top: 100%;
  1725. height: 100%;
  1726. width: 100%;
  1727. transition: top 2s ease;
  1728. display: flex;
  1729. align-items: flex-end;
  1730. justify-content: center;
  1731. }
  1732. /* News content container. */
  1733. #newsContent {
  1734. height: 82vh;
  1735. width: 100%;
  1736. display: flex;
  1737. -webkit-user-select: initial;
  1738. position: relative;
  1739. }
  1740. /* Drop shadow displayed when content is scrolled out of view. */
  1741. #newsContent:before {
  1742. content: '';
  1743. background: linear-gradient(rgba(0, 0, 0, 0.25), transparent);
  1744. width: 100%;
  1745. height: 5px;
  1746. position: absolute;
  1747. opacity: 0;
  1748. transition: opacity 0.25s ease;
  1749. }
  1750. #newsContent[scrolled]:before {
  1751. opacity: 1;
  1752. }
  1753. /* News article status container (left). */
  1754. #newsStatusContainer {
  1755. width: calc(30% - 60px);
  1756. height: calc(100% - 30px);
  1757. padding: 15px 15px 15px 45px;
  1758. display: flex;
  1759. flex-direction: column;
  1760. justify-content: space-between;
  1761. position: relative;
  1762. }
  1763. /* News status content. */
  1764. #newsStatusContent {
  1765. display: flex;
  1766. flex-direction: column;
  1767. align-items: flex-end;
  1768. }
  1769. /* News title wrapper. */
  1770. #newsTitleContainer {
  1771. display: flex;
  1772. max-width: 90%;
  1773. }
  1774. /* News article title styles. */
  1775. #newsArticleTitle {
  1776. font-size: 18px;
  1777. font-weight: bold;
  1778. font-family: 'Avenir Medium';
  1779. color: white;
  1780. text-decoration: none;
  1781. transition: 0.25s ease;
  1782. outline: none;
  1783. text-align: right;
  1784. }
  1785. #newsArticleTitle:hover,
  1786. #newsArticleTitle:focus {
  1787. text-shadow: 0px 0px 20px white;
  1788. }
  1789. #newsArticleTitle:active {
  1790. color: #c7c7c7;
  1791. text-shadow: 0px 0px 20px #c7c7c7;
  1792. }
  1793. /* News meta container. */
  1794. #newsMetaContainer {
  1795. display: flex;
  1796. flex-direction: column;
  1797. }
  1798. /* Date and author wrappers. */
  1799. #newsArticleDateWrapper,
  1800. #newsArticleAuthorWrapper {
  1801. display: flex;
  1802. justify-content: flex-end;
  1803. }
  1804. /* Date and author shared styles. */
  1805. #newsArticleDate,
  1806. #newsArticleAuthor {
  1807. display: inline-block;
  1808. font-size: 10px;
  1809. padding: 0px 5px;
  1810. font-weight: bold;
  1811. border-radius: 2px;
  1812. }
  1813. /* Date styles. */
  1814. #newsArticleDate {
  1815. background: white;
  1816. color: black;
  1817. margin-top: 5px;
  1818. }
  1819. /* Author styles. */
  1820. #newsArticleAuthor {
  1821. background: #a02d2a;
  1822. }
  1823. /* News article comments styles. */
  1824. #newsArticleComments {
  1825. margin-top: 5px;
  1826. display: inline-block;
  1827. font-size: 10px;
  1828. color: #ffffff;
  1829. text-decoration: none;
  1830. transition: 0.25s ease;
  1831. outline: none;
  1832. text-align: right;
  1833. }
  1834. #newsArticleComments:focus,
  1835. #newsArticleComments:hover {
  1836. color: #e0e0e0;
  1837. }
  1838. #newsArticleComments:active {
  1839. color: #c7c7c7;
  1840. }
  1841. /* Article content container (right). */
  1842. #newsArticleContainer {
  1843. width: calc(100% - 25px);
  1844. height: 100%;
  1845. margin: 0px 0px 0px 25px;
  1846. }
  1847. /* Article content styles. */
  1848. #newsArticleContentScrollable {
  1849. font-size: 12px;
  1850. overflow-y: scroll;
  1851. height: 100%;
  1852. padding: 0px 15px 0px 15px;
  1853. }
  1854. #newsArticleContentScrollable img,
  1855. #newsArticleContentScrollable iframe {
  1856. max-width: 95%;
  1857. display: block;
  1858. margin: 0 auto;
  1859. }
  1860. #newsArticleContentScrollable a {
  1861. color: rgba(202, 202, 202, 0.75);
  1862. transition: 0.25s ease;
  1863. outline: none;
  1864. }
  1865. #newsArticleContentScrollable a:hover,
  1866. #newsArticleContentScrollable a:focus {
  1867. color: rgba(255, 255, 255, 0.75);
  1868. }
  1869. #newsArticleContentScrollable a:active {
  1870. color: rgba(165, 165, 165, 0.75);
  1871. }
  1872. #newsArticleContentScrollable::-webkit-scrollbar {
  1873. width: 2px;
  1874. }
  1875. #newsArticleContentScrollable::-webkit-scrollbar-track {
  1876. display: none;
  1877. }
  1878. #newsArticleContentScrollable::-webkit-scrollbar-thumb {
  1879. border-radius: 10px;
  1880. box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.50);
  1881. }
  1882. #newsArticleContentWrapper {
  1883. width: 80%;
  1884. }
  1885. .newsArticleSpacerTop {
  1886. height: 15px;
  1887. }
  1888. /* Div to add spacing at the end of a news article. */
  1889. .newsArticleSpacerBot {
  1890. height: 30px;
  1891. }
  1892. /* News navigation container. */
  1893. #newsNavigationContainer {
  1894. display: flex;
  1895. justify-content: center;
  1896. align-items: center;
  1897. margin-bottom: 10px;
  1898. -webkit-user-select: none;
  1899. position: absolute;
  1900. bottom: 15px;
  1901. right: 0px;
  1902. }
  1903. /* Navigation status span. */
  1904. #newsNavigationStatus {
  1905. font-size: 12px;
  1906. margin: 0px 15px;
  1907. }
  1908. /* Left and right navigation button styles. */
  1909. #newsNavigateLeft,
  1910. #newsNavigateRight {
  1911. background: none;
  1912. border: none;
  1913. outline: none;
  1914. height: 20px;
  1915. cursor: pointer;
  1916. }
  1917. #newsNavigateLeft:hover #newsNavigationLeftSVG,
  1918. #newsNavigateLeft:focus #newsNavigationLeftSVG,
  1919. #newsNavigateRight:hover #newsNavigationRightSVG,
  1920. #newsNavigateRight:focus #newsNavigationRightSVG {
  1921. -webkit-filter: drop-shadow(0px 0px 2px #fff);
  1922. }
  1923. #newsNavigateLeft:active #newsNavigationLeftSVG .arrowLine,
  1924. #newsNavigateRight:active #newsNavigationRightSVG .arrowLine {
  1925. stroke: #c7c7c7;
  1926. }
  1927. #newsNavigateLeft:active #newsNavigationLeftSVG,
  1928. #newsNavigateRight:active #newsNavigationRightSVG {
  1929. -webkit-filter: drop-shadow(0px 0px 2px #c7c7c7);
  1930. }
  1931. #newsNavigateLeft:disabled #newsNavigationLeftSVG .arrowLine,
  1932. #newsNavigateRight:disabled #newsNavigationRightSVG .arrowLine {
  1933. stroke: rgba(255, 255, 255, 0.75);
  1934. }
  1935. #newsNavigationLeftSVG {
  1936. transform: rotate(-90deg);
  1937. width: 15px;
  1938. }
  1939. #newsNavigationRightSVG {
  1940. transform: rotate(90deg);
  1941. width: 15px;
  1942. }
  1943. /* News error (message) container. */
  1944. #newsErrorContainer {
  1945. height: 100%;
  1946. display: flex;
  1947. align-items: center;
  1948. flex-direction: column;
  1949. justify-content: center;
  1950. }
  1951. #newsErrorFailed {
  1952. display: flex;
  1953. align-items: center;
  1954. flex-direction: column;
  1955. justify-content: center;
  1956. }
  1957. /* News error content (message). */
  1958. .newsErrorContent {
  1959. font-size: 20px;
  1960. }
  1961. #newsErrorLoading {
  1962. display: flex;
  1963. width: 168.92px;
  1964. }
  1965. #nELoadSpan {
  1966. white-space: pre;
  1967. }
  1968. /* News error retry button styles. */
  1969. #newsErrorRetry {
  1970. font-size: 12px;
  1971. font-weight: bold;
  1972. cursor: pointer;
  1973. background: none;
  1974. border: none;
  1975. outline: none;
  1976. transition: 0.25s ease;
  1977. }
  1978. #newsErrorRetry:focus,
  1979. #newsErrorRetry:hover {
  1980. text-shadow: 0px 0px 20px white;
  1981. }
  1982. #newsErrorRetry:active {
  1983. color: #c7c7c7;
  1984. text-shadow: 0px 0px 20px #c7c7c7;
  1985. }
  1986. /*******************************************************************************
  1987. * *
  1988. * Landing View (Top Styles) *
  1989. * *
  1990. ******************************************************************************/
  1991. /* * *
  1992. * Landing View (Top Styles) | Left Content
  1993. * * */
  1994. /* Logo image. */
  1995. #image_seal {
  1996. height: 70px;
  1997. width: auto;
  1998. position: relative;
  1999. border: 2px solid white;
  2000. box-sizing: border-box;
  2001. border-radius: 50%;
  2002. }
  2003. /* Logo container styles. */
  2004. #image_seal_container {
  2005. position: relative;
  2006. height: 70px;
  2007. width: 70px;
  2008. border-radius: 50%;
  2009. margin-top: 50px;
  2010. }
  2011. /* Logo container styles w/ update. */
  2012. #image_seal_container[update]{
  2013. cursor: pointer
  2014. }
  2015. #image_seal_container[update]:before,
  2016. #image_seal_container[update]:after {
  2017. cursor: pointer;
  2018. position: absolute;
  2019. content: '';
  2020. height: 100%;
  2021. width: 100%;
  2022. top: 0%;
  2023. left: 0%;
  2024. border-radius: 50%;
  2025. box-shadow: 0 0 15px #43c628;
  2026. animation: glow-grow 4s ease-out infinite;
  2027. background: rgba(0, 0, 0, 0.15);
  2028. }
  2029. #image_seal_container[update]:before {
  2030. animation-delay: 2s;
  2031. }
  2032. /* Update available tooltip styles. */
  2033. #updateAvailableTooltip {
  2034. cursor: pointer;
  2035. visibility: hidden;
  2036. opacity: 0;
  2037. width: 100px;
  2038. height: 15px;
  2039. background-color: rgb(0, 0, 0);
  2040. color: #fff;
  2041. text-align: center;
  2042. border-radius: 4px;
  2043. padding: 2px;
  2044. position: absolute;
  2045. z-index: 1;
  2046. top: 115%;
  2047. left: -17.5px;
  2048. font-family: 'Avenir Medium';
  2049. font-size: 12px;
  2050. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  2051. }
  2052. #updateAvailableTooltip::after {
  2053. content: " ";
  2054. position: absolute;
  2055. left: 50%;
  2056. bottom: 100%;
  2057. margin-left: -5px;
  2058. border-width: 5px;
  2059. border-style: solid;
  2060. border-color: transparent transparent rgb(0, 0, 0) transparent;
  2061. }
  2062. #image_seal_container[update]:hover #updateAvailableTooltip {
  2063. visibility: visible;
  2064. opacity: 1;
  2065. transition-delay: 0s;
  2066. }
  2067. /* Update available animation. */
  2068. @keyframes glow-grow {
  2069. 0% {
  2070. opacity: 0;
  2071. transform: scale(1);
  2072. }
  2073. 80% {
  2074. opacity: 1;
  2075. }
  2076. 100% {
  2077. transform: scale(1.5);
  2078. opacity: 0;
  2079. }
  2080. }
  2081. /* * *
  2082. * Landing View (Bottom Styles) | Right Content
  2083. * * */
  2084. /* Wrapper container for top, right content. */
  2085. #rightContainer {
  2086. display: flex;
  2087. flex-direction: column;
  2088. position: relative;
  2089. top: 50px;
  2090. align-items: flex-start;
  2091. height: calc(100% - 50px);
  2092. }
  2093. /* Right hand user content container. */
  2094. #user_content {
  2095. display: flex;
  2096. align-items: center;
  2097. justify-content: center;
  2098. box-sizing: border-box;
  2099. position: relative;
  2100. }
  2101. /* User profile avatar container. */
  2102. #avatarContainer {
  2103. border-radius: 50%;
  2104. border: 2px solid #cad7e1;
  2105. box-sizing: border-box;
  2106. background: rgba(1, 2, 1, 0.5);
  2107. height: 70px;
  2108. width: 70px;
  2109. box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);
  2110. overflow: hidden;
  2111. position: relative;
  2112. /*background-image: url('https://cdn.discordapp.com/avatars/169197209630277642/6650b5a50e1cb3d00a79b9b88b9a0cd4.png');*/
  2113. background-position: center;
  2114. background-repeat: no-repeat;
  2115. background-size: contain;
  2116. }
  2117. /* Avatar edit overlay. */
  2118. #avatarOverlay {
  2119. opacity: 0;
  2120. position: absolute;
  2121. z-index: 1;
  2122. display: flex;
  2123. justify-content: center;
  2124. align-items: center;
  2125. transition: 0.25s ease;
  2126. font-weight: bold;
  2127. letter-spacing: 2px;
  2128. background-color: rgba(0, 0, 0, 0.35);
  2129. -webkit-user-select: none;
  2130. border: none;
  2131. cursor: pointer;
  2132. width: 100%;
  2133. height: 100%;
  2134. border-radius: 50%;
  2135. }
  2136. #avatarOverlay:hover,
  2137. #avatarOverlay:focus {
  2138. opacity: 1;
  2139. }
  2140. #avatarOverlay:active {
  2141. background-color: rgba(0, 0, 0, 0.45);
  2142. }
  2143. /* User profile name text. */
  2144. #user_text {
  2145. font-size: 12px;
  2146. min-width: 135px;
  2147. font-weight: 900;
  2148. letter-spacing: 1px;
  2149. text-shadow: 0px 0px 20px black;
  2150. position: absolute;
  2151. right: 95px;
  2152. text-align: right;
  2153. -webkit-user-select: initial;
  2154. }
  2155. /* Social media icon content container. */
  2156. #mediaContent {
  2157. position: relative;
  2158. display: flex;
  2159. flex-direction: column;
  2160. margin-top: 25px;
  2161. height: calc(100% - 95px);
  2162. width: 70px;
  2163. align-items: center;
  2164. }
  2165. /* Social Media Icon division containers. */
  2166. #internalMedia, #externalMedia {
  2167. display: flex;
  2168. flex-direction: column;
  2169. }
  2170. /* Container object which wraps an icon to ensure fluid transitions. */
  2171. .mediaContainer {
  2172. display: flex;
  2173. justify-content: center;
  2174. align-items: center;
  2175. height: 27px;
  2176. }
  2177. /* Divider bar between the external and internal icons. */
  2178. .mediaDivider {
  2179. height: 1px;
  2180. width: 14px;
  2181. background: rgb(255, 255, 255);
  2182. margin: 10px 0px;
  2183. }
  2184. /* Social media icon shared styles. */
  2185. .mediaSVG {
  2186. fill: #ffffff;
  2187. height: 12px;
  2188. transition: 0.25s ease;
  2189. cursor: pointer;
  2190. height: 12px;
  2191. width: 25px;
  2192. }
  2193. .mediaSVG:hover,
  2194. .mediaURL:focus .mediaSVG,
  2195. .mediaSVG:active {
  2196. height: 20px;
  2197. }
  2198. /* Social media URL shared styles. */
  2199. .mediaURL {
  2200. outline: none;
  2201. }
  2202. /* Internal media button shared styles. */
  2203. .mediaButton {
  2204. background: none;
  2205. border: none;
  2206. padding: 0px;
  2207. display: flex;
  2208. align-items: center;
  2209. outline: none;
  2210. }
  2211. #settingsMediaContainer {
  2212. position: relative;
  2213. }
  2214. /* Settings icon colors. */
  2215. #settingsSVG {
  2216. stroke: #ffffff;
  2217. height: 15px;
  2218. }
  2219. .mediaButton:hover #settingsSVG,
  2220. .mediaButton:focus #settingsSVG,
  2221. .mediaButton:active #settingsSVG {
  2222. height: 23px;
  2223. }
  2224. /* Settings tooltip styles. */
  2225. #settingsTooltip {
  2226. visibility: hidden;
  2227. opacity: 0;
  2228. width: 75px;
  2229. height: 20px;
  2230. background-color: rgba(0, 0, 0, 0.75);
  2231. text-align: center;
  2232. border-radius: 4px;
  2233. position: absolute;
  2234. z-index: 1;
  2235. right: 130%;
  2236. font-size: 12px;
  2237. line-height: 20px;
  2238. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  2239. }
  2240. #settingsTooltip::after {
  2241. content: " ";
  2242. position: absolute;
  2243. top: 50%;
  2244. left: 100%;
  2245. margin-top: -5px;
  2246. border-width: 5px;
  2247. border-style: solid;
  2248. border-color: transparent transparent transparent rgba(0, 0, 0, 0.75);
  2249. }
  2250. .mediaButton:hover #settingsTooltip,
  2251. .mediaButton:focus #settingsTooltip,
  2252. .mediaButton:active #settingsTooltip {
  2253. visibility: visible;
  2254. opacity: 1;
  2255. transition-delay:0s;
  2256. }
  2257. /* Twitter icon colors. */
  2258. #twitterSVG:hover,
  2259. #twitterURL:focus #twitterSVG {
  2260. fill: #1da1f2;
  2261. }
  2262. #twitterSVG:active {
  2263. fill: #1b8dd4;
  2264. }
  2265. /* Instagram icon colors. */
  2266. #instagramSVG:hover,
  2267. #instagramURL:focus #instagramSVG {
  2268. fill: url('#instaFill')
  2269. /*fill: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); */
  2270. }
  2271. #instagramSVG:active {
  2272. fill: url('#instaFill')
  2273. }
  2274. /* Youtube icon colors. */
  2275. #youtubeSVG:hover,
  2276. #youtubeURL:focus #youtubeSVG {
  2277. fill: #f00;
  2278. }
  2279. #youtubeSVG:active {
  2280. fill: #ea0202;
  2281. }
  2282. /* Discord icon colors. */
  2283. #discordSVG:hover,
  2284. #discordURL:focus #discordSVG {
  2285. fill: #7288d9;
  2286. }
  2287. #discordSVG:active {
  2288. fill: #657ac4;
  2289. }
  2290. /*******************************************************************************
  2291. * *
  2292. * Landing View (Bottom Styles) *
  2293. * *
  2294. ******************************************************************************/
  2295. /* Style for a general label on the bottom of the landing view. */
  2296. .bot_label {
  2297. font-size: 9px;
  2298. letter-spacing: 1px;
  2299. font-weight: bold;
  2300. text-shadow: 0px 0px 0px #bebcbb;
  2301. }
  2302. /* Divider used on the bottom of the landing view. */
  2303. .bot_divider {
  2304. height: 25px;
  2305. width: 2px;
  2306. background: rgba(107, 105, 105, 0.7);
  2307. margin-left: 20px;
  2308. margin-right: 20px;
  2309. }
  2310. /* * *
  2311. * Landing View (Bottom Styles) | Left Content
  2312. * * */
  2313. /* Maintains maximum width on the status bar. */
  2314. #server_status_wrapper {
  2315. display: inline-flex;
  2316. width: 75px;
  2317. }
  2318. /* Span which displays the player count of the selected server. */
  2319. #player_count {
  2320. color: #949494;
  2321. font-size: 8px;
  2322. font-weight: 900;
  2323. text-shadow: 0px 0px 20px #949494;
  2324. margin-left: 10px;
  2325. }
  2326. /* Wrapper container for the mojang status bar. */
  2327. #mojangStatusWrapper {
  2328. position: relative;
  2329. display: flex;
  2330. cursor: pointer;
  2331. }
  2332. /* Icon which displays the status of the mojang services. */
  2333. #mojang_status_icon {
  2334. font-size: 30px;
  2335. color: #848484;
  2336. margin-left: 15px;
  2337. font-family: 'sans-serif';
  2338. }
  2339. /* Tooltip which displays more details about the mojang statuses. */
  2340. #mojangStatusTooltip {
  2341. position: absolute;
  2342. visibility: hidden;
  2343. opacity: 0;
  2344. width: 145px;
  2345. min-height: 150px;
  2346. background-color: rgba(0, 0, 0, 0.75);
  2347. color: #fff;
  2348. border-radius: 4px;
  2349. padding: 5px 10px;
  2350. z-index: 1;
  2351. font-family: 'Avenir Medium';
  2352. font-size: 12px;
  2353. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  2354. bottom: calc(100% + 15px);
  2355. transform: translateX(-50%);
  2356. margin-left: 50%;
  2357. box-shadow: 0px 0px 20px rgb(0, 0, 0);
  2358. cursor: default;
  2359. }
  2360. #mojangStatusTooltip:after {
  2361. content: " ";
  2362. position: absolute;
  2363. left: 50%;
  2364. top: 100%;
  2365. margin-left: -5px;
  2366. border-width: 5px;
  2367. border-style: solid;
  2368. border-color: rgba(0, 0, 0, 0.75) transparent transparent transparent;
  2369. }
  2370. #mojangStatusWrapper:hover #mojangStatusTooltip {
  2371. visibility: visible;
  2372. opacity: 1;
  2373. transition-delay: 0s;
  2374. }
  2375. /* Tooltip title for the mojang statuses. */
  2376. #mojangStatusTooltipTitle {
  2377. width: 100%;
  2378. text-align: center;
  2379. margin-bottom: 5px;
  2380. letter-spacing: 1px;
  2381. }
  2382. /* Wrapper container for the non essential services title. */
  2383. #mojangStatusNEContainer {
  2384. display: flex;
  2385. align-items: center;
  2386. margin: 10px 0px;
  2387. }
  2388. /* White bar which surrounds the non essential service title. */
  2389. .mojangStatusNEBar {
  2390. height: 1px;
  2391. width: 100%;
  2392. background: white;
  2393. }
  2394. /* Non essential service title text. */
  2395. #mojangStatusNETitle {
  2396. font-size: 10px;
  2397. padding: 0px 3px;
  2398. text-align: center;
  2399. letter-spacing: 1px;
  2400. }
  2401. /* Wrapper container for mojang service information. */
  2402. .mojangStatusContainer {
  2403. display: flex;
  2404. }
  2405. /* Displays the name of the mojang service. */
  2406. .mojangStatusName {
  2407. width: 100%;
  2408. font-size: 10px;
  2409. letter-spacing: 1px;
  2410. line-height: 12px;
  2411. padding: 6px 0px;
  2412. }
  2413. /* Displays the status of the mojang service. */
  2414. .mojangStatusIcon {
  2415. margin-right: 10px;
  2416. font-size: 18.5px;
  2417. color: #848484;
  2418. }
  2419. /* * *
  2420. * Landing View (Bottom Styles) | Center Content
  2421. * * */
  2422. /* Button which opens the news view. */
  2423. #newsButton {
  2424. background: none;
  2425. border: none;
  2426. cursor: pointer;
  2427. outline: none;
  2428. }
  2429. #newsButton:hover #newsButtonText,
  2430. #newsButton:focus #newsButtonText {
  2431. text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff;
  2432. }
  2433. #newsButton:active {
  2434. color: #c7c7c7;
  2435. text-shadow: 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7;
  2436. }
  2437. #newsButton:hover #newsButtonSVG,
  2438. #newsButton:focus #newsButtonSVG {
  2439. -webkit-filter: drop-shadow(0px 0px 2px #fff);
  2440. }
  2441. #newsButton:active #newsButtonSVG .arrowLine {
  2442. stroke: #c7c7c7;
  2443. }
  2444. #newsButton:active #newsButtonSVG {
  2445. -webkit-filter: drop-shadow(0px 0px 2px #c7c7c7);
  2446. }
  2447. #newsButton:disabled #newsButtonSVG .arrowLine {
  2448. stroke: rgba(255, 255, 255, 0.75);
  2449. }
  2450. /* Icon which indicates there is new news. */
  2451. #newsButtonAlert {
  2452. width: 5px;
  2453. height: 5px;
  2454. position: absolute;
  2455. border-radius: 50%;
  2456. background: red;
  2457. right: -1px;
  2458. top: 50%;
  2459. }
  2460. /* Arrow image which floats above the news button. */
  2461. #newsButtonSVG {
  2462. height: 11px;
  2463. margin-left: -2px;
  2464. transition: 0.25s ease;
  2465. }
  2466. /* Span which contains the news button text. */
  2467. #newsButtonText {
  2468. color: white;
  2469. font-weight: 900;
  2470. letter-spacing: 2px;
  2471. text-shadow: 0px 0px 0px #bebcbb;
  2472. font-size: 11px;
  2473. line-height: 30px;
  2474. display: flex;
  2475. transition: 0.25s ease;
  2476. }
  2477. /* * *
  2478. * Landing View (Bottom Styles) | Right Content
  2479. * * */
  2480. /* Main launch content container. */
  2481. #landingContainer > #lower > #right #launch_content {
  2482. position: relative;
  2483. top: 25px;
  2484. display: inline-flex;
  2485. }
  2486. /* The launch button. */
  2487. #launch_button {
  2488. background: none;
  2489. border: none;
  2490. cursor: pointer;
  2491. font-weight: 900;
  2492. letter-spacing: 2px;
  2493. text-shadow: 0px 0px 0px #bebcbb;
  2494. font-size: 20px;
  2495. padding: 0px;
  2496. transition: 0.25s ease;
  2497. outline: none;
  2498. }
  2499. #launch_button:hover,
  2500. #launch_button:focus {
  2501. text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff;
  2502. }
  2503. #launch_button:active {
  2504. color: #c7c7c7;
  2505. text-shadow: 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7;
  2506. }
  2507. #launch_button:disabled {
  2508. color: #c7c7c7;
  2509. cursor: default;
  2510. pointer-events: none;
  2511. }
  2512. /* Launch details main container, hidden until launch processing begins. */
  2513. #launch_details {
  2514. position: relative;
  2515. top: 25px;
  2516. display: none;
  2517. }
  2518. /* Left side of launch details container, displays percentage and a divider. */
  2519. #launch_details_left {
  2520. display: flex;
  2521. }
  2522. /* Span which displays percentage complete. */
  2523. #launch_progress_label {
  2524. font-weight: 900;
  2525. letter-spacing: 1px;
  2526. text-shadow: 0px 0px 0px #bebcbb;
  2527. font-size: 20px;
  2528. min-width: 53.21px;
  2529. max-width: 53.21px;
  2530. text-align: right;
  2531. }
  2532. /* Right side of launch details container, displays progress bar and details. */
  2533. #launch_details_right {
  2534. display: flex;
  2535. flex-direction: column;
  2536. justify-content: center;
  2537. }
  2538. /* Button which opens the server selection view. */
  2539. #server_selection_button {
  2540. background: none;
  2541. border: none;
  2542. outline: none;
  2543. cursor: pointer;
  2544. line-height: 24px;
  2545. padding: 0px;
  2546. transition: 0.25s ease;
  2547. }
  2548. #server_selection_button:hover,
  2549. #server_selection_button:focus {
  2550. text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff, 0px 0px 20px #fff;
  2551. }
  2552. #server_selection_button:active {
  2553. color: #c7c7c7;
  2554. text-shadow: 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7;
  2555. }
  2556. /* Progress bar styles. */
  2557. #launch_progress[value] {
  2558. height: 3px;
  2559. width: 265px;
  2560. -webkit-appearance: none;
  2561. }
  2562. #launch_progress[value]::-webkit-progress-bar {
  2563. background-color: transparent;
  2564. }
  2565. #launch_progress[value]::-webkit-progress-value {
  2566. background-color: #fff;
  2567. }
  2568. /* Span which displays information about the status of the launch process. */
  2569. #launch_details_text {
  2570. font-size: 11px;
  2571. text-overflow: ellipsis;
  2572. white-space: nowrap;
  2573. overflow: hidden;
  2574. }
  2575. /*******************************************************************************
  2576. * *
  2577. * Overlay View (overlay.ejs) *
  2578. * *
  2579. ******************************************************************************/
  2580. /* * *
  2581. * Overlay View (Main Content)
  2582. * * */
  2583. /* Overlay container, placed over the main div. */
  2584. #overlayContainer {
  2585. position: absolute;
  2586. z-index: 500;
  2587. top: 22px;
  2588. display: flex;
  2589. align-items: center;
  2590. justify-content: center;
  2591. width: 100%;
  2592. height: calc(100% - 22px);
  2593. background: rgba(0, 0, 0, 0.50);
  2594. }
  2595. /* Main overlay content. */
  2596. #overlayContent {
  2597. position: relative;
  2598. display: flex;
  2599. flex-direction: column;
  2600. align-items: center;
  2601. /*justify-content: space-between;*/
  2602. width: 300px;
  2603. /*height: 35%;*/
  2604. box-sizing: border-box;
  2605. padding: 15px 0px;
  2606. /* background-color: #424242; */
  2607. text-align: center;
  2608. }
  2609. /* Main overlay content anchor styles. */
  2610. #overlayContent a,
  2611. #overlayDismiss {
  2612. color: rgba(202, 202, 202, 0.75);
  2613. transition: 0.25s ease;
  2614. }
  2615. #overlayContent a:hover,
  2616. #overlayContent a:focus,
  2617. #overlayDismiss:focus {
  2618. color: rgba(255, 255, 255, 0.75);
  2619. }
  2620. #overlayContent a:active,
  2621. #overlayDismiss:active {
  2622. color: rgba(165, 165, 165, 0.75);
  2623. }
  2624. /* Add spacing between overlay content elements. */
  2625. #overlayContent > *:first-child {
  2626. margin-top: 0px !important;
  2627. }
  2628. #overlayContent > *:last-child {
  2629. margin-bottom: 0px !important;
  2630. }
  2631. #overlayContent > * {
  2632. margin: 8px 0px;
  2633. }
  2634. /* Overlay title styles. */
  2635. #overlayTitle {
  2636. font-family: 'Avenir Medium';
  2637. font-size: 20px;
  2638. font-weight: bold;
  2639. letter-spacing: 1px;
  2640. -webkit-user-select: initial;
  2641. }
  2642. /* Overlay description styles. */
  2643. #overlayDesc {
  2644. font-size: 12px;
  2645. font-weight: bold;
  2646. -webkit-user-select: initial;
  2647. }
  2648. /* Div which contains action buttons. */
  2649. #overlayActionContainer {
  2650. display: flex;
  2651. flex-direction: column;
  2652. justify-content: center;
  2653. }
  2654. /* Overlay acknowledge button styles. */
  2655. #overlayAcknowledge {
  2656. background: none;
  2657. border: 1px solid #ffffff;
  2658. color: white;
  2659. font-family: 'Avenir Medium';
  2660. font-weight: bold;
  2661. border-radius: 2px;
  2662. padding: 0px 8.1px;
  2663. cursor: pointer;
  2664. transition: 0.25s ease;
  2665. }
  2666. #overlayAcknowledge:hover,
  2667. #overlayAcknowledge:focus {
  2668. box-shadow: 0px 0px 10px 0px #fff;
  2669. outline: none;
  2670. }
  2671. #overlayAcknowledge:active {
  2672. border-color: rgba(255, 255, 255, 0.75);
  2673. color: rgba(255, 255, 255, 0.75);
  2674. }
  2675. /* Overlay dismiss option styles. */
  2676. #overlayDismiss {
  2677. font-weight: bold;
  2678. font-size: 10px;
  2679. text-decoration: none;
  2680. padding-top: 2.5px;
  2681. background: none;
  2682. border: none;
  2683. outline: none;
  2684. cursor: pointer;
  2685. }
  2686. #overlayDismiss:hover {
  2687. color: rgba(255, 255, 255, 0.75);
  2688. }
  2689. #overlayDismiss:active {
  2690. color: rgba(165, 165, 165, 0.75);
  2691. }
  2692. /* * *
  2693. * Overlay View (Server + Account Selection Content)
  2694. * * */
  2695. /* Server selection content container. */
  2696. #serverSelectContent,
  2697. #accountSelectContent {
  2698. display: flex;
  2699. flex-direction: column;
  2700. justify-content: center;
  2701. align-items: center;
  2702. height: 75%;
  2703. }
  2704. /* Server selection header. */
  2705. #serverSelectHeader,
  2706. #accountSelectHeader {
  2707. font-family: 'Avenir Medium';
  2708. font-size: 20px;
  2709. font-weight: bold;
  2710. color: #fff;
  2711. margin-bottom: 25px;
  2712. }
  2713. /* Wrapper div for the list of available servers. */
  2714. #serverSelectList,
  2715. #accountSelectList {
  2716. display: flex;
  2717. flex-direction: column;
  2718. align-items: center;
  2719. justify-content: center;
  2720. max-height: 65%;
  2721. min-height: 40%;
  2722. }
  2723. /* Scrollable div which lists the available servers. */
  2724. #serverSelectListScrollable,
  2725. #accountSelectListScrollable {
  2726. padding: 0px 5px;
  2727. overflow-y: scroll;
  2728. }
  2729. #serverSelectListScrollable::-webkit-scrollbar,
  2730. #accountSelectListScrollable::-webkit-scrollbar {
  2731. width: 2px;
  2732. }
  2733. #serverSelectListScrollable::-webkit-scrollbar-track,
  2734. #accountSelectListScrollable::-webkit-scrollbar-track {
  2735. display: none;
  2736. }
  2737. #serverSelectListScrollable::-webkit-scrollbar-thumb,
  2738. #accountSelectListScrollable::-webkit-scrollbar-thumb {
  2739. border-radius: 10px;
  2740. box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.50);
  2741. }
  2742. /* Content container for a server listing. */
  2743. .serverListing {
  2744. border: none;
  2745. padding: 0px;
  2746. width: 375px;
  2747. min-height: 60px;
  2748. display: flex;
  2749. justify-content: flex-start;
  2750. align-items: center;
  2751. opacity: 0.6;
  2752. transition: 0.25s ease;
  2753. cursor: pointer;
  2754. position: relative;
  2755. background: rgba(131, 131, 131, 0.25);
  2756. }
  2757. .serverListing[selected] {
  2758. cursor: default;
  2759. opacity: 1.0;
  2760. }
  2761. .serverListing:hover,
  2762. .serverListing:focus {
  2763. outline: none;
  2764. opacity: 1.0;
  2765. }
  2766. .accountListing {
  2767. color: white;
  2768. border: 1px solid rgba(126, 126, 126, 0.57);
  2769. border-radius: 3px;
  2770. padding: 5px 45px;
  2771. width: 250px;
  2772. display: flex;
  2773. justify-content: flex-start;
  2774. align-items: center;
  2775. opacity: 0.6;
  2776. transition: 0.25s ease;
  2777. cursor: pointer;
  2778. position: relative;
  2779. background: rgba(0, 0, 0, 0.25);
  2780. }
  2781. .accountListing[selected] {
  2782. cursor: default;
  2783. opacity: 1.0;
  2784. }
  2785. .accountListing:hover,
  2786. .accountListing:focus {
  2787. outline: none;
  2788. opacity: 1.0;
  2789. }
  2790. .accountListingName {
  2791. display: flex;
  2792. height: 100%;
  2793. width: 100%;
  2794. padding-left: 10px;
  2795. }
  2796. /* Add spacing between server listings. */
  2797. #serverSelectListScrollable > .serverListing:not(:first-child):not(:last-child),
  2798. #accountSelectListScrollable > .accountListing:not(:first-child):not(:last-child) {
  2799. margin: 5px 0px;
  2800. }
  2801. #serverSelectListScrollable > .serverListing:first-child,
  2802. #accountSelectListScrollable > .accountListing:first-child {
  2803. margin-bottom: 5px;
  2804. }
  2805. #serverSelectListScrollable > .serverListing:last-child,
  2806. #accountSelectListScrollable > .accountListing:last-child {
  2807. margin-top: 5px;
  2808. }
  2809. /* Server listing image. */
  2810. .serverListingImg {
  2811. margin: 0px 10px 0px 5px;
  2812. border: 1px solid #fff;
  2813. height: 50px;
  2814. width: 50px;
  2815. }
  2816. /* Content container for the server listing's details. */
  2817. .serverListingDetails {
  2818. display: flex;
  2819. flex-direction: column;
  2820. align-items: flex-start;
  2821. justify-content: space-between;
  2822. height: 50px;
  2823. }
  2824. /* The name of the server listing. */
  2825. .serverListingName {
  2826. font-size: 14px;
  2827. font-weight: bold;
  2828. }
  2829. /* Description for the server listing. */
  2830. .serverListingDescription {
  2831. font-size: 10px;
  2832. line-height: 10px;
  2833. font-weight: bold;
  2834. }
  2835. /* Content container for the server listing's information. */
  2836. .serverListingInfo {
  2837. width: 100%;
  2838. display: flex;
  2839. justify-content: flex-start;
  2840. }
  2841. /* The minecraft version of the server listing. */
  2842. .serverListingVersion {
  2843. font-size: 10px;
  2844. text-align: center;
  2845. display: flex;
  2846. justify-content: center;
  2847. align-items: center;
  2848. line-height: 12px;
  2849. height: 12px;
  2850. border-radius: 2px;
  2851. background: rgba(31, 140, 11, 0.8);
  2852. padding: 0px 2px;
  2853. }
  2854. /* The revision version of the server's manifest. */
  2855. .serverListingRevision {
  2856. color: #969696;
  2857. font-size: 10px;
  2858. line-height: 12px;
  2859. padding: 0px 5px;
  2860. }
  2861. /* Star which indicates the default (main) server. */
  2862. .serverListingStarWrapper {
  2863. display: flex;
  2864. align-items: center;
  2865. cursor: pointer;
  2866. height: 12px;
  2867. position: relative;
  2868. }
  2869. /* Tooltip which displays when hovering over the star. */
  2870. .serverListingStarTooltip {
  2871. visibility: hidden;
  2872. opacity: 0;
  2873. width: 65px;
  2874. background-color: rgba(0, 0, 0, 0.40);
  2875. text-align: center;
  2876. border-radius: 4px;
  2877. position: absolute;
  2878. z-index: 1;
  2879. left: 130%;
  2880. font-size: 10px;
  2881. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  2882. }
  2883. .serverListingStarTooltip::after {
  2884. content: " ";
  2885. position: absolute;
  2886. top: 50%;
  2887. right: 100%; /* To the left of the tooltip */
  2888. margin-top: -5px;
  2889. border-width: 5px;
  2890. border-style: solid;
  2891. border-color: transparent rgba(0, 0, 0, 0.40) transparent transparent;
  2892. }
  2893. .serverListingStarWrapper:hover .serverListingStarTooltip {
  2894. visibility: visible;
  2895. opacity: 1;
  2896. transition-delay:0s;
  2897. }
  2898. /* Content container which contains the server select actions. */
  2899. #serverSelectActions,
  2900. #accountSelectActions {
  2901. display: flex;
  2902. flex-direction: column;
  2903. justify-content: center;
  2904. align-items: center;
  2905. margin-top: 25px;
  2906. }
  2907. /* Server selection confirm button styles. */
  2908. #serverSelectConfirm,
  2909. #accountSelectConfirm {
  2910. background: none;
  2911. border: 1px solid #ffffff;
  2912. color: white;
  2913. font-family: 'Avenir Medium';
  2914. font-weight: bold;
  2915. border-radius: 2px;
  2916. padding: 0px 8.1px;
  2917. cursor: pointer;
  2918. transition: 0.25s ease;
  2919. min-height: 20.67px;
  2920. }
  2921. #serverSelectConfirm:hover,
  2922. #serverSelectConfirm:focus,
  2923. #accountSelectConfirm:hover,
  2924. #accountSelectConfirm:focus {
  2925. box-shadow: 0px 0px 10px 0px #fff;
  2926. outline: none;
  2927. }
  2928. #serverSelectConfirm:active,
  2929. #accountSelectConfirm:active {
  2930. border-color: rgba(255, 255, 255, 0.75);
  2931. color: rgba(255, 255, 255, 0.75);
  2932. }
  2933. /* Server selection cancel button styles. */
  2934. #serverSelectCancel,
  2935. #accountSelectCancel {
  2936. font-weight: bold;
  2937. font-size: 10px;
  2938. text-decoration: none;
  2939. padding-top: 2.5px;
  2940. color: rgba(202, 202, 202, 0.75);
  2941. transition: 0.25s ease;
  2942. background: none;
  2943. border: none;
  2944. outline: none;
  2945. cursor: pointer;
  2946. }
  2947. #serverSelectCancel:hover,
  2948. #serverSelectCancel:focus,
  2949. #accountSelectCancel:hover,
  2950. #accountSelectCancel:focus {
  2951. color: rgba(255, 255, 255, 0.75);
  2952. }
  2953. #serverSelectCancel:active,
  2954. #accountSelectCancel:active {
  2955. color: rgba(165, 165, 165, 0.75);
  2956. }
  2957. /*******************************************************************************
  2958. * *
  2959. * Loading Element (app.ejs) *
  2960. * *
  2961. ******************************************************************************/
  2962. /* Loading container, placed above everything. */
  2963. #loadingContainer {
  2964. position: absolute;
  2965. z-index: 400;
  2966. display: flex;
  2967. align-items: center;
  2968. justify-content: center;
  2969. width: 100%;
  2970. height: calc(100% - 22px);
  2971. }
  2972. /* Loading content container. */
  2973. #loadingContent {
  2974. position: relative;
  2975. display: flex;
  2976. flex-direction: column;
  2977. align-items: center;
  2978. justify-content: center;
  2979. }
  2980. /* Spinner container. */
  2981. #loadSpinnerContainer {
  2982. position: relative;
  2983. display: flex;
  2984. align-items: center;
  2985. justify-content: center;
  2986. }
  2987. /* Stationary image for the spinner. */
  2988. #loadCenterImage {
  2989. position: absolute;
  2990. width: 277px;
  2991. height: auto;
  2992. }
  2993. /* Rotating image for the spinner. */
  2994. #loadSpinnerImage {
  2995. width: 280px;
  2996. height: auto;
  2997. z-index: 400;
  2998. }
  2999. /* Rotating animation for the spinner. */
  3000. @keyframes rotating {
  3001. from {
  3002. transform: rotate(0deg);
  3003. }
  3004. to {
  3005. transform: rotate(360deg);
  3006. }
  3007. }
  3008. /* Class which is applied when the spinner image is spinning. */
  3009. .rotating {
  3010. animation: rotating 10s linear infinite;
  3011. }