launcher.css 61 KB

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