launcher.css 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845
  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. /*body {
  34. background: url('./../images/backgrounds/0.jpg') no-repeat center center fixed;
  35. background-size: cover;
  36. }*/
  37. /*******************************************************************************
  38. * *
  39. * Frame Styles (frame.ejs) *
  40. * *
  41. ******************************************************************************/
  42. /* Frame Bar */
  43. #frameBar {
  44. position: relative;
  45. z-index: 100;
  46. display: flex;
  47. flex-direction: column;
  48. background: rgba(1, 2, 1, 0.5);
  49. -webkit-user-select: none;
  50. }
  51. /* Undraggable region on the top of the frame. */
  52. #frameResizableTop {
  53. height: 2px;
  54. width: 100%;
  55. -webkit-app-region: no-drag;
  56. }
  57. /* Flexbox to wrap the main frame content. */
  58. #frameMain {
  59. display: flex;
  60. height: 20px
  61. }
  62. /* Undraggable region on the left and right of the frame. */
  63. .frameResizableVert {
  64. width: 2px;
  65. -webkit-app-region: no-drag;
  66. }
  67. /* Main frame content for windows. */
  68. #frameContentWin {
  69. display: flex;
  70. justify-content: space-between;
  71. width: 100%;
  72. -webkit-app-region: drag;
  73. }
  74. /* Main frame content for darwin. */
  75. #frameContentDarwin {
  76. display: flex;
  77. justify-content: flex-start;
  78. align-items: center;
  79. width: 100%;
  80. -webkit-app-region: drag;
  81. }
  82. /* Frame logo (windows only). */
  83. #frameImageDock {
  84. width: 100px;
  85. display: flex;
  86. justify-content: center;
  87. align-items: center;
  88. position: relative;
  89. }
  90. #frameImage {
  91. height: 15px;
  92. filter: grayscale(100%);
  93. }
  94. /* Windows frame button dock. */
  95. #frameButtonDockWin {
  96. -webkit-app-region: no-drag !important;
  97. position: relative;
  98. top: -2px;
  99. right: -2px;
  100. height: 22px;
  101. }
  102. #frameButtonDockWin > .frameButton:not(:first-child) {
  103. margin-left: -4px;
  104. }
  105. /* Darwin frame button dock: NaN; */
  106. #frameButtonDockDarwin {
  107. -webkit-app-region: no-drag !important;
  108. position: relative;
  109. top: -1px;
  110. right: -1px;
  111. }
  112. /* Windows Frame Button Styles. */
  113. .frameButton {
  114. background: none;
  115. border: none;
  116. height: 22px;
  117. width: 39px;
  118. cursor: pointer;
  119. }
  120. .frameButton:hover,
  121. .frameButton:focus {
  122. background: rgba(189, 189, 189, 0.43);
  123. }
  124. .frameButton:active {
  125. background: rgba(156, 156, 156, 0.43);
  126. }
  127. .frameButton:focus {
  128. outline: 0px;
  129. }
  130. /* Close button is red. */
  131. #frameButton_close:hover,
  132. #frameButton_close:focus {
  133. background: rgba(255, 53, 53, 0.61) !important;
  134. }
  135. #frameButton_close:active {
  136. background: rgba(235, 0, 0, 0.61) !important;
  137. }
  138. /* Darwin Frame Button Styles. */
  139. .frameButtonDarwin {
  140. height: 12px;
  141. width: 12px;
  142. border-radius: 50%;
  143. border: 0px;
  144. margin-left: 5px;
  145. -webkit-app-region: no-drag !important;
  146. cursor: pointer;
  147. }
  148. .frameButtonDarwin:focus {
  149. outline: 0px;
  150. }
  151. #frameButtonDarwin_close {
  152. background-color: #e74c32;
  153. }
  154. #frameButtonDarwin_close:hover,
  155. #frameButtonDarwin_close:focus {
  156. background-color: #FF9A8A;
  157. }
  158. #frameButtonDarwin_close:active {
  159. background-color: #ff8d7b;
  160. }
  161. #frameButtonDarwin_minimize {
  162. background-color: #fed045;
  163. }
  164. #frameButtonDarwin_minimize:hover,
  165. #frameButtonDarwin_minimize:focus {
  166. background-color: #FFE9A9;
  167. }
  168. #frameButtonDarwin_minimize:active {
  169. background-color: #ffde7b;
  170. }
  171. #frameButtonDarwin_restoredown {
  172. background-color: #96e734;
  173. }
  174. #frameButtonDarwin_restoredown:hover,
  175. #frameButtonDarwin_restoredown:focus {
  176. background-color: #D6FFA6;
  177. }
  178. #frameButtonDarwin_restoredown:active {
  179. background-color: #bfff76;
  180. }
  181. /*******************************************************************************
  182. * *
  183. * Welcome View (welcome.ejs) *
  184. * *
  185. ******************************************************************************/
  186. #welcomeContainer {
  187. position: relative;
  188. display: flex;
  189. justify-content: center;
  190. align-items: center;
  191. height: 100%;
  192. width: 100%;
  193. transition: 0.25s ease;
  194. }
  195. #welcomeContent {
  196. display: flex;
  197. flex-direction: column;
  198. justify-content: center;
  199. align-items: center;
  200. width: 50%;
  201. top: -10%;
  202. position: relative;
  203. }
  204. /*
  205. .cloudDiv {
  206. position: absolute;
  207. height: 100%;
  208. width: 100%;
  209. display: flex;
  210. flex-direction: column;
  211. }
  212. .cloudTop {
  213. height: 50%;
  214. width: 100%;
  215. background-image: url('../images/cloudTrans.png');
  216. animation: clouds1 80s linear infinite;
  217. background-size: cover;
  218. }
  219. .cloudBottom {
  220. height: 50%;
  221. width: 100%;
  222. background-image: url('../images/cloudTrans2.png');
  223. animation: clouds2 70s linear infinite;
  224. background-size: cover;
  225. }
  226. @keyframes clouds1 {
  227. to {
  228. background-position: 200%;
  229. }
  230. }
  231. @keyframes clouds2 {
  232. to {
  233. background-position: 230%;
  234. }
  235. }
  236. */
  237. #welcomeImageSeal {
  238. border-radius: 50%;
  239. border: 2px solid #cad7e1;
  240. background: rgba(1, 2, 1, 0.5);
  241. height: 125px;
  242. width: 125px;
  243. box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);
  244. margin-bottom: 5%;
  245. margin-top: 10%;
  246. }
  247. #welcomeHeader {
  248. font-family: 'Avenir Medium';
  249. text-align: center;
  250. color: white;
  251. margin-bottom: 25px;
  252. letter-spacing: 1px;
  253. font-size: 20px;
  254. text-shadow: white 0px 0px 0px;
  255. }
  256. #welcomeDescription {
  257. font-family: 'Avenir Book';
  258. text-align: justify;
  259. color: white;
  260. font-size: 13px;
  261. font-weight: 100;
  262. text-shadow: rgba(255, 255, 255, 0.75) 0px 0px 20px
  263. }
  264. #welcomeDescCTA {
  265. font-family: 'Avenir Book';
  266. text-align: center;
  267. color: white;
  268. font-size: 14px;
  269. font-weight: 100;
  270. text-shadow: rgba(255, 255, 255, 0.75) 0px 0px 20px
  271. }
  272. /* Login button styles. */
  273. #welcomeButton {
  274. background: none;
  275. color: #fff;
  276. font-weight: bold;
  277. font-family: 'Avenir Book';
  278. letter-spacing: 2px;
  279. border: none;
  280. padding: 15px 5px;
  281. margin: 10px 0px;
  282. cursor: pointer;
  283. position: relative;
  284. right: -20px;
  285. transition: 0.5s ease;
  286. margin-top: 5%;
  287. margin-bottom: -5%;
  288. }
  289. #welcomeButton:disabled {
  290. color: rgba(255, 255, 255, 0.75);
  291. pointer-events: none;
  292. }
  293. #welcomeButton:hover,
  294. #welcomeButton:focus {
  295. text-shadow: 0px 0px 20px #fff;
  296. outline: none;
  297. }
  298. #welcomeButton:active {
  299. color: #c7c7c7;
  300. text-shadow: 0px 0px 20px #c7c7c7;
  301. }
  302. #welcomeSVG {
  303. -webkit-transform: translate3d(0, 0, 0);
  304. overflow: visible;
  305. transform: rotate(90deg);
  306. margin-left: 20px;
  307. transition: 0.25s ease;
  308. width: 20px;
  309. height: 20px;
  310. }
  311. #welcomeButton:hover #welcomeSVG,
  312. #welcomeButton:focus #welcomeSVG {
  313. -webkit-filter: drop-shadow(0px 0px 2px #fff);
  314. }
  315. #welcomeButton:active #welcomeSVG .arrowLine {
  316. stroke: #c7c7c7;
  317. }
  318. #welcomeButton:active #welcomeSVG {
  319. -webkit-filter: drop-shadow(0px 0px 2px #c7c7c7);
  320. }
  321. #welcomeButton:disabled #welcomeSVG .arrowLine {
  322. stroke: rgba(255, 255, 255, 0.75);
  323. }
  324. #welcomeButtonContent {
  325. display: flex;
  326. align-items: center;
  327. }
  328. /*******************************************************************************
  329. * *
  330. * Login View (login.ejs) *
  331. * *
  332. ******************************************************************************/
  333. /* Login span styles. */
  334. .loginSpan {
  335. font-family: 'Avenir Book';
  336. font-size: 14px;
  337. color: #fff;
  338. font-weight: bold;
  339. }
  340. /* Styles for dimmer login span. */
  341. .loginSpanDim {
  342. font-family: 'Avenir Book';
  343. font-size: 12px;
  344. color: #848484;
  345. font-weight: bold;
  346. }
  347. /* Main login container. */
  348. #loginContainer {
  349. position: relative;
  350. display: flex;
  351. justify-content: center;
  352. align-items: center;
  353. height: 100%;
  354. width: 100%;
  355. transition: filter 0.25s ease;
  356. }
  357. /* Login content wrapper. */
  358. #loginContent {
  359. display: flex;
  360. justify-content: center;
  361. align-items: center;
  362. height: 100%;
  363. padding: 0px 25px;
  364. }
  365. /* Login form. */
  366. #loginForm {
  367. display: flex;
  368. flex-direction: column;
  369. justify-content: center;
  370. align-items: center;
  371. }
  372. /* Login form anchor styles. */
  373. #loginForm a {
  374. font-family: 'Avenir Book';
  375. font-size: 12px;
  376. color: #848484;
  377. font-weight: bold;
  378. text-decoration: none;
  379. transition: 0.25s ease;
  380. }
  381. #loginForm a:hover,
  382. #loginForm a:focus {
  383. color: #a2a2a2;
  384. outline: none;
  385. }
  386. #loginForm a:active {
  387. color: #8b8b8b;
  388. }
  389. /* Logo on login form. */
  390. #loginImageSeal {
  391. border-radius: 50%;
  392. border: 2px solid #cad7e1;
  393. background: rgba(1, 2, 1, 0.5);
  394. height: 125px;
  395. width: 125px;
  396. box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);
  397. margin-bottom: 20px;
  398. }
  399. /* Header on login view. */
  400. #loginSubheader {
  401. font-family: 'Avenir Medium';
  402. margin-bottom: 25px;
  403. font-size: 12px;
  404. letter-spacing: 1px;
  405. }
  406. /* Container to organize login field elements. */
  407. .loginFieldContainer {
  408. position: relative;
  409. display: flex;
  410. flex-direction: column;
  411. justify-content: center;
  412. align-items: center;
  413. }
  414. /* SVG icons on the login view. */
  415. .loginSVG {
  416. fill: #fff;
  417. height: 20px;
  418. width: 20px;
  419. }
  420. /* Span which displays errors related to login field content. */
  421. .loginErrorSpan {
  422. font-family: 'Avenir Medium';
  423. font-weight: bold;
  424. font-size: 8px;
  425. color: #ff1b0c;
  426. width: 100%;
  427. text-align: right;
  428. position: absolute;
  429. top: 7px;
  430. opacity: 0;
  431. transition: 0.25s ease;
  432. }
  433. .shake {
  434. animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  435. }
  436. @keyframes shake {
  437. 10%, 90% {
  438. transform: translate3d(-1px, 0, 0);
  439. }
  440. 20%, 80% {
  441. transform: translate3d(2px, 0, 0);
  442. }
  443. 30%, 50%, 70% {
  444. transform: translate3d(-4px, 0, 0);
  445. }
  446. 40%, 60% {
  447. transform: translate3d(4px, 0, 0);
  448. }
  449. }
  450. /* Login text input styles. */
  451. .loginField {
  452. font-family: 'Avenir Book';
  453. background: none;
  454. border-width: 1.5px 0px 0px 0px;
  455. border-style: solid;
  456. width: 250px;
  457. margin-bottom: 20px;
  458. border-color: #fff;
  459. color: rgba(255, 255, 255, 0.75);
  460. font-weight: bold;
  461. text-align: center;
  462. box-sizing: border-box;
  463. padding: 7.5px;
  464. font-size: 10px;
  465. letter-spacing: 1px;
  466. }
  467. .loginField:focus {
  468. outline: none;
  469. }
  470. .loginField:disabled {
  471. color: rgba(255, 255, 255, 0.50);
  472. }
  473. .loginField::-webkit-input-placeholder {
  474. color: rgba(255, 255, 255, 0.75);
  475. font-size: 10px;
  476. letter-spacing: 1px;
  477. text-align: center;
  478. font-weight: bold;
  479. }
  480. .loginField:focus::-webkit-input-placeholder {
  481. color: transparent;
  482. }
  483. /* Add spacing between password field and options bar. */
  484. #labelPassword {
  485. margin-bottom: 13px;
  486. }
  487. /* Container which contains the forgot and remember options. */
  488. #loginOptions {
  489. display: flex;
  490. justify-content: space-between;
  491. width: 100%;
  492. }
  493. /* Remember option text. */
  494. #loginRememberText {
  495. padding-right: 10px;
  496. transition: 0.25s ease;
  497. }
  498. /* Login button styles. */
  499. #loginButton {
  500. background: none;
  501. color: #fff;
  502. font-weight: bold;
  503. font-family: 'Avenir Book';
  504. letter-spacing: 2px;
  505. border: none;
  506. padding: 15px 5px;
  507. margin: 10px 0px;
  508. cursor: pointer;
  509. position: relative;
  510. right: -20px;
  511. transition: 0.5s ease;
  512. }
  513. #loginButton:disabled {
  514. color: rgba(255, 255, 255, 0.75);
  515. pointer-events: none;
  516. }
  517. #loginButton[loading] {
  518. color: #fff;
  519. }
  520. #loginButton:hover,
  521. #loginButton:focus {
  522. text-shadow: 0px 0px 20px #fff;
  523. outline: none;
  524. }
  525. #loginButton:active {
  526. color: #c7c7c7;
  527. text-shadow: 0px 0px 20px #c7c7c7;
  528. }
  529. #loginSVG {
  530. -webkit-transform: translate3d(0, 0, 0);
  531. overflow: visible;
  532. transform: rotate(90deg);
  533. margin-left: 20px;
  534. transition: 0.25s ease;
  535. width: 20px;
  536. height: 20px;
  537. }
  538. #loginButton:hover #loginSVG,
  539. #loginButton:focus #loginSVG {
  540. -webkit-filter: drop-shadow(0px 0px 2px #fff);
  541. }
  542. #loginButton:active #loginSVG .arrowLine {
  543. stroke: #c7c7c7;
  544. }
  545. #loginButton:active #loginSVG {
  546. -webkit-filter: drop-shadow(0px 0px 2px #c7c7c7);
  547. }
  548. #loginButton:disabled #loginSVG .arrowLine {
  549. stroke: rgba(255, 255, 255, 0.75);
  550. }
  551. #loginButtonContent {
  552. display: flex;
  553. align-items: center;
  554. }
  555. #loginButton .circle-loader,
  556. #loginButton[loading] #loginSVG {
  557. display: none;
  558. }
  559. #loginButton[loading] .circle-loader,
  560. #loginButton #loginSVG {
  561. display: initial;
  562. }
  563. .circle-loader {
  564. margin-left: 20px;
  565. border: 2px solid rgba(255, 255, 255, 0.5);
  566. border-left-color: #ffffff;
  567. animation-name: loader-spin;
  568. animation-duration: 1s;
  569. animation-iteration-count: infinite;
  570. animation-timing-function: linear;
  571. position: relative;
  572. display: inline-block;
  573. vertical-align: top;
  574. border-radius: 50%;
  575. width: 16px;
  576. height: 16px;
  577. }
  578. .load-complete {
  579. animation: none;
  580. border-color: #ffffff;
  581. transition: border 500ms ease-out;
  582. }
  583. .checkmark {
  584. display: none;
  585. }
  586. .checkmark.draw:after {
  587. animation-duration: 800ms;
  588. animation-timing-function: ease;
  589. animation-name: checkmark;
  590. transform: scaleX(-1) rotate(135deg);
  591. }
  592. .checkmark:after {
  593. opacity: 1;
  594. height: 8px;
  595. width: 4px;
  596. transform-origin: left top;
  597. border-right: 2px solid #ffffff;
  598. border-top: 2px solid #ffffff;
  599. content: '';
  600. left: 2px;
  601. top: 8px;
  602. position: absolute;
  603. }
  604. @keyframes loader-spin {
  605. 0% {
  606. transform: rotate(0deg);
  607. }
  608. 100% {
  609. transform: rotate(360deg);
  610. }
  611. }
  612. @keyframes checkmark {
  613. 0% {
  614. height: 0;
  615. width: 0;
  616. opacity: 1;
  617. }
  618. 20% {
  619. height: 0;
  620. width: 4px;
  621. opacity: 1;
  622. }
  623. 40% {
  624. height: 8px;
  625. width: 4px;
  626. opacity: 1;
  627. }
  628. 100% {
  629. height: 8px;
  630. width: 4px;
  631. opacity: 1;
  632. }
  633. }
  634. /*.spinningCircle {
  635. margin-left: 20px;
  636. height: 16px;
  637. width: 16px;
  638. border-radius: 50%;
  639. border: 2px solid rgba(255,255,255,0);
  640. border-top-color: #ffffff;
  641. border-right-color: #ffffff;
  642. border-left-color: rgba(255, 255, 255, 0.50);
  643. border-bottom-color: rgba(255, 255, 255, 0.50);
  644. animation: single2 4s infinite linear;
  645. }
  646. @keyframes single2 {
  647. 0% {
  648. transform: rotate(0deg);
  649. }
  650. 100% {
  651. transform: rotate(720deg);
  652. }
  653. }*/
  654. /* Disclaimer container. */
  655. #loginDisclaimer {
  656. display: flex;
  657. flex-direction: column;
  658. justify-content: center;
  659. align-items: center;
  660. }
  661. /* Add spacing between register anchor and disclaimer. */
  662. #loginRegisterSpan {
  663. margin-bottom: 5px;
  664. }
  665. /* Disclaimer text styles. */
  666. .loginDisclaimerText {
  667. font-family: 'Avenir Book';
  668. font-size: 7px;
  669. color: #848484;
  670. font-weight: bold;
  671. text-align: center;
  672. }
  673. /* * *
  674. * Login View | Custom Checkbox
  675. * * */
  676. /* Checkbox container. */
  677. #checkmarkContainer {
  678. display: flex;
  679. justify-content: flex-end;
  680. align-items: center;
  681. position: relative;
  682. cursor: pointer;
  683. font-size: 22px;
  684. -webkit-user-select: none;
  685. }
  686. /* Hide the default checkbox. */
  687. #checkmarkContainer input {
  688. opacity: 0;
  689. cursor: pointer;
  690. position: absolute;
  691. }
  692. /* Create a custom checkbox. */
  693. .loginCheckmark {
  694. position: relative;
  695. height: 10px;
  696. width: 10px;
  697. border: 1px solid #848484;
  698. border-radius: 1px;
  699. background: none;
  700. transition: 0.25s ease;
  701. }
  702. /* On hover and focus, add a grey border color. */
  703. #checkmarkContainer:hover input ~ *,
  704. #checkmarkContainer input:focus ~ * {
  705. color: #a2a2a2;
  706. border-color: #a2a2a2;
  707. }
  708. /* On keydown, darken the checkbox a bit. */
  709. #checkmarkContainer input:active ~ *:not(#loginRememberText) {
  710. color: #8d8d8d;
  711. border-color: #8d8d8d;
  712. }
  713. #checkmarkContainer[disabled] {
  714. pointer-events: none;
  715. }
  716. /* For checked -> #checkmarkContainer input:checked ~ * */
  717. /* Create the checkmark/indicator (hidden when not checked). */
  718. .loginCheckmark:after {
  719. content: "";
  720. display: none;
  721. }
  722. /* Show the checkmark when checked. */
  723. #checkmarkContainer input:checked ~ .loginCheckmark:after {
  724. display: block;
  725. }
  726. /* Style the checkmark/indicator. */
  727. #checkmarkContainer .loginCheckmark:after {
  728. position: absolute;
  729. left: 3.5px;
  730. top: 0.5px;
  731. width: 2px;
  732. height: 6px;
  733. border: solid #a2a2a2;
  734. border-width: 0 2px 2px 0;
  735. transform: rotate(45deg);
  736. }
  737. /* * *
  738. * Login View | Loader
  739. * * */
  740. /* Will reuse this elsewhere down the line.
  741. #loginLoading {
  742. position: absolute;
  743. display: flex;
  744. align-items: center;
  745. justify-content: center;
  746. width: 100%;
  747. height: 100%;
  748. background: rgba(0, 0, 0, 0.80);
  749. }
  750. #loginLoadingContent {
  751. position: relative;
  752. display: flex;
  753. flex-direction: column;
  754. align-items: center;
  755. justify-content: center;
  756. }
  757. #loadSpinnerContainer {
  758. position: relative;
  759. display: flex;
  760. align-items: center;
  761. justify-content: center;
  762. }
  763. #loadCenterImage {
  764. position: absolute;
  765. width: 200px;
  766. height: auto;
  767. }
  768. #loadSpinnerImage {
  769. width: 280px;
  770. height: auto;
  771. }
  772. #loadDescText {
  773. color: #f1eada;
  774. font-family: 'Avenir Medium';
  775. font-weight: bold;
  776. letter-spacing: 1px;
  777. font-size: 16px;
  778. }
  779. @keyframes rotating {
  780. from {
  781. transform: rotate(0deg);
  782. }
  783. to {
  784. transform: rotate(360deg);
  785. }
  786. }
  787. .rotating {
  788. animation: rotating 10s linear infinite;
  789. }*/
  790. /*
  791. #login_filter {
  792. height: calc(100% - 22px);
  793. width: 100%;
  794. z-index: 9000;
  795. position: absolute;
  796. filter: blur(8px) contrast(0.9) brightness(1.0);
  797. background: url('./../images/backgrounds/0.jpg') no-repeat center center fixed;
  798. transform: scale(1.2);
  799. background-size: cover;
  800. }
  801. */
  802. /*******************************************************************************
  803. * *
  804. * Landing View (Structural Styles) *
  805. * *
  806. ******************************************************************************/
  807. /* Main content container. */
  808. #landingContainer {
  809. height: 100%;
  810. position: relative;
  811. }
  812. /* Upper content container. */
  813. #landingContainer > #upper {
  814. position: relative;
  815. transition: top 2s ease;
  816. top: 0px;
  817. height: 77%;
  818. display: flex;
  819. }
  820. #landingContainer > #upper > #left {
  821. display: inline-flex;
  822. width: 15%;
  823. height: 100%;
  824. justify-content: flex-end;
  825. }
  826. #landingContainer > #upper > #content {
  827. display: inline-flex;
  828. width: 70%;
  829. height: 100%;
  830. }
  831. #landingContainer > #upper > #right {
  832. display: inline-flex;
  833. width: 15%;
  834. height: 100%;
  835. }
  836. /* Lower content container. */
  837. #landingContainer > #lower {
  838. height: 23%;
  839. display: flex;
  840. background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  841. }
  842. #landingContainer > #lower > #left {
  843. position: relative;
  844. transition: top 2s ease;
  845. top: 0px;
  846. height: 100%;
  847. width: 33%;
  848. display: inline-flex;
  849. justify-content: center;
  850. }
  851. #landingContainer > #lower > #left #content {
  852. position: relative;
  853. top: 25px;
  854. display: inline-flex;
  855. line-height: 24px;
  856. left: 50px;
  857. }
  858. #landingContainer > #lower > #center {
  859. position: relative;
  860. transition: top 2s ease;
  861. top: 0px;
  862. height: 100%;
  863. width: 34%;
  864. display: inline-flex;
  865. justify-content: center;
  866. }
  867. #landingContainer > #lower > #center #content {
  868. position: relative;
  869. transition: top 2s ease;
  870. top: 10px;
  871. }
  872. #landingContainer > #lower > #right {
  873. position: relative;
  874. transition: top 2s ease;
  875. top: 0px;
  876. height: 100%;
  877. width: 33%;
  878. display: inline-flex;
  879. }
  880. /*******************************************************************************
  881. * *
  882. * Landing View (Top Styles) *
  883. * *
  884. ******************************************************************************/
  885. /* * *
  886. * Landing View (Top Styles) | Left Content
  887. * * */
  888. /* Logo image. */
  889. /*#image_seal {
  890. height: 70px;
  891. width: auto;
  892. position: relative;
  893. margin-top: 50px;
  894. border: 2px solid white;
  895. border-radius: 50%;
  896. box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);
  897. }*/
  898. #image_seal {
  899. height: 70px;
  900. width: auto;
  901. position: relative;
  902. border: 2px solid white;
  903. box-sizing: border-box;
  904. border-radius: 50%;
  905. }
  906. #image_seal_container {
  907. position: relative;
  908. height: 70px;
  909. width: 70px;
  910. border-radius: 50%;
  911. margin-top: 50px;
  912. }
  913. #image_seal_container[update]{
  914. cursor: pointer
  915. }
  916. #image_seal_container[update]:before,
  917. #image_seal_container[update]:after {
  918. cursor: pointer;
  919. position: absolute;
  920. content: '';
  921. height: 100%;
  922. width: 100%;
  923. top: 0%;
  924. left: 0%;
  925. border-radius: 50%;
  926. box-shadow: 0 0 15px #43c628;
  927. animation: glow-grow 4s ease-out infinite;
  928. background: rgba(0, 0, 0, 0.15);
  929. }
  930. #image_seal_container[update]:before {
  931. animation-delay: 2s;
  932. }
  933. #updateAvailableTooltip {
  934. cursor: pointer;
  935. visibility: hidden;
  936. opacity: 0;
  937. width: 100px;
  938. height: 15px;
  939. background-color: rgb(0, 0, 0);
  940. color: #fff;
  941. text-align: center;
  942. border-radius: 4px;
  943. padding: 2px;
  944. position: absolute;
  945. z-index: 1;
  946. top: 115%;
  947. left: -17.5px;
  948. font-family: 'Avenir Medium';
  949. font-size: 12px;
  950. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  951. }
  952. #updateAvailableTooltip::after {
  953. content: " ";
  954. position: absolute;
  955. left: 50%;
  956. bottom: 100%;
  957. margin-left: -5px;
  958. border-width: 5px;
  959. border-style: solid;
  960. border-color: transparent transparent rgb(0, 0, 0) transparent;
  961. }
  962. #image_seal_container[update]:hover #updateAvailableTooltip {
  963. visibility: visible;
  964. opacity: 1;
  965. transition-delay: 0s;
  966. }
  967. @keyframes glow-grow {
  968. 0% {
  969. opacity: 0;
  970. transform: scale(1);
  971. }
  972. 80% {
  973. opacity: 1;
  974. }
  975. 100% {
  976. transform: scale(1.5);
  977. opacity: 0;
  978. }
  979. }
  980. /*
  981. #image_seal {
  982. height: 70px;
  983. width: auto;
  984. position: relative;
  985. border-radius: 50%;
  986. box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);
  987. }
  988. #image_seal_container {
  989. position: relative;
  990. height: 70px;
  991. width: 70px;
  992. border-radius: 50%;
  993. border: 2px solid white;
  994. margin-top: 50px;
  995. }
  996. #image_seal_container:before,
  997. #image_seal_container:after {
  998. position: absolute;
  999. content: '';
  1000. height: 100%;
  1001. width: 100%;
  1002. top: 0%;
  1003. left: 0%;
  1004. border-radius: 50%;
  1005. box-shadow: 0 0 15px #43c628;
  1006. animation: glow-grow 3.25s ease-out infinite;
  1007. }
  1008. #image_seal_container{
  1009. animation-delay: 0s;
  1010. }
  1011. @keyframes glow-grow {
  1012. 0% {
  1013. opacity: 0.8;
  1014. transform: scale(1.02);
  1015. }
  1016. 50% {
  1017. opacity: 1;
  1018. transform: scale(1.07);
  1019. }
  1020. 100% {
  1021. transform: scale(1.02);
  1022. opacity: 0.8;
  1023. }
  1024. }
  1025. */
  1026. /* * *
  1027. * Landing View (Bottom Styles) | Right Content
  1028. * * */
  1029. /* Wrapper container for top, right content. */
  1030. #rightContainer {
  1031. display: flex;
  1032. flex-direction: column;
  1033. position: relative;
  1034. top: 50px;
  1035. align-items: flex-start;
  1036. height: calc(100% - 50px);
  1037. }
  1038. /* Right hand user content container. */
  1039. #user_content {
  1040. display: flex;
  1041. align-items: center;
  1042. justify-content: center;
  1043. box-sizing: border-box;
  1044. height: 75px;
  1045. position: relative;
  1046. }
  1047. /* User profile avatar container. */
  1048. #avatarContainer {
  1049. border-radius: 50%;
  1050. border: 2px solid #cad7e1;
  1051. box-sizing: border-box;
  1052. background: rgba(1, 2, 1, 0.5);
  1053. height: 70px;
  1054. width: 70px;
  1055. box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);
  1056. overflow: hidden;
  1057. position: relative;
  1058. background-image: url('https://cdn.discordapp.com/avatars/169197209630277642/6650b5a50e1cb3d00a79b9b88b9a0cd4.png');
  1059. background-size: contain;
  1060. }
  1061. /* Avatar edit overlay. */
  1062. #avatarOverlay {
  1063. opacity: 0;
  1064. position: absolute;
  1065. z-index: 1;
  1066. display: flex;
  1067. justify-content: center;
  1068. align-items: center;
  1069. font-family: 'Avenir Book';
  1070. color: #fff;
  1071. transition: 0.25s ease;
  1072. font-weight: bold;
  1073. letter-spacing: 2px;
  1074. background: linear-gradient(65deg, rgba(0, 0, 0, 0.4), rgba(136, 77, 77, 0.4) 60%);
  1075. -webkit-user-select: none;
  1076. cursor: pointer;
  1077. width: 100%;
  1078. height: 100%;
  1079. border-radius: 50%;
  1080. }
  1081. #avatarOverlay:hover {
  1082. opacity: 1;
  1083. }
  1084. /* User profile name text. */
  1085. #user_text {
  1086. font-family: 'Avenir Book';
  1087. font-size: 12px;
  1088. min-width: 135px;
  1089. font-weight: 900;
  1090. letter-spacing: 1px;
  1091. color: white;
  1092. text-shadow: 0px 0px 20px black;
  1093. position: absolute;
  1094. right: 95px;
  1095. text-align: right;
  1096. }
  1097. /* Social media icon content container. */
  1098. #mediaContent {
  1099. position: relative;
  1100. display: flex;
  1101. flex-direction: column;
  1102. margin-top: 25px;
  1103. height: calc(100% - 95px);
  1104. width: 70px;
  1105. align-items: center;
  1106. }
  1107. /* Social Media Icon division containers. */
  1108. #internalMedia, #externalMedia {
  1109. display: flex;
  1110. flex-direction: column;
  1111. }
  1112. /* Container object which wraps an icon to ensure fluid transitions. */
  1113. .mediaContainer {
  1114. display: flex;
  1115. justify-content: center;
  1116. align-items: center;
  1117. height: 27px;
  1118. }
  1119. /* Divider bar between the external and internal icons. */
  1120. .mediaDivider {
  1121. height: 1px;
  1122. width: 14px;
  1123. background: rgb(255, 255, 255);
  1124. margin: 10px 0px;
  1125. }
  1126. /* Social media icon shared styles. */
  1127. .mediaSVG {
  1128. fill: #ffffff;
  1129. height: 12px;
  1130. transition: 0.25s ease;
  1131. cursor: pointer;
  1132. height: 12px;
  1133. width: 25px;
  1134. }
  1135. .mediaSVG:hover, .mediaSVG:active {
  1136. height: 20px;
  1137. }
  1138. /* News icon colors. */
  1139. #newsSVG {
  1140. stroke: #ffffff;
  1141. }
  1142. /* Twitter icon colors. */
  1143. #twitterSVG:hover {
  1144. fill: #1da1f2;
  1145. }
  1146. #twitterSVG:active {
  1147. fill: #1b8dd4;
  1148. }
  1149. /* Instagram icon colors. */
  1150. #instagramSVG:hover {
  1151. fill: url('#instaFill')
  1152. /*fill: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); */
  1153. }
  1154. #instagramSVG:active {
  1155. fill: url('#instaFill')
  1156. }
  1157. /* Youtube icon colors. */
  1158. #youtubeSVG:hover {
  1159. fill: #f00;
  1160. }
  1161. #youtubeSVG:active {
  1162. fill: #ea0202;
  1163. }
  1164. /* Discord icon colors. */
  1165. #discordSVG:hover {
  1166. fill: #7288d9;
  1167. }
  1168. #discordSVG:active {
  1169. fill: #657ac4;
  1170. }
  1171. /*******************************************************************************
  1172. * *
  1173. * Landing View (Bottom Styles) *
  1174. * *
  1175. ******************************************************************************/
  1176. /* Style for a general label on the bottom of the landing view. */
  1177. .bot_label {
  1178. color: white;
  1179. font-family: 'Avenir Book';
  1180. font-size: 9px;
  1181. letter-spacing: 1px;
  1182. font-weight: bold;
  1183. text-shadow: 0px 0px 0px #bebcbb;
  1184. }
  1185. /* Divider used on the bottom of the landing view. */
  1186. .bot_divider {
  1187. height: 25px;
  1188. width: 2px;
  1189. background: rgba(107, 105, 105, 0.7);
  1190. margin-left: 20px;
  1191. margin-right: 20px;
  1192. }
  1193. /* * *
  1194. * Landing View (Bottom Styles) | Left Content
  1195. * * */
  1196. /* Maintains maximum width on the status bar. */
  1197. #server_status_wrapper {
  1198. display: inline-flex;
  1199. width: 75px;
  1200. }
  1201. /* Span which displays the player count of the selected server. */
  1202. #player_count {
  1203. color: #949494;
  1204. font-family: 'Avenir Book';
  1205. font-size: 8px;
  1206. font-weight: 900;
  1207. text-shadow: 0px 0px 20px #949494;
  1208. margin-left: 10px;
  1209. }
  1210. /* Icon which displays the status of the mojang services. */
  1211. #mojang_status_icon {
  1212. font-size: 30px;
  1213. color: #848484;
  1214. margin-left: 15px;
  1215. }
  1216. /* * *
  1217. * Landing View (Bottom Styles) | Center Content
  1218. * * */
  1219. /* Button which opens the menu view. */
  1220. #menu_button {
  1221. font-family: 'Avenir Book';
  1222. background: none;
  1223. border: none;
  1224. cursor: pointer;
  1225. }
  1226. /* Arrow image which floats above the menu button. */
  1227. #menu_img {
  1228. height: 11px;
  1229. margin-left: -2px;
  1230. }
  1231. /* Span which contains the menu button text. */
  1232. #menu_text {
  1233. color: white;
  1234. font-weight: 900;
  1235. letter-spacing: 2px;
  1236. text-shadow: 0px 0px 0px #bebcbb;
  1237. font-size: 11px;
  1238. line-height: 30px;
  1239. display: flex;
  1240. }
  1241. /* * *
  1242. * Landing View (Bottom Styles) | Right Content
  1243. * * */
  1244. /* Main launch content container. */
  1245. #landingContainer > #lower > #right #launch_content {
  1246. position: relative;
  1247. top: 25px;
  1248. display: inline-flex;
  1249. }
  1250. /* The launch button. */
  1251. #launch_button {
  1252. font-family: 'Avenir Book';
  1253. background: none;
  1254. border: none;
  1255. cursor: pointer;
  1256. color: #fff;
  1257. font-weight: 900;
  1258. letter-spacing: 2px;
  1259. text-shadow: 0px 0px 0px #bebcbb;
  1260. font-size: 20px;
  1261. padding: 0px;
  1262. transition: 0.25s ease;
  1263. outline: none;
  1264. }
  1265. #launch_button:hover,
  1266. #launch_button:focus {
  1267. text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff;
  1268. }
  1269. #launch_button:active {
  1270. color: #c7c7c7;
  1271. text-shadow: 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7;
  1272. }
  1273. #launch_button:disabled {
  1274. color: #c7c7c7;
  1275. cursor: default;
  1276. pointer-events: none;
  1277. }
  1278. /* Launch details main container, hidden until launch processing begins. */
  1279. #launch_details {
  1280. position: relative;
  1281. top: 25px;
  1282. display: none;
  1283. }
  1284. /* Left side of launch details container, displays percentage and a divider. */
  1285. #launch_details_left {
  1286. display: flex;
  1287. }
  1288. /* Span which displays percentage complete. */
  1289. #launch_progress_label {
  1290. color: white;
  1291. font-family: 'Avenir Book';
  1292. font-weight: 900;
  1293. letter-spacing: 1px;
  1294. text-shadow: 0px 0px 0px #bebcbb;
  1295. font-size: 20px;
  1296. min-width: 53.21px;
  1297. max-width: 53.21px;
  1298. text-align: right;
  1299. }
  1300. /* Right side of launch details container, displays progress bar and details. */
  1301. #launch_details_right {
  1302. display: flex;
  1303. flex-direction: column;
  1304. justify-content: center;
  1305. }
  1306. /* Button which opens the server selection view. */
  1307. #server_selection_button {
  1308. background: none;
  1309. border: none;
  1310. outline: none;
  1311. cursor: pointer;
  1312. line-height: 24px;
  1313. padding: 0px;
  1314. transition: 0.25s ease;
  1315. }
  1316. #server_selection_button:hover,
  1317. #server_selection_button:focus {
  1318. text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff, 0px 0px 20px #fff;
  1319. }
  1320. #server_selection_button:active {
  1321. color: #c7c7c7;
  1322. text-shadow: 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7, 0px 0px 20px #c7c7c7;
  1323. }
  1324. /* Progress bar styles. */
  1325. #launch_progress[value] {
  1326. height: 3px;
  1327. width: 265px;
  1328. -webkit-appearance: none;
  1329. }
  1330. #launch_progress[value]::-webkit-progress-bar {
  1331. background-color: transparent;
  1332. }
  1333. #launch_progress[value]::-webkit-progress-value {
  1334. background-color: #fff;
  1335. }
  1336. /* Span which displays information about the status of the launch process. */
  1337. #launch_details_text {
  1338. font-size: 11px;
  1339. text-overflow: ellipsis;
  1340. white-space: nowrap;
  1341. overflow: hidden;
  1342. }
  1343. /*******************************************************************************
  1344. * *
  1345. * Overlay View (overlay.ejs) *
  1346. * *
  1347. ******************************************************************************/
  1348. /* * *
  1349. * Overlay View (Main Content)
  1350. * * */
  1351. /* Overlay container, placed over the main div. */
  1352. #overlayContainer {
  1353. position: absolute;
  1354. z-index: 500;
  1355. top: 22px;
  1356. display: flex;
  1357. align-items: center;
  1358. justify-content: center;
  1359. width: 100%;
  1360. height: calc(100% - 22px);
  1361. background: rgba(0, 0, 0, 0.50);
  1362. }
  1363. /* Main overlay content. */
  1364. #overlayContent {
  1365. position: relative;
  1366. display: flex;
  1367. flex-direction: column;
  1368. align-items: center;
  1369. /*justify-content: space-between;*/
  1370. width: 300px;
  1371. /*height: 35%;*/
  1372. box-sizing: border-box;
  1373. padding: 15px 0px;
  1374. /* background-color: #424242; */
  1375. text-align: center;
  1376. }
  1377. /* Main overlay content anchor styles. */
  1378. #overlayContent a,
  1379. #overlayDismiss {
  1380. color: rgba(202, 202, 202, 0.75);
  1381. transition: 0.25s ease;
  1382. }
  1383. #overlayContent a:hover,
  1384. #overlayDismiss {
  1385. color: rgba(255, 255, 255, 0.75);
  1386. }
  1387. #overlayContent a:active,
  1388. #overlayDismiss {
  1389. color: rgba(165, 165, 165, 0.75);
  1390. }
  1391. /* Add spacing between overlay content elements. */
  1392. #overlayContent > *:first-child {
  1393. margin-top: 0px !important;
  1394. }
  1395. #overlayContent > *:last-child {
  1396. margin-bottom: 0px !important;
  1397. }
  1398. #overlayContent > * {
  1399. margin: 8px 0px;
  1400. }
  1401. /* Overlay title styles. */
  1402. #overlayTitle {
  1403. font-family: 'Avenir Medium';
  1404. font-size: 20px;
  1405. color: #fff;
  1406. font-weight: bold;
  1407. letter-spacing: 1px;
  1408. }
  1409. /* Overlay description styles. */
  1410. #overlayDesc {
  1411. font-family: 'Avenir Book';
  1412. font-size: 12px;
  1413. color: #fff;
  1414. font-weight: bold;
  1415. }
  1416. /* Div which contains action buttons. */
  1417. #overlayActionContainer {
  1418. display: flex;
  1419. flex-direction: column;
  1420. justify-content: center;
  1421. }
  1422. /* Overlay acknowledge button styles. */
  1423. #overlayAcknowledge {
  1424. background: none;
  1425. border: 1px solid #ffffff;
  1426. color: white;
  1427. font-family: 'Avenir Medium';
  1428. font-weight: bold;
  1429. border-radius: 2px;
  1430. padding: 0px 8.1px;
  1431. cursor: pointer;
  1432. transition: 0.25s ease;
  1433. }
  1434. #overlayAcknowledge:hover,
  1435. #overlayAcknowledge:focus {
  1436. box-shadow: 0px 0px 10px 0px #fff;
  1437. outline: none;
  1438. }
  1439. #overlayAcknowledge:active {
  1440. border-color: rgba(255, 255, 255, 0.75);
  1441. color: rgba(255, 255, 255, 0.75);
  1442. }
  1443. /* Overlay dismiss option styles. */
  1444. #overlayDismiss {
  1445. font-family: 'Avenir Book';
  1446. font-weight: bold;
  1447. font-size: 10px;
  1448. text-decoration: none;
  1449. padding-top: 2.5px;
  1450. background: none;
  1451. border: none;
  1452. outline: none;
  1453. cursor: pointer;
  1454. }
  1455. #overlayDismiss:hover {
  1456. color: rgba(255, 255, 255, 0.75);
  1457. }
  1458. #overlayDismiss:active {
  1459. color: rgba(165, 165, 165, 0.75);
  1460. }
  1461. /* * *
  1462. * Overlay View (Server Selection Content)
  1463. * * */
  1464. /* Server selection content container. */
  1465. #serverSelectContent {
  1466. display: flex;
  1467. flex-direction: column;
  1468. justify-content: center;
  1469. align-items: center;
  1470. height: 75%;
  1471. }
  1472. /* Server selection header. */
  1473. #serverSelectHeader {
  1474. font-family: 'Avenir Medium';
  1475. font-size: 20px;
  1476. font-weight: bold;
  1477. color: #fff;
  1478. margin-bottom: 25px;
  1479. }
  1480. /* Wrapper div for the list of available servers. */
  1481. #serverSelectList {
  1482. display: flex;
  1483. flex-direction: column;
  1484. align-items: center;
  1485. justify-content: center;
  1486. max-height: 65%;
  1487. min-height: 40%;
  1488. }
  1489. /* Scrollable div which lists the available servers. */
  1490. #serverSelectListScrollable {
  1491. padding: 0px 5px;
  1492. overflow-y: scroll;
  1493. }
  1494. #serverSelectListScrollable::-webkit-scrollbar {
  1495. width: 2px;
  1496. }
  1497. #serverSelectListScrollable::-webkit-scrollbar-track {
  1498. display: none;
  1499. }
  1500. #serverSelectListScrollable::-webkit-scrollbar-thumb {
  1501. border-radius: 10px;
  1502. box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.50);
  1503. }
  1504. /* Content container for a server listing. */
  1505. .serverListing {
  1506. border: none;
  1507. padding: 0px;
  1508. width: 375px;
  1509. min-height: 60px;
  1510. display: flex;
  1511. justify-content: flex-start;
  1512. align-items: center;
  1513. opacity: 0.6;
  1514. transition: 0.25s ease;
  1515. cursor: pointer;
  1516. position: relative;
  1517. background: rgba(131, 131, 131, 0.25);
  1518. }
  1519. .serverListing[selected] {
  1520. cursor: default;
  1521. opacity: 1.0;
  1522. }
  1523. .serverListing:hover,
  1524. .serverListing:focus {
  1525. outline: none;
  1526. opacity: 1.0;
  1527. }
  1528. /* Add spacing between server listings. */
  1529. #serverSelectListScrollable > .serverListing:not(:first-child):not(:last-child) {
  1530. margin: 5px 0px;
  1531. }
  1532. #serverSelectListScrollable > .serverListing:first-child {
  1533. margin-bottom: 5px;
  1534. }
  1535. #serverSelectListScrollable > .serverListing:last-child {
  1536. margin-top: 5px;
  1537. }
  1538. /* Server listing image. */
  1539. .serverListingImg {
  1540. margin: 0px 10px 0px 5px;
  1541. border: 1px solid #fff;
  1542. height: 50px;
  1543. width: 50px;
  1544. }
  1545. /* Content container for the server listing's details. */
  1546. .serverListingDetails {
  1547. display: flex;
  1548. flex-direction: column;
  1549. align-items: flex-start;
  1550. justify-content: space-between;
  1551. height: 50px;
  1552. }
  1553. /* The name of the server listing. */
  1554. .serverListingName {
  1555. font-family: 'Avenir Book';
  1556. font-size: 14px;
  1557. font-weight: bold;
  1558. color: #fff;
  1559. }
  1560. /* Description for the server listing. */
  1561. .serverListingDescription {
  1562. font-family: 'Avenir Book';
  1563. font-size: 10px;
  1564. line-height: 10px;
  1565. font-weight: bold;
  1566. color: #fff;
  1567. }
  1568. /* Content container for the server listing's information. */
  1569. .serverListingInfo {
  1570. width: 100%;
  1571. display: flex;
  1572. justify-content: flex-start;
  1573. }
  1574. /* The minecraft version of the server listing. */
  1575. .serverListingVersion {
  1576. font-size: 10px;
  1577. color: #fff;
  1578. font-family: 'Avenir Book';
  1579. text-align: center;
  1580. display: flex;
  1581. justify-content: center;
  1582. align-items: center;
  1583. line-height: 12px;
  1584. height: 12px;
  1585. border-radius: 2px;
  1586. background: rgba(31, 140, 11, 0.8);
  1587. padding: 0px 2px;
  1588. }
  1589. /* The revision version of the server's manifest. */
  1590. .serverListingRevision {
  1591. font-family: 'Avenir Book';
  1592. color: #969696;
  1593. font-size: 10px;
  1594. line-height: 12px;
  1595. padding: 0px 5px;
  1596. }
  1597. /* Star which indicates the default (main) server. */
  1598. .serverListingStarWrapper {
  1599. display: flex;
  1600. align-items: center;
  1601. cursor: pointer;
  1602. height: 12px;
  1603. position: relative;
  1604. }
  1605. /* Tooltip which displays when hovering over the star. */
  1606. .serverListingStarTooltip {
  1607. visibility: hidden;
  1608. opacity: 0;
  1609. width: 65px;
  1610. background-color: rgba(0, 0, 0, 0.40);
  1611. color: #fff;
  1612. text-align: center;
  1613. border-radius: 4px;
  1614. position: absolute;
  1615. z-index: 1;
  1616. left: 130%;
  1617. font-family: 'Avenir Book';
  1618. font-size: 10px;
  1619. transition: visibility 0s linear 0.25s, opacity 0.25s ease;
  1620. }
  1621. .serverListingStarTooltip::after {
  1622. content: " ";
  1623. position: absolute;
  1624. top: 50%;
  1625. right: 100%; /* To the left of the tooltip */
  1626. margin-top: -5px;
  1627. border-width: 5px;
  1628. border-style: solid;
  1629. border-color: transparent rgba(0, 0, 0, 0.40) transparent transparent;
  1630. }
  1631. .serverListingStarWrapper:hover .serverListingStarTooltip {
  1632. visibility: visible;
  1633. opacity: 1;
  1634. transition-delay:0s;
  1635. }
  1636. /* Content container which contains the server select actions. */
  1637. #serverSelectActions {
  1638. display: flex;
  1639. flex-direction: column;
  1640. justify-content: center;
  1641. align-items: center;
  1642. margin-top: 25px;
  1643. }
  1644. /* Server selection confirm button styles. */
  1645. #serverSelectConfirm {
  1646. background: none;
  1647. border: 1px solid #ffffff;
  1648. color: white;
  1649. font-family: 'Avenir Medium';
  1650. font-weight: bold;
  1651. border-radius: 2px;
  1652. padding: 0px 8.1px;
  1653. cursor: pointer;
  1654. transition: 0.25s ease;
  1655. min-height: 20.67px;
  1656. }
  1657. #serverSelectConfirm:hover,
  1658. #serverSelectConfirm:focus {
  1659. box-shadow: 0px 0px 10px 0px #fff;
  1660. outline: none;
  1661. }
  1662. #serverSelectConfirm:active {
  1663. border-color: rgba(255, 255, 255, 0.75);
  1664. color: rgba(255, 255, 255, 0.75);
  1665. }
  1666. /* Server selection cancel button styles. */
  1667. #serverSelectCancel {
  1668. font-family: 'Avenir Book';
  1669. font-weight: bold;
  1670. font-size: 10px;
  1671. text-decoration: none;
  1672. padding-top: 2.5px;
  1673. color: rgba(202, 202, 202, 0.75);
  1674. transition: 0.25s ease;
  1675. background: none;
  1676. border: none;
  1677. outline: none;
  1678. cursor: pointer;
  1679. }
  1680. #serverSelectCancel:hover {
  1681. color: rgba(255, 255, 255, 0.75);
  1682. }
  1683. #serverSelectCancel:active {
  1684. color: rgba(165, 165, 165, 0.75);
  1685. }