launcher.css 63 KB

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