launcher.css 72 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292
  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-size: contain;
  2114. }
  2115. /* Avatar edit overlay. */
  2116. #avatarOverlay {
  2117. opacity: 0;
  2118. position: absolute;
  2119. z-index: 1;
  2120. display: flex;
  2121. justify-content: center;
  2122. align-items: center;
  2123. transition: 0.25s ease;
  2124. font-weight: bold;
  2125. letter-spacing: 2px;
  2126. background-color: rgba(0, 0, 0, 0.35);
  2127. -webkit-user-select: none;
  2128. border: none;
  2129. cursor: pointer;
  2130. width: 100%;
  2131. height: 100%;
  2132. border-radius: 50%;
  2133. }
  2134. #avatarOverlay:hover,
  2135. #avatarOverlay:focus {
  2136. opacity: 1;
  2137. }
  2138. #avatarOverlay:active {
  2139. background-color: rgba(0, 0, 0, 0.45);
  2140. }
  2141. /* User profile name text. */
  2142. #user_text {
  2143. font-size: 12px;
  2144. min-width: 135px;
  2145. font-weight: 900;
  2146. letter-spacing: 1px;
  2147. text-shadow: 0px 0px 20px black;
  2148. position: absolute;
  2149. right: 95px;
  2150. text-align: right;
  2151. -webkit-user-select: initial;
  2152. }
  2153. /* Social media icon content container. */
  2154. #mediaContent {
  2155. position: relative;
  2156. display: flex;
  2157. flex-direction: column;
  2158. margin-top: 25px;
  2159. height: calc(100% - 95px);
  2160. width: 70px;
  2161. align-items: center;
  2162. }
  2163. /* Social Media Icon division containers. */
  2164. #internalMedia, #externalMedia {
  2165. display: flex;
  2166. flex-direction: column;
  2167. }
  2168. /* Container object which wraps an icon to ensure fluid transitions. */
  2169. .mediaContainer {
  2170. display: flex;
  2171. justify-content: center;
  2172. align-items: center;
  2173. height: 27px;
  2174. }
  2175. /* Divider bar between the external and internal icons. */
  2176. .mediaDivider {
  2177. height: 1px;
  2178. width: 14px;
  2179. background: rgb(255, 255, 255);
  2180. margin: 10px 0px;
  2181. }
  2182. /* Social media icon shared styles. */
  2183. .mediaSVG {
  2184. fill: #ffffff;
  2185. height: 12px;
  2186. transition: 0.25s ease;
  2187. cursor: pointer;
  2188. height: 12px;
  2189. width: 25px;
  2190. }
  2191. .mediaSVG:hover,
  2192. .mediaURL:focus .mediaSVG,
  2193. .mediaSVG:active {
  2194. height: 20px;
  2195. }
  2196. /* Social media URL shared styles. */
  2197. .mediaURL {
  2198. outline: none;
  2199. }
  2200. /* Internal media button shared styles. */
  2201. .mediaButton {
  2202. background: none;
  2203. border: none;
  2204. padding: 0px;
  2205. display: flex;
  2206. align-items: center;
  2207. outline: none;
  2208. }
  2209. #settingsMediaContainer {
  2210. position: relative;
  2211. }
  2212. /* Settings icon colors. */
  2213. #settingsSVG {
  2214. stroke: #ffffff;
  2215. height: 15px;
  2216. }
  2217. .mediaButton:hover #settingsSVG,
  2218. .mediaButton:focus #settingsSVG,
  2219. .mediaButton:active #settingsSVG {
  2220. height: 23px;
  2221. }
  2222. /* Settings tooltip styles. */
  2223. #settingsTooltip {
  2224. visibility: hidden;
  2225. opacity: 0;
  2226. width: 75px;
  2227. height: 20px;
  2228. background-color: rgba(0, 0, 0, 0.75);
  2229. text-align: center;
  2230. border-radius: 4px;
  2231. position: absolute;
  2232. z-index: 1;
  2233. right: 130%;
  2234. font-size: 12px;
  2235. line-height: 20px;
  2236. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  2237. }
  2238. #settingsTooltip::after {
  2239. content: " ";
  2240. position: absolute;
  2241. top: 50%;
  2242. left: 100%;
  2243. margin-top: -5px;
  2244. border-width: 5px;
  2245. border-style: solid;
  2246. border-color: transparent transparent transparent rgba(0, 0, 0, 0.75);
  2247. }
  2248. .mediaButton:hover #settingsTooltip,
  2249. .mediaButton:focus #settingsTooltip,
  2250. .mediaButton:active #settingsTooltip {
  2251. visibility: visible;
  2252. opacity: 1;
  2253. transition-delay:0s;
  2254. }
  2255. /* Twitter icon colors. */
  2256. #twitterSVG:hover,
  2257. #twitterURL:focus #twitterSVG {
  2258. fill: #1da1f2;
  2259. }
  2260. #twitterSVG:active {
  2261. fill: #1b8dd4;
  2262. }
  2263. /* Instagram icon colors. */
  2264. #instagramSVG:hover,
  2265. #instagramURL:focus #instagramSVG {
  2266. fill: url('#instaFill')
  2267. /*fill: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); */
  2268. }
  2269. #instagramSVG:active {
  2270. fill: url('#instaFill')
  2271. }
  2272. /* Youtube icon colors. */
  2273. #youtubeSVG:hover,
  2274. #youtubeURL:focus #youtubeSVG {
  2275. fill: #f00;
  2276. }
  2277. #youtubeSVG:active {
  2278. fill: #ea0202;
  2279. }
  2280. /* Discord icon colors. */
  2281. #discordSVG:hover,
  2282. #discordURL:focus #discordSVG {
  2283. fill: #7288d9;
  2284. }
  2285. #discordSVG:active {
  2286. fill: #657ac4;
  2287. }
  2288. /*******************************************************************************
  2289. * *
  2290. * Landing View (Bottom Styles) *
  2291. * *
  2292. ******************************************************************************/
  2293. /* Style for a general label on the bottom of the landing view. */
  2294. .bot_label {
  2295. font-size: 9px;
  2296. letter-spacing: 1px;
  2297. font-weight: bold;
  2298. text-shadow: 0px 0px 0px #bebcbb;
  2299. }
  2300. /* Divider used on the bottom of the landing view. */
  2301. .bot_divider {
  2302. height: 25px;
  2303. width: 2px;
  2304. background: rgba(107, 105, 105, 0.7);
  2305. margin-left: 20px;
  2306. margin-right: 20px;
  2307. }
  2308. /* * *
  2309. * Landing View (Bottom Styles) | Left Content
  2310. * * */
  2311. /* Maintains maximum width on the status bar. */
  2312. #server_status_wrapper {
  2313. display: inline-flex;
  2314. width: 75px;
  2315. }
  2316. /* Span which displays the player count of the selected server. */
  2317. #player_count {
  2318. color: #949494;
  2319. font-size: 8px;
  2320. font-weight: 900;
  2321. text-shadow: 0px 0px 20px #949494;
  2322. margin-left: 10px;
  2323. }
  2324. /* Wrapper container for the mojang status bar. */
  2325. #mojangStatusWrapper {
  2326. position: relative;
  2327. display: flex;
  2328. cursor: pointer;
  2329. }
  2330. /* Icon which displays the status of the mojang services. */
  2331. #mojang_status_icon {
  2332. font-size: 30px;
  2333. color: #848484;
  2334. margin-left: 15px;
  2335. font-family: 'sans-serif';
  2336. }
  2337. /* Tooltip which displays more details about the mojang statuses. */
  2338. #mojangStatusTooltip {
  2339. position: absolute;
  2340. visibility: hidden;
  2341. opacity: 0;
  2342. width: 145px;
  2343. min-height: 150px;
  2344. background-color: rgba(0, 0, 0, 0.75);
  2345. color: #fff;
  2346. border-radius: 4px;
  2347. padding: 5px 10px;
  2348. z-index: 1;
  2349. font-family: 'Avenir Medium';
  2350. font-size: 12px;
  2351. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  2352. bottom: calc(100% + 15px);
  2353. transform: translateX(-50%);
  2354. margin-left: 50%;
  2355. box-shadow: 0px 0px 20px rgb(0, 0, 0);
  2356. cursor: default;
  2357. }
  2358. #mojangStatusTooltip:after {
  2359. content: " ";
  2360. position: absolute;
  2361. left: 50%;
  2362. top: 100%;
  2363. margin-left: -5px;
  2364. border-width: 5px;
  2365. border-style: solid;
  2366. border-color: rgba(0, 0, 0, 0.75) transparent transparent transparent;
  2367. }
  2368. #mojangStatusWrapper:hover #mojangStatusTooltip {
  2369. visibility: visible;
  2370. opacity: 1;
  2371. transition-delay: 0s;
  2372. }
  2373. /* Tooltip title for the mojang statuses. */
  2374. #mojangStatusTooltipTitle {
  2375. width: 100%;
  2376. text-align: center;
  2377. margin-bottom: 5px;
  2378. letter-spacing: 1px;
  2379. }
  2380. /* Wrapper container for the non essential services title. */
  2381. #mojangStatusNEContainer {
  2382. display: flex;
  2383. align-items: center;
  2384. margin: 10px 0px;
  2385. }
  2386. /* White bar which surrounds the non essential service title. */
  2387. .mojangStatusNEBar {
  2388. height: 1px;
  2389. width: 100%;
  2390. background: white;
  2391. }
  2392. /* Non essential service title text. */
  2393. #mojangStatusNETitle {
  2394. font-size: 10px;
  2395. padding: 0px 3px;
  2396. text-align: center;
  2397. letter-spacing: 1px;
  2398. }
  2399. /* Wrapper container for mojang service information. */
  2400. .mojangStatusContainer {
  2401. display: flex;
  2402. }
  2403. /* Displays the name of the mojang service. */
  2404. .mojangStatusName {
  2405. width: 100%;
  2406. font-size: 10px;
  2407. letter-spacing: 1px;
  2408. line-height: 12px;
  2409. padding: 6px 0px;
  2410. }
  2411. /* Displays the status of the mojang service. */
  2412. .mojangStatusIcon {
  2413. margin-right: 10px;
  2414. font-size: 18.5px;
  2415. color: #848484;
  2416. }
  2417. /* * *
  2418. * Landing View (Bottom Styles) | Center Content
  2419. * * */
  2420. /* Button which opens the news view. */
  2421. #newsButton {
  2422. background: none;
  2423. border: none;
  2424. cursor: pointer;
  2425. outline: none;
  2426. }
  2427. #newsButton:hover #newsButtonText,
  2428. #newsButton:focus #newsButtonText {
  2429. text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff;
  2430. }
  2431. #newsButton:active {
  2432. color: #c7c7c7;
  2433. text-shadow: 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7;
  2434. }
  2435. #newsButton:hover #newsButtonSVG,
  2436. #newsButton:focus #newsButtonSVG {
  2437. -webkit-filter: drop-shadow(0px 0px 2px #fff);
  2438. }
  2439. #newsButton:active #newsButtonSVG .arrowLine {
  2440. stroke: #c7c7c7;
  2441. }
  2442. #newsButton:active #newsButtonSVG {
  2443. -webkit-filter: drop-shadow(0px 0px 2px #c7c7c7);
  2444. }
  2445. #newsButton:disabled #newsButtonSVG .arrowLine {
  2446. stroke: rgba(255, 255, 255, 0.75);
  2447. }
  2448. /* Icon which indicates there is new news. */
  2449. #newsButtonAlert {
  2450. width: 5px;
  2451. height: 5px;
  2452. position: absolute;
  2453. border-radius: 50%;
  2454. background: red;
  2455. right: -1px;
  2456. top: 50%;
  2457. }
  2458. /* Arrow image which floats above the news button. */
  2459. #newsButtonSVG {
  2460. height: 11px;
  2461. margin-left: -2px;
  2462. transition: 0.25s ease;
  2463. }
  2464. /* Span which contains the news button text. */
  2465. #newsButtonText {
  2466. color: white;
  2467. font-weight: 900;
  2468. letter-spacing: 2px;
  2469. text-shadow: 0px 0px 0px #bebcbb;
  2470. font-size: 11px;
  2471. line-height: 30px;
  2472. display: flex;
  2473. transition: 0.25s ease;
  2474. }
  2475. /* * *
  2476. * Landing View (Bottom Styles) | Right Content
  2477. * * */
  2478. /* Main launch content container. */
  2479. #landingContainer > #lower > #right #launch_content {
  2480. position: relative;
  2481. top: 25px;
  2482. display: inline-flex;
  2483. }
  2484. /* The launch button. */
  2485. #launch_button {
  2486. background: none;
  2487. border: none;
  2488. cursor: pointer;
  2489. font-weight: 900;
  2490. letter-spacing: 2px;
  2491. text-shadow: 0px 0px 0px #bebcbb;
  2492. font-size: 20px;
  2493. padding: 0px;
  2494. transition: 0.25s ease;
  2495. outline: none;
  2496. }
  2497. #launch_button:hover,
  2498. #launch_button:focus {
  2499. text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff;
  2500. }
  2501. #launch_button:active {
  2502. color: #c7c7c7;
  2503. text-shadow: 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7;
  2504. }
  2505. #launch_button:disabled {
  2506. color: #c7c7c7;
  2507. cursor: default;
  2508. pointer-events: none;
  2509. }
  2510. /* Launch details main container, hidden until launch processing begins. */
  2511. #launch_details {
  2512. position: relative;
  2513. top: 25px;
  2514. display: none;
  2515. }
  2516. /* Left side of launch details container, displays percentage and a divider. */
  2517. #launch_details_left {
  2518. display: flex;
  2519. }
  2520. /* Span which displays percentage complete. */
  2521. #launch_progress_label {
  2522. font-weight: 900;
  2523. letter-spacing: 1px;
  2524. text-shadow: 0px 0px 0px #bebcbb;
  2525. font-size: 20px;
  2526. min-width: 53.21px;
  2527. max-width: 53.21px;
  2528. text-align: right;
  2529. }
  2530. /* Right side of launch details container, displays progress bar and details. */
  2531. #launch_details_right {
  2532. display: flex;
  2533. flex-direction: column;
  2534. justify-content: center;
  2535. }
  2536. /* Button which opens the server selection view. */
  2537. #server_selection_button {
  2538. background: none;
  2539. border: none;
  2540. outline: none;
  2541. cursor: pointer;
  2542. line-height: 24px;
  2543. padding: 0px;
  2544. transition: 0.25s ease;
  2545. }
  2546. #server_selection_button:hover,
  2547. #server_selection_button:focus {
  2548. text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff, 0px 0px 20px #fff;
  2549. }
  2550. #server_selection_button:active {
  2551. color: #c7c7c7;
  2552. text-shadow: 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7;
  2553. }
  2554. /* Progress bar styles. */
  2555. #launch_progress[value] {
  2556. height: 3px;
  2557. width: 265px;
  2558. -webkit-appearance: none;
  2559. }
  2560. #launch_progress[value]::-webkit-progress-bar {
  2561. background-color: transparent;
  2562. }
  2563. #launch_progress[value]::-webkit-progress-value {
  2564. background-color: #fff;
  2565. }
  2566. /* Span which displays information about the status of the launch process. */
  2567. #launch_details_text {
  2568. font-size: 11px;
  2569. text-overflow: ellipsis;
  2570. white-space: nowrap;
  2571. overflow: hidden;
  2572. }
  2573. /*******************************************************************************
  2574. * *
  2575. * Overlay View (overlay.ejs) *
  2576. * *
  2577. ******************************************************************************/
  2578. /* * *
  2579. * Overlay View (Main Content)
  2580. * * */
  2581. /* Overlay container, placed over the main div. */
  2582. #overlayContainer {
  2583. position: absolute;
  2584. z-index: 500;
  2585. top: 22px;
  2586. display: flex;
  2587. align-items: center;
  2588. justify-content: center;
  2589. width: 100%;
  2590. height: calc(100% - 22px);
  2591. background: rgba(0, 0, 0, 0.50);
  2592. }
  2593. /* Main overlay content. */
  2594. #overlayContent {
  2595. position: relative;
  2596. display: flex;
  2597. flex-direction: column;
  2598. align-items: center;
  2599. /*justify-content: space-between;*/
  2600. width: 300px;
  2601. /*height: 35%;*/
  2602. box-sizing: border-box;
  2603. padding: 15px 0px;
  2604. /* background-color: #424242; */
  2605. text-align: center;
  2606. }
  2607. /* Main overlay content anchor styles. */
  2608. #overlayContent a,
  2609. #overlayDismiss {
  2610. color: rgba(202, 202, 202, 0.75);
  2611. transition: 0.25s ease;
  2612. }
  2613. #overlayContent a:hover,
  2614. #overlayContent a:focus,
  2615. #overlayDismiss:focus {
  2616. color: rgba(255, 255, 255, 0.75);
  2617. }
  2618. #overlayContent a:active,
  2619. #overlayDismiss:active {
  2620. color: rgba(165, 165, 165, 0.75);
  2621. }
  2622. /* Add spacing between overlay content elements. */
  2623. #overlayContent > *:first-child {
  2624. margin-top: 0px !important;
  2625. }
  2626. #overlayContent > *:last-child {
  2627. margin-bottom: 0px !important;
  2628. }
  2629. #overlayContent > * {
  2630. margin: 8px 0px;
  2631. }
  2632. /* Overlay title styles. */
  2633. #overlayTitle {
  2634. font-family: 'Avenir Medium';
  2635. font-size: 20px;
  2636. font-weight: bold;
  2637. letter-spacing: 1px;
  2638. -webkit-user-select: initial;
  2639. }
  2640. /* Overlay description styles. */
  2641. #overlayDesc {
  2642. font-size: 12px;
  2643. font-weight: bold;
  2644. -webkit-user-select: initial;
  2645. }
  2646. /* Div which contains action buttons. */
  2647. #overlayActionContainer {
  2648. display: flex;
  2649. flex-direction: column;
  2650. justify-content: center;
  2651. }
  2652. /* Overlay acknowledge button styles. */
  2653. #overlayAcknowledge {
  2654. background: none;
  2655. border: 1px solid #ffffff;
  2656. color: white;
  2657. font-family: 'Avenir Medium';
  2658. font-weight: bold;
  2659. border-radius: 2px;
  2660. padding: 0px 8.1px;
  2661. cursor: pointer;
  2662. transition: 0.25s ease;
  2663. }
  2664. #overlayAcknowledge:hover,
  2665. #overlayAcknowledge:focus {
  2666. box-shadow: 0px 0px 10px 0px #fff;
  2667. outline: none;
  2668. }
  2669. #overlayAcknowledge:active {
  2670. border-color: rgba(255, 255, 255, 0.75);
  2671. color: rgba(255, 255, 255, 0.75);
  2672. }
  2673. /* Overlay dismiss option styles. */
  2674. #overlayDismiss {
  2675. font-weight: bold;
  2676. font-size: 10px;
  2677. text-decoration: none;
  2678. padding-top: 2.5px;
  2679. background: none;
  2680. border: none;
  2681. outline: none;
  2682. cursor: pointer;
  2683. }
  2684. #overlayDismiss:hover {
  2685. color: rgba(255, 255, 255, 0.75);
  2686. }
  2687. #overlayDismiss:active {
  2688. color: rgba(165, 165, 165, 0.75);
  2689. }
  2690. /* * *
  2691. * Overlay View (Server + Account Selection Content)
  2692. * * */
  2693. /* Server selection content container. */
  2694. #serverSelectContent,
  2695. #accountSelectContent {
  2696. display: flex;
  2697. flex-direction: column;
  2698. justify-content: center;
  2699. align-items: center;
  2700. height: 75%;
  2701. }
  2702. /* Server selection header. */
  2703. #serverSelectHeader,
  2704. #accountSelectHeader {
  2705. font-family: 'Avenir Medium';
  2706. font-size: 20px;
  2707. font-weight: bold;
  2708. color: #fff;
  2709. margin-bottom: 25px;
  2710. }
  2711. /* Wrapper div for the list of available servers. */
  2712. #serverSelectList,
  2713. #accountSelectList {
  2714. display: flex;
  2715. flex-direction: column;
  2716. align-items: center;
  2717. justify-content: center;
  2718. max-height: 65%;
  2719. min-height: 40%;
  2720. }
  2721. /* Scrollable div which lists the available servers. */
  2722. #serverSelectListScrollable,
  2723. #accountSelectListScrollable {
  2724. padding: 0px 5px;
  2725. overflow-y: scroll;
  2726. }
  2727. #serverSelectListScrollable::-webkit-scrollbar,
  2728. #accountSelectListScrollable::-webkit-scrollbar {
  2729. width: 2px;
  2730. }
  2731. #serverSelectListScrollable::-webkit-scrollbar-track,
  2732. #accountSelectListScrollable::-webkit-scrollbar-track {
  2733. display: none;
  2734. }
  2735. #serverSelectListScrollable::-webkit-scrollbar-thumb,
  2736. #accountSelectListScrollable::-webkit-scrollbar-thumb {
  2737. border-radius: 10px;
  2738. box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.50);
  2739. }
  2740. /* Content container for a server listing. */
  2741. .serverListing {
  2742. border: none;
  2743. padding: 0px;
  2744. width: 375px;
  2745. min-height: 60px;
  2746. display: flex;
  2747. justify-content: flex-start;
  2748. align-items: center;
  2749. opacity: 0.6;
  2750. transition: 0.25s ease;
  2751. cursor: pointer;
  2752. position: relative;
  2753. background: rgba(131, 131, 131, 0.25);
  2754. }
  2755. .serverListing[selected] {
  2756. cursor: default;
  2757. opacity: 1.0;
  2758. }
  2759. .serverListing:hover,
  2760. .serverListing:focus {
  2761. outline: none;
  2762. opacity: 1.0;
  2763. }
  2764. .accountListing {
  2765. color: white;
  2766. border: 1px solid rgba(126, 126, 126, 0.57);
  2767. border-radius: 3px;
  2768. padding: 5px 45px;
  2769. width: 250px;
  2770. display: flex;
  2771. justify-content: flex-start;
  2772. align-items: center;
  2773. opacity: 0.6;
  2774. transition: 0.25s ease;
  2775. cursor: pointer;
  2776. position: relative;
  2777. background: rgba(0, 0, 0, 0.25);
  2778. }
  2779. .accountListing[selected] {
  2780. cursor: default;
  2781. opacity: 1.0;
  2782. }
  2783. .accountListing:hover,
  2784. .accountListing:focus {
  2785. outline: none;
  2786. opacity: 1.0;
  2787. }
  2788. .accountListingName {
  2789. display: flex;
  2790. height: 100%;
  2791. width: 100%;
  2792. padding-left: 10px;
  2793. }
  2794. /* Add spacing between server listings. */
  2795. #serverSelectListScrollable > .serverListing:not(:first-child):not(:last-child),
  2796. #accountSelectListScrollable > .accountListing:not(:first-child):not(:last-child) {
  2797. margin: 5px 0px;
  2798. }
  2799. #serverSelectListScrollable > .serverListing:first-child,
  2800. #accountSelectListScrollable > .accountListing:first-child {
  2801. margin-bottom: 5px;
  2802. }
  2803. #serverSelectListScrollable > .serverListing:last-child,
  2804. #accountSelectListScrollable > .accountListing:last-child {
  2805. margin-top: 5px;
  2806. }
  2807. /* Server listing image. */
  2808. .serverListingImg {
  2809. margin: 0px 10px 0px 5px;
  2810. border: 1px solid #fff;
  2811. height: 50px;
  2812. width: 50px;
  2813. }
  2814. /* Content container for the server listing's details. */
  2815. .serverListingDetails {
  2816. display: flex;
  2817. flex-direction: column;
  2818. align-items: flex-start;
  2819. justify-content: space-between;
  2820. height: 50px;
  2821. }
  2822. /* The name of the server listing. */
  2823. .serverListingName {
  2824. font-size: 14px;
  2825. font-weight: bold;
  2826. }
  2827. /* Description for the server listing. */
  2828. .serverListingDescription {
  2829. font-size: 10px;
  2830. line-height: 10px;
  2831. font-weight: bold;
  2832. }
  2833. /* Content container for the server listing's information. */
  2834. .serverListingInfo {
  2835. width: 100%;
  2836. display: flex;
  2837. justify-content: flex-start;
  2838. }
  2839. /* The minecraft version of the server listing. */
  2840. .serverListingVersion {
  2841. font-size: 10px;
  2842. text-align: center;
  2843. display: flex;
  2844. justify-content: center;
  2845. align-items: center;
  2846. line-height: 12px;
  2847. height: 12px;
  2848. border-radius: 2px;
  2849. background: rgba(31, 140, 11, 0.8);
  2850. padding: 0px 2px;
  2851. }
  2852. /* The revision version of the server's manifest. */
  2853. .serverListingRevision {
  2854. color: #969696;
  2855. font-size: 10px;
  2856. line-height: 12px;
  2857. padding: 0px 5px;
  2858. }
  2859. /* Star which indicates the default (main) server. */
  2860. .serverListingStarWrapper {
  2861. display: flex;
  2862. align-items: center;
  2863. cursor: pointer;
  2864. height: 12px;
  2865. position: relative;
  2866. }
  2867. /* Tooltip which displays when hovering over the star. */
  2868. .serverListingStarTooltip {
  2869. visibility: hidden;
  2870. opacity: 0;
  2871. width: 65px;
  2872. background-color: rgba(0, 0, 0, 0.40);
  2873. text-align: center;
  2874. border-radius: 4px;
  2875. position: absolute;
  2876. z-index: 1;
  2877. left: 130%;
  2878. font-size: 10px;
  2879. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  2880. }
  2881. .serverListingStarTooltip::after {
  2882. content: " ";
  2883. position: absolute;
  2884. top: 50%;
  2885. right: 100%; /* To the left of the tooltip */
  2886. margin-top: -5px;
  2887. border-width: 5px;
  2888. border-style: solid;
  2889. border-color: transparent rgba(0, 0, 0, 0.40) transparent transparent;
  2890. }
  2891. .serverListingStarWrapper:hover .serverListingStarTooltip {
  2892. visibility: visible;
  2893. opacity: 1;
  2894. transition-delay:0s;
  2895. }
  2896. /* Content container which contains the server select actions. */
  2897. #serverSelectActions,
  2898. #accountSelectActions {
  2899. display: flex;
  2900. flex-direction: column;
  2901. justify-content: center;
  2902. align-items: center;
  2903. margin-top: 25px;
  2904. }
  2905. /* Server selection confirm button styles. */
  2906. #serverSelectConfirm,
  2907. #accountSelectConfirm {
  2908. background: none;
  2909. border: 1px solid #ffffff;
  2910. color: white;
  2911. font-family: 'Avenir Medium';
  2912. font-weight: bold;
  2913. border-radius: 2px;
  2914. padding: 0px 8.1px;
  2915. cursor: pointer;
  2916. transition: 0.25s ease;
  2917. min-height: 20.67px;
  2918. }
  2919. #serverSelectConfirm:hover,
  2920. #serverSelectConfirm:focus,
  2921. #accountSelectConfirm:hover,
  2922. #accountSelectConfirm:focus {
  2923. box-shadow: 0px 0px 10px 0px #fff;
  2924. outline: none;
  2925. }
  2926. #serverSelectConfirm:active,
  2927. #accountSelectConfirm:active {
  2928. border-color: rgba(255, 255, 255, 0.75);
  2929. color: rgba(255, 255, 255, 0.75);
  2930. }
  2931. /* Server selection cancel button styles. */
  2932. #serverSelectCancel,
  2933. #accountSelectCancel {
  2934. font-weight: bold;
  2935. font-size: 10px;
  2936. text-decoration: none;
  2937. padding-top: 2.5px;
  2938. color: rgba(202, 202, 202, 0.75);
  2939. transition: 0.25s ease;
  2940. background: none;
  2941. border: none;
  2942. outline: none;
  2943. cursor: pointer;
  2944. }
  2945. #serverSelectCancel:hover,
  2946. #serverSelectCancel:focus,
  2947. #accountSelectCancel:hover,
  2948. #accountSelectCancel:focus {
  2949. color: rgba(255, 255, 255, 0.75);
  2950. }
  2951. #serverSelectCancel:active,
  2952. #accountSelectCancel:active {
  2953. color: rgba(165, 165, 165, 0.75);
  2954. }
  2955. /*******************************************************************************
  2956. * *
  2957. * Loading Element (app.ejs) *
  2958. * *
  2959. ******************************************************************************/
  2960. /* Loading container, placed above everything. */
  2961. #loadingContainer {
  2962. position: absolute;
  2963. z-index: 400;
  2964. display: flex;
  2965. align-items: center;
  2966. justify-content: center;
  2967. width: 100%;
  2968. height: calc(100% - 22px);
  2969. }
  2970. /* Loading content container. */
  2971. #loadingContent {
  2972. position: relative;
  2973. display: flex;
  2974. flex-direction: column;
  2975. align-items: center;
  2976. justify-content: center;
  2977. }
  2978. /* Spinner container. */
  2979. #loadSpinnerContainer {
  2980. position: relative;
  2981. display: flex;
  2982. align-items: center;
  2983. justify-content: center;
  2984. }
  2985. /* Stationary image for the spinner. */
  2986. #loadCenterImage {
  2987. position: absolute;
  2988. width: 277px;
  2989. height: auto;
  2990. }
  2991. /* Rotating image for the spinner. */
  2992. #loadSpinnerImage {
  2993. width: 280px;
  2994. height: auto;
  2995. z-index: 400;
  2996. }
  2997. /* Rotating animation for the spinner. */
  2998. @keyframes rotating {
  2999. from {
  3000. transform: rotate(0deg);
  3001. }
  3002. to {
  3003. transform: rotate(360deg);
  3004. }
  3005. }
  3006. /* Class which is applied when the spinner image is spinning. */
  3007. .rotating {
  3008. animation: rotating 10s linear infinite;
  3009. }