launcher.css 62 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781
  1. /*******************************************************************************
  2. * *
  3. * Fonts *
  4. * *
  5. ******************************************************************************/
  6. @font-face {
  7. font-family: 'Avenir Book';
  8. src: url('../fonts/Avenir-Book.ttf');
  9. }
  10. @font-face {
  11. font-family: 'Avenir Medium';
  12. src: url('../fonts/Avenir-Medium.ttf');
  13. }
  14. @font-face {
  15. font-family: 'Ringbearer';
  16. src: url('../fonts/Ringbearer.ttf');
  17. }
  18. /*******************************************************************************
  19. * *
  20. * Element Styles *
  21. * *
  22. ******************************************************************************/
  23. /* Reset body, html, and div presets. */
  24. body, html, div {
  25. margin: 0px;
  26. padding: 0px;
  27. }
  28. /* Reset p presets. */
  29. p {
  30. -webkit-margin-before: 0em;
  31. -webkit-margin-after: 0em;
  32. }
  33. /* Set default font and color. */
  34. body, button {
  35. font-family: 'Avenir Book';
  36. color: white;
  37. }
  38. /*body {
  39. background: url('./../images/backgrounds/0.jpg') no-repeat center center fixed;
  40. background-size: cover;
  41. }*/
  42. /*******************************************************************************
  43. * *
  44. * Frame Styles (frame.ejs) *
  45. * *
  46. ******************************************************************************/
  47. /* Frame Bar */
  48. #frameBar {
  49. position: relative;
  50. z-index: 100;
  51. display: flex;
  52. flex-direction: column;
  53. transition: background-color 1s ease;
  54. /*background-color: rgba(1, 2, 1, 0.5);*/
  55. -webkit-user-select: none;
  56. }
  57. /* Undraggable region on the top of the frame. */
  58. #frameResizableTop {
  59. height: 2px;
  60. width: 100%;
  61. -webkit-app-region: no-drag;
  62. }
  63. /* Flexbox to wrap the main frame content. */
  64. #frameMain {
  65. display: flex;
  66. height: 20px
  67. }
  68. /* Undraggable region on the left and right of the frame. */
  69. .frameResizableVert {
  70. width: 2px;
  71. -webkit-app-region: no-drag;
  72. }
  73. /* Main frame content for windows. */
  74. #frameContentWin {
  75. display: flex;
  76. justify-content: space-between;
  77. width: 100%;
  78. -webkit-app-region: drag;
  79. }
  80. /* Main frame content for darwin. */
  81. #frameContentDarwin {
  82. display: flex;
  83. justify-content: flex-start;
  84. align-items: center;
  85. width: 100%;
  86. -webkit-app-region: drag;
  87. }
  88. /* Frame logo (windows only). */
  89. #frameImageDock {
  90. width: 100px;
  91. display: flex;
  92. justify-content: center;
  93. align-items: center;
  94. position: relative;
  95. }
  96. #frameImage {
  97. height: 15px;
  98. filter: grayscale(100%);
  99. }
  100. /* Windows frame button dock. */
  101. #frameButtonDockWin {
  102. -webkit-app-region: no-drag !important;
  103. position: relative;
  104. top: -2px;
  105. right: -2px;
  106. height: 22px;
  107. }
  108. #frameButtonDockWin > .frameButton:not(:first-child) {
  109. margin-left: -4px;
  110. }
  111. /* Darwin frame button dock: NaN; */
  112. #frameButtonDockDarwin {
  113. -webkit-app-region: no-drag !important;
  114. position: relative;
  115. top: -1px;
  116. right: -1px;
  117. }
  118. /* Windows Frame Button Styles. */
  119. .frameButton {
  120. background: none;
  121. border: none;
  122. height: 22px;
  123. width: 39px;
  124. cursor: pointer;
  125. }
  126. .frameButton:hover,
  127. .frameButton:focus {
  128. background: rgba(189, 189, 189, 0.43);
  129. }
  130. .frameButton:active {
  131. background: rgba(156, 156, 156, 0.43);
  132. }
  133. .frameButton:focus {
  134. outline: 0px;
  135. }
  136. /* Close button is red. */
  137. #frameButton_close:hover,
  138. #frameButton_close:focus {
  139. background: rgba(255, 53, 53, 0.61) !important;
  140. }
  141. #frameButton_close:active {
  142. background: rgba(235, 0, 0, 0.61) !important;
  143. }
  144. /* Darwin Frame Button Styles. */
  145. .frameButtonDarwin {
  146. height: 12px;
  147. width: 12px;
  148. border-radius: 50%;
  149. border: 0px;
  150. margin-left: 5px;
  151. -webkit-app-region: no-drag !important;
  152. cursor: pointer;
  153. }
  154. .frameButtonDarwin:focus {
  155. outline: 0px;
  156. }
  157. #frameButtonDarwin_close {
  158. background-color: #e74c32;
  159. }
  160. #frameButtonDarwin_close:hover,
  161. #frameButtonDarwin_close:focus {
  162. background-color: #FF9A8A;
  163. }
  164. #frameButtonDarwin_close:active {
  165. background-color: #ff8d7b;
  166. }
  167. #frameButtonDarwin_minimize {
  168. background-color: #fed045;
  169. }
  170. #frameButtonDarwin_minimize:hover,
  171. #frameButtonDarwin_minimize:focus {
  172. background-color: #FFE9A9;
  173. }
  174. #frameButtonDarwin_minimize:active {
  175. background-color: #ffde7b;
  176. }
  177. #frameButtonDarwin_restoredown {
  178. background-color: #96e734;
  179. }
  180. #frameButtonDarwin_restoredown:hover,
  181. #frameButtonDarwin_restoredown:focus {
  182. background-color: #D6FFA6;
  183. }
  184. #frameButtonDarwin_restoredown:active {
  185. background-color: #bfff76;
  186. }
  187. /*******************************************************************************
  188. * *
  189. * Welcome View (welcome.ejs) *
  190. * *
  191. ******************************************************************************/
  192. #welcomeContainer {
  193. position: relative;
  194. display: flex;
  195. justify-content: center;
  196. align-items: center;
  197. height: 100%;
  198. width: 100%;
  199. }
  200. #welcomeContent {
  201. display: flex;
  202. flex-direction: column;
  203. justify-content: center;
  204. align-items: center;
  205. width: 50%;
  206. top: -10%;
  207. position: relative;
  208. }
  209. /*
  210. .cloudDiv {
  211. position: absolute;
  212. height: 100%;
  213. width: 100%;
  214. display: flex;
  215. flex-direction: column;
  216. }
  217. .cloudTop {
  218. height: 50%;
  219. width: 100%;
  220. background-image: url('../images/cloudTrans.png');
  221. animation: clouds1 80s linear infinite;
  222. background-size: cover;
  223. }
  224. .cloudBottom {
  225. height: 50%;
  226. width: 100%;
  227. background-image: url('../images/cloudTrans2.png');
  228. animation: clouds2 70s linear infinite;
  229. background-size: cover;
  230. }
  231. @keyframes clouds1 {
  232. to {
  233. background-position: 200%;
  234. }
  235. }
  236. @keyframes clouds2 {
  237. to {
  238. background-position: 230%;
  239. }
  240. }
  241. */
  242. #welcomeImageSeal {
  243. border-radius: 50%;
  244. border: 2px solid #cad7e1;
  245. background: rgba(1, 2, 1, 0.5);
  246. height: 125px;
  247. width: 125px;
  248. box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);
  249. margin-bottom: 5%;
  250. margin-top: 10%;
  251. }
  252. #welcomeHeader {
  253. font-family: 'Avenir Medium';
  254. text-align: center;
  255. color: white;
  256. margin-bottom: 25px;
  257. letter-spacing: 1px;
  258. font-size: 20px;
  259. text-shadow: white 0px 0px 0px;
  260. }
  261. #welcomeDescription {
  262. text-align: justify;
  263. font-size: 13px;
  264. font-weight: 100;
  265. text-shadow: rgba(255, 255, 255, 0.75) 0px 0px 20px
  266. }
  267. #welcomeDescCTA {
  268. text-align: center;
  269. font-size: 14px;
  270. font-weight: 100;
  271. text-shadow: rgba(255, 255, 255, 0.75) 0px 0px 20px
  272. }
  273. /* Login button styles. */
  274. #welcomeButton {
  275. background: none;
  276. font-weight: bold;
  277. letter-spacing: 2px;
  278. border: none;
  279. padding: 15px 5px;
  280. margin: 10px 0px;
  281. cursor: pointer;
  282. position: relative;
  283. right: -20px;
  284. transition: 0.5s ease;
  285. margin-top: 5%;
  286. margin-bottom: -5%;
  287. }
  288. #welcomeButton:disabled {
  289. color: rgba(255, 255, 255, 0.75);
  290. pointer-events: none;
  291. }
  292. #welcomeButton:hover,
  293. #welcomeButton:focus {
  294. text-shadow: 0px 0px 20px #fff;
  295. outline: none;
  296. }
  297. #welcomeButton:active {
  298. color: #c7c7c7;
  299. text-shadow: 0px 0px 20px #c7c7c7;
  300. }
  301. #welcomeSVG {
  302. -webkit-transform: translate3d(0, 0, 0);
  303. overflow: visible;
  304. transform: rotate(90deg);
  305. margin-left: 20px;
  306. transition: 0.25s ease;
  307. width: 20px;
  308. height: 20px;
  309. }
  310. #welcomeButton:hover #welcomeSVG,
  311. #welcomeButton:focus #welcomeSVG {
  312. -webkit-filter: drop-shadow(0px 0px 2px #fff);
  313. }
  314. #welcomeButton:active #welcomeSVG .arrowLine {
  315. stroke: #c7c7c7;
  316. }
  317. #welcomeButton:active #welcomeSVG {
  318. -webkit-filter: drop-shadow(0px 0px 2px #c7c7c7);
  319. }
  320. #welcomeButton:disabled #welcomeSVG .arrowLine {
  321. stroke: rgba(255, 255, 255, 0.75);
  322. }
  323. #welcomeButtonContent {
  324. display: flex;
  325. align-items: center;
  326. }
  327. /*******************************************************************************
  328. * *
  329. * Login View (login.ejs) *
  330. * *
  331. ******************************************************************************/
  332. /* Styles for dimmer login span. */
  333. .loginSpanDim {
  334. font-size: 12px;
  335. color: #848484;
  336. font-weight: bold;
  337. }
  338. /* Main login container. */
  339. #loginContainer {
  340. position: relative;
  341. display: flex;
  342. justify-content: center;
  343. align-items: center;
  344. height: 100%;
  345. width: 100%;
  346. transition: filter 0.25s ease;
  347. background: rgba(0, 0, 0, 0.50);
  348. }
  349. /* Login cancel button styles. */
  350. #loginCancelContainer {
  351. position: absolute;
  352. top: 5%;
  353. right: 5%;
  354. }
  355. /* Login cancel button styles. */
  356. #loginCancelButton {
  357. background: none;
  358. border: none;
  359. outline: none;
  360. cursor: pointer;
  361. transition: 0.25s ease;
  362. }
  363. #loginCancelButton:hover #loginCancelIcon,
  364. #loginCancelButton:hover #loginCancelText,
  365. #loginCancelButton:focus #loginCancelIcon,
  366. #loginCancelButton:focus #loginCancelText {
  367. text-shadow: 0px 0px 20px white;
  368. }
  369. #loginCancelButton:hover #loginCancelIcon,
  370. #loginCancelButton:focus #loginCancelIcon {
  371. box-shadow: 0px 0px 20px white;
  372. }
  373. #loginCancelButton:active #loginCancelIcon,
  374. #loginCancelButton:active #loginCancelText {
  375. text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.75);
  376. color: rgba(255, 255, 255, 0.75);
  377. border-color: rgba(255, 255, 255, 0.75);
  378. }
  379. #loginCancelButton:active #loginCancelIcon {
  380. box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.75);
  381. }
  382. #loginCancelButton:disabled {
  383. pointer-events: none;
  384. }
  385. #loginCancelButton:disabled #loginCancelIcon,
  386. #loginCancelButton:disabled #loginCancelText {
  387. color: rgba(255, 255, 255, 0.75);
  388. border-color: rgba(255, 255, 255, 0.75);
  389. }
  390. /* The X in a circle icon for the cancel button. */
  391. #loginCancelIcon {
  392. border-radius: 50%;
  393. border: 1px solid white;
  394. box-sizing: border-box;
  395. height: 30px;
  396. width: 30px;
  397. font-size: 19px;
  398. line-height: 30px;
  399. margin: 0 auto;
  400. margin-bottom: 5px;
  401. transition: 0.25s ease;
  402. }
  403. /* Text for the login cancel button. */
  404. #loginCancelText {
  405. font-size: 15px;
  406. transition: 0.25s ease;
  407. }
  408. /* Login content wrapper. */
  409. #loginContent {
  410. display: flex;
  411. justify-content: center;
  412. align-items: center;
  413. height: 100%;
  414. padding: 0px 25px;
  415. }
  416. /* Login form. */
  417. #loginForm {
  418. display: flex;
  419. flex-direction: column;
  420. justify-content: center;
  421. align-items: center;
  422. }
  423. /* Login form anchor styles. */
  424. #loginForm a {
  425. font-size: 12px;
  426. color: #848484;
  427. font-weight: bold;
  428. text-decoration: none;
  429. transition: 0.25s ease;
  430. }
  431. #loginForm a:hover,
  432. #loginForm a:focus {
  433. color: #a2a2a2;
  434. outline: none;
  435. }
  436. #loginForm a:active {
  437. color: #8b8b8b;
  438. }
  439. /* Logo on login form. */
  440. #loginImageSeal {
  441. border-radius: 50%;
  442. border: 2px solid #cad7e1;
  443. background: rgba(1, 2, 1, 0.5);
  444. height: 125px;
  445. width: 125px;
  446. box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);
  447. margin-bottom: 20px;
  448. }
  449. /* Header on login view. */
  450. #loginSubheader {
  451. font-family: 'Avenir Medium';
  452. margin-bottom: 25px;
  453. font-size: 12px;
  454. letter-spacing: 1px;
  455. font-weight: bold;
  456. }
  457. /* Container to organize login field elements. */
  458. .loginFieldContainer {
  459. position: relative;
  460. display: flex;
  461. flex-direction: column;
  462. justify-content: center;
  463. align-items: center;
  464. }
  465. /* SVG icons on the login view. */
  466. .loginSVG {
  467. fill: #fff;
  468. height: 20px;
  469. width: 20px;
  470. }
  471. /* Span which displays errors related to login field content. */
  472. .loginErrorSpan {
  473. font-family: 'Avenir Medium';
  474. font-weight: bold;
  475. font-size: 8px;
  476. color: #ff1b0c;
  477. width: 100%;
  478. text-align: right;
  479. position: absolute;
  480. top: 7px;
  481. opacity: 0;
  482. transition: 0.25s ease;
  483. }
  484. .shake {
  485. animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  486. }
  487. @keyframes shake {
  488. 10%, 90% {
  489. transform: translate3d(-1px, 0, 0);
  490. }
  491. 20%, 80% {
  492. transform: translate3d(2px, 0, 0);
  493. }
  494. 30%, 50%, 70% {
  495. transform: translate3d(-4px, 0, 0);
  496. }
  497. 40%, 60% {
  498. transform: translate3d(4px, 0, 0);
  499. }
  500. }
  501. /* Login text input styles. */
  502. .loginField {
  503. font-family: 'Avenir Book';
  504. background: none;
  505. border-width: 1.5px 0px 0px 0px;
  506. border-style: solid;
  507. width: 250px;
  508. margin-bottom: 20px;
  509. border-color: #fff;
  510. color: rgba(255, 255, 255, 0.75);
  511. font-weight: bold;
  512. text-align: center;
  513. box-sizing: border-box;
  514. padding: 7.5px;
  515. font-size: 10px;
  516. letter-spacing: 1px;
  517. }
  518. .loginField:focus {
  519. outline: none;
  520. }
  521. .loginField:disabled {
  522. color: rgba(255, 255, 255, 0.50);
  523. }
  524. .loginField::-webkit-input-placeholder {
  525. color: rgba(255, 255, 255, 0.75);
  526. font-size: 10px;
  527. letter-spacing: 1px;
  528. text-align: center;
  529. font-weight: bold;
  530. }
  531. .loginField:focus::-webkit-input-placeholder {
  532. color: transparent;
  533. }
  534. /* Add spacing between password field and options bar. */
  535. #labelPassword {
  536. margin-bottom: 13px;
  537. }
  538. /* Container which contains the forgot and remember options. */
  539. #loginOptions {
  540. display: flex;
  541. justify-content: space-between;
  542. width: 100%;
  543. }
  544. /* Remember option text. */
  545. #loginRememberText {
  546. padding-right: 10px;
  547. transition: 0.25s ease;
  548. }
  549. /* Login button styles. */
  550. #loginButton {
  551. background: none;
  552. font-weight: bold;
  553. letter-spacing: 2px;
  554. border: none;
  555. padding: 15px 5px;
  556. margin: 10px 0px;
  557. cursor: pointer;
  558. position: relative;
  559. right: -20px;
  560. transition: 0.5s ease;
  561. }
  562. #loginButton:disabled {
  563. color: rgba(255, 255, 255, 0.75);
  564. pointer-events: none;
  565. }
  566. #loginButton[loading] {
  567. color: #fff;
  568. }
  569. #loginButton:hover,
  570. #loginButton:focus {
  571. text-shadow: 0px 0px 20px #fff;
  572. outline: none;
  573. }
  574. #loginButton:active {
  575. color: #c7c7c7;
  576. text-shadow: 0px 0px 20px #c7c7c7;
  577. }
  578. #loginSVG {
  579. -webkit-transform: translate3d(0, 0, 0);
  580. overflow: visible;
  581. transform: rotate(90deg);
  582. margin-left: 20px;
  583. transition: 0.25s ease;
  584. width: 20px;
  585. height: 20px;
  586. }
  587. #loginButton:hover #loginSVG,
  588. #loginButton:focus #loginSVG {
  589. -webkit-filter: drop-shadow(0px 0px 2px #fff);
  590. }
  591. #loginButton:active #loginSVG .arrowLine {
  592. stroke: #c7c7c7;
  593. }
  594. #loginButton:active #loginSVG {
  595. -webkit-filter: drop-shadow(0px 0px 2px #c7c7c7);
  596. }
  597. #loginButton:disabled #loginSVG .arrowLine {
  598. stroke: rgba(255, 255, 255, 0.75);
  599. }
  600. #loginButtonContent {
  601. display: flex;
  602. align-items: center;
  603. }
  604. #loginButton .circle-loader,
  605. #loginButton[loading] #loginSVG {
  606. display: none;
  607. }
  608. #loginButton[loading] .circle-loader,
  609. #loginButton #loginSVG {
  610. display: initial;
  611. }
  612. .circle-loader {
  613. margin-left: 20px;
  614. border: 2px solid rgba(255, 255, 255, 0.5);
  615. border-left-color: #ffffff;
  616. animation-name: loader-spin;
  617. animation-duration: 1s;
  618. animation-iteration-count: infinite;
  619. animation-timing-function: linear;
  620. position: relative;
  621. display: inline-block;
  622. vertical-align: top;
  623. border-radius: 50%;
  624. width: 16px;
  625. height: 16px;
  626. }
  627. .load-complete {
  628. animation: none;
  629. border-color: #ffffff;
  630. transition: border 500ms ease-out;
  631. }
  632. .checkmark {
  633. display: none;
  634. }
  635. .checkmark.draw:after {
  636. animation-duration: 800ms;
  637. animation-timing-function: ease;
  638. animation-name: checkmark;
  639. transform: scaleX(-1) rotate(135deg);
  640. }
  641. .checkmark:after {
  642. opacity: 1;
  643. height: 8px;
  644. width: 4px;
  645. transform-origin: left top;
  646. border-right: 2px solid #ffffff;
  647. border-top: 2px solid #ffffff;
  648. content: '';
  649. left: 2px;
  650. top: 8px;
  651. position: absolute;
  652. }
  653. @keyframes loader-spin {
  654. 0% {
  655. transform: rotate(0deg);
  656. }
  657. 100% {
  658. transform: rotate(360deg);
  659. }
  660. }
  661. @keyframes checkmark {
  662. 0% {
  663. height: 0;
  664. width: 0;
  665. opacity: 1;
  666. }
  667. 20% {
  668. height: 0;
  669. width: 4px;
  670. opacity: 1;
  671. }
  672. 40% {
  673. height: 8px;
  674. width: 4px;
  675. opacity: 1;
  676. }
  677. 100% {
  678. height: 8px;
  679. width: 4px;
  680. opacity: 1;
  681. }
  682. }
  683. /*.spinningCircle {
  684. margin-left: 20px;
  685. height: 16px;
  686. width: 16px;
  687. border-radius: 50%;
  688. border: 2px solid rgba(255,255,255,0);
  689. border-top-color: #ffffff;
  690. border-right-color: #ffffff;
  691. border-left-color: rgba(255, 255, 255, 0.50);
  692. border-bottom-color: rgba(255, 255, 255, 0.50);
  693. animation: single2 4s infinite linear;
  694. }
  695. @keyframes single2 {
  696. 0% {
  697. transform: rotate(0deg);
  698. }
  699. 100% {
  700. transform: rotate(720deg);
  701. }
  702. }*/
  703. /* Disclaimer container. */
  704. #loginDisclaimer {
  705. display: flex;
  706. flex-direction: column;
  707. justify-content: center;
  708. align-items: center;
  709. }
  710. /* Add spacing between register anchor and disclaimer. */
  711. #loginRegisterSpan {
  712. margin-bottom: 5px;
  713. }
  714. /* Disclaimer text styles. */
  715. .loginDisclaimerText {
  716. font-size: 7px;
  717. color: #848484;
  718. font-weight: bold;
  719. text-align: center;
  720. }
  721. /* * *
  722. * Login View | Custom Checkbox
  723. * * */
  724. /* Checkbox container. */
  725. #checkmarkContainer {
  726. display: flex;
  727. justify-content: flex-end;
  728. align-items: center;
  729. position: relative;
  730. cursor: pointer;
  731. font-size: 22px;
  732. -webkit-user-select: none;
  733. }
  734. /* Hide the default checkbox. */
  735. #checkmarkContainer input {
  736. opacity: 0;
  737. cursor: pointer;
  738. position: absolute;
  739. }
  740. /* Create a custom checkbox. */
  741. .loginCheckmark {
  742. position: relative;
  743. height: 10px;
  744. width: 10px;
  745. border: 1px solid #848484;
  746. border-radius: 1px;
  747. background: none;
  748. transition: 0.25s ease;
  749. }
  750. /* On hover and focus, add a grey border color. */
  751. #checkmarkContainer:hover input ~ *,
  752. #checkmarkContainer input:focus ~ * {
  753. color: #a2a2a2;
  754. border-color: #a2a2a2;
  755. }
  756. /* On keydown, darken the checkbox a bit. */
  757. #checkmarkContainer input:active ~ *:not(#loginRememberText) {
  758. color: #8d8d8d;
  759. border-color: #8d8d8d;
  760. }
  761. #checkmarkContainer[disabled] {
  762. pointer-events: none;
  763. }
  764. /* For checked -> #checkmarkContainer input:checked ~ * */
  765. /* Create the checkmark/indicator (hidden when not checked). */
  766. .loginCheckmark:after {
  767. content: "";
  768. display: none;
  769. }
  770. /* Show the checkmark when checked. */
  771. #checkmarkContainer input:checked ~ .loginCheckmark:after {
  772. display: block;
  773. }
  774. /* Style the checkmark/indicator. */
  775. #checkmarkContainer .loginCheckmark:after {
  776. position: absolute;
  777. left: 3.5px;
  778. top: 0.5px;
  779. width: 2px;
  780. height: 6px;
  781. border: solid #a2a2a2;
  782. border-width: 0 2px 2px 0;
  783. transform: rotate(45deg);
  784. }
  785. /*
  786. #login_filter {
  787. height: calc(100% - 22px);
  788. width: 100%;
  789. z-index: 9000;
  790. position: absolute;
  791. filter: blur(8px) contrast(0.9) brightness(1.0);
  792. background: url('./../images/backgrounds/0.jpg') no-repeat center center fixed;
  793. transform: scale(1.2);
  794. background-size: cover;
  795. }
  796. */
  797. /*******************************************************************************
  798. * *
  799. * Settings View (sttings.ejs) *
  800. * *
  801. ******************************************************************************/
  802. /* Main settings container. */
  803. #settingsContainer {
  804. position: relative;
  805. height: 100%;
  806. display: flex;
  807. background: rgba(0, 0, 0, 0.50);
  808. }
  809. /* Left hand side of the settings UI, for navigation. */
  810. #settingsContainerLeft {
  811. height: 100%;
  812. width: 25%;
  813. padding: 5% 0px;
  814. box-sizing: border-box;
  815. }
  816. /* Settings navigation container. */
  817. #settingsNavContainer {
  818. display: flex;
  819. flex-direction: column;
  820. }
  821. /* Navigation header styles. */
  822. #settingsNavHeader {
  823. display: flex;
  824. justify-content: center;
  825. }
  826. #settingsNavHeaderText {
  827. font-size: 20px;
  828. }
  829. /* Navigation items outer container. */
  830. #settingsNavItemsContainer {
  831. height: 100%;
  832. display: flex;
  833. justify-content: center;
  834. padding-top: 25%;
  835. box-sizing: border-box;
  836. }
  837. /* Navigation items content container. */
  838. #settingsNavItemsContent {
  839. display: flex;
  840. flex-direction: column;
  841. position: relative;
  842. }
  843. /* Navigation item shared styles. */
  844. .settingsNavItem {
  845. background: none;
  846. border: none;
  847. text-align: left;
  848. margin: 5px 0px;
  849. padding: 0px 20px;
  850. color: grey;
  851. cursor: pointer;
  852. outline: none;
  853. transition: 0.25s ease;
  854. }
  855. .settingsNavItem:hover,
  856. .settingsNavItem:focus {
  857. color: #c1c1c1;
  858. text-shadow: 0px 0px 20px #c1c1c1;
  859. }
  860. .settingsNavItem[selected] {
  861. cursor: default;
  862. color: white;
  863. text-shadow: none;
  864. }
  865. /* Div to add some space between nav items. */
  866. .settingsNavSpacer {
  867. height: 25px;
  868. }
  869. /* Content container for the done button. */
  870. #settingsNavContentBottom {
  871. position: absolute;
  872. bottom: 20%;
  873. }
  874. /* Settings navigational divider. */
  875. .settingsNavDivider {
  876. width: 75%;
  877. height: 0.5px;
  878. background: rgba(255, 255, 255, 0.75);
  879. margin-left: auto;
  880. margin-bottom: 25px;
  881. }
  882. /* Settings done button styles. */
  883. #settingsNavDone {
  884. background: none;
  885. border: none;
  886. text-align: left;
  887. margin: 5px 0px;
  888. padding: 0px 20px;
  889. color: white;
  890. cursor: pointer;
  891. outline: none;
  892. transition: 0.25s ease;
  893. }
  894. #settingsNavDone:hover,
  895. #settingsNavDone:focus {
  896. text-shadow: 0px 0px 20px white, 0px 0px 20px white, 0px 0px 20px white;
  897. }
  898. #settingsNavDone:active {
  899. 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);
  900. color: rgba(255, 255, 255, 0.75);
  901. }
  902. #settingsNavDone:disabled {
  903. color: rgba(255, 255, 255, 0.75);
  904. pointer-events: none;
  905. }
  906. /* Right hand side of the settings container, for tabs. */
  907. #settingsContainerRight {
  908. height: 100%;
  909. width: 75%;
  910. padding-top: 5%;
  911. box-sizing: border-box;
  912. }
  913. /* Settings tab shared styles. */
  914. .settingsTab {
  915. width: 100%;
  916. height: 100%;
  917. overflow-y: auto;
  918. }
  919. .settingsTab::-webkit-scrollbar {
  920. width: 2px;
  921. }
  922. .settingsTab::-webkit-scrollbar-track {
  923. display: none;
  924. }
  925. .settingsTab::-webkit-scrollbar-thumb {
  926. border-radius: 10px;
  927. box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.50);
  928. }
  929. /* Tab header shared styles. */
  930. .settingsTabHeader {
  931. display: flex;
  932. flex-direction: column;
  933. margin-bottom: 20px;
  934. }
  935. .settingsTabHeaderText {
  936. font-size: 20px;
  937. font-family: 'Avenir Medium';
  938. }
  939. .settingsTabHeaderDesc {
  940. font-size: 12px;
  941. }
  942. /* Remove spin button from number inputs. */
  943. #settingsContainer input[type=number]::-webkit-inner-spin-button {
  944. -webkit-appearance: none;
  945. }
  946. /* Default styles for text/number inputs. */
  947. #settingsContainer input[type=number],
  948. #settingsContainer input[type=text] {
  949. color: white;
  950. background: rgba(0, 0, 0, 0.25);
  951. border-radius: 3px;
  952. border: 1px solid rgba(126, 126, 126, 0.57);
  953. font-family: 'Avenir Book';
  954. transition: 0.25s ease;
  955. }
  956. #settingsContainer input[type=number]:focus,
  957. #settingsContainer input[type=text]:focus {
  958. outline: none;
  959. border-color: rgba(126, 126, 126, 0.87);
  960. }
  961. #settingsContainer input[type=number][error] {
  962. border-color: rgb(255, 27, 12);
  963. background: rgba(236, 0, 0, 0.25);
  964. color: rgb(255, 27, 12);
  965. }
  966. /* Styles for a generic settings entry. */
  967. .settingsFieldContainer {
  968. display: flex;
  969. align-items: center;
  970. justify-content: space-between;
  971. margin: 20px 0px;
  972. width: 75%;
  973. }
  974. .settingsFieldLeft {
  975. display: flex;
  976. flex-direction: column;
  977. }
  978. .settingsFieldTitle {
  979. font-size: 14px;
  980. font-family: 'Avenir Medium';
  981. color: rgba(255, 255, 255, 0.95);
  982. }
  983. .settingsFieldDesc {
  984. font-size: 12px;
  985. color: rgba(255, 255, 255, .95);
  986. }
  987. .settingsDivider {
  988. height: 1px;
  989. width: 75%;
  990. background: rgba(255, 255, 255, 0.25);
  991. }
  992. /* Toggle Switch */
  993. .toggleSwitch {
  994. position: relative;
  995. display: inline-block;
  996. width: 50px;
  997. height: 25px;
  998. border-radius: 3px;
  999. box-sizing: border-box;
  1000. }
  1001. .toggleSwitch input {
  1002. display:none;
  1003. }
  1004. .toggleSwitchSlider {
  1005. position: absolute;
  1006. cursor: pointer;
  1007. top: 0;
  1008. left: 0;
  1009. right: 0;
  1010. bottom: 0;
  1011. background-color: rgba(0, 0, 0, 0.25);
  1012. transition: .4s;
  1013. border-radius: 3px;
  1014. border: 1px solid rgba(126, 126, 126, 0.57);
  1015. }
  1016. .toggleSwitchSlider:before {
  1017. position: absolute;
  1018. content: "";
  1019. height: 17px;
  1020. width: 21px;
  1021. left: 3px;
  1022. bottom: 3px;
  1023. background-color: rgb(202, 202, 202);
  1024. border-radius: 3px;
  1025. transition: .4s;
  1026. }
  1027. input:checked + .toggleSwitchSlider {
  1028. background-color: rgba(36, 255, 0, 0.25);
  1029. }
  1030. input:checked + .toggleSwitchSlider:before {
  1031. transform: translateX(21px);
  1032. }
  1033. /* Range Slider styles. */
  1034. .rangeSlider {
  1035. width: 35%;
  1036. height: 5px;
  1037. margin: 15px 0px;
  1038. background: grey;
  1039. border-radius: 3px;
  1040. position: relative;
  1041. }
  1042. .rangeSliderBar {
  1043. position: absolute;
  1044. background: #8be88b;
  1045. width: 50%;
  1046. height: 5px;
  1047. border-radius: 3px 0px 0px 3px;
  1048. }
  1049. .rangeSliderTrack {
  1050. position: absolute;
  1051. top: -7.5px;
  1052. width: 7px;
  1053. height: 20px;
  1054. background: white;
  1055. border-radius: 3px;
  1056. left: 50%;
  1057. cursor: ew-resize;
  1058. }
  1059. /* * *
  1060. * Settings View (Account Tab)
  1061. * * */
  1062. /* Add account button styles. */
  1063. #settingsAddAccount {
  1064. background: rgba(0, 0, 0, 0.25);
  1065. border: 1px solid rgba(126, 126, 126, 0.57);
  1066. border-radius: 3px;
  1067. height: 50px;
  1068. width: 75%;
  1069. text-align: left;
  1070. padding: 0px 50px;
  1071. cursor: pointer;
  1072. outline: none;
  1073. transition: 0.25s ease;
  1074. }
  1075. #settingsAddAccount:hover,
  1076. #settingsAddAccount:focus {
  1077. background: rgba(54, 54, 54, 0.25);
  1078. text-shadow: 0px 0px 20px white;
  1079. }
  1080. /* Settings auth accounts header. */
  1081. #settingsCurrentAccountsHeader {
  1082. margin: 20px 0px;
  1083. }
  1084. /* Auth account list container styles. */
  1085. #settingsCurrentAccounts {
  1086. margin-bottom: 5%;
  1087. }
  1088. #settingsCurrentAccounts > .settingsAuthAccount:not(:last-child) {
  1089. margin-bottom: 10px;
  1090. }
  1091. #settingsCurrentAccounts > .settingsAuthAccount:not(:first-child) {
  1092. margin-top: 10px;
  1093. }
  1094. /* Auth account shared styles. */
  1095. .settingsAuthAccount {
  1096. display: flex;
  1097. width: 75%;
  1098. background: rgba(0, 0, 0, 0.25);
  1099. border-radius: 3px;
  1100. border: 1px solid rgba(126, 126, 126, 0.57);
  1101. }
  1102. /* Left hand side of an auth account element, for the skin image. */
  1103. .settingsAuthAccountLeft {
  1104. padding: 5px 5px 5px 20px;
  1105. }
  1106. /* Image of the auth account's skin. */
  1107. .settingsAuthAccountImage {
  1108. height: 115px;
  1109. }
  1110. /* Right hand side of the auth account, for info + actions. */
  1111. .settingsAuthAccountRight {
  1112. display: flex;
  1113. width: 100%;
  1114. }
  1115. /* Account details container. */
  1116. .settingsAuthAccountDetails {
  1117. display: flex;
  1118. flex-direction: column;
  1119. justify-content: center;
  1120. margin-left: 20px;
  1121. width: 100%;
  1122. }
  1123. .settingsAuthAccountDetails > *:not(:last-child) {
  1124. margin-bottom: 20px;
  1125. }
  1126. /* Account detail element styles. */
  1127. .settingsAuthAccountDetailPane {
  1128. display: flex;
  1129. flex-direction: column;
  1130. }
  1131. .settingsAuthAccountDetailTitle {
  1132. font-size: 12px;
  1133. color: grey;
  1134. font-weight: bold;
  1135. font-family: 'Avenir Medium';
  1136. }
  1137. .settingsAuthAccountDetailValue {
  1138. font-size: 14px;
  1139. }
  1140. /* Account actions container. */
  1141. .settingsAuthAccountActions {
  1142. display: flex;
  1143. flex-direction: column;
  1144. justify-content: space-between;
  1145. align-items: flex-end;
  1146. padding: 10px;
  1147. }
  1148. /* Account select button shared styles. */
  1149. .settingsAuthAccountSelect {
  1150. opacity: 0;
  1151. border: none;
  1152. white-space: nowrap;
  1153. background: none;
  1154. font-family: 'Avenir Medium';
  1155. outline: none;
  1156. transition: 0.25s ease;
  1157. }
  1158. .settingsAuthAccountSelect:hover:not([selected]),
  1159. .settingsAuthAccountSelect:focus:not([selected]) {
  1160. text-shadow: 0px 0px 20px white, 0px 0px 20px white;
  1161. cursor: pointer;
  1162. }
  1163. .settingsAuthAccount:hover .settingsAuthAccountSelect:not([selected]),
  1164. .settingsAuthAccountSelect[selected] {
  1165. opacity: 1;
  1166. }
  1167. .settingsAuthAccountSelect[selected] {
  1168. pointer-events: none;
  1169. }
  1170. /* Account logout button shared styles. */
  1171. .settingsAuthAccountLogOut {
  1172. opacity: 0;
  1173. border: 1px solid rgb(241, 55, 55);
  1174. color: rgb(241, 55, 55);
  1175. background: none;
  1176. font-size: 12px;
  1177. border-radius: 3px;
  1178. font-family: 'Avenir Medium';
  1179. transition: 0.25s ease;
  1180. cursor: pointer;
  1181. outline: none;
  1182. }
  1183. .settingsAuthAccountLogOut:hover,
  1184. .settingsAuthAccountLogOut:focus {
  1185. box-shadow: 0px 0px 20px rgb(241, 55, 55);
  1186. background: rgba(241, 55, 55, 0.25);
  1187. }
  1188. .settingsAuthAccountLogOut:active {
  1189. box-shadow: 0px 0px 20px rgb(185, 47, 47);
  1190. background: rgba(185, 47, 47, 0.25);
  1191. border: 1px solid rgb(185, 47, 47);
  1192. color: rgb(185, 47, 47);
  1193. }
  1194. .settingsAuthAccount:hover .settingsAuthAccountLogOut {
  1195. opacity: 1;
  1196. }
  1197. /* * *
  1198. * Settings View (Minecraft Tab)
  1199. * * */
  1200. /* Game resolution UI elements. */
  1201. #settingsGameResolutionContainer {
  1202. display: flex;
  1203. flex-direction: column;
  1204. margin-bottom: 20px;
  1205. }
  1206. #settingsGameResolutionContent {
  1207. display: flex;
  1208. align-items: center;
  1209. padding-top: 10px;
  1210. }
  1211. #settingsGameResolutionCross {
  1212. color: grey;
  1213. padding: 0px 15px;
  1214. }
  1215. #settingsGameWidth,
  1216. #settingsGameHeight {
  1217. padding: 7.5px 5px;
  1218. width: 75px;
  1219. }
  1220. /*******************************************************************************
  1221. * *
  1222. * Landing View (Structural Styles) *
  1223. * *
  1224. ******************************************************************************/
  1225. /* Main content container. */
  1226. #landingContainer {
  1227. height: 100%;
  1228. position: relative;
  1229. transition: background 2s ease;
  1230. overflow-y: hidden;
  1231. }
  1232. /* Upper content container. */
  1233. #landingContainer > #upper {
  1234. position: relative;
  1235. transition: top 2s ease;
  1236. top: 0px;
  1237. height: 77%;
  1238. display: flex;
  1239. }
  1240. #landingContainer > #upper > #left {
  1241. display: inline-flex;
  1242. width: 15%;
  1243. height: 100%;
  1244. justify-content: flex-end;
  1245. }
  1246. #landingContainer > #upper > #content {
  1247. display: inline-flex;
  1248. width: 70%;
  1249. height: 100%;
  1250. }
  1251. #landingContainer > #upper > #right {
  1252. display: inline-flex;
  1253. width: 15%;
  1254. height: 100%;
  1255. }
  1256. /* Lower content container. */
  1257. #landingContainer > #lower {
  1258. height: 23%;
  1259. display: flex;
  1260. background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  1261. }
  1262. #landingContainer > #lower > #left {
  1263. position: relative;
  1264. transition: top 2s ease;
  1265. top: 0px;
  1266. height: 100%;
  1267. width: 33%;
  1268. display: inline-flex;
  1269. justify-content: center;
  1270. }
  1271. #landingContainer > #lower > #left #content {
  1272. position: relative;
  1273. top: 25px;
  1274. display: inline-flex;
  1275. line-height: 24px;
  1276. left: 50px;
  1277. }
  1278. #landingContainer > #lower > #center {
  1279. position: relative;
  1280. transition: top 2s ease;
  1281. top: 0px;
  1282. height: 100%;
  1283. width: 34%;
  1284. display: inline-flex;
  1285. justify-content: center;
  1286. }
  1287. #landingContainer > #lower > #center #content {
  1288. position: relative;
  1289. z-index: 500;
  1290. transition: top 2s ease;
  1291. top: 10px;
  1292. }
  1293. #landingContainer > #lower > #right {
  1294. position: relative;
  1295. transition: top 2s ease;
  1296. top: 0px;
  1297. height: 100%;
  1298. width: 33%;
  1299. display: inline-flex;
  1300. }
  1301. /*******************************************************************************
  1302. * *
  1303. * Landing View (News Styles) *
  1304. * *
  1305. ******************************************************************************/
  1306. /* Main container. */
  1307. #newsContainer {
  1308. position: absolute;
  1309. top: 100%;
  1310. height: 100%;
  1311. width: 100%;
  1312. transition: top 2s ease;
  1313. display: flex;
  1314. align-items: flex-end;
  1315. justify-content: center;
  1316. }
  1317. /* News content container. */
  1318. #newsContent {
  1319. height: 82vh;
  1320. width: 82vw;
  1321. display: flex;
  1322. }
  1323. /* News article status container (left). */
  1324. #newsStatusContainer {
  1325. width: 25%;
  1326. height: calc(100% - 30px);
  1327. padding: 15px;
  1328. display: flex;
  1329. flex-direction: column;
  1330. justify-content: space-between;
  1331. }
  1332. /* News status content. */
  1333. #newsStatusContent {
  1334. display: flex;
  1335. flex-direction: column;
  1336. }
  1337. /* News article title styles. */
  1338. #newsArticleTitle {
  1339. font-size: 20px;
  1340. font-weight: bold;
  1341. font-family: 'Avenir Medium';
  1342. }
  1343. #newsArticleTitle {
  1344. color: white;
  1345. text-decoration: none;
  1346. transition: 0.25s ease;
  1347. outline: none;
  1348. }
  1349. #newsArticleTitle:hover,
  1350. #newsArticleTitle:focus {
  1351. text-shadow: 0px 0px 20px white;
  1352. }
  1353. #newsArticleTitle:active {
  1354. color: #c7c7c7;
  1355. text-shadow: 0px 0px 20px #c7c7c7;
  1356. }
  1357. /* News meta container. */
  1358. #newsMetaContainer {
  1359. display: flex;
  1360. flex-direction: column;
  1361. }
  1362. /* Date and author shared styles. */
  1363. #newsArticleDate,
  1364. #newsArticleAuthor {
  1365. display: inline-block;
  1366. font-size: 10px;
  1367. padding: 0px 5px;
  1368. font-weight: bold;
  1369. border-radius: 2px;
  1370. }
  1371. /* Date styles. */
  1372. #newsArticleDate {
  1373. background: white;
  1374. color: black;
  1375. margin-top: 5px;
  1376. }
  1377. /* Author styles. */
  1378. #newsArticleAuthor {
  1379. background: #a02d2a;
  1380. }
  1381. /* News article comments styles. */
  1382. #newsArticleComments {
  1383. margin-top: 5px;
  1384. display: inline-block;
  1385. font-size: 10px;
  1386. color: #ffffff;
  1387. text-decoration: none;
  1388. transition: 0.25s ease;
  1389. outline: none;
  1390. }
  1391. #newsArticleComments:focus,
  1392. #newsArticleComments:hover {
  1393. color: #e0e0e0;
  1394. }
  1395. #newsArticleComments:active {
  1396. color: #c7c7c7;
  1397. }
  1398. /* Article content container (right). */
  1399. #newsArticleContainer {
  1400. width: 75%;
  1401. height: 100%;
  1402. }
  1403. /* Article content styles. */
  1404. #newsArticleContentScrollable {
  1405. font-size: 12px;
  1406. max-width: 80%;
  1407. margin: 25px 35px 0px 25px;
  1408. overflow-y: scroll;
  1409. height: calc(100% - 25px);
  1410. padding: 0px 15px 0px 15px;
  1411. }
  1412. #newsArticleContentScrollable img {
  1413. max-width: 95%;
  1414. display: block;
  1415. margin: 0 auto;
  1416. }
  1417. #newsArticleContentScrollable a {
  1418. color: rgba(202, 202, 202, 0.75);
  1419. transition: 0.25s ease;
  1420. outline: none;
  1421. }
  1422. #newsArticleContentScrollable a:hover,
  1423. #newsArticleContentScrollable a:focus {
  1424. color: rgba(255, 255, 255, 0.75);
  1425. }
  1426. #newsArticleContentScrollable a:active {
  1427. color: rgba(165, 165, 165, 0.75);
  1428. }
  1429. #newsArticleContentScrollable::-webkit-scrollbar {
  1430. width: 2px;
  1431. }
  1432. #newsArticleContentScrollable::-webkit-scrollbar-track {
  1433. display: none;
  1434. }
  1435. #newsArticleContentScrollable::-webkit-scrollbar-thumb {
  1436. border-radius: 10px;
  1437. box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.50);
  1438. }
  1439. /* Div to add spacing at the end of a news article. */
  1440. .newsArticleSpacer {
  1441. height: 30px;
  1442. }
  1443. /* News navigation container. */
  1444. #newsNavigationContainer {
  1445. display: flex;
  1446. justify-content: center;
  1447. align-items: center;
  1448. margin-bottom: 10px;
  1449. }
  1450. /* Navigation status span. */
  1451. #newsNavigationStatus {
  1452. font-size: 12px;
  1453. margin: 0px 15px;
  1454. }
  1455. /* Left and right navigation button styles. */
  1456. #newsNavigateLeft,
  1457. #newsNavigateRight {
  1458. background: none;
  1459. border: none;
  1460. outline: none;
  1461. height: 20px;
  1462. cursor: pointer;
  1463. }
  1464. #newsNavigateLeft:hover #newsNavigationLeftSVG,
  1465. #newsNavigateLeft:focus #newsNavigationLeftSVG,
  1466. #newsNavigateRight:hover #newsNavigationRightSVG,
  1467. #newsNavigateRight:focus #newsNavigationRightSVG {
  1468. -webkit-filter: drop-shadow(0px 0px 2px #fff);
  1469. }
  1470. #newsNavigateLeft:active #newsNavigationLeftSVG .arrowLine,
  1471. #newsNavigateRight:active #newsNavigationRightSVG .arrowLine {
  1472. stroke: #c7c7c7;
  1473. }
  1474. #newsNavigateLeft:active #newsNavigationLeftSVG,
  1475. #newsNavigateRight:active #newsNavigationRightSVG {
  1476. -webkit-filter: drop-shadow(0px 0px 2px #c7c7c7);
  1477. }
  1478. #newsNavigateLeft:disabled #newsNavigationLeftSVG .arrowLine,
  1479. #newsNavigateRight:disabled #newsNavigationRightSVG .arrowLine {
  1480. stroke: rgba(255, 255, 255, 0.75);
  1481. }
  1482. #newsNavigationLeftSVG {
  1483. transform: rotate(-90deg);
  1484. width: 15px;
  1485. }
  1486. #newsNavigationRightSVG {
  1487. transform: rotate(90deg);
  1488. width: 15px;
  1489. }
  1490. /* News error (message) container. */
  1491. #newsErrorContainer {
  1492. height: 100%;
  1493. display: flex;
  1494. align-items: center;
  1495. flex-direction: column;
  1496. justify-content: center;
  1497. }
  1498. #newsErrorFailed {
  1499. display: flex;
  1500. align-items: center;
  1501. flex-direction: column;
  1502. justify-content: center;
  1503. }
  1504. /* News error content (message). */
  1505. .newsErrorContent {
  1506. font-size: 20px;
  1507. }
  1508. #newsErrorLoading {
  1509. display: flex;
  1510. width: 168.92px;
  1511. }
  1512. #nELoadSpan {
  1513. white-space: pre;
  1514. }
  1515. /* News error retry button styles. */
  1516. #newsErrorRetry {
  1517. font-size: 12px;
  1518. font-weight: bold;
  1519. cursor: pointer;
  1520. background: none;
  1521. border: none;
  1522. outline: none;
  1523. transition: 0.25s ease;
  1524. }
  1525. #newsErrorRetry:focus,
  1526. #newsErrorRetry:hover {
  1527. text-shadow: 0px 0px 20px white;
  1528. }
  1529. #newsErrorRetry:active {
  1530. color: #c7c7c7;
  1531. text-shadow: 0px 0px 20px #c7c7c7;
  1532. }
  1533. /*******************************************************************************
  1534. * *
  1535. * Landing View (Top Styles) *
  1536. * *
  1537. ******************************************************************************/
  1538. /* * *
  1539. * Landing View (Top Styles) | Left Content
  1540. * * */
  1541. /* Logo image. */
  1542. #image_seal {
  1543. height: 70px;
  1544. width: auto;
  1545. position: relative;
  1546. border: 2px solid white;
  1547. box-sizing: border-box;
  1548. border-radius: 50%;
  1549. }
  1550. /* Logo container styles. */
  1551. #image_seal_container {
  1552. position: relative;
  1553. height: 70px;
  1554. width: 70px;
  1555. border-radius: 50%;
  1556. margin-top: 50px;
  1557. }
  1558. /* Logo container styles w/ update. */
  1559. #image_seal_container[update]{
  1560. cursor: pointer
  1561. }
  1562. #image_seal_container[update]:before,
  1563. #image_seal_container[update]:after {
  1564. cursor: pointer;
  1565. position: absolute;
  1566. content: '';
  1567. height: 100%;
  1568. width: 100%;
  1569. top: 0%;
  1570. left: 0%;
  1571. border-radius: 50%;
  1572. box-shadow: 0 0 15px #43c628;
  1573. animation: glow-grow 4s ease-out infinite;
  1574. background: rgba(0, 0, 0, 0.15);
  1575. }
  1576. #image_seal_container[update]:before {
  1577. animation-delay: 2s;
  1578. }
  1579. /* Update available tooltip styles. */
  1580. #updateAvailableTooltip {
  1581. cursor: pointer;
  1582. visibility: hidden;
  1583. opacity: 0;
  1584. width: 100px;
  1585. height: 15px;
  1586. background-color: rgb(0, 0, 0);
  1587. color: #fff;
  1588. text-align: center;
  1589. border-radius: 4px;
  1590. padding: 2px;
  1591. position: absolute;
  1592. z-index: 1;
  1593. top: 115%;
  1594. left: -17.5px;
  1595. font-family: 'Avenir Medium';
  1596. font-size: 12px;
  1597. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  1598. }
  1599. #updateAvailableTooltip::after {
  1600. content: " ";
  1601. position: absolute;
  1602. left: 50%;
  1603. bottom: 100%;
  1604. margin-left: -5px;
  1605. border-width: 5px;
  1606. border-style: solid;
  1607. border-color: transparent transparent rgb(0, 0, 0) transparent;
  1608. }
  1609. #image_seal_container[update]:hover #updateAvailableTooltip {
  1610. visibility: visible;
  1611. opacity: 1;
  1612. transition-delay: 0s;
  1613. }
  1614. /* Update available animation. */
  1615. @keyframes glow-grow {
  1616. 0% {
  1617. opacity: 0;
  1618. transform: scale(1);
  1619. }
  1620. 80% {
  1621. opacity: 1;
  1622. }
  1623. 100% {
  1624. transform: scale(1.5);
  1625. opacity: 0;
  1626. }
  1627. }
  1628. /* * *
  1629. * Landing View (Bottom Styles) | Right Content
  1630. * * */
  1631. /* Wrapper container for top, right content. */
  1632. #rightContainer {
  1633. display: flex;
  1634. flex-direction: column;
  1635. position: relative;
  1636. top: 50px;
  1637. align-items: flex-start;
  1638. height: calc(100% - 50px);
  1639. }
  1640. /* Right hand user content container. */
  1641. #user_content {
  1642. display: flex;
  1643. align-items: center;
  1644. justify-content: center;
  1645. box-sizing: border-box;
  1646. position: relative;
  1647. }
  1648. /* User profile avatar container. */
  1649. #avatarContainer {
  1650. border-radius: 50%;
  1651. border: 2px solid #cad7e1;
  1652. box-sizing: border-box;
  1653. background: rgba(1, 2, 1, 0.5);
  1654. height: 70px;
  1655. width: 70px;
  1656. box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);
  1657. overflow: hidden;
  1658. position: relative;
  1659. background-image: url('https://cdn.discordapp.com/avatars/169197209630277642/6650b5a50e1cb3d00a79b9b88b9a0cd4.png');
  1660. background-size: contain;
  1661. }
  1662. /* Avatar edit overlay. */
  1663. #avatarOverlay {
  1664. opacity: 0;
  1665. position: absolute;
  1666. z-index: 1;
  1667. display: flex;
  1668. justify-content: center;
  1669. align-items: center;
  1670. transition: 0.25s ease;
  1671. font-weight: bold;
  1672. letter-spacing: 2px;
  1673. background: linear-gradient(65deg, rgba(0, 0, 0, 0.4), rgba(136, 77, 77, 0.4) 60%);
  1674. -webkit-user-select: none;
  1675. cursor: pointer;
  1676. width: 100%;
  1677. height: 100%;
  1678. border-radius: 50%;
  1679. }
  1680. #avatarOverlay:hover {
  1681. opacity: 1;
  1682. }
  1683. /* User profile name text. */
  1684. #user_text {
  1685. font-size: 12px;
  1686. min-width: 135px;
  1687. font-weight: 900;
  1688. letter-spacing: 1px;
  1689. text-shadow: 0px 0px 20px black;
  1690. position: absolute;
  1691. right: 95px;
  1692. text-align: right;
  1693. }
  1694. /* Social media icon content container. */
  1695. #mediaContent {
  1696. position: relative;
  1697. display: flex;
  1698. flex-direction: column;
  1699. margin-top: 25px;
  1700. height: calc(100% - 95px);
  1701. width: 70px;
  1702. align-items: center;
  1703. }
  1704. /* Social Media Icon division containers. */
  1705. #internalMedia, #externalMedia {
  1706. display: flex;
  1707. flex-direction: column;
  1708. }
  1709. /* Container object which wraps an icon to ensure fluid transitions. */
  1710. .mediaContainer {
  1711. display: flex;
  1712. justify-content: center;
  1713. align-items: center;
  1714. height: 27px;
  1715. }
  1716. /* Divider bar between the external and internal icons. */
  1717. .mediaDivider {
  1718. height: 1px;
  1719. width: 14px;
  1720. background: rgb(255, 255, 255);
  1721. margin: 10px 0px;
  1722. }
  1723. /* Social media icon shared styles. */
  1724. .mediaSVG {
  1725. fill: #ffffff;
  1726. height: 12px;
  1727. transition: 0.25s ease;
  1728. cursor: pointer;
  1729. height: 12px;
  1730. width: 25px;
  1731. }
  1732. .mediaSVG:hover,
  1733. .mediaURL:focus .mediaSVG,
  1734. .mediaSVG:active {
  1735. height: 20px;
  1736. }
  1737. /* Social media URL shared styles. */
  1738. .mediaURL {
  1739. outline: none;
  1740. }
  1741. /* Internal media button shared styles. */
  1742. .mediaButton {
  1743. background: none;
  1744. border: none;
  1745. padding: 0px;
  1746. display: flex;
  1747. align-items: center;
  1748. outline: none;
  1749. }
  1750. #settingsMediaContainer {
  1751. position: relative;
  1752. }
  1753. /* Settings icon colors. */
  1754. #settingsSVG {
  1755. stroke: #ffffff;
  1756. height: 15px;
  1757. }
  1758. .mediaButton:hover #settingsSVG,
  1759. .mediaButton:focus #settingsSVG,
  1760. .mediaButton:active #settingsSVG {
  1761. height: 23px;
  1762. }
  1763. /* Settings tooltip styles. */
  1764. #settingsTooltip {
  1765. visibility: hidden;
  1766. opacity: 0;
  1767. width: 75px;
  1768. height: 20px;
  1769. background-color: rgba(0, 0, 0, 0.75);
  1770. text-align: center;
  1771. border-radius: 4px;
  1772. position: absolute;
  1773. z-index: 1;
  1774. right: 130%;
  1775. font-size: 12px;
  1776. line-height: 20px;
  1777. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  1778. }
  1779. #settingsTooltip::after {
  1780. content: " ";
  1781. position: absolute;
  1782. top: 50%;
  1783. left: 100%;
  1784. margin-top: -5px;
  1785. border-width: 5px;
  1786. border-style: solid;
  1787. border-color: transparent transparent transparent rgba(0, 0, 0, 0.75);
  1788. }
  1789. .mediaButton:hover #settingsTooltip,
  1790. .mediaButton:focus #settingsTooltip,
  1791. .mediaButton:active #settingsTooltip {
  1792. visibility: visible;
  1793. opacity: 1;
  1794. transition-delay:0s;
  1795. }
  1796. /* Twitter icon colors. */
  1797. #twitterSVG:hover,
  1798. #twitterURL:focus #twitterSVG {
  1799. fill: #1da1f2;
  1800. }
  1801. #twitterSVG:active {
  1802. fill: #1b8dd4;
  1803. }
  1804. /* Instagram icon colors. */
  1805. #instagramSVG:hover,
  1806. #instagramURL:focus #instagramSVG {
  1807. fill: url('#instaFill')
  1808. /*fill: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); */
  1809. }
  1810. #instagramSVG:active {
  1811. fill: url('#instaFill')
  1812. }
  1813. /* Youtube icon colors. */
  1814. #youtubeSVG:hover,
  1815. #youtubeURL:focus #youtubeSVG {
  1816. fill: #f00;
  1817. }
  1818. #youtubeSVG:active {
  1819. fill: #ea0202;
  1820. }
  1821. /* Discord icon colors. */
  1822. #discordSVG:hover,
  1823. #discordURL:focus #discordSVG {
  1824. fill: #7288d9;
  1825. }
  1826. #discordSVG:active {
  1827. fill: #657ac4;
  1828. }
  1829. /*******************************************************************************
  1830. * *
  1831. * Landing View (Bottom Styles) *
  1832. * *
  1833. ******************************************************************************/
  1834. /* Style for a general label on the bottom of the landing view. */
  1835. .bot_label {
  1836. font-size: 9px;
  1837. letter-spacing: 1px;
  1838. font-weight: bold;
  1839. text-shadow: 0px 0px 0px #bebcbb;
  1840. }
  1841. /* Divider used on the bottom of the landing view. */
  1842. .bot_divider {
  1843. height: 25px;
  1844. width: 2px;
  1845. background: rgba(107, 105, 105, 0.7);
  1846. margin-left: 20px;
  1847. margin-right: 20px;
  1848. }
  1849. /* * *
  1850. * Landing View (Bottom Styles) | Left Content
  1851. * * */
  1852. /* Maintains maximum width on the status bar. */
  1853. #server_status_wrapper {
  1854. display: inline-flex;
  1855. width: 75px;
  1856. }
  1857. /* Span which displays the player count of the selected server. */
  1858. #player_count {
  1859. color: #949494;
  1860. font-size: 8px;
  1861. font-weight: 900;
  1862. text-shadow: 0px 0px 20px #949494;
  1863. margin-left: 10px;
  1864. }
  1865. /* Wrapper container for the mojang status bar. */
  1866. #mojangStatusWrapper {
  1867. position: relative;
  1868. display: flex;
  1869. cursor: pointer;
  1870. }
  1871. /* Icon which displays the status of the mojang services. */
  1872. #mojang_status_icon {
  1873. font-size: 30px;
  1874. color: #848484;
  1875. margin-left: 15px;
  1876. font-family: 'sans-serif';
  1877. }
  1878. /* Tooltip which displays more details about the mojang statuses. */
  1879. #mojangStatusTooltip {
  1880. position: absolute;
  1881. visibility: hidden;
  1882. opacity: 0;
  1883. width: 145px;
  1884. min-height: 150px;
  1885. background-color: rgba(0, 0, 0, 0.75);
  1886. color: #fff;
  1887. border-radius: 4px;
  1888. padding: 5px 10px;
  1889. z-index: 1;
  1890. font-family: 'Avenir Medium';
  1891. font-size: 12px;
  1892. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  1893. bottom: calc(100% + 15px);
  1894. transform: translateX(-50%);
  1895. margin-left: 50%;
  1896. box-shadow: 0px 0px 20px rgb(0, 0, 0);
  1897. cursor: default;
  1898. }
  1899. #mojangStatusTooltip:after {
  1900. content: " ";
  1901. position: absolute;
  1902. left: 50%;
  1903. top: 100%;
  1904. margin-left: -5px;
  1905. border-width: 5px;
  1906. border-style: solid;
  1907. border-color: rgba(0, 0, 0, 0.75) transparent transparent transparent;
  1908. }
  1909. #mojangStatusWrapper:hover #mojangStatusTooltip {
  1910. visibility: visible;
  1911. opacity: 1;
  1912. transition-delay: 0s;
  1913. }
  1914. /* Tooltip title for the mojang statuses. */
  1915. #mojangStatusTooltipTitle {
  1916. width: 100%;
  1917. text-align: center;
  1918. margin-bottom: 5px;
  1919. letter-spacing: 1px;
  1920. }
  1921. /* Wrapper container for the non essential services title. */
  1922. #mojangStatusNEContainer {
  1923. display: flex;
  1924. align-items: center;
  1925. margin: 10px 0px;
  1926. }
  1927. /* White bar which surrounds the non essential service title. */
  1928. .mojangStatusNEBar {
  1929. height: 1px;
  1930. width: 100%;
  1931. background: white;
  1932. }
  1933. /* Non essential service title text. */
  1934. #mojangStatusNETitle {
  1935. font-size: 10px;
  1936. padding: 0px 3px;
  1937. text-align: center;
  1938. letter-spacing: 1px;
  1939. }
  1940. /* Wrapper container for mojang service information. */
  1941. .mojangStatusContainer {
  1942. display: flex;
  1943. }
  1944. /* Displays the name of the mojang service. */
  1945. .mojangStatusName {
  1946. width: 100%;
  1947. font-size: 10px;
  1948. letter-spacing: 1px;
  1949. line-height: 12px;
  1950. padding: 6px 0px;
  1951. }
  1952. /* Displays the status of the mojang service. */
  1953. .mojangStatusIcon {
  1954. margin-right: 10px;
  1955. font-size: 18.5px;
  1956. color: #848484;
  1957. }
  1958. /* * *
  1959. * Landing View (Bottom Styles) | Center Content
  1960. * * */
  1961. /* Button which opens the news view. */
  1962. #newsButton {
  1963. background: none;
  1964. border: none;
  1965. cursor: pointer;
  1966. outline: none;
  1967. }
  1968. #newsButton:hover #newsButtonText,
  1969. #newsButton:focus #newsButtonText {
  1970. text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff;
  1971. }
  1972. #newsButton:active {
  1973. color: #c7c7c7;
  1974. text-shadow: 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7;
  1975. }
  1976. #newsButton:hover #newsButtonSVG,
  1977. #newsButton:focus #newsButtonSVG {
  1978. -webkit-filter: drop-shadow(0px 0px 2px #fff);
  1979. }
  1980. #newsButton:active #newsButtonSVG .arrowLine {
  1981. stroke: #c7c7c7;
  1982. }
  1983. #newsButton:active #newsButtonSVG {
  1984. -webkit-filter: drop-shadow(0px 0px 2px #c7c7c7);
  1985. }
  1986. #newsButton:disabled #newsButtonSVG .arrowLine {
  1987. stroke: rgba(255, 255, 255, 0.75);
  1988. }
  1989. /* Icon which indicates there is new news. */
  1990. #newsButtonAlert {
  1991. width: 5px;
  1992. height: 5px;
  1993. position: absolute;
  1994. border-radius: 50%;
  1995. background: red;
  1996. right: -1px;
  1997. top: 50%;
  1998. }
  1999. /* Arrow image which floats above the news button. */
  2000. #newsButtonSVG {
  2001. height: 11px;
  2002. margin-left: -2px;
  2003. transition: 0.25s ease;
  2004. }
  2005. /* Span which contains the news button text. */
  2006. #newsButtonText {
  2007. color: white;
  2008. font-weight: 900;
  2009. letter-spacing: 2px;
  2010. text-shadow: 0px 0px 0px #bebcbb;
  2011. font-size: 11px;
  2012. line-height: 30px;
  2013. display: flex;
  2014. transition: 0.25s ease;
  2015. }
  2016. /* * *
  2017. * Landing View (Bottom Styles) | Right Content
  2018. * * */
  2019. /* Main launch content container. */
  2020. #landingContainer > #lower > #right #launch_content {
  2021. position: relative;
  2022. top: 25px;
  2023. display: inline-flex;
  2024. }
  2025. /* The launch button. */
  2026. #launch_button {
  2027. background: none;
  2028. border: none;
  2029. cursor: pointer;
  2030. font-weight: 900;
  2031. letter-spacing: 2px;
  2032. text-shadow: 0px 0px 0px #bebcbb;
  2033. font-size: 20px;
  2034. padding: 0px;
  2035. transition: 0.25s ease;
  2036. outline: none;
  2037. }
  2038. #launch_button:hover,
  2039. #launch_button:focus {
  2040. text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff;
  2041. }
  2042. #launch_button:active {
  2043. color: #c7c7c7;
  2044. text-shadow: 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7;
  2045. }
  2046. #launch_button:disabled {
  2047. color: #c7c7c7;
  2048. cursor: default;
  2049. pointer-events: none;
  2050. }
  2051. /* Launch details main container, hidden until launch processing begins. */
  2052. #launch_details {
  2053. position: relative;
  2054. top: 25px;
  2055. display: none;
  2056. }
  2057. /* Left side of launch details container, displays percentage and a divider. */
  2058. #launch_details_left {
  2059. display: flex;
  2060. }
  2061. /* Span which displays percentage complete. */
  2062. #launch_progress_label {
  2063. font-weight: 900;
  2064. letter-spacing: 1px;
  2065. text-shadow: 0px 0px 0px #bebcbb;
  2066. font-size: 20px;
  2067. min-width: 53.21px;
  2068. max-width: 53.21px;
  2069. text-align: right;
  2070. }
  2071. /* Right side of launch details container, displays progress bar and details. */
  2072. #launch_details_right {
  2073. display: flex;
  2074. flex-direction: column;
  2075. justify-content: center;
  2076. }
  2077. /* Button which opens the server selection view. */
  2078. #server_selection_button {
  2079. background: none;
  2080. border: none;
  2081. outline: none;
  2082. cursor: pointer;
  2083. line-height: 24px;
  2084. padding: 0px;
  2085. transition: 0.25s ease;
  2086. }
  2087. #server_selection_button:hover,
  2088. #server_selection_button:focus {
  2089. text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff, 0px 0px 20px #fff;
  2090. }
  2091. #server_selection_button:active {
  2092. color: #c7c7c7;
  2093. text-shadow: 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7;
  2094. }
  2095. /* Progress bar styles. */
  2096. #launch_progress[value] {
  2097. height: 3px;
  2098. width: 265px;
  2099. -webkit-appearance: none;
  2100. }
  2101. #launch_progress[value]::-webkit-progress-bar {
  2102. background-color: transparent;
  2103. }
  2104. #launch_progress[value]::-webkit-progress-value {
  2105. background-color: #fff;
  2106. }
  2107. /* Span which displays information about the status of the launch process. */
  2108. #launch_details_text {
  2109. font-size: 11px;
  2110. text-overflow: ellipsis;
  2111. white-space: nowrap;
  2112. overflow: hidden;
  2113. }
  2114. /*******************************************************************************
  2115. * *
  2116. * Overlay View (overlay.ejs) *
  2117. * *
  2118. ******************************************************************************/
  2119. /* * *
  2120. * Overlay View (Main Content)
  2121. * * */
  2122. /* Overlay container, placed over the main div. */
  2123. #overlayContainer {
  2124. position: absolute;
  2125. z-index: 500;
  2126. top: 22px;
  2127. display: flex;
  2128. align-items: center;
  2129. justify-content: center;
  2130. width: 100%;
  2131. height: calc(100% - 22px);
  2132. background: rgba(0, 0, 0, 0.50);
  2133. }
  2134. /* Main overlay content. */
  2135. #overlayContent {
  2136. position: relative;
  2137. display: flex;
  2138. flex-direction: column;
  2139. align-items: center;
  2140. /*justify-content: space-between;*/
  2141. width: 300px;
  2142. /*height: 35%;*/
  2143. box-sizing: border-box;
  2144. padding: 15px 0px;
  2145. /* background-color: #424242; */
  2146. text-align: center;
  2147. }
  2148. /* Main overlay content anchor styles. */
  2149. #overlayContent a,
  2150. #overlayDismiss {
  2151. color: rgba(202, 202, 202, 0.75);
  2152. transition: 0.25s ease;
  2153. }
  2154. #overlayContent a:hover,
  2155. #overlayContent a:focus,
  2156. #overlayDismiss:focus {
  2157. color: rgba(255, 255, 255, 0.75);
  2158. }
  2159. #overlayContent a:active,
  2160. #overlayDismiss:active {
  2161. color: rgba(165, 165, 165, 0.75);
  2162. }
  2163. /* Add spacing between overlay content elements. */
  2164. #overlayContent > *:first-child {
  2165. margin-top: 0px !important;
  2166. }
  2167. #overlayContent > *:last-child {
  2168. margin-bottom: 0px !important;
  2169. }
  2170. #overlayContent > * {
  2171. margin: 8px 0px;
  2172. }
  2173. /* Overlay title styles. */
  2174. #overlayTitle {
  2175. font-family: 'Avenir Medium';
  2176. font-size: 20px;
  2177. font-weight: bold;
  2178. letter-spacing: 1px;
  2179. }
  2180. /* Overlay description styles. */
  2181. #overlayDesc {
  2182. font-size: 12px;
  2183. font-weight: bold;
  2184. }
  2185. /* Div which contains action buttons. */
  2186. #overlayActionContainer {
  2187. display: flex;
  2188. flex-direction: column;
  2189. justify-content: center;
  2190. }
  2191. /* Overlay acknowledge button styles. */
  2192. #overlayAcknowledge {
  2193. background: none;
  2194. border: 1px solid #ffffff;
  2195. color: white;
  2196. font-family: 'Avenir Medium';
  2197. font-weight: bold;
  2198. border-radius: 2px;
  2199. padding: 0px 8.1px;
  2200. cursor: pointer;
  2201. transition: 0.25s ease;
  2202. }
  2203. #overlayAcknowledge:hover,
  2204. #overlayAcknowledge:focus {
  2205. box-shadow: 0px 0px 10px 0px #fff;
  2206. outline: none;
  2207. }
  2208. #overlayAcknowledge:active {
  2209. border-color: rgba(255, 255, 255, 0.75);
  2210. color: rgba(255, 255, 255, 0.75);
  2211. }
  2212. /* Overlay dismiss option styles. */
  2213. #overlayDismiss {
  2214. font-weight: bold;
  2215. font-size: 10px;
  2216. text-decoration: none;
  2217. padding-top: 2.5px;
  2218. background: none;
  2219. border: none;
  2220. outline: none;
  2221. cursor: pointer;
  2222. }
  2223. #overlayDismiss:hover {
  2224. color: rgba(255, 255, 255, 0.75);
  2225. }
  2226. #overlayDismiss:active {
  2227. color: rgba(165, 165, 165, 0.75);
  2228. }
  2229. /* * *
  2230. * Overlay View (Server + Account Selection Content)
  2231. * * */
  2232. /* Server selection content container. */
  2233. #serverSelectContent,
  2234. #accountSelectContent {
  2235. display: flex;
  2236. flex-direction: column;
  2237. justify-content: center;
  2238. align-items: center;
  2239. height: 75%;
  2240. }
  2241. /* Server selection header. */
  2242. #serverSelectHeader,
  2243. #accountSelectHeader {
  2244. font-family: 'Avenir Medium';
  2245. font-size: 20px;
  2246. font-weight: bold;
  2247. color: #fff;
  2248. margin-bottom: 25px;
  2249. }
  2250. /* Wrapper div for the list of available servers. */
  2251. #serverSelectList,
  2252. #accountSelectList {
  2253. display: flex;
  2254. flex-direction: column;
  2255. align-items: center;
  2256. justify-content: center;
  2257. max-height: 65%;
  2258. min-height: 40%;
  2259. }
  2260. /* Scrollable div which lists the available servers. */
  2261. #serverSelectListScrollable,
  2262. #accountSelectListScrollable {
  2263. padding: 0px 5px;
  2264. overflow-y: scroll;
  2265. }
  2266. #serverSelectListScrollable::-webkit-scrollbar,
  2267. #accountSelectListScrollable::-webkit-scrollbar {
  2268. width: 2px;
  2269. }
  2270. #serverSelectListScrollable::-webkit-scrollbar-track,
  2271. #accountSelectListScrollable::-webkit-scrollbar-track {
  2272. display: none;
  2273. }
  2274. #serverSelectListScrollable::-webkit-scrollbar-thumb,
  2275. #accountSelectListScrollable::-webkit-scrollbar-thumb {
  2276. border-radius: 10px;
  2277. box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.50);
  2278. }
  2279. /* Content container for a server listing. */
  2280. .serverListing {
  2281. border: none;
  2282. padding: 0px;
  2283. width: 375px;
  2284. min-height: 60px;
  2285. display: flex;
  2286. justify-content: flex-start;
  2287. align-items: center;
  2288. opacity: 0.6;
  2289. transition: 0.25s ease;
  2290. cursor: pointer;
  2291. position: relative;
  2292. background: rgba(131, 131, 131, 0.25);
  2293. }
  2294. .serverListing[selected] {
  2295. cursor: default;
  2296. opacity: 1.0;
  2297. }
  2298. .serverListing:hover,
  2299. .serverListing:focus {
  2300. outline: none;
  2301. opacity: 1.0;
  2302. }
  2303. .accountListing {
  2304. color: white;
  2305. border: 1px solid rgba(170, 170, 170, 0.5);
  2306. border-radius: 4px;
  2307. padding: 5px 45px;
  2308. width: 250px;
  2309. display: flex;
  2310. justify-content: flex-start;
  2311. align-items: center;
  2312. opacity: 0.6;
  2313. transition: 0.25s ease;
  2314. cursor: pointer;
  2315. position: relative;
  2316. background: rgba(255, 255, 255, 0.25);
  2317. }
  2318. .accountListing[selected] {
  2319. cursor: default;
  2320. opacity: 1.0;
  2321. }
  2322. .accountListing:hover,
  2323. .accountListing:focus {
  2324. outline: none;
  2325. opacity: 1.0;
  2326. }
  2327. .accountListingName {
  2328. display: flex;
  2329. height: 100%;
  2330. width: 100%;
  2331. padding-left: 10px;
  2332. }
  2333. /* Add spacing between server listings. */
  2334. #serverSelectListScrollable > .serverListing:not(:first-child):not(:last-child),
  2335. #accountSelectListScrollable > .accountListing:not(:first-child):not(:last-child) {
  2336. margin: 5px 0px;
  2337. }
  2338. #serverSelectListScrollable > .serverListing:first-child,
  2339. #accountSelectListScrollable > .accountListing:first-child {
  2340. margin-bottom: 5px;
  2341. }
  2342. #serverSelectListScrollable > .serverListing:last-child,
  2343. #accountSelectListScrollable > .accountListing:last-child {
  2344. margin-top: 5px;
  2345. }
  2346. /* Server listing image. */
  2347. .serverListingImg {
  2348. margin: 0px 10px 0px 5px;
  2349. border: 1px solid #fff;
  2350. height: 50px;
  2351. width: 50px;
  2352. }
  2353. /* Content container for the server listing's details. */
  2354. .serverListingDetails {
  2355. display: flex;
  2356. flex-direction: column;
  2357. align-items: flex-start;
  2358. justify-content: space-between;
  2359. height: 50px;
  2360. }
  2361. /* The name of the server listing. */
  2362. .serverListingName {
  2363. font-size: 14px;
  2364. font-weight: bold;
  2365. }
  2366. /* Description for the server listing. */
  2367. .serverListingDescription {
  2368. font-size: 10px;
  2369. line-height: 10px;
  2370. font-weight: bold;
  2371. }
  2372. /* Content container for the server listing's information. */
  2373. .serverListingInfo {
  2374. width: 100%;
  2375. display: flex;
  2376. justify-content: flex-start;
  2377. }
  2378. /* The minecraft version of the server listing. */
  2379. .serverListingVersion {
  2380. font-size: 10px;
  2381. text-align: center;
  2382. display: flex;
  2383. justify-content: center;
  2384. align-items: center;
  2385. line-height: 12px;
  2386. height: 12px;
  2387. border-radius: 2px;
  2388. background: rgba(31, 140, 11, 0.8);
  2389. padding: 0px 2px;
  2390. }
  2391. /* The revision version of the server's manifest. */
  2392. .serverListingRevision {
  2393. color: #969696;
  2394. font-size: 10px;
  2395. line-height: 12px;
  2396. padding: 0px 5px;
  2397. }
  2398. /* Star which indicates the default (main) server. */
  2399. .serverListingStarWrapper {
  2400. display: flex;
  2401. align-items: center;
  2402. cursor: pointer;
  2403. height: 12px;
  2404. position: relative;
  2405. }
  2406. /* Tooltip which displays when hovering over the star. */
  2407. .serverListingStarTooltip {
  2408. visibility: hidden;
  2409. opacity: 0;
  2410. width: 65px;
  2411. background-color: rgba(0, 0, 0, 0.40);
  2412. text-align: center;
  2413. border-radius: 4px;
  2414. position: absolute;
  2415. z-index: 1;
  2416. left: 130%;
  2417. font-size: 10px;
  2418. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  2419. }
  2420. .serverListingStarTooltip::after {
  2421. content: " ";
  2422. position: absolute;
  2423. top: 50%;
  2424. right: 100%; /* To the left of the tooltip */
  2425. margin-top: -5px;
  2426. border-width: 5px;
  2427. border-style: solid;
  2428. border-color: transparent rgba(0, 0, 0, 0.40) transparent transparent;
  2429. }
  2430. .serverListingStarWrapper:hover .serverListingStarTooltip {
  2431. visibility: visible;
  2432. opacity: 1;
  2433. transition-delay:0s;
  2434. }
  2435. /* Content container which contains the server select actions. */
  2436. #serverSelectActions,
  2437. #accountSelectActions {
  2438. display: flex;
  2439. flex-direction: column;
  2440. justify-content: center;
  2441. align-items: center;
  2442. margin-top: 25px;
  2443. }
  2444. /* Server selection confirm button styles. */
  2445. #serverSelectConfirm,
  2446. #accountSelectConfirm {
  2447. background: none;
  2448. border: 1px solid #ffffff;
  2449. color: white;
  2450. font-family: 'Avenir Medium';
  2451. font-weight: bold;
  2452. border-radius: 2px;
  2453. padding: 0px 8.1px;
  2454. cursor: pointer;
  2455. transition: 0.25s ease;
  2456. min-height: 20.67px;
  2457. }
  2458. #serverSelectConfirm:hover,
  2459. #serverSelectConfirm:focus,
  2460. #accountSelectConfirm:hover,
  2461. #accountSelectConfirm:focus {
  2462. box-shadow: 0px 0px 10px 0px #fff;
  2463. outline: none;
  2464. }
  2465. #serverSelectConfirm:active,
  2466. #accountSelectConfirm:active {
  2467. border-color: rgba(255, 255, 255, 0.75);
  2468. color: rgba(255, 255, 255, 0.75);
  2469. }
  2470. /* Server selection cancel button styles. */
  2471. #serverSelectCancel,
  2472. #accountSelectCancel {
  2473. font-weight: bold;
  2474. font-size: 10px;
  2475. text-decoration: none;
  2476. padding-top: 2.5px;
  2477. color: rgba(202, 202, 202, 0.75);
  2478. transition: 0.25s ease;
  2479. background: none;
  2480. border: none;
  2481. outline: none;
  2482. cursor: pointer;
  2483. }
  2484. #serverSelectCancel:hover,
  2485. #serverSelectCancel:focus,
  2486. #accountSelectCancel:hover,
  2487. #accountSelectCancel:focus {
  2488. color: rgba(255, 255, 255, 0.75);
  2489. }
  2490. #serverSelectCancel:active,
  2491. #accountSelectCancel:active {
  2492. color: rgba(165, 165, 165, 0.75);
  2493. }
  2494. /*******************************************************************************
  2495. * *
  2496. * Loading Element (app.ejs) *
  2497. * *
  2498. ******************************************************************************/
  2499. /* Loading container, placed above everything. */
  2500. #loadingContainer {
  2501. position: absolute;
  2502. z-index: 400;
  2503. display: flex;
  2504. align-items: center;
  2505. justify-content: center;
  2506. width: 100%;
  2507. height: calc(100% - 22px);
  2508. }
  2509. /* Loading content container. */
  2510. #loadingContent {
  2511. position: relative;
  2512. display: flex;
  2513. flex-direction: column;
  2514. align-items: center;
  2515. justify-content: center;
  2516. }
  2517. /* Spinner container. */
  2518. #loadSpinnerContainer {
  2519. position: relative;
  2520. display: flex;
  2521. align-items: center;
  2522. justify-content: center;
  2523. }
  2524. /* Stationary image for the spinner. */
  2525. #loadCenterImage {
  2526. position: absolute;
  2527. width: 277px;
  2528. height: auto;
  2529. }
  2530. /* Rotating image for the spinner. */
  2531. #loadSpinnerImage {
  2532. width: 280px;
  2533. height: auto;
  2534. z-index: 400;
  2535. }
  2536. /* Rotating animation for the spinner. */
  2537. @keyframes rotating {
  2538. from {
  2539. transform: rotate(0deg);
  2540. }
  2541. to {
  2542. transform: rotate(360deg);
  2543. }
  2544. }
  2545. /* Class which is applied when the spinner image is spinning. */
  2546. .rotating {
  2547. animation: rotating 10s linear infinite;
  2548. }