launcher.css 77 KB

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