launcher.css 63 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862
  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: 50px;
  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(255, 255, 255, 0.35);
  1012. transition: .4s;
  1013. border-radius: 50px;
  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: white;
  1024. box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.75);
  1025. border-radius: 50px;
  1026. transition: .4s;
  1027. }
  1028. input:checked + .toggleSwitchSlider {
  1029. background-color: rgb(31, 140, 11);
  1030. }
  1031. input:checked + .toggleSwitchSlider:before {
  1032. transform: translateX(21px);
  1033. }
  1034. /* Range Slider styles. */
  1035. .rangeSlider {
  1036. width: 35%;
  1037. height: 5px;
  1038. margin: 15px 0px;
  1039. background: grey;
  1040. border-radius: 3px;
  1041. position: relative;
  1042. }
  1043. .rangeSliderBar {
  1044. position: absolute;
  1045. background: #8be88b;
  1046. width: 50%;
  1047. height: 5px;
  1048. border-radius: 3px 0px 0px 3px;
  1049. }
  1050. .rangeSliderTrack {
  1051. position: absolute;
  1052. top: -7.5px;
  1053. width: 7px;
  1054. height: 20px;
  1055. background: white;
  1056. border-radius: 3px;
  1057. left: 50%;
  1058. cursor: ew-resize;
  1059. }
  1060. /* * *
  1061. * Settings View (Account Tab)
  1062. * * */
  1063. /* Add account button styles. */
  1064. #settingsAddAccount {
  1065. background: rgba(0, 0, 0, 0.25);
  1066. border: 1px solid rgba(126, 126, 126, 0.57);
  1067. border-radius: 3px;
  1068. height: 50px;
  1069. width: 75%;
  1070. text-align: left;
  1071. padding: 0px 50px;
  1072. cursor: pointer;
  1073. outline: none;
  1074. transition: 0.25s ease;
  1075. }
  1076. #settingsAddAccount:hover,
  1077. #settingsAddAccount:focus {
  1078. background: rgba(54, 54, 54, 0.25);
  1079. text-shadow: 0px 0px 20px white;
  1080. }
  1081. /* Settings auth accounts header. */
  1082. #settingsCurrentAccountsHeader {
  1083. margin: 20px 0px;
  1084. }
  1085. /* Auth account list container styles. */
  1086. #settingsCurrentAccounts {
  1087. margin-bottom: 5%;
  1088. }
  1089. #settingsCurrentAccounts > .settingsAuthAccount:not(:last-child) {
  1090. margin-bottom: 10px;
  1091. }
  1092. #settingsCurrentAccounts > .settingsAuthAccount:not(:first-child) {
  1093. margin-top: 10px;
  1094. }
  1095. /* Auth account shared styles. */
  1096. .settingsAuthAccount {
  1097. display: flex;
  1098. width: 75%;
  1099. background: rgba(0, 0, 0, 0.25);
  1100. border-radius: 3px;
  1101. border: 1px solid rgba(126, 126, 126, 0.57);
  1102. }
  1103. /* Left hand side of an auth account element, for the skin image. */
  1104. .settingsAuthAccountLeft {
  1105. padding: 5px 5px 5px 20px;
  1106. }
  1107. /* Image of the auth account's skin. */
  1108. .settingsAuthAccountImage {
  1109. height: 115px;
  1110. }
  1111. /* Right hand side of the auth account, for info + actions. */
  1112. .settingsAuthAccountRight {
  1113. display: flex;
  1114. width: 100%;
  1115. }
  1116. /* Account details container. */
  1117. .settingsAuthAccountDetails {
  1118. display: flex;
  1119. flex-direction: column;
  1120. justify-content: center;
  1121. margin-left: 20px;
  1122. width: 100%;
  1123. }
  1124. .settingsAuthAccountDetails > *:not(:last-child) {
  1125. margin-bottom: 20px;
  1126. }
  1127. /* Account detail element styles. */
  1128. .settingsAuthAccountDetailPane {
  1129. display: flex;
  1130. flex-direction: column;
  1131. }
  1132. .settingsAuthAccountDetailTitle {
  1133. font-size: 12px;
  1134. color: grey;
  1135. font-weight: bold;
  1136. font-family: 'Avenir Medium';
  1137. }
  1138. .settingsAuthAccountDetailValue {
  1139. font-size: 14px;
  1140. }
  1141. /* Account actions container. */
  1142. .settingsAuthAccountActions {
  1143. display: flex;
  1144. flex-direction: column;
  1145. justify-content: space-between;
  1146. align-items: flex-end;
  1147. padding: 10px;
  1148. }
  1149. /* Account select button shared styles. */
  1150. .settingsAuthAccountSelect {
  1151. opacity: 0;
  1152. border: none;
  1153. white-space: nowrap;
  1154. background: none;
  1155. font-family: 'Avenir Medium';
  1156. outline: none;
  1157. transition: 0.25s ease;
  1158. }
  1159. .settingsAuthAccountSelect:hover:not([selected]),
  1160. .settingsAuthAccountSelect:focus:not([selected]) {
  1161. text-shadow: 0px 0px 20px white, 0px 0px 20px white;
  1162. cursor: pointer;
  1163. }
  1164. .settingsAuthAccount:hover .settingsAuthAccountSelect:not([selected]),
  1165. .settingsAuthAccountSelect[selected] {
  1166. opacity: 1;
  1167. }
  1168. .settingsAuthAccountSelect[selected] {
  1169. pointer-events: none;
  1170. }
  1171. /* Account logout button shared styles. */
  1172. .settingsAuthAccountLogOut {
  1173. opacity: 0;
  1174. border: 1px solid rgb(241, 55, 55);
  1175. color: rgb(241, 55, 55);
  1176. background: none;
  1177. font-size: 12px;
  1178. border-radius: 3px;
  1179. font-family: 'Avenir Medium';
  1180. transition: 0.25s ease;
  1181. cursor: pointer;
  1182. outline: none;
  1183. }
  1184. .settingsAuthAccountLogOut:hover,
  1185. .settingsAuthAccountLogOut:focus {
  1186. box-shadow: 0px 0px 20px rgb(241, 55, 55);
  1187. background: rgba(241, 55, 55, 0.25);
  1188. }
  1189. .settingsAuthAccountLogOut:active {
  1190. box-shadow: 0px 0px 20px rgb(185, 47, 47);
  1191. background: rgba(185, 47, 47, 0.25);
  1192. border: 1px solid rgb(185, 47, 47);
  1193. color: rgb(185, 47, 47);
  1194. }
  1195. .settingsAuthAccount:hover .settingsAuthAccountLogOut {
  1196. opacity: 1;
  1197. }
  1198. /* * *
  1199. * Settings View (Minecraft Tab)
  1200. * * */
  1201. /* Game resolution UI elements. */
  1202. #settingsGameResolutionContainer {
  1203. display: flex;
  1204. flex-direction: column;
  1205. margin-bottom: 20px;
  1206. }
  1207. #settingsGameResolutionContent {
  1208. display: flex;
  1209. align-items: center;
  1210. padding-top: 10px;
  1211. }
  1212. #settingsGameResolutionCross {
  1213. color: grey;
  1214. padding: 0px 15px;
  1215. }
  1216. #settingsGameWidth,
  1217. #settingsGameHeight {
  1218. padding: 7.5px 5px;
  1219. width: 75px;
  1220. }
  1221. /* * *
  1222. * Settings View (Java Tab)
  1223. * * */
  1224. #settingsMemoryContainer {
  1225. width: 75%;
  1226. display: flex;
  1227. flex-direction: column;
  1228. border-bottom: 1px solid rgba(255, 255, 255, 0.50);
  1229. }
  1230. #settingsMemoryTitle {
  1231. margin-bottom: 10px;
  1232. padding-bottom: 5px;
  1233. border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  1234. }
  1235. #settingsMemoryContent {
  1236. display: flex;
  1237. justify-content: space-between;
  1238. width: 100%;
  1239. }
  1240. #settingsMemoryContentLeft {
  1241. width: 69%;
  1242. }
  1243. #settingsMemoryContentRight {
  1244. display: flex;
  1245. align-items: center;
  1246. margin-right: 10%;
  1247. }
  1248. .settingsMemoryHeader {
  1249. font-size: 14px;
  1250. }
  1251. .settingsMemoryActionContainer {
  1252. display: flex;
  1253. align-items: center;
  1254. justify-content: space-between;
  1255. }
  1256. .settingsMemoryLabel {
  1257. font-size: 14px;
  1258. margin-right: 3%;
  1259. }
  1260. #settingsMemoryDesc {
  1261. font-size: 10px;
  1262. margin: 20px 0px;
  1263. color: lightgrey;
  1264. font-weight: bold;
  1265. }
  1266. #settingsMaxRAMRange,
  1267. #settingsMinRAMRange {
  1268. width: 85%;
  1269. }
  1270. #settingsMemoryStatus {
  1271. display: flex;
  1272. flex-direction: column;
  1273. }
  1274. #settingsMemoryStatus > .settingsMemoryStatusContainer:not(:last-child){
  1275. margin-bottom: 50%;
  1276. }
  1277. .settingsMemoryStatusContainer {
  1278. display: flex;
  1279. flex-direction: column;
  1280. align-items: center;
  1281. }
  1282. .settingsMemoryStatusTitle {
  1283. font-size: 12px;
  1284. color: grey;
  1285. font-weight: bold;
  1286. }
  1287. .settingsMemoryStatusValue {
  1288. color: lightgrey;
  1289. font-size: 16px;
  1290. }
  1291. /*******************************************************************************
  1292. * *
  1293. * Landing View (Structural Styles) *
  1294. * *
  1295. ******************************************************************************/
  1296. /* Main content container. */
  1297. #landingContainer {
  1298. height: 100%;
  1299. position: relative;
  1300. transition: background 2s ease;
  1301. overflow-y: hidden;
  1302. }
  1303. /* Upper content container. */
  1304. #landingContainer > #upper {
  1305. position: relative;
  1306. transition: top 2s ease;
  1307. top: 0px;
  1308. height: 77%;
  1309. display: flex;
  1310. }
  1311. #landingContainer > #upper > #left {
  1312. display: inline-flex;
  1313. width: 15%;
  1314. height: 100%;
  1315. justify-content: flex-end;
  1316. }
  1317. #landingContainer > #upper > #content {
  1318. display: inline-flex;
  1319. width: 70%;
  1320. height: 100%;
  1321. }
  1322. #landingContainer > #upper > #right {
  1323. display: inline-flex;
  1324. width: 15%;
  1325. height: 100%;
  1326. }
  1327. /* Lower content container. */
  1328. #landingContainer > #lower {
  1329. height: 23%;
  1330. display: flex;
  1331. background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  1332. }
  1333. #landingContainer > #lower > #left {
  1334. position: relative;
  1335. transition: top 2s ease;
  1336. top: 0px;
  1337. height: 100%;
  1338. width: 33%;
  1339. display: inline-flex;
  1340. justify-content: center;
  1341. }
  1342. #landingContainer > #lower > #left #content {
  1343. position: relative;
  1344. top: 25px;
  1345. display: inline-flex;
  1346. line-height: 24px;
  1347. left: 50px;
  1348. }
  1349. #landingContainer > #lower > #center {
  1350. position: relative;
  1351. transition: top 2s ease;
  1352. top: 0px;
  1353. height: 100%;
  1354. width: 34%;
  1355. display: inline-flex;
  1356. justify-content: center;
  1357. }
  1358. #landingContainer > #lower > #center #content {
  1359. position: relative;
  1360. z-index: 500;
  1361. transition: top 2s ease;
  1362. top: 10px;
  1363. }
  1364. #landingContainer > #lower > #right {
  1365. position: relative;
  1366. transition: top 2s ease;
  1367. top: 0px;
  1368. height: 100%;
  1369. width: 33%;
  1370. display: inline-flex;
  1371. }
  1372. /*******************************************************************************
  1373. * *
  1374. * Landing View (News Styles) *
  1375. * *
  1376. ******************************************************************************/
  1377. /* Main container. */
  1378. #newsContainer {
  1379. position: absolute;
  1380. top: 100%;
  1381. height: 100%;
  1382. width: 100%;
  1383. transition: top 2s ease;
  1384. display: flex;
  1385. align-items: flex-end;
  1386. justify-content: center;
  1387. }
  1388. /* News content container. */
  1389. #newsContent {
  1390. height: 82vh;
  1391. width: 82vw;
  1392. display: flex;
  1393. }
  1394. /* News article status container (left). */
  1395. #newsStatusContainer {
  1396. width: 25%;
  1397. height: calc(100% - 30px);
  1398. padding: 15px;
  1399. display: flex;
  1400. flex-direction: column;
  1401. justify-content: space-between;
  1402. }
  1403. /* News status content. */
  1404. #newsStatusContent {
  1405. display: flex;
  1406. flex-direction: column;
  1407. }
  1408. /* News article title styles. */
  1409. #newsArticleTitle {
  1410. font-size: 20px;
  1411. font-weight: bold;
  1412. font-family: 'Avenir Medium';
  1413. }
  1414. #newsArticleTitle {
  1415. color: white;
  1416. text-decoration: none;
  1417. transition: 0.25s ease;
  1418. outline: none;
  1419. }
  1420. #newsArticleTitle:hover,
  1421. #newsArticleTitle:focus {
  1422. text-shadow: 0px 0px 20px white;
  1423. }
  1424. #newsArticleTitle:active {
  1425. color: #c7c7c7;
  1426. text-shadow: 0px 0px 20px #c7c7c7;
  1427. }
  1428. /* News meta container. */
  1429. #newsMetaContainer {
  1430. display: flex;
  1431. flex-direction: column;
  1432. }
  1433. /* Date and author shared styles. */
  1434. #newsArticleDate,
  1435. #newsArticleAuthor {
  1436. display: inline-block;
  1437. font-size: 10px;
  1438. padding: 0px 5px;
  1439. font-weight: bold;
  1440. border-radius: 2px;
  1441. }
  1442. /* Date styles. */
  1443. #newsArticleDate {
  1444. background: white;
  1445. color: black;
  1446. margin-top: 5px;
  1447. }
  1448. /* Author styles. */
  1449. #newsArticleAuthor {
  1450. background: #a02d2a;
  1451. }
  1452. /* News article comments styles. */
  1453. #newsArticleComments {
  1454. margin-top: 5px;
  1455. display: inline-block;
  1456. font-size: 10px;
  1457. color: #ffffff;
  1458. text-decoration: none;
  1459. transition: 0.25s ease;
  1460. outline: none;
  1461. }
  1462. #newsArticleComments:focus,
  1463. #newsArticleComments:hover {
  1464. color: #e0e0e0;
  1465. }
  1466. #newsArticleComments:active {
  1467. color: #c7c7c7;
  1468. }
  1469. /* Article content container (right). */
  1470. #newsArticleContainer {
  1471. width: 75%;
  1472. height: 100%;
  1473. }
  1474. /* Article content styles. */
  1475. #newsArticleContentScrollable {
  1476. font-size: 12px;
  1477. max-width: 80%;
  1478. margin: 25px 35px 0px 25px;
  1479. overflow-y: scroll;
  1480. height: calc(100% - 25px);
  1481. padding: 0px 15px 0px 15px;
  1482. }
  1483. #newsArticleContentScrollable img {
  1484. max-width: 95%;
  1485. display: block;
  1486. margin: 0 auto;
  1487. }
  1488. #newsArticleContentScrollable a {
  1489. color: rgba(202, 202, 202, 0.75);
  1490. transition: 0.25s ease;
  1491. outline: none;
  1492. }
  1493. #newsArticleContentScrollable a:hover,
  1494. #newsArticleContentScrollable a:focus {
  1495. color: rgba(255, 255, 255, 0.75);
  1496. }
  1497. #newsArticleContentScrollable a:active {
  1498. color: rgba(165, 165, 165, 0.75);
  1499. }
  1500. #newsArticleContentScrollable::-webkit-scrollbar {
  1501. width: 2px;
  1502. }
  1503. #newsArticleContentScrollable::-webkit-scrollbar-track {
  1504. display: none;
  1505. }
  1506. #newsArticleContentScrollable::-webkit-scrollbar-thumb {
  1507. border-radius: 10px;
  1508. box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.50);
  1509. }
  1510. /* Div to add spacing at the end of a news article. */
  1511. .newsArticleSpacer {
  1512. height: 30px;
  1513. }
  1514. /* News navigation container. */
  1515. #newsNavigationContainer {
  1516. display: flex;
  1517. justify-content: center;
  1518. align-items: center;
  1519. margin-bottom: 10px;
  1520. }
  1521. /* Navigation status span. */
  1522. #newsNavigationStatus {
  1523. font-size: 12px;
  1524. margin: 0px 15px;
  1525. }
  1526. /* Left and right navigation button styles. */
  1527. #newsNavigateLeft,
  1528. #newsNavigateRight {
  1529. background: none;
  1530. border: none;
  1531. outline: none;
  1532. height: 20px;
  1533. cursor: pointer;
  1534. }
  1535. #newsNavigateLeft:hover #newsNavigationLeftSVG,
  1536. #newsNavigateLeft:focus #newsNavigationLeftSVG,
  1537. #newsNavigateRight:hover #newsNavigationRightSVG,
  1538. #newsNavigateRight:focus #newsNavigationRightSVG {
  1539. -webkit-filter: drop-shadow(0px 0px 2px #fff);
  1540. }
  1541. #newsNavigateLeft:active #newsNavigationLeftSVG .arrowLine,
  1542. #newsNavigateRight:active #newsNavigationRightSVG .arrowLine {
  1543. stroke: #c7c7c7;
  1544. }
  1545. #newsNavigateLeft:active #newsNavigationLeftSVG,
  1546. #newsNavigateRight:active #newsNavigationRightSVG {
  1547. -webkit-filter: drop-shadow(0px 0px 2px #c7c7c7);
  1548. }
  1549. #newsNavigateLeft:disabled #newsNavigationLeftSVG .arrowLine,
  1550. #newsNavigateRight:disabled #newsNavigationRightSVG .arrowLine {
  1551. stroke: rgba(255, 255, 255, 0.75);
  1552. }
  1553. #newsNavigationLeftSVG {
  1554. transform: rotate(-90deg);
  1555. width: 15px;
  1556. }
  1557. #newsNavigationRightSVG {
  1558. transform: rotate(90deg);
  1559. width: 15px;
  1560. }
  1561. /* News error (message) container. */
  1562. #newsErrorContainer {
  1563. height: 100%;
  1564. display: flex;
  1565. align-items: center;
  1566. flex-direction: column;
  1567. justify-content: center;
  1568. }
  1569. #newsErrorFailed {
  1570. display: flex;
  1571. align-items: center;
  1572. flex-direction: column;
  1573. justify-content: center;
  1574. }
  1575. /* News error content (message). */
  1576. .newsErrorContent {
  1577. font-size: 20px;
  1578. }
  1579. #newsErrorLoading {
  1580. display: flex;
  1581. width: 168.92px;
  1582. }
  1583. #nELoadSpan {
  1584. white-space: pre;
  1585. }
  1586. /* News error retry button styles. */
  1587. #newsErrorRetry {
  1588. font-size: 12px;
  1589. font-weight: bold;
  1590. cursor: pointer;
  1591. background: none;
  1592. border: none;
  1593. outline: none;
  1594. transition: 0.25s ease;
  1595. }
  1596. #newsErrorRetry:focus,
  1597. #newsErrorRetry:hover {
  1598. text-shadow: 0px 0px 20px white;
  1599. }
  1600. #newsErrorRetry:active {
  1601. color: #c7c7c7;
  1602. text-shadow: 0px 0px 20px #c7c7c7;
  1603. }
  1604. /*******************************************************************************
  1605. * *
  1606. * Landing View (Top Styles) *
  1607. * *
  1608. ******************************************************************************/
  1609. /* * *
  1610. * Landing View (Top Styles) | Left Content
  1611. * * */
  1612. /* Logo image. */
  1613. #image_seal {
  1614. height: 70px;
  1615. width: auto;
  1616. position: relative;
  1617. border: 2px solid white;
  1618. box-sizing: border-box;
  1619. border-radius: 50%;
  1620. }
  1621. /* Logo container styles. */
  1622. #image_seal_container {
  1623. position: relative;
  1624. height: 70px;
  1625. width: 70px;
  1626. border-radius: 50%;
  1627. margin-top: 50px;
  1628. }
  1629. /* Logo container styles w/ update. */
  1630. #image_seal_container[update]{
  1631. cursor: pointer
  1632. }
  1633. #image_seal_container[update]:before,
  1634. #image_seal_container[update]:after {
  1635. cursor: pointer;
  1636. position: absolute;
  1637. content: '';
  1638. height: 100%;
  1639. width: 100%;
  1640. top: 0%;
  1641. left: 0%;
  1642. border-radius: 50%;
  1643. box-shadow: 0 0 15px #43c628;
  1644. animation: glow-grow 4s ease-out infinite;
  1645. background: rgba(0, 0, 0, 0.15);
  1646. }
  1647. #image_seal_container[update]:before {
  1648. animation-delay: 2s;
  1649. }
  1650. /* Update available tooltip styles. */
  1651. #updateAvailableTooltip {
  1652. cursor: pointer;
  1653. visibility: hidden;
  1654. opacity: 0;
  1655. width: 100px;
  1656. height: 15px;
  1657. background-color: rgb(0, 0, 0);
  1658. color: #fff;
  1659. text-align: center;
  1660. border-radius: 4px;
  1661. padding: 2px;
  1662. position: absolute;
  1663. z-index: 1;
  1664. top: 115%;
  1665. left: -17.5px;
  1666. font-family: 'Avenir Medium';
  1667. font-size: 12px;
  1668. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  1669. }
  1670. #updateAvailableTooltip::after {
  1671. content: " ";
  1672. position: absolute;
  1673. left: 50%;
  1674. bottom: 100%;
  1675. margin-left: -5px;
  1676. border-width: 5px;
  1677. border-style: solid;
  1678. border-color: transparent transparent rgb(0, 0, 0) transparent;
  1679. }
  1680. #image_seal_container[update]:hover #updateAvailableTooltip {
  1681. visibility: visible;
  1682. opacity: 1;
  1683. transition-delay: 0s;
  1684. }
  1685. /* Update available animation. */
  1686. @keyframes glow-grow {
  1687. 0% {
  1688. opacity: 0;
  1689. transform: scale(1);
  1690. }
  1691. 80% {
  1692. opacity: 1;
  1693. }
  1694. 100% {
  1695. transform: scale(1.5);
  1696. opacity: 0;
  1697. }
  1698. }
  1699. /* * *
  1700. * Landing View (Bottom Styles) | Right Content
  1701. * * */
  1702. /* Wrapper container for top, right content. */
  1703. #rightContainer {
  1704. display: flex;
  1705. flex-direction: column;
  1706. position: relative;
  1707. top: 50px;
  1708. align-items: flex-start;
  1709. height: calc(100% - 50px);
  1710. }
  1711. /* Right hand user content container. */
  1712. #user_content {
  1713. display: flex;
  1714. align-items: center;
  1715. justify-content: center;
  1716. box-sizing: border-box;
  1717. position: relative;
  1718. }
  1719. /* User profile avatar container. */
  1720. #avatarContainer {
  1721. border-radius: 50%;
  1722. border: 2px solid #cad7e1;
  1723. box-sizing: border-box;
  1724. background: rgba(1, 2, 1, 0.5);
  1725. height: 70px;
  1726. width: 70px;
  1727. box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);
  1728. overflow: hidden;
  1729. position: relative;
  1730. background-image: url('https://cdn.discordapp.com/avatars/169197209630277642/6650b5a50e1cb3d00a79b9b88b9a0cd4.png');
  1731. background-size: contain;
  1732. }
  1733. /* Avatar edit overlay. */
  1734. #avatarOverlay {
  1735. opacity: 0;
  1736. position: absolute;
  1737. z-index: 1;
  1738. display: flex;
  1739. justify-content: center;
  1740. align-items: center;
  1741. transition: 0.25s ease;
  1742. font-weight: bold;
  1743. letter-spacing: 2px;
  1744. background: linear-gradient(65deg, rgba(0, 0, 0, 0.4), rgba(136, 77, 77, 0.4) 60%);
  1745. -webkit-user-select: none;
  1746. cursor: pointer;
  1747. width: 100%;
  1748. height: 100%;
  1749. border-radius: 50%;
  1750. }
  1751. #avatarOverlay:hover {
  1752. opacity: 1;
  1753. }
  1754. /* User profile name text. */
  1755. #user_text {
  1756. font-size: 12px;
  1757. min-width: 135px;
  1758. font-weight: 900;
  1759. letter-spacing: 1px;
  1760. text-shadow: 0px 0px 20px black;
  1761. position: absolute;
  1762. right: 95px;
  1763. text-align: right;
  1764. }
  1765. /* Social media icon content container. */
  1766. #mediaContent {
  1767. position: relative;
  1768. display: flex;
  1769. flex-direction: column;
  1770. margin-top: 25px;
  1771. height: calc(100% - 95px);
  1772. width: 70px;
  1773. align-items: center;
  1774. }
  1775. /* Social Media Icon division containers. */
  1776. #internalMedia, #externalMedia {
  1777. display: flex;
  1778. flex-direction: column;
  1779. }
  1780. /* Container object which wraps an icon to ensure fluid transitions. */
  1781. .mediaContainer {
  1782. display: flex;
  1783. justify-content: center;
  1784. align-items: center;
  1785. height: 27px;
  1786. }
  1787. /* Divider bar between the external and internal icons. */
  1788. .mediaDivider {
  1789. height: 1px;
  1790. width: 14px;
  1791. background: rgb(255, 255, 255);
  1792. margin: 10px 0px;
  1793. }
  1794. /* Social media icon shared styles. */
  1795. .mediaSVG {
  1796. fill: #ffffff;
  1797. height: 12px;
  1798. transition: 0.25s ease;
  1799. cursor: pointer;
  1800. height: 12px;
  1801. width: 25px;
  1802. }
  1803. .mediaSVG:hover,
  1804. .mediaURL:focus .mediaSVG,
  1805. .mediaSVG:active {
  1806. height: 20px;
  1807. }
  1808. /* Social media URL shared styles. */
  1809. .mediaURL {
  1810. outline: none;
  1811. }
  1812. /* Internal media button shared styles. */
  1813. .mediaButton {
  1814. background: none;
  1815. border: none;
  1816. padding: 0px;
  1817. display: flex;
  1818. align-items: center;
  1819. outline: none;
  1820. }
  1821. #settingsMediaContainer {
  1822. position: relative;
  1823. }
  1824. /* Settings icon colors. */
  1825. #settingsSVG {
  1826. stroke: #ffffff;
  1827. height: 15px;
  1828. }
  1829. .mediaButton:hover #settingsSVG,
  1830. .mediaButton:focus #settingsSVG,
  1831. .mediaButton:active #settingsSVG {
  1832. height: 23px;
  1833. }
  1834. /* Settings tooltip styles. */
  1835. #settingsTooltip {
  1836. visibility: hidden;
  1837. opacity: 0;
  1838. width: 75px;
  1839. height: 20px;
  1840. background-color: rgba(0, 0, 0, 0.75);
  1841. text-align: center;
  1842. border-radius: 4px;
  1843. position: absolute;
  1844. z-index: 1;
  1845. right: 130%;
  1846. font-size: 12px;
  1847. line-height: 20px;
  1848. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  1849. }
  1850. #settingsTooltip::after {
  1851. content: " ";
  1852. position: absolute;
  1853. top: 50%;
  1854. left: 100%;
  1855. margin-top: -5px;
  1856. border-width: 5px;
  1857. border-style: solid;
  1858. border-color: transparent transparent transparent rgba(0, 0, 0, 0.75);
  1859. }
  1860. .mediaButton:hover #settingsTooltip,
  1861. .mediaButton:focus #settingsTooltip,
  1862. .mediaButton:active #settingsTooltip {
  1863. visibility: visible;
  1864. opacity: 1;
  1865. transition-delay:0s;
  1866. }
  1867. /* Twitter icon colors. */
  1868. #twitterSVG:hover,
  1869. #twitterURL:focus #twitterSVG {
  1870. fill: #1da1f2;
  1871. }
  1872. #twitterSVG:active {
  1873. fill: #1b8dd4;
  1874. }
  1875. /* Instagram icon colors. */
  1876. #instagramSVG:hover,
  1877. #instagramURL:focus #instagramSVG {
  1878. fill: url('#instaFill')
  1879. /*fill: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); */
  1880. }
  1881. #instagramSVG:active {
  1882. fill: url('#instaFill')
  1883. }
  1884. /* Youtube icon colors. */
  1885. #youtubeSVG:hover,
  1886. #youtubeURL:focus #youtubeSVG {
  1887. fill: #f00;
  1888. }
  1889. #youtubeSVG:active {
  1890. fill: #ea0202;
  1891. }
  1892. /* Discord icon colors. */
  1893. #discordSVG:hover,
  1894. #discordURL:focus #discordSVG {
  1895. fill: #7288d9;
  1896. }
  1897. #discordSVG:active {
  1898. fill: #657ac4;
  1899. }
  1900. /*******************************************************************************
  1901. * *
  1902. * Landing View (Bottom Styles) *
  1903. * *
  1904. ******************************************************************************/
  1905. /* Style for a general label on the bottom of the landing view. */
  1906. .bot_label {
  1907. font-size: 9px;
  1908. letter-spacing: 1px;
  1909. font-weight: bold;
  1910. text-shadow: 0px 0px 0px #bebcbb;
  1911. }
  1912. /* Divider used on the bottom of the landing view. */
  1913. .bot_divider {
  1914. height: 25px;
  1915. width: 2px;
  1916. background: rgba(107, 105, 105, 0.7);
  1917. margin-left: 20px;
  1918. margin-right: 20px;
  1919. }
  1920. /* * *
  1921. * Landing View (Bottom Styles) | Left Content
  1922. * * */
  1923. /* Maintains maximum width on the status bar. */
  1924. #server_status_wrapper {
  1925. display: inline-flex;
  1926. width: 75px;
  1927. }
  1928. /* Span which displays the player count of the selected server. */
  1929. #player_count {
  1930. color: #949494;
  1931. font-size: 8px;
  1932. font-weight: 900;
  1933. text-shadow: 0px 0px 20px #949494;
  1934. margin-left: 10px;
  1935. }
  1936. /* Wrapper container for the mojang status bar. */
  1937. #mojangStatusWrapper {
  1938. position: relative;
  1939. display: flex;
  1940. cursor: pointer;
  1941. }
  1942. /* Icon which displays the status of the mojang services. */
  1943. #mojang_status_icon {
  1944. font-size: 30px;
  1945. color: #848484;
  1946. margin-left: 15px;
  1947. font-family: 'sans-serif';
  1948. }
  1949. /* Tooltip which displays more details about the mojang statuses. */
  1950. #mojangStatusTooltip {
  1951. position: absolute;
  1952. visibility: hidden;
  1953. opacity: 0;
  1954. width: 145px;
  1955. min-height: 150px;
  1956. background-color: rgba(0, 0, 0, 0.75);
  1957. color: #fff;
  1958. border-radius: 4px;
  1959. padding: 5px 10px;
  1960. z-index: 1;
  1961. font-family: 'Avenir Medium';
  1962. font-size: 12px;
  1963. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  1964. bottom: calc(100% + 15px);
  1965. transform: translateX(-50%);
  1966. margin-left: 50%;
  1967. box-shadow: 0px 0px 20px rgb(0, 0, 0);
  1968. cursor: default;
  1969. }
  1970. #mojangStatusTooltip:after {
  1971. content: " ";
  1972. position: absolute;
  1973. left: 50%;
  1974. top: 100%;
  1975. margin-left: -5px;
  1976. border-width: 5px;
  1977. border-style: solid;
  1978. border-color: rgba(0, 0, 0, 0.75) transparent transparent transparent;
  1979. }
  1980. #mojangStatusWrapper:hover #mojangStatusTooltip {
  1981. visibility: visible;
  1982. opacity: 1;
  1983. transition-delay: 0s;
  1984. }
  1985. /* Tooltip title for the mojang statuses. */
  1986. #mojangStatusTooltipTitle {
  1987. width: 100%;
  1988. text-align: center;
  1989. margin-bottom: 5px;
  1990. letter-spacing: 1px;
  1991. }
  1992. /* Wrapper container for the non essential services title. */
  1993. #mojangStatusNEContainer {
  1994. display: flex;
  1995. align-items: center;
  1996. margin: 10px 0px;
  1997. }
  1998. /* White bar which surrounds the non essential service title. */
  1999. .mojangStatusNEBar {
  2000. height: 1px;
  2001. width: 100%;
  2002. background: white;
  2003. }
  2004. /* Non essential service title text. */
  2005. #mojangStatusNETitle {
  2006. font-size: 10px;
  2007. padding: 0px 3px;
  2008. text-align: center;
  2009. letter-spacing: 1px;
  2010. }
  2011. /* Wrapper container for mojang service information. */
  2012. .mojangStatusContainer {
  2013. display: flex;
  2014. }
  2015. /* Displays the name of the mojang service. */
  2016. .mojangStatusName {
  2017. width: 100%;
  2018. font-size: 10px;
  2019. letter-spacing: 1px;
  2020. line-height: 12px;
  2021. padding: 6px 0px;
  2022. }
  2023. /* Displays the status of the mojang service. */
  2024. .mojangStatusIcon {
  2025. margin-right: 10px;
  2026. font-size: 18.5px;
  2027. color: #848484;
  2028. }
  2029. /* * *
  2030. * Landing View (Bottom Styles) | Center Content
  2031. * * */
  2032. /* Button which opens the news view. */
  2033. #newsButton {
  2034. background: none;
  2035. border: none;
  2036. cursor: pointer;
  2037. outline: none;
  2038. }
  2039. #newsButton:hover #newsButtonText,
  2040. #newsButton:focus #newsButtonText {
  2041. text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff;
  2042. }
  2043. #newsButton:active {
  2044. color: #c7c7c7;
  2045. text-shadow: 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7;
  2046. }
  2047. #newsButton:hover #newsButtonSVG,
  2048. #newsButton:focus #newsButtonSVG {
  2049. -webkit-filter: drop-shadow(0px 0px 2px #fff);
  2050. }
  2051. #newsButton:active #newsButtonSVG .arrowLine {
  2052. stroke: #c7c7c7;
  2053. }
  2054. #newsButton:active #newsButtonSVG {
  2055. -webkit-filter: drop-shadow(0px 0px 2px #c7c7c7);
  2056. }
  2057. #newsButton:disabled #newsButtonSVG .arrowLine {
  2058. stroke: rgba(255, 255, 255, 0.75);
  2059. }
  2060. /* Icon which indicates there is new news. */
  2061. #newsButtonAlert {
  2062. width: 5px;
  2063. height: 5px;
  2064. position: absolute;
  2065. border-radius: 50%;
  2066. background: red;
  2067. right: -1px;
  2068. top: 50%;
  2069. }
  2070. /* Arrow image which floats above the news button. */
  2071. #newsButtonSVG {
  2072. height: 11px;
  2073. margin-left: -2px;
  2074. transition: 0.25s ease;
  2075. }
  2076. /* Span which contains the news button text. */
  2077. #newsButtonText {
  2078. color: white;
  2079. font-weight: 900;
  2080. letter-spacing: 2px;
  2081. text-shadow: 0px 0px 0px #bebcbb;
  2082. font-size: 11px;
  2083. line-height: 30px;
  2084. display: flex;
  2085. transition: 0.25s ease;
  2086. }
  2087. /* * *
  2088. * Landing View (Bottom Styles) | Right Content
  2089. * * */
  2090. /* Main launch content container. */
  2091. #landingContainer > #lower > #right #launch_content {
  2092. position: relative;
  2093. top: 25px;
  2094. display: inline-flex;
  2095. }
  2096. /* The launch button. */
  2097. #launch_button {
  2098. background: none;
  2099. border: none;
  2100. cursor: pointer;
  2101. font-weight: 900;
  2102. letter-spacing: 2px;
  2103. text-shadow: 0px 0px 0px #bebcbb;
  2104. font-size: 20px;
  2105. padding: 0px;
  2106. transition: 0.25s ease;
  2107. outline: none;
  2108. }
  2109. #launch_button:hover,
  2110. #launch_button:focus {
  2111. text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff;
  2112. }
  2113. #launch_button:active {
  2114. color: #c7c7c7;
  2115. text-shadow: 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7;
  2116. }
  2117. #launch_button:disabled {
  2118. color: #c7c7c7;
  2119. cursor: default;
  2120. pointer-events: none;
  2121. }
  2122. /* Launch details main container, hidden until launch processing begins. */
  2123. #launch_details {
  2124. position: relative;
  2125. top: 25px;
  2126. display: none;
  2127. }
  2128. /* Left side of launch details container, displays percentage and a divider. */
  2129. #launch_details_left {
  2130. display: flex;
  2131. }
  2132. /* Span which displays percentage complete. */
  2133. #launch_progress_label {
  2134. font-weight: 900;
  2135. letter-spacing: 1px;
  2136. text-shadow: 0px 0px 0px #bebcbb;
  2137. font-size: 20px;
  2138. min-width: 53.21px;
  2139. max-width: 53.21px;
  2140. text-align: right;
  2141. }
  2142. /* Right side of launch details container, displays progress bar and details. */
  2143. #launch_details_right {
  2144. display: flex;
  2145. flex-direction: column;
  2146. justify-content: center;
  2147. }
  2148. /* Button which opens the server selection view. */
  2149. #server_selection_button {
  2150. background: none;
  2151. border: none;
  2152. outline: none;
  2153. cursor: pointer;
  2154. line-height: 24px;
  2155. padding: 0px;
  2156. transition: 0.25s ease;
  2157. }
  2158. #server_selection_button:hover,
  2159. #server_selection_button:focus {
  2160. text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff, 0px 0px 20px #fff;
  2161. }
  2162. #server_selection_button:active {
  2163. color: #c7c7c7;
  2164. text-shadow: 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7;
  2165. }
  2166. /* Progress bar styles. */
  2167. #launch_progress[value] {
  2168. height: 3px;
  2169. width: 265px;
  2170. -webkit-appearance: none;
  2171. }
  2172. #launch_progress[value]::-webkit-progress-bar {
  2173. background-color: transparent;
  2174. }
  2175. #launch_progress[value]::-webkit-progress-value {
  2176. background-color: #fff;
  2177. }
  2178. /* Span which displays information about the status of the launch process. */
  2179. #launch_details_text {
  2180. font-size: 11px;
  2181. text-overflow: ellipsis;
  2182. white-space: nowrap;
  2183. overflow: hidden;
  2184. }
  2185. /*******************************************************************************
  2186. * *
  2187. * Overlay View (overlay.ejs) *
  2188. * *
  2189. ******************************************************************************/
  2190. /* * *
  2191. * Overlay View (Main Content)
  2192. * * */
  2193. /* Overlay container, placed over the main div. */
  2194. #overlayContainer {
  2195. position: absolute;
  2196. z-index: 500;
  2197. top: 22px;
  2198. display: flex;
  2199. align-items: center;
  2200. justify-content: center;
  2201. width: 100%;
  2202. height: calc(100% - 22px);
  2203. background: rgba(0, 0, 0, 0.50);
  2204. }
  2205. /* Main overlay content. */
  2206. #overlayContent {
  2207. position: relative;
  2208. display: flex;
  2209. flex-direction: column;
  2210. align-items: center;
  2211. /*justify-content: space-between;*/
  2212. width: 300px;
  2213. /*height: 35%;*/
  2214. box-sizing: border-box;
  2215. padding: 15px 0px;
  2216. /* background-color: #424242; */
  2217. text-align: center;
  2218. }
  2219. /* Main overlay content anchor styles. */
  2220. #overlayContent a,
  2221. #overlayDismiss {
  2222. color: rgba(202, 202, 202, 0.75);
  2223. transition: 0.25s ease;
  2224. }
  2225. #overlayContent a:hover,
  2226. #overlayContent a:focus,
  2227. #overlayDismiss:focus {
  2228. color: rgba(255, 255, 255, 0.75);
  2229. }
  2230. #overlayContent a:active,
  2231. #overlayDismiss:active {
  2232. color: rgba(165, 165, 165, 0.75);
  2233. }
  2234. /* Add spacing between overlay content elements. */
  2235. #overlayContent > *:first-child {
  2236. margin-top: 0px !important;
  2237. }
  2238. #overlayContent > *:last-child {
  2239. margin-bottom: 0px !important;
  2240. }
  2241. #overlayContent > * {
  2242. margin: 8px 0px;
  2243. }
  2244. /* Overlay title styles. */
  2245. #overlayTitle {
  2246. font-family: 'Avenir Medium';
  2247. font-size: 20px;
  2248. font-weight: bold;
  2249. letter-spacing: 1px;
  2250. }
  2251. /* Overlay description styles. */
  2252. #overlayDesc {
  2253. font-size: 12px;
  2254. font-weight: bold;
  2255. }
  2256. /* Div which contains action buttons. */
  2257. #overlayActionContainer {
  2258. display: flex;
  2259. flex-direction: column;
  2260. justify-content: center;
  2261. }
  2262. /* Overlay acknowledge button styles. */
  2263. #overlayAcknowledge {
  2264. background: none;
  2265. border: 1px solid #ffffff;
  2266. color: white;
  2267. font-family: 'Avenir Medium';
  2268. font-weight: bold;
  2269. border-radius: 2px;
  2270. padding: 0px 8.1px;
  2271. cursor: pointer;
  2272. transition: 0.25s ease;
  2273. }
  2274. #overlayAcknowledge:hover,
  2275. #overlayAcknowledge:focus {
  2276. box-shadow: 0px 0px 10px 0px #fff;
  2277. outline: none;
  2278. }
  2279. #overlayAcknowledge:active {
  2280. border-color: rgba(255, 255, 255, 0.75);
  2281. color: rgba(255, 255, 255, 0.75);
  2282. }
  2283. /* Overlay dismiss option styles. */
  2284. #overlayDismiss {
  2285. font-weight: bold;
  2286. font-size: 10px;
  2287. text-decoration: none;
  2288. padding-top: 2.5px;
  2289. background: none;
  2290. border: none;
  2291. outline: none;
  2292. cursor: pointer;
  2293. }
  2294. #overlayDismiss:hover {
  2295. color: rgba(255, 255, 255, 0.75);
  2296. }
  2297. #overlayDismiss:active {
  2298. color: rgba(165, 165, 165, 0.75);
  2299. }
  2300. /* * *
  2301. * Overlay View (Server + Account Selection Content)
  2302. * * */
  2303. /* Server selection content container. */
  2304. #serverSelectContent,
  2305. #accountSelectContent {
  2306. display: flex;
  2307. flex-direction: column;
  2308. justify-content: center;
  2309. align-items: center;
  2310. height: 75%;
  2311. }
  2312. /* Server selection header. */
  2313. #serverSelectHeader,
  2314. #accountSelectHeader {
  2315. font-family: 'Avenir Medium';
  2316. font-size: 20px;
  2317. font-weight: bold;
  2318. color: #fff;
  2319. margin-bottom: 25px;
  2320. }
  2321. /* Wrapper div for the list of available servers. */
  2322. #serverSelectList,
  2323. #accountSelectList {
  2324. display: flex;
  2325. flex-direction: column;
  2326. align-items: center;
  2327. justify-content: center;
  2328. max-height: 65%;
  2329. min-height: 40%;
  2330. }
  2331. /* Scrollable div which lists the available servers. */
  2332. #serverSelectListScrollable,
  2333. #accountSelectListScrollable {
  2334. padding: 0px 5px;
  2335. overflow-y: scroll;
  2336. }
  2337. #serverSelectListScrollable::-webkit-scrollbar,
  2338. #accountSelectListScrollable::-webkit-scrollbar {
  2339. width: 2px;
  2340. }
  2341. #serverSelectListScrollable::-webkit-scrollbar-track,
  2342. #accountSelectListScrollable::-webkit-scrollbar-track {
  2343. display: none;
  2344. }
  2345. #serverSelectListScrollable::-webkit-scrollbar-thumb,
  2346. #accountSelectListScrollable::-webkit-scrollbar-thumb {
  2347. border-radius: 10px;
  2348. box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.50);
  2349. }
  2350. /* Content container for a server listing. */
  2351. .serverListing {
  2352. border: none;
  2353. padding: 0px;
  2354. width: 375px;
  2355. min-height: 60px;
  2356. display: flex;
  2357. justify-content: flex-start;
  2358. align-items: center;
  2359. opacity: 0.6;
  2360. transition: 0.25s ease;
  2361. cursor: pointer;
  2362. position: relative;
  2363. background: rgba(131, 131, 131, 0.25);
  2364. }
  2365. .serverListing[selected] {
  2366. cursor: default;
  2367. opacity: 1.0;
  2368. }
  2369. .serverListing:hover,
  2370. .serverListing:focus {
  2371. outline: none;
  2372. opacity: 1.0;
  2373. }
  2374. .accountListing {
  2375. color: white;
  2376. border: 1px solid rgba(170, 170, 170, 0.5);
  2377. border-radius: 4px;
  2378. padding: 5px 45px;
  2379. width: 250px;
  2380. display: flex;
  2381. justify-content: flex-start;
  2382. align-items: center;
  2383. opacity: 0.6;
  2384. transition: 0.25s ease;
  2385. cursor: pointer;
  2386. position: relative;
  2387. background: rgba(255, 255, 255, 0.25);
  2388. }
  2389. .accountListing[selected] {
  2390. cursor: default;
  2391. opacity: 1.0;
  2392. }
  2393. .accountListing:hover,
  2394. .accountListing:focus {
  2395. outline: none;
  2396. opacity: 1.0;
  2397. }
  2398. .accountListingName {
  2399. display: flex;
  2400. height: 100%;
  2401. width: 100%;
  2402. padding-left: 10px;
  2403. }
  2404. /* Add spacing between server listings. */
  2405. #serverSelectListScrollable > .serverListing:not(:first-child):not(:last-child),
  2406. #accountSelectListScrollable > .accountListing:not(:first-child):not(:last-child) {
  2407. margin: 5px 0px;
  2408. }
  2409. #serverSelectListScrollable > .serverListing:first-child,
  2410. #accountSelectListScrollable > .accountListing:first-child {
  2411. margin-bottom: 5px;
  2412. }
  2413. #serverSelectListScrollable > .serverListing:last-child,
  2414. #accountSelectListScrollable > .accountListing:last-child {
  2415. margin-top: 5px;
  2416. }
  2417. /* Server listing image. */
  2418. .serverListingImg {
  2419. margin: 0px 10px 0px 5px;
  2420. border: 1px solid #fff;
  2421. height: 50px;
  2422. width: 50px;
  2423. }
  2424. /* Content container for the server listing's details. */
  2425. .serverListingDetails {
  2426. display: flex;
  2427. flex-direction: column;
  2428. align-items: flex-start;
  2429. justify-content: space-between;
  2430. height: 50px;
  2431. }
  2432. /* The name of the server listing. */
  2433. .serverListingName {
  2434. font-size: 14px;
  2435. font-weight: bold;
  2436. }
  2437. /* Description for the server listing. */
  2438. .serverListingDescription {
  2439. font-size: 10px;
  2440. line-height: 10px;
  2441. font-weight: bold;
  2442. }
  2443. /* Content container for the server listing's information. */
  2444. .serverListingInfo {
  2445. width: 100%;
  2446. display: flex;
  2447. justify-content: flex-start;
  2448. }
  2449. /* The minecraft version of the server listing. */
  2450. .serverListingVersion {
  2451. font-size: 10px;
  2452. text-align: center;
  2453. display: flex;
  2454. justify-content: center;
  2455. align-items: center;
  2456. line-height: 12px;
  2457. height: 12px;
  2458. border-radius: 2px;
  2459. background: rgba(31, 140, 11, 0.8);
  2460. padding: 0px 2px;
  2461. }
  2462. /* The revision version of the server's manifest. */
  2463. .serverListingRevision {
  2464. color: #969696;
  2465. font-size: 10px;
  2466. line-height: 12px;
  2467. padding: 0px 5px;
  2468. }
  2469. /* Star which indicates the default (main) server. */
  2470. .serverListingStarWrapper {
  2471. display: flex;
  2472. align-items: center;
  2473. cursor: pointer;
  2474. height: 12px;
  2475. position: relative;
  2476. }
  2477. /* Tooltip which displays when hovering over the star. */
  2478. .serverListingStarTooltip {
  2479. visibility: hidden;
  2480. opacity: 0;
  2481. width: 65px;
  2482. background-color: rgba(0, 0, 0, 0.40);
  2483. text-align: center;
  2484. border-radius: 4px;
  2485. position: absolute;
  2486. z-index: 1;
  2487. left: 130%;
  2488. font-size: 10px;
  2489. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  2490. }
  2491. .serverListingStarTooltip::after {
  2492. content: " ";
  2493. position: absolute;
  2494. top: 50%;
  2495. right: 100%; /* To the left of the tooltip */
  2496. margin-top: -5px;
  2497. border-width: 5px;
  2498. border-style: solid;
  2499. border-color: transparent rgba(0, 0, 0, 0.40) transparent transparent;
  2500. }
  2501. .serverListingStarWrapper:hover .serverListingStarTooltip {
  2502. visibility: visible;
  2503. opacity: 1;
  2504. transition-delay:0s;
  2505. }
  2506. /* Content container which contains the server select actions. */
  2507. #serverSelectActions,
  2508. #accountSelectActions {
  2509. display: flex;
  2510. flex-direction: column;
  2511. justify-content: center;
  2512. align-items: center;
  2513. margin-top: 25px;
  2514. }
  2515. /* Server selection confirm button styles. */
  2516. #serverSelectConfirm,
  2517. #accountSelectConfirm {
  2518. background: none;
  2519. border: 1px solid #ffffff;
  2520. color: white;
  2521. font-family: 'Avenir Medium';
  2522. font-weight: bold;
  2523. border-radius: 2px;
  2524. padding: 0px 8.1px;
  2525. cursor: pointer;
  2526. transition: 0.25s ease;
  2527. min-height: 20.67px;
  2528. }
  2529. #serverSelectConfirm:hover,
  2530. #serverSelectConfirm:focus,
  2531. #accountSelectConfirm:hover,
  2532. #accountSelectConfirm:focus {
  2533. box-shadow: 0px 0px 10px 0px #fff;
  2534. outline: none;
  2535. }
  2536. #serverSelectConfirm:active,
  2537. #accountSelectConfirm:active {
  2538. border-color: rgba(255, 255, 255, 0.75);
  2539. color: rgba(255, 255, 255, 0.75);
  2540. }
  2541. /* Server selection cancel button styles. */
  2542. #serverSelectCancel,
  2543. #accountSelectCancel {
  2544. font-weight: bold;
  2545. font-size: 10px;
  2546. text-decoration: none;
  2547. padding-top: 2.5px;
  2548. color: rgba(202, 202, 202, 0.75);
  2549. transition: 0.25s ease;
  2550. background: none;
  2551. border: none;
  2552. outline: none;
  2553. cursor: pointer;
  2554. }
  2555. #serverSelectCancel:hover,
  2556. #serverSelectCancel:focus,
  2557. #accountSelectCancel:hover,
  2558. #accountSelectCancel:focus {
  2559. color: rgba(255, 255, 255, 0.75);
  2560. }
  2561. #serverSelectCancel:active,
  2562. #accountSelectCancel:active {
  2563. color: rgba(165, 165, 165, 0.75);
  2564. }
  2565. /*******************************************************************************
  2566. * *
  2567. * Loading Element (app.ejs) *
  2568. * *
  2569. ******************************************************************************/
  2570. /* Loading container, placed above everything. */
  2571. #loadingContainer {
  2572. position: absolute;
  2573. z-index: 400;
  2574. display: flex;
  2575. align-items: center;
  2576. justify-content: center;
  2577. width: 100%;
  2578. height: calc(100% - 22px);
  2579. }
  2580. /* Loading content container. */
  2581. #loadingContent {
  2582. position: relative;
  2583. display: flex;
  2584. flex-direction: column;
  2585. align-items: center;
  2586. justify-content: center;
  2587. }
  2588. /* Spinner container. */
  2589. #loadSpinnerContainer {
  2590. position: relative;
  2591. display: flex;
  2592. align-items: center;
  2593. justify-content: center;
  2594. }
  2595. /* Stationary image for the spinner. */
  2596. #loadCenterImage {
  2597. position: absolute;
  2598. width: 277px;
  2599. height: auto;
  2600. }
  2601. /* Rotating image for the spinner. */
  2602. #loadSpinnerImage {
  2603. width: 280px;
  2604. height: auto;
  2605. z-index: 400;
  2606. }
  2607. /* Rotating animation for the spinner. */
  2608. @keyframes rotating {
  2609. from {
  2610. transform: rotate(0deg);
  2611. }
  2612. to {
  2613. transform: rotate(360deg);
  2614. }
  2615. }
  2616. /* Class which is applied when the spinner image is spinning. */
  2617. .rotating {
  2618. animation: rotating 10s linear infinite;
  2619. }