launcher.css 73 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298
  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 !important;
  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 a.commit-link:hover tt {
  1620. text-decoration: underline;
  1621. text-decoration-color: black;
  1622. }
  1623. #settingsChangelogText .highlight {
  1624. background: rgba(0, 0, 0, 0.30);
  1625. user-select: initial;
  1626. padding: 5px 10px;
  1627. }
  1628. #settingsChangelogText .highlight pre {
  1629. margin: 0px;
  1630. }
  1631. /* Container for the changelog button. */
  1632. #settingsChangelogActions {
  1633. padding: 0px 15px 5px 15px;
  1634. }
  1635. /* Open changelog on GitHub. */
  1636. #settingsChangelogButton {
  1637. padding: 0px;
  1638. }
  1639. /*******************************************************************************
  1640. * *
  1641. * Landing View (Structural Styles) *
  1642. * *
  1643. ******************************************************************************/
  1644. /* Main content container. */
  1645. #landingContainer {
  1646. height: 100%;
  1647. position: relative;
  1648. transition: background 2s ease;
  1649. overflow-y: hidden;
  1650. }
  1651. /* Upper content container. */
  1652. #landingContainer > #upper {
  1653. position: relative;
  1654. transition: top 2s ease;
  1655. top: 0px;
  1656. height: 77%;
  1657. display: flex;
  1658. }
  1659. #landingContainer > #upper > #left {
  1660. display: inline-flex;
  1661. width: 15%;
  1662. height: 100%;
  1663. justify-content: flex-end;
  1664. }
  1665. #landingContainer > #upper > #content {
  1666. display: inline-flex;
  1667. width: 70%;
  1668. height: 100%;
  1669. }
  1670. #landingContainer > #upper > #right {
  1671. display: inline-flex;
  1672. width: 15%;
  1673. height: 100%;
  1674. }
  1675. /* Lower content container. */
  1676. #landingContainer > #lower {
  1677. height: 23%;
  1678. display: flex;
  1679. background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  1680. }
  1681. #landingContainer > #lower > #left {
  1682. position: relative;
  1683. transition: top 2s ease;
  1684. top: 0px;
  1685. height: 100%;
  1686. width: 33%;
  1687. display: inline-flex;
  1688. justify-content: center;
  1689. }
  1690. #landingContainer > #lower > #left #content {
  1691. position: relative;
  1692. top: 25px;
  1693. display: inline-flex;
  1694. line-height: 24px;
  1695. left: 50px;
  1696. }
  1697. #landingContainer > #lower > #center {
  1698. position: relative;
  1699. transition: top 2s ease;
  1700. top: 0px;
  1701. height: 100%;
  1702. width: 34%;
  1703. display: inline-flex;
  1704. justify-content: center;
  1705. }
  1706. #landingContainer > #lower > #center #content {
  1707. position: relative;
  1708. z-index: 500;
  1709. transition: top 2s ease;
  1710. top: 10px;
  1711. }
  1712. #landingContainer > #lower > #right {
  1713. position: relative;
  1714. transition: top 2s ease;
  1715. top: 0px;
  1716. height: 100%;
  1717. width: 33%;
  1718. display: inline-flex;
  1719. }
  1720. /*******************************************************************************
  1721. * *
  1722. * Landing View (News Styles) *
  1723. * *
  1724. ******************************************************************************/
  1725. /* Main container. */
  1726. #newsContainer {
  1727. position: absolute;
  1728. top: 100%;
  1729. height: 100%;
  1730. width: 100%;
  1731. transition: top 2s ease;
  1732. display: flex;
  1733. align-items: flex-end;
  1734. justify-content: center;
  1735. }
  1736. /* News content container. */
  1737. #newsContent {
  1738. height: 82vh;
  1739. width: 100%;
  1740. display: flex;
  1741. -webkit-user-select: initial;
  1742. position: relative;
  1743. }
  1744. /* Drop shadow displayed when content is scrolled out of view. */
  1745. #newsContent:before {
  1746. content: '';
  1747. background: linear-gradient(rgba(0, 0, 0, 0.25), transparent);
  1748. width: 100%;
  1749. height: 5px;
  1750. position: absolute;
  1751. opacity: 0;
  1752. transition: opacity 0.25s ease;
  1753. }
  1754. #newsContent[scrolled]:before {
  1755. opacity: 1;
  1756. }
  1757. /* News article status container (left). */
  1758. #newsStatusContainer {
  1759. width: calc(30% - 60px);
  1760. height: calc(100% - 30px);
  1761. padding: 15px 15px 15px 45px;
  1762. display: flex;
  1763. flex-direction: column;
  1764. justify-content: space-between;
  1765. position: relative;
  1766. }
  1767. /* News status content. */
  1768. #newsStatusContent {
  1769. display: flex;
  1770. flex-direction: column;
  1771. align-items: flex-end;
  1772. }
  1773. /* News title wrapper. */
  1774. #newsTitleContainer {
  1775. display: flex;
  1776. max-width: 90%;
  1777. }
  1778. /* News article title styles. */
  1779. #newsArticleTitle {
  1780. font-size: 18px;
  1781. font-weight: bold;
  1782. font-family: 'Avenir Medium';
  1783. color: white;
  1784. text-decoration: none;
  1785. transition: 0.25s ease;
  1786. outline: none;
  1787. text-align: right;
  1788. }
  1789. #newsArticleTitle:hover,
  1790. #newsArticleTitle:focus {
  1791. text-shadow: 0px 0px 20px white;
  1792. }
  1793. #newsArticleTitle:active {
  1794. color: #c7c7c7;
  1795. text-shadow: 0px 0px 20px #c7c7c7;
  1796. }
  1797. /* News meta container. */
  1798. #newsMetaContainer {
  1799. display: flex;
  1800. flex-direction: column;
  1801. }
  1802. /* Date and author wrappers. */
  1803. #newsArticleDateWrapper,
  1804. #newsArticleAuthorWrapper {
  1805. display: flex;
  1806. justify-content: flex-end;
  1807. }
  1808. /* Date and author shared styles. */
  1809. #newsArticleDate,
  1810. #newsArticleAuthor {
  1811. display: inline-block;
  1812. font-size: 10px;
  1813. padding: 0px 5px;
  1814. font-weight: bold;
  1815. border-radius: 2px;
  1816. }
  1817. /* Date styles. */
  1818. #newsArticleDate {
  1819. background: white;
  1820. color: black;
  1821. margin-top: 5px;
  1822. }
  1823. /* Author styles. */
  1824. #newsArticleAuthor {
  1825. background: #a02d2a;
  1826. }
  1827. /* News article comments styles. */
  1828. #newsArticleComments {
  1829. margin-top: 5px;
  1830. display: inline-block;
  1831. font-size: 10px;
  1832. color: #ffffff;
  1833. text-decoration: none;
  1834. transition: 0.25s ease;
  1835. outline: none;
  1836. text-align: right;
  1837. }
  1838. #newsArticleComments:focus,
  1839. #newsArticleComments:hover {
  1840. color: #e0e0e0;
  1841. }
  1842. #newsArticleComments:active {
  1843. color: #c7c7c7;
  1844. }
  1845. /* Article content container (right). */
  1846. #newsArticleContainer {
  1847. width: calc(100% - 25px);
  1848. height: 100%;
  1849. margin: 0px 0px 0px 25px;
  1850. }
  1851. /* Article content styles. */
  1852. #newsArticleContentScrollable {
  1853. font-size: 12px;
  1854. overflow-y: scroll;
  1855. height: 100%;
  1856. padding: 0px 15px 0px 15px;
  1857. }
  1858. #newsArticleContentScrollable img,
  1859. #newsArticleContentScrollable iframe {
  1860. max-width: 95%;
  1861. display: block;
  1862. margin: 0 auto;
  1863. }
  1864. #newsArticleContentScrollable a {
  1865. color: rgba(202, 202, 202, 0.75);
  1866. transition: 0.25s ease;
  1867. outline: none;
  1868. }
  1869. #newsArticleContentScrollable a:hover,
  1870. #newsArticleContentScrollable a:focus {
  1871. color: rgba(255, 255, 255, 0.75);
  1872. }
  1873. #newsArticleContentScrollable a:active {
  1874. color: rgba(165, 165, 165, 0.75);
  1875. }
  1876. #newsArticleContentScrollable::-webkit-scrollbar {
  1877. width: 2px;
  1878. }
  1879. #newsArticleContentScrollable::-webkit-scrollbar-track {
  1880. display: none;
  1881. }
  1882. #newsArticleContentScrollable::-webkit-scrollbar-thumb {
  1883. border-radius: 10px;
  1884. box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.50);
  1885. }
  1886. #newsArticleContentWrapper {
  1887. width: 80%;
  1888. }
  1889. .newsArticleSpacerTop {
  1890. height: 15px;
  1891. }
  1892. /* Div to add spacing at the end of a news article. */
  1893. .newsArticleSpacerBot {
  1894. height: 30px;
  1895. }
  1896. /* News navigation container. */
  1897. #newsNavigationContainer {
  1898. display: flex;
  1899. justify-content: center;
  1900. align-items: center;
  1901. margin-bottom: 10px;
  1902. -webkit-user-select: none;
  1903. position: absolute;
  1904. bottom: 15px;
  1905. right: 0px;
  1906. }
  1907. /* Navigation status span. */
  1908. #newsNavigationStatus {
  1909. font-size: 12px;
  1910. margin: 0px 15px;
  1911. }
  1912. /* Left and right navigation button styles. */
  1913. #newsNavigateLeft,
  1914. #newsNavigateRight {
  1915. background: none;
  1916. border: none;
  1917. outline: none;
  1918. height: 20px;
  1919. cursor: pointer;
  1920. }
  1921. #newsNavigateLeft:hover #newsNavigationLeftSVG,
  1922. #newsNavigateLeft:focus #newsNavigationLeftSVG,
  1923. #newsNavigateRight:hover #newsNavigationRightSVG,
  1924. #newsNavigateRight:focus #newsNavigationRightSVG {
  1925. -webkit-filter: drop-shadow(0px 0px 2px #fff);
  1926. }
  1927. #newsNavigateLeft:active #newsNavigationLeftSVG .arrowLine,
  1928. #newsNavigateRight:active #newsNavigationRightSVG .arrowLine {
  1929. stroke: #c7c7c7;
  1930. }
  1931. #newsNavigateLeft:active #newsNavigationLeftSVG,
  1932. #newsNavigateRight:active #newsNavigationRightSVG {
  1933. -webkit-filter: drop-shadow(0px 0px 2px #c7c7c7);
  1934. }
  1935. #newsNavigateLeft:disabled #newsNavigationLeftSVG .arrowLine,
  1936. #newsNavigateRight:disabled #newsNavigationRightSVG .arrowLine {
  1937. stroke: rgba(255, 255, 255, 0.75);
  1938. }
  1939. #newsNavigationLeftSVG {
  1940. transform: rotate(-90deg);
  1941. width: 15px;
  1942. }
  1943. #newsNavigationRightSVG {
  1944. transform: rotate(90deg);
  1945. width: 15px;
  1946. }
  1947. /* News error (message) container. */
  1948. #newsErrorContainer {
  1949. height: 100%;
  1950. display: flex;
  1951. align-items: center;
  1952. flex-direction: column;
  1953. justify-content: center;
  1954. }
  1955. #newsErrorFailed {
  1956. display: flex;
  1957. align-items: center;
  1958. flex-direction: column;
  1959. justify-content: center;
  1960. }
  1961. /* News error content (message). */
  1962. .newsErrorContent {
  1963. font-size: 20px;
  1964. }
  1965. #newsErrorLoading {
  1966. display: flex;
  1967. width: 168.92px;
  1968. }
  1969. #nELoadSpan {
  1970. white-space: pre;
  1971. }
  1972. /* News error retry button styles. */
  1973. #newsErrorRetry {
  1974. font-size: 12px;
  1975. font-weight: bold;
  1976. cursor: pointer;
  1977. background: none;
  1978. border: none;
  1979. outline: none;
  1980. transition: 0.25s ease;
  1981. }
  1982. #newsErrorRetry:focus,
  1983. #newsErrorRetry:hover {
  1984. text-shadow: 0px 0px 20px white;
  1985. }
  1986. #newsErrorRetry:active {
  1987. color: #c7c7c7;
  1988. text-shadow: 0px 0px 20px #c7c7c7;
  1989. }
  1990. /*******************************************************************************
  1991. * *
  1992. * Landing View (Top Styles) *
  1993. * *
  1994. ******************************************************************************/
  1995. /* * *
  1996. * Landing View (Top Styles) | Left Content
  1997. * * */
  1998. /* Logo image. */
  1999. #image_seal {
  2000. height: 70px;
  2001. width: auto;
  2002. position: relative;
  2003. border: 2px solid white;
  2004. box-sizing: border-box;
  2005. border-radius: 50%;
  2006. }
  2007. /* Logo container styles. */
  2008. #image_seal_container {
  2009. position: relative;
  2010. height: 70px;
  2011. width: 70px;
  2012. border-radius: 50%;
  2013. margin-top: 50px;
  2014. }
  2015. /* Logo container styles w/ update. */
  2016. #image_seal_container[update]{
  2017. cursor: pointer
  2018. }
  2019. #image_seal_container[update]:before,
  2020. #image_seal_container[update]:after {
  2021. cursor: pointer;
  2022. position: absolute;
  2023. content: '';
  2024. height: 100%;
  2025. width: 100%;
  2026. top: 0%;
  2027. left: 0%;
  2028. border-radius: 50%;
  2029. box-shadow: 0 0 15px #43c628;
  2030. animation: glow-grow 4s ease-out infinite;
  2031. background: rgba(0, 0, 0, 0.15);
  2032. }
  2033. #image_seal_container[update]:before {
  2034. animation-delay: 2s;
  2035. }
  2036. /* Update available tooltip styles. */
  2037. #updateAvailableTooltip {
  2038. cursor: pointer;
  2039. visibility: hidden;
  2040. opacity: 0;
  2041. width: 100px;
  2042. height: 15px;
  2043. background-color: rgb(0, 0, 0);
  2044. color: #fff;
  2045. text-align: center;
  2046. border-radius: 4px;
  2047. padding: 2px;
  2048. position: absolute;
  2049. z-index: 1;
  2050. top: 115%;
  2051. left: -17.5px;
  2052. font-family: 'Avenir Medium';
  2053. font-size: 12px;
  2054. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  2055. }
  2056. #updateAvailableTooltip::after {
  2057. content: " ";
  2058. position: absolute;
  2059. left: 50%;
  2060. bottom: 100%;
  2061. margin-left: -5px;
  2062. border-width: 5px;
  2063. border-style: solid;
  2064. border-color: transparent transparent rgb(0, 0, 0) transparent;
  2065. }
  2066. #image_seal_container[update]:hover #updateAvailableTooltip {
  2067. visibility: visible;
  2068. opacity: 1;
  2069. transition-delay: 0s;
  2070. }
  2071. /* Update available animation. */
  2072. @keyframes glow-grow {
  2073. 0% {
  2074. opacity: 0;
  2075. transform: scale(1);
  2076. }
  2077. 80% {
  2078. opacity: 1;
  2079. }
  2080. 100% {
  2081. transform: scale(1.5);
  2082. opacity: 0;
  2083. }
  2084. }
  2085. /* * *
  2086. * Landing View (Bottom Styles) | Right Content
  2087. * * */
  2088. /* Wrapper container for top, right content. */
  2089. #rightContainer {
  2090. display: flex;
  2091. flex-direction: column;
  2092. position: relative;
  2093. top: 50px;
  2094. align-items: flex-start;
  2095. height: calc(100% - 50px);
  2096. }
  2097. /* Right hand user content container. */
  2098. #user_content {
  2099. display: flex;
  2100. align-items: center;
  2101. justify-content: center;
  2102. box-sizing: border-box;
  2103. position: relative;
  2104. }
  2105. /* User profile avatar container. */
  2106. #avatarContainer {
  2107. border-radius: 50%;
  2108. border: 2px solid #cad7e1;
  2109. box-sizing: border-box;
  2110. background: rgba(1, 2, 1, 0.5);
  2111. height: 70px;
  2112. width: 70px;
  2113. box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);
  2114. overflow: hidden;
  2115. position: relative;
  2116. /*background-image: url('https://cdn.discordapp.com/avatars/169197209630277642/6650b5a50e1cb3d00a79b9b88b9a0cd4.png');*/
  2117. background-position: center;
  2118. background-repeat: no-repeat;
  2119. background-size: contain;
  2120. }
  2121. /* Avatar edit overlay. */
  2122. #avatarOverlay {
  2123. opacity: 0;
  2124. position: absolute;
  2125. z-index: 1;
  2126. display: flex;
  2127. justify-content: center;
  2128. align-items: center;
  2129. transition: 0.25s ease;
  2130. font-weight: bold;
  2131. letter-spacing: 2px;
  2132. background-color: rgba(0, 0, 0, 0.35);
  2133. -webkit-user-select: none;
  2134. border: none;
  2135. cursor: pointer;
  2136. width: 100%;
  2137. height: 100%;
  2138. border-radius: 50%;
  2139. }
  2140. #avatarOverlay:hover,
  2141. #avatarOverlay:focus {
  2142. opacity: 1;
  2143. }
  2144. #avatarOverlay:active {
  2145. background-color: rgba(0, 0, 0, 0.45);
  2146. }
  2147. /* User profile name text. */
  2148. #user_text {
  2149. font-size: 12px;
  2150. min-width: 135px;
  2151. font-weight: 900;
  2152. letter-spacing: 1px;
  2153. text-shadow: 0px 0px 20px black;
  2154. position: absolute;
  2155. right: 95px;
  2156. text-align: right;
  2157. -webkit-user-select: initial;
  2158. }
  2159. /* Social media icon content container. */
  2160. #mediaContent {
  2161. position: relative;
  2162. display: flex;
  2163. flex-direction: column;
  2164. margin-top: 25px;
  2165. height: calc(100% - 95px);
  2166. width: 70px;
  2167. align-items: center;
  2168. }
  2169. /* Social Media Icon division containers. */
  2170. #internalMedia, #externalMedia {
  2171. display: flex;
  2172. flex-direction: column;
  2173. }
  2174. /* Container object which wraps an icon to ensure fluid transitions. */
  2175. .mediaContainer {
  2176. display: flex;
  2177. justify-content: center;
  2178. align-items: center;
  2179. height: 27px;
  2180. }
  2181. /* Divider bar between the external and internal icons. */
  2182. .mediaDivider {
  2183. height: 1px;
  2184. width: 14px;
  2185. background: rgb(255, 255, 255);
  2186. margin: 10px 0px;
  2187. }
  2188. /* Social media icon shared styles. */
  2189. .mediaSVG {
  2190. fill: #ffffff;
  2191. height: 12px;
  2192. transition: 0.25s ease;
  2193. cursor: pointer;
  2194. height: 12px;
  2195. width: 25px;
  2196. }
  2197. .mediaSVG:hover,
  2198. .mediaURL:focus .mediaSVG,
  2199. .mediaSVG:active {
  2200. height: 20px;
  2201. }
  2202. /* Social media URL shared styles. */
  2203. .mediaURL {
  2204. outline: none;
  2205. }
  2206. /* Internal media button shared styles. */
  2207. .mediaButton {
  2208. background: none;
  2209. border: none;
  2210. padding: 0px;
  2211. display: flex;
  2212. align-items: center;
  2213. outline: none;
  2214. }
  2215. #settingsMediaContainer {
  2216. position: relative;
  2217. }
  2218. /* Settings icon colors. */
  2219. #settingsSVG {
  2220. stroke: #ffffff;
  2221. height: 15px;
  2222. }
  2223. .mediaButton:hover #settingsSVG,
  2224. .mediaButton:focus #settingsSVG,
  2225. .mediaButton:active #settingsSVG {
  2226. height: 23px;
  2227. }
  2228. /* Settings tooltip styles. */
  2229. #settingsTooltip {
  2230. visibility: hidden;
  2231. opacity: 0;
  2232. width: 75px;
  2233. height: 20px;
  2234. background-color: rgba(0, 0, 0, 0.75);
  2235. text-align: center;
  2236. border-radius: 4px;
  2237. position: absolute;
  2238. z-index: 1;
  2239. right: 130%;
  2240. font-size: 12px;
  2241. line-height: 20px;
  2242. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  2243. }
  2244. #settingsTooltip::after {
  2245. content: " ";
  2246. position: absolute;
  2247. top: 50%;
  2248. left: 100%;
  2249. margin-top: -5px;
  2250. border-width: 5px;
  2251. border-style: solid;
  2252. border-color: transparent transparent transparent rgba(0, 0, 0, 0.75);
  2253. }
  2254. .mediaButton:hover #settingsTooltip,
  2255. .mediaButton:focus #settingsTooltip,
  2256. .mediaButton:active #settingsTooltip {
  2257. visibility: visible;
  2258. opacity: 1;
  2259. transition-delay:0s;
  2260. }
  2261. /* Twitter icon colors. */
  2262. #twitterSVG:hover,
  2263. #twitterURL:focus #twitterSVG {
  2264. fill: #1da1f2;
  2265. }
  2266. #twitterSVG:active {
  2267. fill: #1b8dd4;
  2268. }
  2269. /* Instagram icon colors. */
  2270. #instagramSVG:hover,
  2271. #instagramURL:focus #instagramSVG {
  2272. fill: url('#instaFill')
  2273. /*fill: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); */
  2274. }
  2275. #instagramSVG:active {
  2276. fill: url('#instaFill')
  2277. }
  2278. /* Youtube icon colors. */
  2279. #youtubeSVG:hover,
  2280. #youtubeURL:focus #youtubeSVG {
  2281. fill: #f00;
  2282. }
  2283. #youtubeSVG:active {
  2284. fill: #ea0202;
  2285. }
  2286. /* Discord icon colors. */
  2287. #discordSVG:hover,
  2288. #discordURL:focus #discordSVG {
  2289. fill: #7288d9;
  2290. }
  2291. #discordSVG:active {
  2292. fill: #657ac4;
  2293. }
  2294. /*******************************************************************************
  2295. * *
  2296. * Landing View (Bottom Styles) *
  2297. * *
  2298. ******************************************************************************/
  2299. /* Style for a general label on the bottom of the landing view. */
  2300. .bot_label {
  2301. font-size: 9px;
  2302. letter-spacing: 1px;
  2303. font-weight: bold;
  2304. text-shadow: 0px 0px 0px #bebcbb;
  2305. }
  2306. /* Divider used on the bottom of the landing view. */
  2307. .bot_divider {
  2308. height: 25px;
  2309. width: 2px;
  2310. background: rgba(107, 105, 105, 0.7);
  2311. margin-left: 20px;
  2312. margin-right: 20px;
  2313. }
  2314. /* * *
  2315. * Landing View (Bottom Styles) | Left Content
  2316. * * */
  2317. /* Maintains maximum width on the status bar. */
  2318. #server_status_wrapper {
  2319. display: inline-flex;
  2320. width: 75px;
  2321. }
  2322. /* Span which displays the player count of the selected server. */
  2323. #player_count {
  2324. color: #949494;
  2325. font-size: 8px;
  2326. font-weight: 900;
  2327. text-shadow: 0px 0px 20px #949494;
  2328. margin-left: 10px;
  2329. }
  2330. /* Wrapper container for the mojang status bar. */
  2331. #mojangStatusWrapper {
  2332. position: relative;
  2333. display: flex;
  2334. cursor: pointer;
  2335. }
  2336. /* Icon which displays the status of the mojang services. */
  2337. #mojang_status_icon {
  2338. font-size: 30px;
  2339. color: #848484;
  2340. margin-left: 15px;
  2341. font-family: 'sans-serif';
  2342. }
  2343. /* Tooltip which displays more details about the mojang statuses. */
  2344. #mojangStatusTooltip {
  2345. position: absolute;
  2346. visibility: hidden;
  2347. opacity: 0;
  2348. width: 145px;
  2349. min-height: 150px;
  2350. background-color: rgba(0, 0, 0, 0.75);
  2351. color: #fff;
  2352. border-radius: 4px;
  2353. padding: 5px 10px;
  2354. z-index: 1;
  2355. font-family: 'Avenir Medium';
  2356. font-size: 12px;
  2357. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  2358. bottom: calc(100% + 15px);
  2359. transform: translateX(-50%);
  2360. margin-left: 50%;
  2361. box-shadow: 0px 0px 20px rgb(0, 0, 0);
  2362. cursor: default;
  2363. }
  2364. #mojangStatusTooltip:after {
  2365. content: " ";
  2366. position: absolute;
  2367. left: 50%;
  2368. top: 100%;
  2369. margin-left: -5px;
  2370. border-width: 5px;
  2371. border-style: solid;
  2372. border-color: rgba(0, 0, 0, 0.75) transparent transparent transparent;
  2373. }
  2374. #mojangStatusWrapper:hover #mojangStatusTooltip {
  2375. visibility: visible;
  2376. opacity: 1;
  2377. transition-delay: 0s;
  2378. }
  2379. /* Tooltip title for the mojang statuses. */
  2380. #mojangStatusTooltipTitle {
  2381. width: 100%;
  2382. text-align: center;
  2383. margin-bottom: 5px;
  2384. letter-spacing: 1px;
  2385. }
  2386. /* Wrapper container for the non essential services title. */
  2387. #mojangStatusNEContainer {
  2388. display: flex;
  2389. align-items: center;
  2390. margin: 10px 0px;
  2391. }
  2392. /* White bar which surrounds the non essential service title. */
  2393. .mojangStatusNEBar {
  2394. height: 1px;
  2395. width: 100%;
  2396. background: white;
  2397. }
  2398. /* Non essential service title text. */
  2399. #mojangStatusNETitle {
  2400. font-size: 10px;
  2401. padding: 0px 3px;
  2402. text-align: center;
  2403. letter-spacing: 1px;
  2404. }
  2405. /* Wrapper container for mojang service information. */
  2406. .mojangStatusContainer {
  2407. display: flex;
  2408. }
  2409. /* Displays the name of the mojang service. */
  2410. .mojangStatusName {
  2411. width: 100%;
  2412. font-size: 10px;
  2413. letter-spacing: 1px;
  2414. line-height: 12px;
  2415. padding: 6px 0px;
  2416. }
  2417. /* Displays the status of the mojang service. */
  2418. .mojangStatusIcon {
  2419. margin-right: 10px;
  2420. font-size: 18.5px;
  2421. color: #848484;
  2422. }
  2423. /* * *
  2424. * Landing View (Bottom Styles) | Center Content
  2425. * * */
  2426. /* Button which opens the news view. */
  2427. #newsButton {
  2428. background: none;
  2429. border: none;
  2430. cursor: pointer;
  2431. outline: none;
  2432. }
  2433. #newsButton:hover #newsButtonText,
  2434. #newsButton:focus #newsButtonText {
  2435. text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff;
  2436. }
  2437. #newsButton:active {
  2438. color: #c7c7c7;
  2439. text-shadow: 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7;
  2440. }
  2441. #newsButton:hover #newsButtonSVG,
  2442. #newsButton:focus #newsButtonSVG {
  2443. -webkit-filter: drop-shadow(0px 0px 2px #fff);
  2444. }
  2445. #newsButton:active #newsButtonSVG .arrowLine {
  2446. stroke: #c7c7c7;
  2447. }
  2448. #newsButton:active #newsButtonSVG {
  2449. -webkit-filter: drop-shadow(0px 0px 2px #c7c7c7);
  2450. }
  2451. #newsButton:disabled #newsButtonSVG .arrowLine {
  2452. stroke: rgba(255, 255, 255, 0.75);
  2453. }
  2454. /* Icon which indicates there is new news. */
  2455. #newsButtonAlert {
  2456. width: 5px;
  2457. height: 5px;
  2458. position: absolute;
  2459. border-radius: 50%;
  2460. background: red;
  2461. right: -1px;
  2462. top: 50%;
  2463. }
  2464. /* Arrow image which floats above the news button. */
  2465. #newsButtonSVG {
  2466. height: 11px;
  2467. margin-left: -2px;
  2468. transition: 0.25s ease;
  2469. }
  2470. /* Span which contains the news button text. */
  2471. #newsButtonText {
  2472. color: white;
  2473. font-weight: 900;
  2474. letter-spacing: 2px;
  2475. text-shadow: 0px 0px 0px #bebcbb;
  2476. font-size: 11px;
  2477. line-height: 30px;
  2478. display: flex;
  2479. transition: 0.25s ease;
  2480. }
  2481. /* * *
  2482. * Landing View (Bottom Styles) | Right Content
  2483. * * */
  2484. /* Main launch content container. */
  2485. #landingContainer > #lower > #right #launch_content {
  2486. position: relative;
  2487. top: 25px;
  2488. display: inline-flex;
  2489. }
  2490. /* The launch button. */
  2491. #launch_button {
  2492. background: none;
  2493. border: none;
  2494. cursor: pointer;
  2495. font-weight: 900;
  2496. letter-spacing: 2px;
  2497. text-shadow: 0px 0px 0px #bebcbb;
  2498. font-size: 20px;
  2499. padding: 0px;
  2500. transition: 0.25s ease;
  2501. outline: none;
  2502. }
  2503. #launch_button:hover,
  2504. #launch_button:focus {
  2505. text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff;
  2506. }
  2507. #launch_button:active {
  2508. color: #c7c7c7;
  2509. text-shadow: 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7;
  2510. }
  2511. #launch_button:disabled {
  2512. color: #c7c7c7;
  2513. cursor: default;
  2514. pointer-events: none;
  2515. }
  2516. /* Launch details main container, hidden until launch processing begins. */
  2517. #launch_details {
  2518. position: relative;
  2519. top: 25px;
  2520. display: none;
  2521. }
  2522. /* Left side of launch details container, displays percentage and a divider. */
  2523. #launch_details_left {
  2524. display: flex;
  2525. }
  2526. /* Span which displays percentage complete. */
  2527. #launch_progress_label {
  2528. font-weight: 900;
  2529. letter-spacing: 1px;
  2530. text-shadow: 0px 0px 0px #bebcbb;
  2531. font-size: 20px;
  2532. min-width: 53.21px;
  2533. max-width: 53.21px;
  2534. text-align: right;
  2535. }
  2536. /* Right side of launch details container, displays progress bar and details. */
  2537. #launch_details_right {
  2538. display: flex;
  2539. flex-direction: column;
  2540. justify-content: center;
  2541. }
  2542. /* Button which opens the server selection view. */
  2543. #server_selection_button {
  2544. background: none;
  2545. border: none;
  2546. outline: none;
  2547. cursor: pointer;
  2548. line-height: 24px;
  2549. padding: 0px;
  2550. transition: 0.25s ease;
  2551. }
  2552. #server_selection_button:hover,
  2553. #server_selection_button:focus {
  2554. text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff, 0px 0px 20px #fff;
  2555. }
  2556. #server_selection_button:active {
  2557. color: #c7c7c7;
  2558. text-shadow: 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7;
  2559. }
  2560. /* Progress bar styles. */
  2561. #launch_progress[value] {
  2562. height: 3px;
  2563. width: 265px;
  2564. -webkit-appearance: none;
  2565. }
  2566. #launch_progress[value]::-webkit-progress-bar {
  2567. background-color: transparent;
  2568. }
  2569. #launch_progress[value]::-webkit-progress-value {
  2570. background-color: #fff;
  2571. }
  2572. /* Span which displays information about the status of the launch process. */
  2573. #launch_details_text {
  2574. font-size: 11px;
  2575. text-overflow: ellipsis;
  2576. white-space: nowrap;
  2577. overflow: hidden;
  2578. }
  2579. /*******************************************************************************
  2580. * *
  2581. * Overlay View (overlay.ejs) *
  2582. * *
  2583. ******************************************************************************/
  2584. /* * *
  2585. * Overlay View (Main Content)
  2586. * * */
  2587. /* Overlay container, placed over the main div. */
  2588. #overlayContainer {
  2589. position: absolute;
  2590. z-index: 500;
  2591. top: 22px;
  2592. display: flex;
  2593. align-items: center;
  2594. justify-content: center;
  2595. width: 100%;
  2596. height: calc(100% - 22px);
  2597. background: rgba(0, 0, 0, 0.50);
  2598. }
  2599. /* Main overlay content. */
  2600. #overlayContent {
  2601. position: relative;
  2602. display: flex;
  2603. flex-direction: column;
  2604. align-items: center;
  2605. /*justify-content: space-between;*/
  2606. width: 300px;
  2607. /*height: 35%;*/
  2608. box-sizing: border-box;
  2609. padding: 15px 0px;
  2610. /* background-color: #424242; */
  2611. text-align: center;
  2612. }
  2613. /* Main overlay content anchor styles. */
  2614. #overlayContent a,
  2615. #overlayDismiss {
  2616. color: rgba(202, 202, 202, 0.75);
  2617. transition: 0.25s ease;
  2618. }
  2619. #overlayContent a:hover,
  2620. #overlayContent a:focus,
  2621. #overlayDismiss:focus {
  2622. color: rgba(255, 255, 255, 0.75);
  2623. }
  2624. #overlayContent a:active,
  2625. #overlayDismiss:active {
  2626. color: rgba(165, 165, 165, 0.75);
  2627. }
  2628. /* Add spacing between overlay content elements. */
  2629. #overlayContent > *:first-child {
  2630. margin-top: 0px !important;
  2631. }
  2632. #overlayContent > *:last-child {
  2633. margin-bottom: 0px !important;
  2634. }
  2635. #overlayContent > * {
  2636. margin: 8px 0px;
  2637. }
  2638. /* Overlay title styles. */
  2639. #overlayTitle {
  2640. font-family: 'Avenir Medium';
  2641. font-size: 20px;
  2642. font-weight: bold;
  2643. letter-spacing: 1px;
  2644. -webkit-user-select: initial;
  2645. }
  2646. /* Overlay description styles. */
  2647. #overlayDesc {
  2648. font-size: 12px;
  2649. font-weight: bold;
  2650. -webkit-user-select: initial;
  2651. }
  2652. /* Div which contains action buttons. */
  2653. #overlayActionContainer {
  2654. display: flex;
  2655. flex-direction: column;
  2656. justify-content: center;
  2657. }
  2658. /* Overlay acknowledge button styles. */
  2659. #overlayAcknowledge {
  2660. background: none;
  2661. border: 1px solid #ffffff;
  2662. color: white;
  2663. font-family: 'Avenir Medium';
  2664. font-weight: bold;
  2665. border-radius: 2px;
  2666. padding: 0px 8.1px;
  2667. cursor: pointer;
  2668. transition: 0.25s ease;
  2669. }
  2670. #overlayAcknowledge:hover,
  2671. #overlayAcknowledge:focus {
  2672. box-shadow: 0px 0px 10px 0px #fff;
  2673. outline: none;
  2674. }
  2675. #overlayAcknowledge:active {
  2676. border-color: rgba(255, 255, 255, 0.75);
  2677. color: rgba(255, 255, 255, 0.75);
  2678. }
  2679. /* Overlay dismiss option styles. */
  2680. #overlayDismiss {
  2681. font-weight: bold;
  2682. font-size: 10px;
  2683. text-decoration: none;
  2684. padding-top: 2.5px;
  2685. background: none;
  2686. border: none;
  2687. outline: none;
  2688. cursor: pointer;
  2689. }
  2690. #overlayDismiss:hover {
  2691. color: rgba(255, 255, 255, 0.75);
  2692. }
  2693. #overlayDismiss:active {
  2694. color: rgba(165, 165, 165, 0.75);
  2695. }
  2696. /* * *
  2697. * Overlay View (Server + Account Selection Content)
  2698. * * */
  2699. /* Server selection content container. */
  2700. #serverSelectContent,
  2701. #accountSelectContent {
  2702. display: flex;
  2703. flex-direction: column;
  2704. justify-content: center;
  2705. align-items: center;
  2706. height: 75%;
  2707. }
  2708. /* Server selection header. */
  2709. #serverSelectHeader,
  2710. #accountSelectHeader {
  2711. font-family: 'Avenir Medium';
  2712. font-size: 20px;
  2713. font-weight: bold;
  2714. color: #fff;
  2715. margin-bottom: 25px;
  2716. }
  2717. /* Wrapper div for the list of available servers. */
  2718. #serverSelectList,
  2719. #accountSelectList {
  2720. display: flex;
  2721. flex-direction: column;
  2722. align-items: center;
  2723. justify-content: center;
  2724. max-height: 65%;
  2725. min-height: 40%;
  2726. }
  2727. /* Scrollable div which lists the available servers. */
  2728. #serverSelectListScrollable,
  2729. #accountSelectListScrollable {
  2730. padding: 0px 5px;
  2731. overflow-y: scroll;
  2732. }
  2733. #serverSelectListScrollable::-webkit-scrollbar,
  2734. #accountSelectListScrollable::-webkit-scrollbar {
  2735. width: 2px;
  2736. }
  2737. #serverSelectListScrollable::-webkit-scrollbar-track,
  2738. #accountSelectListScrollable::-webkit-scrollbar-track {
  2739. display: none;
  2740. }
  2741. #serverSelectListScrollable::-webkit-scrollbar-thumb,
  2742. #accountSelectListScrollable::-webkit-scrollbar-thumb {
  2743. border-radius: 10px;
  2744. box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.50);
  2745. }
  2746. /* Content container for a server listing. */
  2747. .serverListing {
  2748. border: none;
  2749. padding: 0px;
  2750. width: 375px;
  2751. min-height: 60px;
  2752. display: flex;
  2753. justify-content: flex-start;
  2754. align-items: center;
  2755. opacity: 0.6;
  2756. transition: 0.25s ease;
  2757. cursor: pointer;
  2758. position: relative;
  2759. background: rgba(131, 131, 131, 0.25);
  2760. }
  2761. .serverListing[selected] {
  2762. cursor: default;
  2763. opacity: 1.0;
  2764. }
  2765. .serverListing:hover,
  2766. .serverListing:focus {
  2767. outline: none;
  2768. opacity: 1.0;
  2769. }
  2770. .accountListing {
  2771. color: white;
  2772. border: 1px solid rgba(126, 126, 126, 0.57);
  2773. border-radius: 3px;
  2774. padding: 5px 45px;
  2775. width: 250px;
  2776. display: flex;
  2777. justify-content: flex-start;
  2778. align-items: center;
  2779. opacity: 0.6;
  2780. transition: 0.25s ease;
  2781. cursor: pointer;
  2782. position: relative;
  2783. background: rgba(0, 0, 0, 0.25);
  2784. }
  2785. .accountListing[selected] {
  2786. cursor: default;
  2787. opacity: 1.0;
  2788. }
  2789. .accountListing:hover,
  2790. .accountListing:focus {
  2791. outline: none;
  2792. opacity: 1.0;
  2793. }
  2794. .accountListingName {
  2795. display: flex;
  2796. height: 100%;
  2797. width: 100%;
  2798. padding-left: 10px;
  2799. }
  2800. /* Add spacing between server listings. */
  2801. #serverSelectListScrollable > .serverListing:not(:first-child):not(:last-child),
  2802. #accountSelectListScrollable > .accountListing:not(:first-child):not(:last-child) {
  2803. margin: 5px 0px;
  2804. }
  2805. #serverSelectListScrollable > .serverListing:first-child,
  2806. #accountSelectListScrollable > .accountListing:first-child {
  2807. margin-bottom: 5px;
  2808. }
  2809. #serverSelectListScrollable > .serverListing:last-child,
  2810. #accountSelectListScrollable > .accountListing:last-child {
  2811. margin-top: 5px;
  2812. }
  2813. /* Server listing image. */
  2814. .serverListingImg {
  2815. margin: 0px 10px 0px 5px;
  2816. border: 1px solid #fff;
  2817. height: 50px;
  2818. width: 50px;
  2819. }
  2820. /* Content container for the server listing's details. */
  2821. .serverListingDetails {
  2822. display: flex;
  2823. flex-direction: column;
  2824. align-items: flex-start;
  2825. justify-content: space-between;
  2826. height: 50px;
  2827. }
  2828. /* The name of the server listing. */
  2829. .serverListingName {
  2830. font-size: 14px;
  2831. font-weight: bold;
  2832. }
  2833. /* Description for the server listing. */
  2834. .serverListingDescription {
  2835. font-size: 10px;
  2836. line-height: 10px;
  2837. font-weight: bold;
  2838. }
  2839. /* Content container for the server listing's information. */
  2840. .serverListingInfo {
  2841. width: 100%;
  2842. display: flex;
  2843. justify-content: flex-start;
  2844. }
  2845. /* The minecraft version of the server listing. */
  2846. .serverListingVersion {
  2847. font-size: 10px;
  2848. text-align: center;
  2849. display: flex;
  2850. justify-content: center;
  2851. align-items: center;
  2852. line-height: 12px;
  2853. height: 12px;
  2854. border-radius: 2px;
  2855. background: rgba(31, 140, 11, 0.8);
  2856. padding: 0px 2px;
  2857. }
  2858. /* The revision version of the server's manifest. */
  2859. .serverListingRevision {
  2860. color: #969696;
  2861. font-size: 10px;
  2862. line-height: 12px;
  2863. padding: 0px 5px;
  2864. }
  2865. /* Star which indicates the default (main) server. */
  2866. .serverListingStarWrapper {
  2867. display: flex;
  2868. align-items: center;
  2869. cursor: pointer;
  2870. height: 12px;
  2871. position: relative;
  2872. }
  2873. /* Tooltip which displays when hovering over the star. */
  2874. .serverListingStarTooltip {
  2875. visibility: hidden;
  2876. opacity: 0;
  2877. width: 65px;
  2878. background-color: rgba(0, 0, 0, 0.40);
  2879. text-align: center;
  2880. border-radius: 4px;
  2881. position: absolute;
  2882. z-index: 1;
  2883. left: 130%;
  2884. font-size: 10px;
  2885. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  2886. }
  2887. .serverListingStarTooltip::after {
  2888. content: " ";
  2889. position: absolute;
  2890. top: 50%;
  2891. right: 100%; /* To the left of the tooltip */
  2892. margin-top: -5px;
  2893. border-width: 5px;
  2894. border-style: solid;
  2895. border-color: transparent rgba(0, 0, 0, 0.40) transparent transparent;
  2896. }
  2897. .serverListingStarWrapper:hover .serverListingStarTooltip {
  2898. visibility: visible;
  2899. opacity: 1;
  2900. transition-delay:0s;
  2901. }
  2902. /* Content container which contains the server select actions. */
  2903. #serverSelectActions,
  2904. #accountSelectActions {
  2905. display: flex;
  2906. flex-direction: column;
  2907. justify-content: center;
  2908. align-items: center;
  2909. margin-top: 25px;
  2910. }
  2911. /* Server selection confirm button styles. */
  2912. #serverSelectConfirm,
  2913. #accountSelectConfirm {
  2914. background: none;
  2915. border: 1px solid #ffffff;
  2916. color: white;
  2917. font-family: 'Avenir Medium';
  2918. font-weight: bold;
  2919. border-radius: 2px;
  2920. padding: 0px 8.1px;
  2921. cursor: pointer;
  2922. transition: 0.25s ease;
  2923. min-height: 20.67px;
  2924. }
  2925. #serverSelectConfirm:hover,
  2926. #serverSelectConfirm:focus,
  2927. #accountSelectConfirm:hover,
  2928. #accountSelectConfirm:focus {
  2929. box-shadow: 0px 0px 10px 0px #fff;
  2930. outline: none;
  2931. }
  2932. #serverSelectConfirm:active,
  2933. #accountSelectConfirm:active {
  2934. border-color: rgba(255, 255, 255, 0.75);
  2935. color: rgba(255, 255, 255, 0.75);
  2936. }
  2937. /* Server selection cancel button styles. */
  2938. #serverSelectCancel,
  2939. #accountSelectCancel {
  2940. font-weight: bold;
  2941. font-size: 10px;
  2942. text-decoration: none;
  2943. padding-top: 2.5px;
  2944. color: rgba(202, 202, 202, 0.75);
  2945. transition: 0.25s ease;
  2946. background: none;
  2947. border: none;
  2948. outline: none;
  2949. cursor: pointer;
  2950. }
  2951. #serverSelectCancel:hover,
  2952. #serverSelectCancel:focus,
  2953. #accountSelectCancel:hover,
  2954. #accountSelectCancel:focus {
  2955. color: rgba(255, 255, 255, 0.75);
  2956. }
  2957. #serverSelectCancel:active,
  2958. #accountSelectCancel:active {
  2959. color: rgba(165, 165, 165, 0.75);
  2960. }
  2961. /*******************************************************************************
  2962. * *
  2963. * Loading Element (app.ejs) *
  2964. * *
  2965. ******************************************************************************/
  2966. /* Loading container, placed above everything. */
  2967. #loadingContainer {
  2968. position: absolute;
  2969. z-index: 400;
  2970. display: flex;
  2971. align-items: center;
  2972. justify-content: center;
  2973. width: 100%;
  2974. height: calc(100% - 22px);
  2975. }
  2976. /* Loading content container. */
  2977. #loadingContent {
  2978. position: relative;
  2979. display: flex;
  2980. flex-direction: column;
  2981. align-items: center;
  2982. justify-content: center;
  2983. }
  2984. /* Spinner container. */
  2985. #loadSpinnerContainer {
  2986. position: relative;
  2987. display: flex;
  2988. align-items: center;
  2989. justify-content: center;
  2990. }
  2991. /* Stationary image for the spinner. */
  2992. #loadCenterImage {
  2993. position: absolute;
  2994. width: 277px;
  2995. height: auto;
  2996. }
  2997. /* Rotating image for the spinner. */
  2998. #loadSpinnerImage {
  2999. width: 280px;
  3000. height: auto;
  3001. z-index: 400;
  3002. }
  3003. /* Rotating animation for the spinner. */
  3004. @keyframes rotating {
  3005. from {
  3006. transform: rotate(0deg);
  3007. }
  3008. to {
  3009. transform: rotate(360deg);
  3010. }
  3011. }
  3012. /* Class which is applied when the spinner image is spinning. */
  3013. .rotating {
  3014. animation: rotating 10s linear infinite;
  3015. }