launcher.css 57 KB

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