launcher.css 78 KB

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