/* Github Code Highlighting. */ @import "../../../node_modules/github-syntax-dark/lib/github-dark.css"; /******************************************************************************* * * * Fonts * * * ******************************************************************************/ @font-face { font-family: 'Avenir Book'; src: url('../fonts/Avenir-Book.ttf'); } @font-face { font-family: 'Avenir Medium'; src: url('../fonts/Avenir-Medium.ttf'); } @font-face { font-family: 'Ringbearer'; src: url('../fonts/Ringbearer.ttf'); } /******************************************************************************* * * * Element Styles * * * ******************************************************************************/ /* Reset body, html, and div presets. */ body, html, div { margin: 0rem; padding: 0rem; } /* Reset p presets. */ p { -webkit-margin-before: 0em; -webkit-margin-after: 0em; } /* Set default font and color. */ body, button { font-family: 'Avenir Book'; color: white; } /*body { background: url('./../images/backgrounds/0.jpg') no-repeat center center fixed; background-size: cover; }*/ /******************************************************************************* * * * Frame Styles (frame.ejs) * * * ******************************************************************************/ /* Frame Bar */ #frameBar { position: relative; z-index: 100; display: flex; flex-direction: column; transition: background-color 1s ease; /*background-color: rgba(0, 0, 0, 0.5);*/ -webkit-user-select: none; } /* Undraggable region on the top of the frame. */ #frameResizableTop { height: .125rem; width: 100%; -webkit-app-region: no-drag; } /* Flexbox to wrap the main frame content. */ #frameMain { display: flex; height: 1.25rem } /* Undraggable region on the left and right of the frame. */ .frameResizableVert { width: .125rem; -webkit-app-region: no-drag; } /* Main frame content for windows. */ #frameContentWin { display: flex; justify-content: space-between; width: 100%; -webkit-app-region: drag; } /* Main frame content for darwin. */ #frameContentDarwin { display: flex; justify-content: flex-start; align-items: center; width: 100%; -webkit-app-region: drag; } /* Frame logo (windows only). */ #frameTitleDock { padding: 0rem .625rem; } #frameTitleText { font-size: .875rem; font-family: 'Avenir Medium'; letter-spacing: .0313rem; } /* Windows frame button dock. */ #frameButtonDockWin { -webkit-app-region: no-drag !important; position: relative; top: -0.125rem; right: -0.125rem; height: 1.375rem; } #frameButtonDockWin > .frameButton:not(:first-child) { margin-left: -0.25rem; } /* Darwin frame button dock: NaN; */ #frameButtonDockDarwin { -webkit-app-region: no-drag !important; position: relative; top: -0.0625rem; right: -0.0625rem; } /* Windows Frame Button Styles. */ .frameButton { background: none; border: none; height: 1.375rem; width: 2.4375rem; cursor: pointer; } .frameButton:hover, .frameButton:focus { background: rgba(189, 189, 189, 0.43); } .frameButton:active { background: rgba(156, 156, 156, 0.43); } .frameButton:focus { outline: 0rem; } /* Close button is red. */ #frameButton_close:hover, #frameButton_close:focus { background: rgba(255, 53, 53, 0.61) !important; } #frameButton_close:active { background: rgba(235, 0, 0, 0.61) !important; } /* Darwin Frame Button Styles. */ .frameButtonDarwin { height: .75rem; width: .75rem; border-radius: 50%; border: 0rem; margin-left: .3125rem; -webkit-app-region: no-drag !important; cursor: pointer; } .frameButtonDarwin:focus { outline: 0rem; } #frameButtonDarwin_close { background-color: #e74c32; } #frameButtonDarwin_close:hover, #frameButtonDarwin_close:focus { background-color: #FF9A8A; } #frameButtonDarwin_close:active { background-color: #ff8d7b; } #frameButtonDarwin_minimize { background-color: #fed045; } #frameButtonDarwin_minimize:hover, #frameButtonDarwin_minimize:focus { background-color: #FFE9A9; } #frameButtonDarwin_minimize:active { background-color: #ffde7b; } #frameButtonDarwin_restoredown { background-color: #96e734; } #frameButtonDarwin_restoredown:hover, #frameButtonDarwin_restoredown:focus { background-color: #D6FFA6; } #frameButtonDarwin_restoredown:active { background-color: #bfff76; } /******************************************************************************* * * * Welcome View (welcome.ejs) * * * ******************************************************************************/ #welcomeContainer { position: relative; display: flex; justify-content: center; align-items: center; height: 100%; width: 100%; background: rgba(0, 0, 0, 0.50); } #welcomeContent { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 50%; top: -10%; position: relative; } /* .cloudDiv { position: absolute; height: 100%; width: 100%; display: flex; flex-direction: column; } .cloudTop { height: 50%; width: 100%; background-image: url('../images/cloudTrans.png'); animation: clouds1 80s linear infinite; background-size: cover; } .cloudBottom { height: 50%; width: 100%; background-image: url('../images/cloudTrans2.png'); animation: clouds2 70s linear infinite; background-size: cover; } @keyframes clouds1 { to { background-position: 200%; } } @keyframes clouds2 { to { background-position: 230%; } } */ #welcomeImageSeal { border-radius: 50%; border: .125rem solid #cad7e1; background: rgba(1, 2, 1, 0.5); height: 7.8125rem; width: 7.8125rem; box-shadow: 0rem 0rem .625rem 0rem rgb(0, 0, 0); margin-bottom: 5%; margin-top: 10%; } #welcomeHeader { font-family: 'Avenir Medium'; text-align: center; color: white; margin-bottom: 1.5625rem; letter-spacing: .0625rem; font-size: 1.25rem; text-shadow: white 0rem 0rem 0rem; } #welcomeDescription { text-align: justify; font-size: .8125rem; font-weight: 100; text-shadow: rgba(255, 255, 255, 0.75) 0rem 0rem 1.25rem } #welcomeDescCTA { text-align: center; font-size: .875rem; font-weight: 100; text-shadow: rgba(255, 255, 255, 0.75) 0rem 0rem 1.25rem } /* Login button styles. */ #welcomeButton { background: none; font-weight: bold; letter-spacing: .125rem; border: none; padding: .9375rem .3125rem; margin: .625rem 0rem; cursor: pointer; position: relative; right: -1.25rem; transition: 0.5s ease; margin-top: 5%; margin-bottom: -5%; } #welcomeButton:disabled { color: rgba(255, 255, 255, 0.75); pointer-events: none; } #welcomeButton:hover, #welcomeButton:focus { text-shadow: 0rem 0rem 1.25rem #fff; outline: none; } #welcomeButton:active { color: #c7c7c7; text-shadow: 0rem 0rem 1.25rem #c7c7c7; } #welcomeSVG { -webkit-transform: translate3d(0, 0, 0); overflow: visible; transform: rotate(90deg); margin-left: 1.25rem; transition: 0.25s ease; width: 1.25rem; height: 1.25rem; } #welcomeButton:hover #welcomeSVG, #welcomeButton:focus #welcomeSVG { -webkit-filter: drop-shadow(0rem 0rem .125rem #fff); } #welcomeButton:active #welcomeSVG .arrowLine { stroke: #c7c7c7; } #welcomeButton:active #welcomeSVG { -webkit-filter: drop-shadow(0rem 0rem .125rem #c7c7c7); } #welcomeButton:disabled #welcomeSVG .arrowLine { stroke: rgba(255, 255, 255, 0.75); } #welcomeButtonContent { display: flex; align-items: center; } /******************************************************************************* * * * Login View (login.ejs) * * * ******************************************************************************/ /* Styles for dimmer login span. */ .loginSpanDim { font-size: .75rem; color: #848484; font-weight: bold; } /* Main login container. */ #loginContainer { position: relative; display: flex; justify-content: center; align-items: center; height: 100%; width: 100%; transition: filter 0.25s ease; background: rgba(0, 0, 0, 0.50); } /* Login cancel button styles. */ #loginCancelContainer { position: absolute; top: 5%; right: 5%; } /* Login cancel button styles. */ #loginCancelButton { background: none; border: none; outline: none; cursor: pointer; transition: 0.25s ease; } #loginCancelButton:hover #loginCancelIcon, #loginCancelButton:hover #loginCancelText, #loginCancelButton:focus #loginCancelIcon, #loginCancelButton:focus #loginCancelText { text-shadow: 0rem 0rem 1.25rem white; } #loginCancelButton:hover #loginCancelIcon, #loginCancelButton:focus #loginCancelIcon { box-shadow: 0rem 0rem 1.25rem white; } #loginCancelButton:active #loginCancelIcon, #loginCancelButton:active #loginCancelText { text-shadow: 0rem 0rem 1.25rem rgba(255, 255, 255, 0.75); color: rgba(255, 255, 255, 0.75); border-color: rgba(255, 255, 255, 0.75); } #loginCancelButton:active #loginCancelIcon { box-shadow: 0rem 0rem 1.25rem rgba(255, 255, 255, 0.75); } #loginCancelButton:disabled { pointer-events: none; } #loginCancelButton:disabled #loginCancelIcon, #loginCancelButton:disabled #loginCancelText { color: rgba(255, 255, 255, 0.75); border-color: rgba(255, 255, 255, 0.75); } /* The X in a circle icon for the cancel button. */ #loginCancelIcon { border-radius: 50%; border: .0625rem solid white; box-sizing: border-box; height: 1.875rem; width: 1.875rem; font-size: 1.1875rem; line-height: 1.875rem; margin: 0 auto; margin-bottom: .3125rem; transition: 0.25s ease; } /* Text for the login cancel button. */ #loginCancelText { font-size: .9375rem; transition: 0.25s ease; } /* Login content wrapper. */ #loginContent { display: flex; justify-content: center; align-items: center; height: 100%; padding: 0rem 1.5625rem; } /* Login form. */ #loginForm { display: flex; flex-direction: column; justify-content: center; align-items: center; } /* Login form anchor styles. */ #loginForm a { font-size: .75rem; color: #848484; font-weight: bold; text-decoration: none; transition: 0.25s ease; } #loginForm a:hover, #loginForm a:focus { color: #a2a2a2; outline: none; } #loginForm a:active { color: #8b8b8b; } /* Logo on login form. */ #loginImageSeal { border-radius: 50%; border: .125rem solid #cad7e1; background: rgba(1, 2, 1, 0.5); height: 7.8125rem; width: 7.8125rem; box-shadow: 0rem 0rem .625rem 0rem rgb(0, 0, 0); margin-bottom: 1.25rem; } /* Header on login view. */ #loginSubheader { font-family: 'Avenir Medium'; margin-bottom: 1.5625rem; font-size: .75rem; letter-spacing: .0625rem; font-weight: bold; } /* Container to organize login field elements. */ .loginFieldContainer { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; } /* SVG icons on the login view. */ .loginSVG { fill: #fff; height: 1.25rem; width: 1.25rem; } /* Span which displays errors related to login field content. */ .loginErrorSpan { font-family: 'Avenir Medium'; font-weight: bold; font-size: .5rem; color: #ff1b0c; width: 100%; text-align: right; position: absolute; top: .4375rem; opacity: 0; transition: 0.25s ease; } .shake { animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both; } @keyframes shake { 10%, 90% { transform: translate3d(-0.0625rem, 0, 0); } 20%, 80% { transform: translate3d(.125rem, 0, 0); } 30%, 50%, 70% { transform: translate3d(-0.25rem, 0, 0); } 40%, 60% { transform: translate3d(.25rem, 0, 0); } } /* Login text input styles. */ .loginField { font-family: 'Avenir Book'; background: none; border-width: .0938rem 0rem 0rem 0rem; border-style: solid; width: 15.625rem; margin-bottom: 1.25rem; border-color: #fff; color: rgba(255, 255, 255, 0.75); font-weight: bold; text-align: center; box-sizing: border-box; padding: .4688rem; font-size: .625rem; letter-spacing: .0625rem; } .loginField:focus { outline: none; } .loginField:disabled { color: rgba(255, 255, 255, 0.50); } .loginField::-webkit-input-placeholder { color: rgba(255, 255, 255, 0.75); font-size: .625rem; letter-spacing: .0625rem; text-align: center; font-weight: bold; } .loginField:focus::-webkit-input-placeholder { color: transparent; } /* Add spacing between password field and options bar. */ #labelPassword { margin-bottom: .8125rem; } /* Container which contains the forgot and remember options. */ #loginOptions { display: flex; justify-content: space-between; width: 100%; } /* Remember option text. */ #loginRememberText { padding-right: .625rem; transition: 0.25s ease; } /* Login button styles. */ #loginButton { background: none; font-weight: bold; letter-spacing: .125rem; border: none; padding: .9375rem .3125rem; margin: .625rem 0rem; cursor: pointer; position: relative; right: -1.25rem; transition: 0.5s ease; } #loginButton:disabled { color: rgba(255, 255, 255, 0.75); pointer-events: none; } #loginButton[loading] { color: #fff; } #loginButton:hover, #loginButton:focus { text-shadow: 0rem 0rem 1.25rem #fff; outline: none; } #loginButton:active { color: #c7c7c7; text-shadow: 0rem 0rem 1.25rem #c7c7c7; } #loginSVG { -webkit-transform: translate3d(0, 0, 0); overflow: visible; transform: rotate(90deg); margin-left: 1.25rem; transition: 0.25s ease; width: 1.25rem; height: 1.25rem; } #loginButton:hover #loginSVG, #loginButton:focus #loginSVG { -webkit-filter: drop-shadow(0rem 0rem .125rem #fff); } #loginButton:active #loginSVG .arrowLine { stroke: #c7c7c7; } #loginButton:active #loginSVG { -webkit-filter: drop-shadow(0rem 0rem .125rem #c7c7c7); } #loginButton:disabled #loginSVG .arrowLine { stroke: rgba(255, 255, 255, 0.75); } #loginButtonContent { display: flex; align-items: center; } #loginButton .circle-loader, #loginButton[loading] #loginSVG { display: none; } #loginButton[loading] .circle-loader, #loginButton #loginSVG { display: initial; } .circle-loader { margin-left: 1.25rem; border: .125rem solid rgba(255, 255, 255, 0.5); border-left-color: #ffffff; animation-name: loader-spin; animation-duration: 1s; animation-iteration-count: infinite; animation-timing-function: linear; position: relative; display: inline-block; vertical-align: top; border-radius: 50%; width: 1rem; height: 1rem; } .load-complete { animation: none; border-color: #ffffff; transition: border 500ms ease-out; } .checkmark { display: none; } .checkmark.draw:after { animation-duration: 800ms; animation-timing-function: ease; animation-name: checkmark; transform: scaleX(-1) rotate(135deg); } .checkmark:after { opacity: 1; height: .5rem; width: .25rem; transform-origin: left top; border-right: .125rem solid #ffffff; border-top: .125rem solid #ffffff; content: ''; left: .125rem; top: .5rem; position: absolute; } @keyframes loader-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } @keyframes checkmark { 0% { height: 0; width: 0; opacity: 1; } 20% { height: 0; width: .25rem; opacity: 1; } 40% { height: .5rem; width: .25rem; opacity: 1; } 100% { height: .5rem; width: .25rem; opacity: 1; } } /*.spinningCircle { margin-left: 1.25rem; height: 1rem; width: 1rem; border-radius: 50%; border: .125rem solid rgba(255,255,255,0); border-top-color: #ffffff; border-right-color: #ffffff; border-left-color: rgba(255, 255, 255, 0.50); border-bottom-color: rgba(255, 255, 255, 0.50); animation: single2 4s infinite linear; } @keyframes single2 { 0% { transform: rotate(0deg); } 100% { transform: rotate(720deg); } }*/ /* Disclaimer container. */ #loginDisclaimer { display: flex; flex-direction: column; justify-content: center; align-items: center; } /* Add spacing between register anchor and disclaimer. */ #loginRegisterSpan { margin-bottom: .3125rem; } /* Disclaimer text styles. */ .loginDisclaimerText { font-size: .4375rem; color: #848484; font-weight: bold; text-align: center; } /* * * * Login View | Custom Checkbox * * */ /* Checkbox container. */ #checkmarkContainer { display: flex; justify-content: flex-end; align-items: center; position: relative; cursor: pointer; font-size: 1.375rem; -webkit-user-select: none; } /* Hide the default checkbox. */ #checkmarkContainer input { opacity: 0; cursor: pointer; position: absolute; } /* Create a custom checkbox. */ .loginCheckmark { position: relative; height: .625rem; width: .625rem; border: .0625rem solid #848484; border-radius: .0625rem; background: none; transition: 0.25s ease; } /* On hover and focus, add a grey border color. */ #checkmarkContainer:hover input ~ *, #checkmarkContainer input:focus ~ * { color: #a2a2a2; border-color: #a2a2a2; } /* On keydown, darken the checkbox a bit. */ #checkmarkContainer input:active ~ *:not(#loginRememberText) { color: #8d8d8d; border-color: #8d8d8d; } #checkmarkContainer[disabled] { pointer-events: none; } /* For checked -> #checkmarkContainer input:checked ~ * */ /* Create the checkmark/indicator (hidden when not checked). */ .loginCheckmark:after { content: ""; display: none; } /* Show the checkmark when checked. */ #checkmarkContainer input:checked ~ .loginCheckmark:after { display: block; } /* Style the checkmark/indicator. */ #checkmarkContainer .loginCheckmark:after { position: absolute; left: .2188rem; top: .0313rem; width: .125rem; height: .375rem; border: solid #a2a2a2; border-width: 0 .125rem .125rem 0; transform: rotate(45deg); } /* #login_filter { height: calc(100% - 1.375rem); width: 100%; z-index: 9000; position: absolute; filter: blur(.5rem) contrast(0.9) brightness(1.0); background: url('./../images/backgrounds/0.jpg') no-repeat center center fixed; transform: scale(1.2); background-size: cover; } */ /******************************************************************************* * * * Waiting View (waiting.ejs) * * * ******************************************************************************/ #waitingContainer { position: relative; display: flex; justify-content: center; align-items: center; height: 100%; width: 100%; transition: filter 0.25s ease; background: rgba(0, 0, 0, 0.50); } #waitingContent { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 50%; top: -10%; position: relative; } .waitingSpinner:before { transform: rotateX(60deg) rotateY(45deg) rotateZ(45deg); animation: 750ms rotateBefore infinite linear reverse; } .waitingSpinner:after { transform: rotateX(240deg) rotateY(45deg) rotateZ(45deg); animation: 750ms rotateAfter infinite linear; } .waitingSpinner:before, .waitingSpinner:after { box-sizing: border-box; content: ''; display: block; position: fixed; top: calc(50% - 5em); /* left: 50%; */ margin-top: -5em; margin-left: -5em; width: 10em; height: 10em; transform-style: preserve-3d; transform-origin: 50%; transform: rotateY(50%); perspective-origin: 50% 50%; perspective: 21.25rem; background-size: 10em 10em; background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjI2NnB4IiBoZWlnaHQ9IjI5N3B4IiB2aWV3Qm94PSIwIDAgMjY2IDI5NyIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWxuczpza2V0Y2g9Imh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaC9ucyI+CiAgICA8dGl0bGU+c3Bpbm5lcjwvdGl0bGU+CiAgICA8ZGVzY3JpcHRpb24+Q3JlYXRlZCB3aXRoIFNrZXRjaCAoaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoKTwvZGVzY3JpcHRpb24+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8cGF0aCBkPSJNMTcxLjUwNzgxMywzLjI1MDAwMDM4IEMyMjYuMjA4MTgzLDEyLjg1NzcxMTEgMjk3LjExMjcyMiw3MS40OTEyODIzIDI1MC44OTU1OTksMTA4LjQxMDE1NSBDMjE2LjU4MjAyNCwxMzUuODIwMzEgMTg2LjUyODQwNSw5Ny4wNjI0OTY0IDE1Ni44MDA3NzQsODUuNzczNDM0NiBDMTI3LjA3MzE0Myw3NC40ODQzNzIxIDc2Ljg4ODQ2MzIsODQuMjE2MTQ2MiA2MC4xMjg5MDY1LDEwOC40MTAxNTMgQy0xNS45ODA0Njg1LDIxOC4yODEyNDcgMTQ1LjI3NzM0NCwyOTYuNjY3OTY4IDE0NS4yNzczNDQsMjk2LjY2Nzk2OCBDMTQ1LjI3NzM0NCwyOTYuNjY3OTY4IC0yNS40NDkyMTg3LDI1Ny4yNDIxOTggMy4zOTg0Mzc1LDEwOC40MTAxNTUgQzE2LjMwNzA2NjEsNDEuODExNDE3NCA4NC43Mjc1ODI5LC0xMS45OTIyOTg1IDE3MS41MDc4MTMsMy4yNTAwMDAzOCBaIiBpZD0iUGF0aC0xIiBmaWxsPSIjZmZmZmZmIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICA8L2c+Cjwvc3ZnPg==); } #waitingTextContainer { position: fixed; top: 50%; } @keyframes rotateBefore { from { transform: rotateX(60deg) rotateY(45deg) rotateZ(0deg); } to { transform: rotateX(60deg) rotateY(45deg) rotateZ(-360deg); } } @keyframes rotateAfter { from { transform: rotateX(240deg) rotateY(45deg) rotateZ(0deg); } to { transform: rotateX(240deg) rotateY(45deg) rotateZ(360deg); } } /******************************************************************************* * * * Login Options View (loginOptions.ejs) * * * ******************************************************************************/ #loginOptionsContainer { position: relative; display: flex; justify-content: center; align-items: center; height: 100%; width: 100%; transition: filter 0.25s ease; background: rgba(0, 0, 0, 0.50); } #loginOptionsContent { border-radius: .1875rem; position: relative; top: -5%; } .loginOptionsMainContent { display: flex; flex-direction: column; align-items: center; } .loginOptionActions { display: flex; flex-direction: column; row-gap: .625rem; } .loginOptionButtonContainer { width: 16em; } .loginOptionButton { background: rgba(0, 0, 0, 0.25); border: .0625rem solid rgba(126, 126, 126, 0.57); border-radius: .1875rem; height: 3.125rem; width: 100%; text-align: left; padding: 0rem 1.5625rem; cursor: pointer; outline: none; transition: 0.25s ease; display: flex; align-items: center; column-gap: .3125rem; } .loginOptionButton:hover, .loginOptionButton:focus { background: rgba(54, 54, 54, 0.25); text-shadow: 0rem 0rem 1.25rem white; } #loginOptionCancelContainer { position: absolute; bottom: -6.25rem; } #loginOptionCancelButton { background: none; border: none; padding: .125rem 0rem; font-size: 1rem; font-weight: bold; color: lightgrey; cursor: pointer; outline: none; transition: 0.25s ease; } #loginOptionCancelButton:hover, #loginOptionCancelButton:focus { text-shadow: 0rem 0rem 1.25rem lightgrey; } #loginOptionCancelButton:active { text-shadow: 0rem 0rem 1.25rem rgba(211, 211, 211, 0.75); color: rgba(211, 211, 211, 0.75); } #loginOptionCancelButton:disabled { color: rgba(211, 211, 211, 0.75); pointer-events: none; } /******************************************************************************* * * * Settings View (sttings.ejs) * * * ******************************************************************************/ /* Main settings container. */ #settingsContainer { position: relative; height: 100%; display: flex; background-color: rgba(0, 0, 0, 0.50); transition: background-color 0.25s cubic-bezier(.02, .01, .47, 1); } /* Drop shadow displayed when content is scrolled out of view. */ #settingsContainer:before { content: ''; background: linear-gradient(rgba(0, 0, 0, 0.25), transparent); width: 100%; height: .3125rem; position: absolute; opacity: 0; transition: opacity 0.25s ease; } #settingsContainer[scrolled]:before { opacity: 1; } /* Left hand side of the settings UI, for navigation. */ #settingsContainerLeft { padding-top: 4%; height: 100%; width: 25%; box-sizing: border-box; } /* Settings navigation container. */ #settingsNavContainer { height: 100%; display: flex; flex-direction: column; } /* Navigation header styles. */ #settingsNavHeader { height: 15%; display: flex; justify-content: center; } #settingsNavHeaderText { font-size: 1.25rem; } /* Navigation items outer container. */ #settingsNavItemsContainer { height: 85%; display: flex; justify-content: center; box-sizing: border-box; } /* Navigation items content container. */ #settingsNavItemsContent { height: 100%; display: flex; flex-direction: column; position: relative; } /* Navigation item shared styles. */ .settingsNavItem { background: none; border: none; text-align: left; margin: .3125rem 0rem; padding: 0rem 1.25rem; color: grey; cursor: pointer; outline: none; transition: 0.25s ease; } .settingsNavItem:hover, .settingsNavItem:focus { color: #c1c1c1; text-shadow: 0rem 0rem 1.25rem #c1c1c1; } .settingsNavItem[selected] { cursor: default; color: white; text-shadow: none; } /* Div to add some space between nav items. */ .settingsNavSpacer { height: 1.5625rem; } /* Content container for the done button. */ #settingsNavContentBottom { position: absolute; top: 65%; } /* Settings navigational divider. */ .settingsNavDivider { width: 75%; height: .0625rem; background: rgba(126, 126, 126, 0.57); margin-left: auto; margin-bottom: 1.5625rem; } /* Settings done button styles. */ #settingsNavDone { background: none; border: none; text-align: left; margin: .3125rem 0rem; padding: 0rem 1.25rem; color: white; cursor: pointer; outline: none; transition: 0.25s ease; } #settingsNavDone:hover, #settingsNavDone:focus { text-shadow: 0rem 0rem 1.25rem white, 0rem 0rem 1.25rem white, 0rem 0rem 1.25rem white; } #settingsNavDone:active { text-shadow: 0rem 0rem 1.25rem rgba(255, 255, 255, 0.75), 0rem 0rem 1.25rem rgba(255, 255, 255, 0.75), 0rem 0rem 1.25rem rgba(255, 255, 255, 0.75); color: rgba(255, 255, 255, 0.75); } #settingsNavDone:disabled { color: rgba(255, 255, 255, 0.75); pointer-events: none; } /* Right hand side of the settings container, for tabs. */ #settingsContainerRight { height: 100%; width: 75%; box-sizing: border-box; } /* Settings tab shared styles. */ .settingsTab { width: 100%; height: 100%; overflow-y: auto; } .settingsTab::-webkit-scrollbar { width: .125rem; } .settingsTab::-webkit-scrollbar-track { display: none; } .settingsTab::-webkit-scrollbar-thumb { border-radius: .625rem; box-shadow: inset 0 0 .625rem rgba(255, 255, 255, 0.50); } /* Add spacing to the top of each settings tab. */ .settingsTab > *:first-child { margin-top: 5%; } /* Add spacing to the bottom of each settings tab. */ .settingsTab > *:last-child { margin-bottom: 20%; } /* Tab header shared styles. */ .settingsTabHeader { display: flex; flex-direction: column; margin-bottom: 1.25rem; } .settingsTabHeaderText { font-size: 1.25rem; font-family: 'Avenir Medium'; } .settingsTabHeaderDesc { font-size: .75rem; } /* Selected server content container */ .settingsSelServContainer { background: rgba(0, 0, 0, 0.25); width: 75%; border-radius: .1875rem; display: flex; justify-content: space-between; margin: .9375rem 0rem; } /* Div which will be populated with the selected server's information. */ .settingsSelServContent { display: flex; align-items: center; justify-content: flex-start; padding: .3125rem 0rem; } /* Wrapper container for the switch server button. */ .settingsSwitchServerContainer { display: flex; align-items: center; padding: .9375rem; } /* Button to switch server configurations on the mods tab. */ .settingsSwitchServerButton { opacity: 0; border: .0625rem solid rgb(255, 255, 255); color: rgb(255, 255, 255); background: none; font-size: .75rem; border-radius: .1875rem; font-family: 'Avenir Medium'; transition: 0.25s ease; cursor: pointer; outline: none; } .settingsSwitchServerButton:hover, .settingsSwitchServerButton:focus { box-shadow: 0rem 0rem 1.25rem rgb(255, 255, 255); background: rgba(255, 255, 255, 0.25); } .settingsSwitchServerButton:active { box-shadow: 0rem 0rem 1.25rem rgb(187, 187, 187); background: rgba(187, 187, 187, 0.25); border: .0625rem solid rgb(187, 187, 187); color: rgb(187, 187, 187); } .settingsSelServContainer:hover .settingsSwitchServerButton { opacity: 1; } /* Remove spin button from number inputs. */ #settingsContainer input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; } /* Default styles for text/number inputs. */ #settingsContainer input[type=number], #settingsContainer input[type=text] { color: white; background: rgba(0, 0, 0, 0.25); border-radius: .1875rem; border: .0625rem solid rgba(126, 126, 126, 0.57); font-family: 'Avenir Book'; transition: 0.25s ease; } #settingsContainer input[type=number]:focus, #settingsContainer input[type=text]:focus { outline: none; border-color: rgba(126, 126, 126, 0.87); } #settingsContainer input[type=number][error] { border-color: rgb(255, 27, 12); background: rgba(236, 0, 0, 0.25); color: rgb(255, 27, 12); } /* Styles for a generic settings entry. */ .settingsFieldContainer { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0rem; width: 75%; border-bottom: .0625rem solid rgba(255, 255, 255, 0.50); } .settingsFieldLeft { display: flex; flex-direction: column; } .settingsFieldTitle { font-size: .875rem; font-family: 'Avenir Medium'; color: rgba(255, 255, 255, 0.95); } .settingsFieldDesc { font-size: .75rem; color: rgba(255, 255, 255, .95); margin-top: .3125rem; } .settingsDivider { height: .0625rem; width: 75%; background: rgba(255, 255, 255, 0.25); } /* Toggle Switch */ .toggleSwitch { position: relative; display: inline-block; width: 2.5rem; height: 1.25rem; border-radius: 3.125rem; box-sizing: border-box; } .toggleSwitch input { display:none; } .toggleSwitchSlider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255, 255, 255, 0.35); transition: .4s; border-radius: 3.125rem; border: .0625rem solid rgba(126, 126, 126, 0.57); } .toggleSwitchSlider:before { position: absolute; content: ""; height: .8125rem; width: 1rem; left: .1875rem; bottom: .1875rem; background-color: white; box-shadow: 0rem .0625rem .125rem 0rem rgba(0, 0, 0, 0.75); border-radius: 3.125rem; transition: .4s; } input:checked + .toggleSwitchSlider { background-color: rgb(31, 140, 11); /* box-shadow: inset .125rem .0625rem 1.25rem black; */ border: .0625rem solid rgb(31, 140, 11); } input:checked + .toggleSwitchSlider:before { transform: translateX(.9375rem); } /* Range Slider styles. */ .rangeSlider { width: 35%; height: .3125rem; margin: .9375rem 0rem; background: grey; border-radius: .1875rem; position: relative; } .rangeSliderBar { position: absolute; background: #8be88b; width: 50%; height: .3125rem; border-radius: .1875rem 0rem 0rem .1875rem; transition: background 0.25s ease; } .rangeSliderTrack { position: absolute; top: -0.4688rem; width: .4375rem; height: 1.25rem; background: white; border-radius: .1875rem; left: 50%; cursor: ew-resize; } /* File selectors */ /* Main container for File selectors. */ .settingsFileSelContainer { display: flex; flex-direction: column; border-bottom: .0625rem solid rgba(255, 255, 255, 0.50); margin-bottom: 1.25rem; margin-top: 1.25rem; width: 75%; } /* File selector title. */ .settingsFileSelTitle { margin-bottom: .625rem; } /* Wrapper container for the actionable elements. */ .settingsFileSelActions { display: flex; width: 90%; } /* File selector icon settings. */ .settingsFileSelIcon { display: flex; align-items: center; background: rgba(126, 126, 126, 0.57); border-radius: .1875rem 0rem 0rem .1875rem; padding: .3125rem; transition: 0.25s ease; } .settingsFileSelSVG { width: 1.25rem; height: 1.25rem; fill: white; } /* Disabled text field which stores the selected file path. */ .settingsFileSelVal { border-radius: 0rem !important; width: 100%; padding: .3125rem .625rem; font-size: .75rem; height: 1.875rem; } /* File selection button. */ .settingsFileSelButton { border: 0rem; border-radius: 0rem .1875rem .1875rem 0rem; font-size: .75rem; padding: 0rem .3125rem; cursor: pointer; background: rgba(126, 126, 126, 0.57); transition: 0.25s ease; white-space: nowrap; outline: none; } .settingsFileSelButton:hover, .settingsFileSelButton:focus { text-shadow: 0rem 0rem 1.25rem white; } .settingsFileSelButton:active { text-shadow: 0rem 0rem 1.25rem rgba(255, 255, 255, 0.75); color: rgba(255, 255, 255, 0.75); } /* Description for the file selector. */ .settingsFileSelDesc { font-size: .625rem; margin: 1.25rem 0rem; color: lightgrey; width: 89%; } .settingsFileSelDesc strong { font-family: 'Avenir Medium'; } /* * * * Settings View (Account Tab) * * */ .settingsAuthAccountTypeContainer { display: flex; width: 75%; flex-direction: column; } .settingsAuthAccountTypeHeader { display: flex; align-items: center; width: 100%; justify-content: space-between; padding: .625rem 0rem; border-bottom: .0625rem solid #ffffff85; margin-bottom: 1.875rem; } .settingsAuthAccountTypeHeaderLeft { display: flex; column-gap: .3125rem; } /* Settings add account button styles. */ .settingsAddAuthAccount { background: none; border: none; text-align: left; padding: .125rem 0rem; color: white; cursor: pointer; outline: none; transition: 0.25s ease; } .settingsAddAuthAccount:hover, .settingsAddAuthAccount:focus { text-shadow: 0rem 0rem 1.25rem white, 0rem 0rem 1.25rem white, 0rem 0rem 1.25rem white; } .settingsAddAuthAccount:active { text-shadow: 0rem 0rem 1.25rem rgba(255, 255, 255, 0.75), 0rem 0rem 1.25rem rgba(255, 255, 255, 0.75), 0rem 0rem 1.25rem rgba(255, 255, 255, 0.75); color: rgba(255, 255, 255, 0.75); } .settingsAddAuthAccount:disabled { color: rgba(255, 255, 255, 0.75); pointer-events: none; } /* Auth account list container styles. */ .settingsCurrentAccounts { margin-bottom: 5%; } .settingsCurrentAccounts > .settingsAuthAccount:not(:last-child) { margin-bottom: .625rem; } .settingsCurrentAccounts > .settingsAuthAccount:not(:first-child) { margin-top: .625rem; } /* Auth account shared styles. */ .settingsAuthAccount { display: flex; background: rgba(0, 0, 0, 0.25); border-radius: .1875rem; border: .0625rem solid rgba(126, 126, 126, 0.57); } /* Left hand side of an auth account element, for the skin image. */ .settingsAuthAccountLeft { padding: .3125rem .3125rem .3125rem 1.25rem; } /* Image of the auth account's skin. */ .settingsAuthAccountImage { height: 7.1875rem; } /* Right hand side of the auth account, for info + actions. */ .settingsAuthAccountRight { display: flex; width: 100%; } /* Account details container. */ .settingsAuthAccountDetails { display: flex; flex-direction: column; justify-content: center; margin-left: 1.25rem; width: 100%; } .settingsAuthAccountDetails > *:not(:last-child) { margin-bottom: 1.25rem; } /* Account detail element styles. */ .settingsAuthAccountDetailPane { display: flex; flex-direction: column; } .settingsAuthAccountDetailTitle { font-size: .75rem; color: grey; font-weight: bold; font-family: 'Avenir Medium'; } .settingsAuthAccountDetailValue { font-size: .875rem; -webkit-user-select: initial; } /* Account actions container. */ .settingsAuthAccountActions { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; padding: .625rem; } /* Account select button shared styles. */ .settingsAuthAccountSelect { opacity: 0; border: none; white-space: nowrap; background: none; font-family: 'Avenir Medium'; outline: none; transition: 0.25s ease; } .settingsAuthAccountSelect:hover:not([selected]), .settingsAuthAccountSelect:focus:not([selected]) { text-shadow: 0rem 0rem 1.25rem white, 0rem 0rem 1.25rem white; cursor: pointer; } .settingsAuthAccount:hover .settingsAuthAccountSelect:not([selected]), .settingsAuthAccountSelect[selected] { opacity: 1; } .settingsAuthAccountSelect[selected] { pointer-events: none; } /* Account logout button shared styles. */ .settingsAuthAccountLogOut { opacity: 0; border: .0625rem solid rgb(241, 55, 55); color: rgb(241, 55, 55); background: none; font-size: .75rem; border-radius: .1875rem; font-family: 'Avenir Medium'; transition: 0.25s ease; cursor: pointer; outline: none; } .settingsAuthAccountLogOut:hover, .settingsAuthAccountLogOut:focus { box-shadow: 0rem 0rem 1.25rem rgb(241, 55, 55); background: rgba(241, 55, 55, 0.25); } .settingsAuthAccountLogOut:active { box-shadow: 0rem 0rem 1.25rem rgb(185, 47, 47); background: rgba(185, 47, 47, 0.25); border: .0625rem solid rgb(185, 47, 47); color: rgb(185, 47, 47); } .settingsAuthAccount:hover .settingsAuthAccountLogOut { opacity: 1; } /* * * * Settings View (Minecraft Tab) * * */ /* Game resolution UI elements. */ #settingsGameResolutionContainer { display: flex; flex-direction: column; padding-bottom: 1.25rem; border-bottom: .0625rem solid rgba(255, 255, 255, 0.50); width: 75%; } #settingsGameResolutionContent { display: flex; align-items: center; padding-top: .625rem; } #settingsGameResolutionCross { color: grey; padding: 0rem .9375rem; } #settingsGameWidth, #settingsGameHeight { padding: .4688rem .3125rem; width: 4.6875rem; } /* * * * Settings View (Mods Tab) * * */ /* Main content container for the mod elements. */ #settingsModsContainer { width: 75%; } /* Mod sub-container header text. */ .settingsModsHeader { padding-bottom: .625rem; border-bottom: .0625rem solid rgba(255, 255, 255, 0.5); margin-bottom: .625rem; } /* Mod elements sub-containers. */ #settingsReqModsContainer, #settingsOptModsContainer, #settingsDropinModsContainer { padding-bottom: 1.5625rem; } /* Main content containers for mod elements. */ #settingsReqModsContent, #settingsOptModsContent, #settingsDropinModsContent { font-size: .75rem; background: rgba(0, 0, 0, 0.25); border-radius: .1875rem; color: white; } /* Mod elements. */ .settingsMod, .settingsDropinMod { padding: .625rem; } .settingsSubMod { padding: .625rem 0rem .625rem .9375rem; margin-left: 1.25rem; border-left: .0625rem solid rgba(255, 255, 255, 0.5); } /* Main content container for mod element information. */ .settingsModContent { display: flex; align-items: center; justify-content: space-between; transition: opacity 0.25s ease; } /* Wrapper container for the left side of a mod element. */ .settingsModMainWrapper { display: flex; align-items: center; } /* Mod enabled/disabled status. */ .settingsModStatus { width: .4375rem; height: .4375rem; border-radius: 50%; background-color: #c32625; margin-right: .9375rem; transition: 0.25s ease; } /* Mod details container. */ .settingsModDetails { display: flex; flex-direction: column; } /* The version of the mod. */ .settingsModVersion { color: grey; font-size: .625rem; } /* Disabled toggleswitch for required mods. */ .toggleSwitch[reqmod] { filter: grayscale(49%) brightness(60%); pointer-events: none; } /* Set the status color of an enabled mod. */ .settingsBaseMod[enabled] > .settingsModContent > .settingsModMainWrapper > .settingsModStatus { background-color: rgb(165, 195, 37); } /* Add opacity to submods of a disabled mod. */ .settingsBaseMod:not([enabled]) > .settingsSubModContainer .settingsModContent { opacity: 0.5; } /* Curve the left border for submods. */ .settingsSubModContainer > .settingsSubMod:first-child { border-top-left-radius: .625rem; } .settingsSubModContainer > .settingsSubMod:last-child { border-bottom-left-radius: .625rem; } .settingsSubModContainer > .settingsSubMod:only-child { border-top-left-radius: .625rem; border-bottom-left-radius: .625rem; } /* Wrapper container for all submods. */ .settingsSubModContainer { margin-top: .625rem; } /* Button to open the mods folder for drop-in mods. */ #settingsDropinFileSystemButton { background: rgba(0, 0, 0, 0.25); border: .0625rem solid rgba(126, 126, 126, 0.57); border-radius: .1875rem; height: 3.125rem; width: 100%; text-align: left; padding: 0rem 3.125rem; cursor: pointer; outline: none; transition: 0.25s ease; margin-bottom: .625rem; } #settingsDropinFileSystemButton:hover, #settingsDropinFileSystemButton:focus, #settingsDropinFileSystemButton[drag] { background: rgba(54, 54, 54, 0.25); text-shadow: 0rem 0rem 1.25rem white; } /* Refresh instructions on the file system button. */ #settingsDropinRefreshNote { font-size: .625rem; pointer-events: none; } /* Button to remove drop-in mods. */ .settingsDropinRemoveButton { background: none; border: none; font-size: .625rem; text-align: left; padding: 0rem; color: #c32625; font-weight: bold; cursor: pointer; outline: none; transition: 0.25s ease; } .settingsDropinRemoveButton:hover, .settingsDropinRemoveButton:focus { text-shadow: 0rem 0rem 1.25rem #c32625, 0rem 0rem 1.25rem #c32625, 0rem 0rem 1.25rem #c32625; } .settingsDropinRemoveButton:active { color: #9b1f1f; text-shadow: 0rem 0rem 1.25rem #9b1f1f, 0rem 0rem 1.25rem #9b1f1f, 0rem 0rem 1.25rem #9b1f1f; } /* Shaderpack settings description. */ #settingsShaderpackDesc { font-size: .625rem; margin: .625rem 0rem; color: lightgrey; font-weight: bold; width: 89%; } /* Wrapper container. */ #settingsShaderpackWrapper { display: flex; } /* Button to add shaderpacks. */ #settingsShaderpackButton { background: rgba(0, 0, 0, 0.25); border: .0625rem solid rgba(126, 126, 126, 0.57); border-radius: .1875rem; cursor: pointer; outline: none; transition: 0.25s ease; font-size: .875rem; padding: .375rem .6875rem; margin-right: .3125rem; } #settingsShaderpackButton:hover, #settingsShaderpackButton:focus, #settingsShaderpackButton[drag] { background: rgba(54, 54, 54, 0.25); text-shadow: 0rem 0rem 1.25rem white; } /* Main select container. */ .settingsSelectContainer { position: relative; width: 50%; } /* Div which displays the selected option. */ .settingsSelectSelected { border-radius: .1875rem; border-width: .0625rem; font-size: .875rem; padding: .375rem 1rem; } /* Style the arrow inside the select element. */ .settingsSelectSelected:after { position: absolute; content: ""; top: calc(50% - .1875rem); right: .625rem; width: 0; height: 0; border: .375rem solid transparent; border-color: rgba(126, 126, 126, 0.57) transparent transparent transparent; } /* Point the arrow upwards when the select box is open (active). */ .settingsSelectSelected.select-arrow-active:after { border-color: transparent transparent rgba(126, 126, 126, 0.57) transparent; top: .4375rem; } .settingsSelectSelected.select-arrow-active { border-radius: .1875rem .1875rem 0rem 0rem; } /* Options content container. */ .settingsSelectOptions { position: absolute; top: 100%; left: 0; right: 0; z-index: 99; max-height: 300%; overflow-y: scroll; border: .0625rem solid rgba(126, 126, 126, 0.57); border-top: none; border-radius: 0rem 0rem .1875rem .1875rem; } /* Hide the items when the select box is closed. */ .settingsSelectOptions[hidden] { display: none; } .settingsSelectOptions::-webkit-scrollbar { width: .125rem; } .settingsSelectOptions::-webkit-scrollbar-track { display: none; } .settingsSelectOptions::-webkit-scrollbar-thumb { border-radius: .625rem; box-shadow: inset 0 0 .625rem rgba(255, 255, 255, 0.50); } /* Shared styles between options and selection div. */ .settingsSelectOptions div, .settingsSelectSelected { background: rgba(0, 0, 0, 0.25); border-style: solid; border-color: rgba(126, 126, 126, 0.57); color: #ffffff; cursor: pointer; } .settingsSelectOptions div { border-width: 0rem 0rem .0625rem 0rem; font-size: .75rem; padding: .25rem 1rem; } .settingsSelectOptions div:last-child { border-bottom: none; } /* Hover + selected styles. */ .settingsSelectOptions div:hover, .settingsSelectOptions div[selected] { background-color: rgba(255, 255, 255, 0.25) !important; } /* * * * Settings View (Java Tab) * * */ /* Style links on the Java tab. */ #settingsTabJava a, .settingsChangelogText a { color: rgba(202, 202, 202, 0.75); transition: 0.25s ease; outline: none; } #settingsTabJava a:hover, #settingsTabJava a:focus, .settingsChangelogText a:hover, .settingsChangelogText a:focus { color: rgba(255, 255, 255, 0.75); } #settingsTabJava a:active, .settingsChangelogText a:active { color: rgba(165, 165, 165, 0.75); } /* Main container for memory management. */ #settingsMemoryContainer { width: 75%; display: flex; flex-direction: column; border-bottom: .0625rem solid rgba(255, 255, 255, 0.50); margin-bottom: 1.25rem; } /* Memory management title. */ #settingsMemoryTitle { margin-bottom: .625rem; padding-bottom: .3125rem; border-bottom: .0625rem solid rgba(255, 255, 255, 0.5); } /* Memory management content. */ #settingsMemoryContent { display: flex; justify-content: space-between; width: 100%; } #settingsMemoryContentLeft { width: 69%; } #settingsMemoryContentRight { display: flex; align-items: center; margin-right: 10%; } /* Header for memory sliders. */ .settingsMemoryHeader { font-size: .875rem; } /* Wrapper container for a memory slider and label. */ .settingsMemoryActionContainer { display: flex; align-items: center; justify-content: space-between; } /* Label which displays a memory slider's value. */ .settingsMemoryLabel { font-size: .875rem; margin-right: 2%; } /* Range sliders for min and max memory settings. */ #settingsMaxRAMRange, #settingsMinRAMRange { width: 85%; } /* Memory status elements. */ #settingsMemoryStatus { display: flex; flex-direction: column; } #settingsMemoryStatus > .settingsMemoryStatusContainer:not(:last-child){ margin-bottom: 50%; } .settingsMemoryStatusContainer { display: flex; flex-direction: column; align-items: center; } .settingsMemoryStatusTitle { font-size: .75rem; color: grey; font-weight: bold; } .settingsMemoryStatusValue { color: lightgrey; font-size: 1rem; } /* Description for memory management. */ #settingsMemoryDesc { font-size: .625rem; margin: 1.25rem 0rem; color: lightgrey; font-weight: bold; } /* Status text which displays details on the selected executable. */ #settingsJavaExecDetails { font-weight: bold; color: grey; font-size: .75rem; } /* Main container for the JVM options setting. */ #settingsJVMOptsContainer { width: 75%; } /* JVM options title. */ #settingsJVMOptsTitle { margin-bottom: .625rem; } /* Wrapper container for the actionable elements. */ #settingsJVMOptsContent { display: flex; width: 90%; } /* Text field to input the JVM options. */ #settingsJVMOptsVal { border-radius: 0rem .1875rem .1875rem 0rem !important; width: 100%; padding: .3125rem .625rem; font-size: .75rem; } #settingsJVMOptsContent:focus-within > .settingsJavaIcon { background: rgba(126, 126, 126, 0.87); } /* Description for the JVM options setting. */ #settingsJVMOptsDesc { font-size: .625rem; margin: 1.25rem 0rem; color: lightgrey; font-weight: bold; width: 89%; } /* * * * Settings View (Launcher Tab) * * */ /* Tailored style for the data directory header. */ #settingsDataDirTitle { margin-bottom: .625rem; } /* * * * Settings View (About Tab) * * */ /* Main about content container. */ #settingsAboutCurrentContainer { display: flex; flex-direction: column; background: rgba(0, 0, 0, 0.25); border: .0625rem solid rgba(126, 126, 126, 0.57); border-radius: .1875rem; width: 75%; margin-bottom: 1.25rem; } /* About content. */ #settingsAboutCurrentContent { display: flex; flex-direction: column; padding: .9375rem; } /* About header elements. */ #settingsAboutCurrentHeadline { display: flex; align-items: center; padding-bottom: .3125rem; border-bottom: .0625rem solid rgba(126, 126, 126, 0.57); } #settingsAboutLogo { width: 1.875rem; height: 1.875rem; padding: .3125rem; } #settingsAboutTitle { font-size: 1.4375rem; padding-left: .625rem; } /* Current version container. */ #settingsAboutCurrentVersion { display: flex; align-items: center; padding-top: .625rem; } /* Checkmark next to the version information. */ #settingsAboutCurrentVersionCheck { border-radius: 50%; background: #23aa23; text-align: center; font-weight: bold; margin: .6875rem .75rem; color: white; height: .9375rem; width: .9375rem; font-size: .75rem; line-height: 1.0625rem; } /* Current version details container. */ #settingsAboutCurrentVersionDetails { margin-left: .625rem; } /* Release type text. */ #settingsAboutCurrentVersionTitle { font-size: .75rem; font-family: 'Avenir Medium'; color: #23aa23; font-weight: bold; } /* Current version text. */ #settingsAboutCurrentVersionLine { font-size: .625rem; color: grey; font-weight: bold; } /* About information links. */ #settingsAboutButtons { display: flex; padding: 0rem .9375rem; margin-bottom: .3125rem; } .settingsAboutButton { background: none; border: none; font-size: .625rem; color: grey; padding: 0rem .3125rem; transition: 0.25s ease; outline: none; text-decoration: none; } .settingsAboutButton:hover, .settingsAboutButton:focus { color: rgb(165, 165, 165); } .settingsAboutButton:active { color: rgba(124, 124, 124, 0.75); } /* Main changelog container. */ .settingsChangelogContainer { display: flex; flex-direction: column; background: rgba(0, 0, 0, 0.25); border: .0625rem solid rgba(126, 126, 126, 0.57); border-radius: .1875rem; width: 75%; margin-bottom: 1.25rem; } /* Changelog content container. */ .settingsChangelogContent { display: flex; flex-direction: column; padding: .9375rem; } /* Changelog header container. */ .settingsChangelogHeadline { padding-bottom: .625rem; margin-bottom: .625rem; border-bottom: .0625rem solid rgba(126, 126, 126, 0.57); } /* Changelog header label. */ .settingsChangelogLabel { font-size: .75rem; color: grey; font-weight: bold; } /* Changelog text content container. */ .settingsChangelogText { font-size: .75rem; } /* Styles for the changelog elements. */ .settingsChangelogText p { margin-bottom: 1rem; line-height: 1.5; } .settingsChangelogText blockquote { border-left: 0.25em solid rgba(126, 126, 126, 0.95); margin: 0rem; padding: 0 0 0 1em; color: rgba(255, 255, 255, 0.85); } .settingsChangelogText code { padding: 0.1em 0.4em; font-size: 85%; background-color: rgba(255, 255, 255, 0.25); color: white; border-radius: .1875rem; font-family: 'Avenir Book'; } .settingsChangelogText li+li { margin-top: .25em; } .settingsChangelogText a.commit-link { font-weight: 400; color: #ffffff; text-decoration: none; } .settingsChangelogText a.commit-link:hover { text-decoration: underline !important; text-decoration-color: black; } .settingsChangelogText tt { padding: 0.1em 0.4em; font-size: 86%; background-color: white; border-radius: .1875rem; color: black; font-weight: bold; } .settingsChangelogText a.commit-link:hover tt { text-decoration: underline; text-decoration-color: black; } .settingsChangelogText .highlight { background: rgba(0, 0, 0, 0.30); user-select: initial; padding: .3125rem .625rem; } .settingsChangelogText .highlight pre { margin: 0rem; } /* Container for the changelog button. */ .settingsChangelogActions { padding: 0rem .9375rem .3125rem .9375rem; } /* Open changelog on GitHub. */ .settingsChangelogButton { padding: 0rem; } /* * * * Settings View (Updates Tab) * * */ /* Main about content container. */ #settingsUpdateStatusContainer { display: flex; flex-direction: column; background: rgba(0, 0, 0, 0.25); border: .0625rem solid rgba(126, 126, 126, 0.57); border-radius: .1875rem; width: 75%; margin-bottom: 1.25rem; } /* Update content. */ #settingsUpdateStatusContent { display: flex; flex-direction: column; padding: .9375rem; } /* Update header elements. */ #settingsUpdateStatusHeadline { display: flex; align-items: center; padding-bottom: .3125rem; border-bottom: .0625rem solid rgba(126, 126, 126, 0.57); } #settingsUpdateTitle { font-size: 1rem; padding-left: .625rem; font-weight: bold; } /* Update version container. */ #settingsUpdateVersion { display: flex; align-items: center; padding: .625rem 0rem; border-bottom: .0625rem solid rgba(126, 126, 126, 0.57); } /* Checkmark next to the version information. */ #settingsUpdateVersionCheck { border-radius: 50%; background: #23aa23; text-align: center; font-weight: bold; margin: .6875rem .75rem; color: white; height: .9375rem; width: .9375rem; font-size: .75rem; line-height: 1.0625rem; } /* Update version details container. */ #settingsUpdateVersionDetails { margin-left: .625rem; } /* Release type text. */ #settingsUpdateVersionTitle { font-size: .75rem; font-family: 'Avenir Medium'; color: #23aa23; font-weight: bold; } /* Current version text. */ #settingsUpdateVersionLine { font-size: .625rem; color: grey; font-weight: bold; } /* Update action container. */ #settingsUpdateActionContainer { padding-top: .625rem; font-size: .875rem; font-weight: bold; } /* Update action button styles. */ #settingsUpdateActionButton { display: flex; flex-direction: column; padding-left: .625rem; background: none; border: none; font-size: .875rem; font-weight: bold; cursor: pointer; outline: none; text-align: left; transition: 0.25s ease; } #settingsUpdateActionButton:hover, #settingsUpdateActionButton:focus { text-shadow: 0rem 0rem 1.25rem white, 0rem 0rem 1.25rem white, 0rem 0rem 1.25rem white; } #settingsUpdateActionButton:active { text-shadow: 0rem 0rem 1.25rem #c7c7c7, 0rem 0rem 1.25rem #c7c7c7, 0rem 0rem 1.25rem #c7c7c7; color: #c7c7c7; } #settingsUpdateActionButton:disabled { pointer-events: none; } /******************************************************************************* * * * Landing View (Structural Styles) * * * ******************************************************************************/ /* Main content container. */ #landingContainer { height: 100%; position: relative; transition: background 2s ease; overflow-y: hidden; } /* Upper content container. */ #landingContainer > #upper { position: relative; transition: top 2s ease; top: 0rem; height: 77%; display: flex; } #landingContainer > #upper > #left { display: inline-flex; width: 15%; height: 100%; justify-content: flex-end; } #landingContainer > #upper > #content { display: inline-flex; width: 70%; height: 100%; } #landingContainer > #upper > #right { display: inline-flex; width: 15%; height: 100%; } /* Lower content container. */ #landingContainer > #lower { height: 23%; display: flex; background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)); } #landingContainer > #lower > #left { position: relative; transition: top 2s ease; top: 0rem; height: 100%; width: 33%; display: inline-flex; justify-content: center; } #landingContainer > #lower > #left #content { position: relative; top: 1.5625rem; display: inline-flex; line-height: 1.5rem; left: 3.125rem; } #landingContainer > #lower > #center { position: relative; transition: top 2s ease; top: 0rem; height: 100%; width: 34%; display: inline-flex; justify-content: center; } #landingContainer > #lower > #center #content { position: relative; z-index: 500; transition: top 2s ease; top: .625rem; } #landingContainer > #lower > #right { position: relative; transition: top 2s ease; top: 0rem; height: 100%; width: 33%; display: inline-flex; } /******************************************************************************* * * * Landing View (News Styles) * * * ******************************************************************************/ /* Main container. */ #newsContainer { position: absolute; top: 100%; height: 100%; width: 100%; transition: top 2s ease; display: flex; align-items: flex-end; justify-content: center; } /* News content container. */ #newsContent { height: 82vh; width: 100%; display: flex; -webkit-user-select: initial; position: relative; } /* Drop shadow displayed when content is scrolled out of view. */ #newsContent:before { content: ''; background: linear-gradient(rgba(0, 0, 0, 0.25), transparent); width: 100%; height: .3125rem; position: absolute; opacity: 0; transition: opacity 0.25s ease; } #newsContent[scrolled]:before { opacity: 1; } /* News article status container (left). */ #newsStatusContainer { width: calc(30% - 3.75rem); height: calc(100% - 1.875rem); padding: .9375rem .9375rem .9375rem 2.8125rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; } /* News status content. */ #newsStatusContent { display: flex; flex-direction: column; align-items: flex-end; } /* News title wrapper. */ #newsTitleContainer { display: flex; max-width: 90%; } /* News article title styles. */ #newsArticleTitle { font-size: 1.125rem; font-weight: bold; font-family: 'Avenir Medium'; color: white; text-decoration: none; transition: 0.25s ease; outline: none; text-align: right; } #newsArticleTitle:hover, #newsArticleTitle:focus { text-shadow: 0rem 0rem 1.25rem white; } #newsArticleTitle:active { color: #c7c7c7; text-shadow: 0rem 0rem 1.25rem #c7c7c7; } /* News meta container. */ #newsMetaContainer { display: flex; flex-direction: column; } /* Date and author wrappers. */ #newsArticleDateWrapper, #newsArticleAuthorWrapper { display: flex; justify-content: flex-end; } /* Date and author shared styles. */ #newsArticleDate, #newsArticleAuthor { display: inline-block; font-size: .625rem; padding: 0rem .3125rem; font-weight: bold; border-radius: .125rem; } /* Date styles. */ #newsArticleDate { background: white; color: black; margin-top: .3125rem; } /* Author styles. */ #newsArticleAuthor { background: #a02d2a; } /* News article comments styles. */ #newsArticleComments { margin-top: .3125rem; display: inline-block; font-size: .625rem; color: #ffffff; text-decoration: none; transition: 0.25s ease; outline: none; text-align: right; } #newsArticleComments:focus, #newsArticleComments:hover { color: #e0e0e0; } #newsArticleComments:active { color: #c7c7c7; } /* Article content container (right). */ #newsArticleContainer { width: calc(100% - 1.5625rem); height: 100%; margin: 0rem 0rem 0rem 1.5625rem; } /* Article content styles. */ #newsArticleContentScrollable { font-size: .75rem; overflow-y: scroll; height: 100%; padding: 0rem .9375rem 0rem .9375rem; } #newsArticleContentScrollable img, #newsArticleContentScrollable iframe { max-width: 95%; display: block; margin: 0 auto; } #newsArticleContentScrollable a { color: rgba(202, 202, 202, 0.75); transition: 0.25s ease; outline: none; } #newsArticleContentScrollable a:hover, #newsArticleContentScrollable a:focus { color: rgba(255, 255, 255, 0.75); } #newsArticleContentScrollable a:active { color: rgba(165, 165, 165, 0.75); } #newsArticleContentScrollable::-webkit-scrollbar { width: .125rem; } #newsArticleContentScrollable::-webkit-scrollbar-track { display: none; } #newsArticleContentScrollable::-webkit-scrollbar-thumb { border-radius: .625rem; box-shadow: inset 0 0 .625rem rgba(255, 255, 255, 0.50); } .bbCodeSpoilerButton { background: none; border: none; outline: none; cursor: pointer; font-size: 1rem; transition: 0.25s ease; width: 100%; border-bottom: .0625rem solid white; padding-bottom: .9375rem; } .bbCodeSpoilerButton:hover, .bbCodeSpoilerButton:focus { text-shadow: 0rem 0rem 1.25rem #ffffff, 0rem 0rem 1.25rem #ffffff, 0rem 0rem 1.25rem #ffffff; } .bbCodeSpoilerButton:active { color: #c7c7c7; text-shadow: 0rem 0rem 1.25rem #c7c7c7, 0rem 0rem 1.25rem #c7c7c7, 0rem 0rem 1.25rem #c7c7c7; } .bbCodeSpoilerText { display: none; padding: .9375rem 0rem; border-bottom: .0625rem solid white; } #newsArticleContentWrapper { width: 80%; } .newsArticleSpacerTop { height: .9375rem; } /* Div to add spacing at the end of a news article. */ .newsArticleSpacerBot { height: 1.875rem; } /* News navigation container. */ #newsNavigationContainer { display: flex; justify-content: center; align-items: center; margin-bottom: .625rem; -webkit-user-select: none; position: absolute; bottom: .9375rem; right: 0rem; } /* Navigation status span. */ #newsNavigationStatus { font-size: .75rem; margin: 0rem .9375rem; } /* Left and right navigation button styles. */ #newsNavigateLeft, #newsNavigateRight { background: none; border: none; outline: none; height: 1.25rem; cursor: pointer; } #newsNavigateLeft:hover #newsNavigationLeftSVG, #newsNavigateLeft:focus #newsNavigationLeftSVG, #newsNavigateRight:hover #newsNavigationRightSVG, #newsNavigateRight:focus #newsNavigationRightSVG { -webkit-filter: drop-shadow(0rem 0rem .125rem #fff); } #newsNavigateLeft:active #newsNavigationLeftSVG .arrowLine, #newsNavigateRight:active #newsNavigationRightSVG .arrowLine { stroke: #c7c7c7; } #newsNavigateLeft:active #newsNavigationLeftSVG, #newsNavigateRight:active #newsNavigationRightSVG { -webkit-filter: drop-shadow(0rem 0rem .125rem #c7c7c7); } #newsNavigateLeft:disabled #newsNavigationLeftSVG .arrowLine, #newsNavigateRight:disabled #newsNavigationRightSVG .arrowLine { stroke: rgba(255, 255, 255, 0.75); } #newsNavigationLeftSVG { transform: rotate(-90deg); width: .9375rem; } #newsNavigationRightSVG { transform: rotate(90deg); width: .9375rem; } /* News error (message) container. */ #newsErrorContainer { height: 100%; display: flex; align-items: center; flex-direction: column; justify-content: center; } #newsErrorFailed { display: flex; align-items: center; flex-direction: column; justify-content: center; } /* News error content (message). */ .newsErrorContent { font-size: 1.25rem; } #newsErrorLoading { display: flex; width: 10.5575rem; } #nELoadSpan { white-space: pre; } /* News error retry button styles. */ #newsErrorRetry { font-size: .75rem; font-weight: bold; cursor: pointer; background: none; border: none; outline: none; transition: 0.25s ease; } #newsErrorRetry:focus, #newsErrorRetry:hover { text-shadow: 0rem 0rem 1.25rem white; } #newsErrorRetry:active { color: #c7c7c7; text-shadow: 0rem 0rem 1.25rem #c7c7c7; } /******************************************************************************* * * * Landing View (Top Styles) * * * ******************************************************************************/ /* * * * Landing View (Top Styles) | Left Content * * */ /* Logo image. */ #image_seal { height: 4.375rem; width: auto; position: relative; border: .125rem solid white; box-sizing: border-box; border-radius: 50%; } /* Logo container styles. */ #image_seal_container { position: relative; height: 4.375rem; width: 4.375rem; border-radius: 50%; margin-top: 3.125rem; } /* Logo container styles w/ update. */ #image_seal_container[update]{ cursor: pointer } #image_seal_container[update]:before, #image_seal_container[update]:after { cursor: pointer; position: absolute; content: ''; height: 100%; width: 100%; top: 0%; left: 0%; border-radius: 50%; box-shadow: 0 0 .9375rem #43c628; animation: glow-grow 4s ease-out infinite; background: rgba(0, 0, 0, 0.15); } #image_seal_container[update]:before { animation-delay: 2s; } /* Update available tooltip styles. */ #updateAvailableTooltip { cursor: pointer; visibility: hidden; opacity: 0; width: 6.25rem; height: .9375rem; background-color: rgb(0, 0, 0); color: #fff; text-align: center; border-radius: .25rem; padding: .125rem; position: absolute; z-index: 1; top: 115%; left: -1.0938rem; font-family: 'Avenir Medium'; font-size: .75rem; transition: visibility 0s linear 0.25s, opacity 0.25s ease; } #updateAvailableTooltip::after { content: " "; position: absolute; left: 50%; bottom: 100%; margin-left: -0.3125rem; border-width: .3125rem; border-style: solid; border-color: transparent transparent rgb(0, 0, 0) transparent; } #image_seal_container[update]:hover #updateAvailableTooltip { visibility: visible; opacity: 1; transition-delay: 0s; } /* Update available animation. */ @keyframes glow-grow { 0% { opacity: 0; transform: scale(1); } 80% { opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } } /* * * * Landing View (Bottom Styles) | Right Content * * */ /* Wrapper container for top, right content. */ #rightContainer { display: flex; flex-direction: column; position: relative; top: 3.125rem; align-items: flex-start; height: calc(100% - 3.125rem); } /* Right hand user content container. */ #user_content { display: flex; align-items: center; justify-content: center; box-sizing: border-box; position: relative; } /* User profile avatar container. */ #avatarContainer { border-radius: 50%; border: .125rem solid #cad7e1; box-sizing: border-box; background: rgba(1, 2, 1, 0.5); height: 4.375rem; width: 4.375rem; box-shadow: 0rem 0rem .625rem 0rem rgb(0, 0, 0); overflow: hidden; position: relative; background-position: center; background-repeat: no-repeat; background-size: contain; } /* Avatar edit overlay. */ #avatarOverlay { opacity: 0; position: absolute; z-index: 1; display: flex; justify-content: center; align-items: center; transition: 0.25s ease; font-weight: bold; letter-spacing: .125rem; background-color: rgba(0, 0, 0, 0.35); -webkit-user-select: none; border: none; cursor: pointer; width: 100%; height: 100%; border-radius: 50%; } #avatarOverlay:hover, #avatarOverlay:focus { opacity: 1; } #avatarOverlay:active { background-color: rgba(0, 0, 0, 0.45); } /* User profile name text. */ #user_text { font-size: .75rem; min-width: 8.4375rem; font-weight: 900; letter-spacing: .0625rem; text-shadow: 0rem 0rem 1.25rem black; position: absolute; right: 5.9375rem; text-align: right; -webkit-user-select: initial; } /* Social media icon content container. */ #mediaContent { position: relative; display: flex; flex-direction: column; margin-top: 1.5625rem; height: calc(100% - 5.9375rem); width: 4.375rem; align-items: center; } /* Social Media Icon division containers. */ #internalMedia, #externalMedia { display: flex; flex-direction: column; } /* Container object which wraps an icon to ensure fluid transitions. */ .mediaContainer { display: flex; justify-content: center; align-items: center; height: 1.6875rem; } /* Divider bar between the external and internal icons. */ .mediaDivider { height: .0625rem; width: .875rem; background: rgb(255, 255, 255); margin: .625rem 0rem; } /* Social media icon shared styles. */ .mediaSVG { fill: #ffffff; height: .75rem; transition: 0.25s ease; cursor: pointer; height: .75rem; width: 1.5625rem; } .mediaSVG:hover, .mediaURL:focus .mediaSVG, .mediaSVG:active { height: 1.25rem; } /* Social media URL shared styles. */ .mediaURL { outline: none; } /* Internal media button shared styles. */ .mediaButton { background: none; border: none; padding: 0rem; display: flex; align-items: center; outline: none; } #settingsMediaContainer { position: relative; } /* Settings icon colors. */ #settingsSVG { stroke: #ffffff; height: .9375rem; } .mediaButton:hover #settingsSVG, .mediaButton:focus #settingsSVG, .mediaButton:active #settingsSVG { height: 1.4375rem; } /* Settings tooltip styles. */ #settingsTooltip { visibility: hidden; opacity: 0; width: 4.6875rem; height: 1.25rem; background-color: rgba(0, 0, 0, 0.75); text-align: center; border-radius: .25rem; position: absolute; z-index: 1; right: 130%; font-size: .75rem; line-height: 1.25rem; transition: visibility 0s linear 0.25s, opacity 0.25s ease; } #settingsTooltip::after { content: " "; position: absolute; top: 50%; left: 100%; margin-top: -0.3125rem; border-width: .3125rem; border-style: solid; border-color: transparent transparent transparent rgba(0, 0, 0, 0.75); } .mediaButton:hover #settingsTooltip, .mediaButton:focus #settingsTooltip, .mediaButton:active #settingsTooltip { visibility: visible; opacity: 1; transition-delay:0s; } /* Twitter icon colors. */ #twitterSVG:hover, #twitterURL:focus #twitterSVG { fill: #1da1f2; } #twitterSVG:active { fill: #1b8dd4; } /* Instagram icon colors. */ #instagramSVG:hover, #instagramURL:focus #instagramSVG { fill: url('#instaFill') /*fill: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); */ } #instagramSVG:active { fill: url('#instaFill') } /* Youtube icon colors. */ #youtubeSVG:hover, #youtubeURL:focus #youtubeSVG { fill: #f00; } #youtubeSVG:active { fill: #ea0202; } /* Discord icon colors. */ #discordSVG:hover, #discordURL:focus #discordSVG { fill: #7288d9; } #discordSVG:active { fill: #657ac4; } /******************************************************************************* * * * Landing View (Bottom Styles) * * * ******************************************************************************/ /* Style for a general label on the bottom of the landing view. */ .bot_label { font-size: .5625rem; letter-spacing: .0625rem; font-weight: bold; text-shadow: 0rem 0rem 0rem #bebcbb; } /* Divider used on the bottom of the landing view. */ .bot_divider { height: 1.5625rem; width: .125rem; background: rgba(107, 105, 105, 0.7); margin-left: 1.25rem; margin-right: 1.25rem; } /* * * * Landing View (Bottom Styles) | Left Content * * */ /* Maintains maximum width on the status bar. */ #server_status_wrapper { display: inline-flex; width: 4.6875rem; } /* Span which displays the player count of the selected server. */ #player_count { color: #949494; font-size: .5rem; font-weight: 900; text-shadow: 0rem 0rem 1.25rem #949494; margin-left: .625rem; } /* Wrapper container for the mojang status bar. */ #mojangStatusWrapper { position: relative; display: flex; cursor: pointer; } /* Icon which displays the status of the mojang services. */ #mojang_status_icon { font-size: 1.875rem; color: #848484; margin-left: .9375rem; font-family: 'sans-serif'; } /* Tooltip which displays more details about the mojang statuses. */ #mojangStatusTooltip { position: absolute; visibility: hidden; opacity: 0; width: 9.0625rem; min-height: 9.375rem; background-color: rgba(0, 0, 0, 0.75); color: #fff; border-radius: .25rem; padding: .3125rem .625rem; z-index: 1; font-family: 'Avenir Medium'; font-size: .75rem; transition: visibility 0s linear 0.25s, opacity 0.25s ease; bottom: calc(100% + .9375rem); transform: translateX(-50%); margin-left: 50%; box-shadow: 0rem 0rem 1.25rem rgb(0, 0, 0); cursor: default; } #mojangStatusTooltip:after { content: " "; position: absolute; left: 50%; top: 100%; margin-left: -0.3125rem; border-width: .3125rem; border-style: solid; border-color: rgba(0, 0, 0, 0.75) transparent transparent transparent; } #mojangStatusWrapper:hover #mojangStatusTooltip { visibility: visible; opacity: 1; transition-delay: 0s; } /* Tooltip title for the mojang statuses. */ #mojangStatusTooltipTitle { width: 100%; text-align: center; margin-bottom: .3125rem; letter-spacing: .0625rem; } /* Wrapper container for the non essential services title. */ #mojangStatusNEContainer { display: flex; align-items: center; margin: .625rem 0rem; } /* White bar which surrounds the non essential service title. */ .mojangStatusNEBar { height: .0625rem; width: 100%; background: white; } /* Non essential service title text. */ #mojangStatusNETitle { font-size: .625rem; padding: 0rem .1875rem; text-align: center; letter-spacing: .0625rem; } /* Wrapper container for mojang service information. */ .mojangStatusContainer { display: flex; } /* Displays the name of the mojang service. */ .mojangStatusName { width: 100%; font-size: .625rem; letter-spacing: .0625rem; line-height: .75rem; padding: .375rem 0rem; } /* Displays the status of the mojang service. */ .mojangStatusIcon { margin-right: .625rem; font-size: 1.1563rem; color: #848484; } /* * * * Landing View (Bottom Styles) | Center Content * * */ /* Button which opens the news view. */ #newsButton { background: none; border: none; cursor: pointer; outline: none; } #newsButton:hover #newsButtonText, #newsButton:focus #newsButtonText { text-shadow: 0rem 0rem 1.25rem #fff, 0rem 0rem 1.25rem #fff; } #newsButton:active { color: #c7c7c7; text-shadow: 0rem 0rem 1.25rem #c7c7c7, 0rem 0rem 1.25rem #c7c7c7; } #newsButton:hover #newsButtonSVG, #newsButton:focus #newsButtonSVG { -webkit-filter: drop-shadow(0rem 0rem .125rem #fff); } #newsButton:active #newsButtonSVG .arrowLine { stroke: #c7c7c7; } #newsButton:active #newsButtonSVG { -webkit-filter: drop-shadow(0rem 0rem .125rem #c7c7c7); } #newsButton:disabled #newsButtonSVG .arrowLine { stroke: rgba(255, 255, 255, 0.75); } /* Icon which indicates there is new news. */ #newsButtonAlert { width: .3125rem; height: .3125rem; position: absolute; border-radius: 50%; background: red; right: -0.0625rem; top: 50%; } /* Arrow image which floats above the news button. */ #newsButtonSVG { height: .6875rem; margin-left: -0.125rem; transition: 0.25s ease; } /* Span which contains the news button text. */ #newsButtonText { color: white; font-weight: 900; letter-spacing: .125rem; text-shadow: 0rem 0rem 0rem #bebcbb; font-size: .6875rem; line-height: 1.875rem; display: flex; transition: 0.25s ease; } /* * * * Landing View (Bottom Styles) | Right Content * * */ /* Main launch content container. */ #landingContainer > #lower > #right #launch_content { position: relative; top: 1.5625rem; display: inline-flex; } /* The launch button. */ #launch_button { background: none; border: none; cursor: pointer; font-weight: 900; letter-spacing: .125rem; text-shadow: 0rem 0rem 0rem #bebcbb; font-size: 1.25rem; padding: 0rem; transition: 0.25s ease; outline: none; } #launch_button:hover, #launch_button:focus { text-shadow: 0rem 0rem 1.25rem #fff, 0rem 0rem 1.25rem #fff; } #launch_button:active { color: #c7c7c7; text-shadow: 0rem 0rem 1.25rem #c7c7c7, 0rem 0rem 1.25rem #c7c7c7; } #launch_button:disabled { color: #c7c7c7; cursor: default; pointer-events: none; } /* Launch details main container, hidden until launch processing begins. */ #launch_details { position: relative; top: 1.5625rem; display: none; } /* Left side of launch details container, displays percentage and a divider. */ #launch_details_left { display: flex; } /* Span which displays percentage complete. */ #launch_progress_label { font-weight: 900; letter-spacing: .0625rem; text-shadow: 0rem 0rem 0rem #bebcbb; font-size: 1.25rem; min-width: 3.3256rem; max-width: 3.3256rem; text-align: right; } /* Right side of launch details container, displays progress bar and details. */ #launch_details_right { display: flex; flex-direction: column; justify-content: center; } /* Button which opens the server selection view. */ #server_selection_button { background: none; border: none; outline: none; cursor: pointer; line-height: 1.5rem; padding: 0rem; transition: 0.25s ease; } #server_selection_button:hover, #server_selection_button:focus { text-shadow: 0rem 0rem 1.25rem #fff, 0rem 0rem 1.25rem #fff, 0rem 0rem 1.25rem #fff; } #server_selection_button:active { color: #c7c7c7; text-shadow: 0rem 0rem 1.25rem #c7c7c7, 0rem 0rem 1.25rem #c7c7c7, 0rem 0rem 1.25rem #c7c7c7; } /* Progress bar styles. */ #launch_progress[value] { height: .1875rem; width: 16.5625rem; -webkit-appearance: none; } #launch_progress[value]::-webkit-progress-bar { background-color: transparent; } #launch_progress[value]::-webkit-progress-value { background-color: #fff; } /* Span which displays information about the status of the launch process. */ #launch_details_text { font-size: .6875rem; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } /******************************************************************************* * * * Overlay View (overlay.ejs) * * * ******************************************************************************/ /* * * * Overlay View (Main Content) * * */ /* Overlay container, placed over the main div. */ #overlayContainer { position: absolute; z-index: 500; top: 1.375rem; display: flex; align-items: center; justify-content: center; width: 100%; height: calc(100% - 1.375rem); background: rgba(0, 0, 0, 0.50); } /* Main overlay content. */ #overlayContent { position: relative; display: flex; flex-direction: column; align-items: center; /*justify-content: space-between;*/ width: 18.75rem; /*height: 35%;*/ box-sizing: border-box; padding: .9375rem 0rem; /* background-color: #424242; */ text-align: center; } /* Main overlay content anchor styles. */ #overlayContent a, #overlayDismiss { color: rgba(202, 202, 202, 0.75); transition: 0.25s ease; } #overlayContent a:hover, #overlayContent a:focus, #overlayDismiss:focus { color: rgba(255, 255, 255, 0.75); } #overlayContent a:active, #overlayDismiss:active { color: rgba(165, 165, 165, 0.75); } /* Add spacing between overlay content elements. */ #overlayContent > *:first-child { margin-top: 0rem !important; } #overlayContent > *:last-child { margin-bottom: 0rem !important; } #overlayContent > * { margin: .5rem 0rem; } /* Overlay title styles. */ #overlayTitle { font-family: 'Avenir Medium'; font-size: 1.25rem; font-weight: bold; letter-spacing: .0625rem; -webkit-user-select: initial; } /* Overlay description styles. */ #overlayDesc { font-size: .75rem; font-weight: bold; -webkit-user-select: initial; } /* Div which contains action buttons. */ #overlayActionContainer { display: flex; flex-direction: column; justify-content: center; } /* Overlay acknowledge button styles. */ #overlayAcknowledge { background: none; border: .0625rem solid #ffffff; color: white; font-family: 'Avenir Medium'; font-weight: bold; border-radius: .125rem; padding: 0rem .5062rem; cursor: pointer; transition: 0.25s ease; } #overlayAcknowledge:hover, #overlayAcknowledge:focus { box-shadow: 0rem 0rem .625rem 0rem #fff; outline: none; } #overlayAcknowledge:active { border-color: rgba(255, 255, 255, 0.75); color: rgba(255, 255, 255, 0.75); } /* Overlay dismiss option styles. */ #overlayDismiss { font-weight: bold; font-size: .625rem; text-decoration: none; padding-top: .1563rem; background: none; border: none; outline: none; cursor: pointer; } #overlayDismiss:hover { color: rgba(255, 255, 255, 0.75); } #overlayDismiss:active { color: rgba(165, 165, 165, 0.75); } /* * * * Overlay View (Server + Account Selection Content) * * */ /* Server selection content container. */ #serverSelectContent, #accountSelectContent { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 75%; } /* Server selection header. */ #serverSelectHeader, #accountSelectHeader { font-family: 'Avenir Medium'; font-size: 1.25rem; font-weight: bold; color: #fff; margin-bottom: 1.5625rem; } /* Wrapper div for the list of available servers. */ #serverSelectList, #accountSelectList { display: flex; flex-direction: column; align-items: center; justify-content: center; max-height: 65%; min-height: 40%; } /* Scrollable div which lists the available servers. */ #serverSelectListScrollable, #accountSelectListScrollable { padding: 0rem .3125rem; overflow-y: scroll; } #serverSelectListScrollable::-webkit-scrollbar, #accountSelectListScrollable::-webkit-scrollbar { width: .125rem; } #serverSelectListScrollable::-webkit-scrollbar-track, #accountSelectListScrollable::-webkit-scrollbar-track { display: none; } #serverSelectListScrollable::-webkit-scrollbar-thumb, #accountSelectListScrollable::-webkit-scrollbar-thumb { border-radius: .625rem; box-shadow: inset 0 0 .625rem rgba(255, 255, 255, 0.50); } /* Content container for a server listing. */ .serverListing { border: none; padding: 0rem; width: 23.4375rem; min-height: 3.75rem; display: flex; justify-content: flex-start; align-items: center; opacity: 0.6; transition: 0.25s ease; cursor: pointer; position: relative; background: rgba(131, 131, 131, 0.25); } .serverListing[selected] { cursor: default; opacity: 1.0; } .serverListing:hover, .serverListing:focus { outline: none; opacity: 1.0; } .accountListing { color: white; border: .0625rem solid rgba(126, 126, 126, 0.57); border-radius: .1875rem; padding: .3125rem 2.8125rem; width: 15.625rem; display: flex; justify-content: flex-start; align-items: center; opacity: 0.6; transition: 0.25s ease; cursor: pointer; position: relative; background: rgba(0, 0, 0, 0.25); } .accountListing[selected] { cursor: default; opacity: 1.0; } .accountListing:hover, .accountListing:focus { outline: none; opacity: 1.0; } .accountListingName { display: flex; height: 100%; width: 100%; padding-left: .625rem; } /* Add spacing between server listings. */ #serverSelectListScrollable > .serverListing:not(:first-child):not(:last-child), #accountSelectListScrollable > .accountListing:not(:first-child):not(:last-child) { margin: .3125rem 0rem; } #serverSelectListScrollable > .serverListing:first-child, #accountSelectListScrollable > .accountListing:first-child { margin-bottom: .3125rem; } #serverSelectListScrollable > .serverListing:last-child, #accountSelectListScrollable > .accountListing:last-child { margin-top: .3125rem; } /* Server listing image. */ .serverListingImg { margin: 0rem .625rem 0rem .3125rem; border: .0625rem solid #fff; height: 3.125rem; width: 3.125rem; } /* Content container for the server listing's details. */ .serverListingDetails { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; height: 3.125rem; } /* The name of the server listing. */ .serverListingName { font-size: .875rem; font-weight: bold; } /* Description for the server listing. */ .serverListingDescription { font-size: .625rem; line-height: .625rem; font-weight: bold; text-align: left; } /* Content container for the server listing's information. */ .serverListingInfo { width: 100%; display: flex; justify-content: flex-start; } /* The minecraft version of the server listing. */ .serverListingVersion { font-size: .625rem; text-align: center; display: flex; justify-content: center; align-items: center; line-height: .75rem; height: .75rem; border-radius: .125rem; background: rgba(31, 140, 11, 0.8); padding: 0rem .125rem; } /* The revision version of the server's manifest. */ .serverListingRevision { color: #969696; font-size: .625rem; line-height: .75rem; padding: 0rem .3125rem; } /* Star which indicates the default (main) server. */ .serverListingStarWrapper { display: flex; align-items: center; cursor: pointer; height: .75rem; position: relative; } /* Tooltip which displays when hovering over the star. */ .serverListingStarTooltip { visibility: hidden; opacity: 0; width: 4.0625rem; background-color: rgba(0, 0, 0, 0.40); text-align: center; border-radius: .25rem; position: absolute; z-index: 1; left: 130%; font-size: .625rem; transition: visibility 0s linear 0.25s, opacity 0.25s ease; } .serverListingStarTooltip::after { content: " "; position: absolute; top: 50%; right: 100%; /* To the left of the tooltip */ margin-top: -0.3125rem; border-width: .3125rem; border-style: solid; border-color: transparent rgba(0, 0, 0, 0.40) transparent transparent; } .serverListingStarWrapper:hover .serverListingStarTooltip { visibility: visible; opacity: 1; transition-delay:0s; } /* Content container which contains the server select actions. */ #serverSelectActions, #accountSelectActions { display: flex; flex-direction: column; justify-content: center; align-items: center; margin-top: 1.5625rem; } /* Server selection confirm button styles. */ #serverSelectConfirm, #accountSelectConfirm { background: none; border: .0625rem solid #ffffff; color: white; font-family: 'Avenir Medium'; font-weight: bold; border-radius: .125rem; padding: 0rem .5062rem; cursor: pointer; transition: 0.25s ease; min-height: 1.2919rem; } #serverSelectConfirm:hover, #serverSelectConfirm:focus, #accountSelectConfirm:hover, #accountSelectConfirm:focus { box-shadow: 0rem 0rem .625rem 0rem #fff; outline: none; } #serverSelectConfirm:active, #accountSelectConfirm:active { border-color: rgba(255, 255, 255, 0.75); color: rgba(255, 255, 255, 0.75); } /* Server selection cancel button styles. */ #serverSelectCancel, #accountSelectCancel { font-weight: bold; font-size: .625rem; text-decoration: none; padding-top: .1563rem; color: rgba(202, 202, 202, 0.75); transition: 0.25s ease; background: none; border: none; outline: none; cursor: pointer; } #serverSelectCancel:hover, #serverSelectCancel:focus, #accountSelectCancel:hover, #accountSelectCancel:focus { color: rgba(255, 255, 255, 0.75); } #serverSelectCancel:active, #accountSelectCancel:active { color: rgba(165, 165, 165, 0.75); } /******************************************************************************* * * * Loading Element (app.ejs) * * * ******************************************************************************/ /* Loading container, placed above everything. */ #loadingContainer { position: absolute; z-index: 400; display: flex; align-items: center; justify-content: center; width: 100%; height: calc(100% - 1.375rem); } /* Loading content container. */ #loadingContent { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; } /* Spinner container. */ #loadSpinnerContainer { position: relative; display: flex; align-items: center; justify-content: center; } /* Stationary image for the spinner. */ #loadCenterImage { position: absolute; width: 17.3125rem; height: auto; } /* Rotating image for the spinner. */ #loadSpinnerImage { width: 17.5rem; height: auto; z-index: 400; } /* Rotating animation for the spinner. */ @keyframes rotating { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } /* Class which is applied when the spinner image is spinning. */ .rotating { animation: rotating 10s linear infinite; }