@font-face { font-family: SourceSansPro; src: url("./fonts/SourceSansPro-Regular.otf") format("opentype"); } @font-face { font-family: SourceSansProLight; src: url("./fonts/SourceSansPro-Light.otf") format("opentype"); } html, body { background-color: #353b48; margin: 0; height: 100%; user-select: none; } #topbar { -ms-overflow-style: hidden; -webkit-app-region: drag; background-color: green; z-index: 99; box-shadow: 0px 0px 2px 1px rgb(0, 0, 0); } #topbar > span { font-family: SourceSansPro; line-height: 14pt; padding-top: 1pt; padding-left: 3pt; color: rgba(0, 0, 0, 0.75); } .topbar-btn-container { -webkit-app-region:no-drag; color:white; position: absolute; right: 0; height: 16pt; z-index: 128; top: 0; } .topbar-btn-container > button { background-color: rgba(0,0,0,0); border:none; height: 16pt; line-height: 16pt; } .topbar-btn-container > button:hover { background-color: rgba(0,0,0,0.27); } .topbar-btn-container > button:focus { background-color: rgba(0,0,0,0.27); outline: none; } /* TODO min and max with/height for sidebar and footer */ .outer_wrapper { display: grid; background-color: lightgreen; height: 100%; grid-template-rows: 16pt 1fr 42pt; } .inner_wrapper { display: grid; background-color: pink; grid-template-columns: 1fr 120pt; } .content { background-color: #f5f6fa; position: relative; } .sidebar { background-color: #353b48; border-left: 1pt #353b48 solid; box-shadow: 0px 0px 4px 0px black; z-index: 10; } .footer { background-color: #c8d5d8; box-shadow: 0px 0px 2px 1px rgb(0, 0, 0); overflow: hidden; z-index: 20; position: relative; } #play { border: 0.5pt darkred solid; height: 34pt; margin: 4pt 4pt; width: 190pt; font-size: x-large; font-family: SourceSansPro; font-weight: bolder; border-radius: 5pt; background-color: #dd7800; } #play:focus { border-color: white; outline: none; } #play:hover { } #play:active { } .sidebarItem { border-top: 0.5pt hsla(215, 15%, 32%, 1) solid; user-select: none; cursor: pointer; } .sidebarItem > .title { /*outline: 1pt red dotted; */ box-sizing: content-box; position: relative; height: 36pt; overflow: hidden; background: #2f3640; border-bottom: 0.5pt hsla(215, 15%, 18%, 1) solid; } .sidebarItem > .title > div { font-family: SourceSansPro; position: absolute; left: 14pt; padding-left: 10pt; height: 35.5pt; line-height: 35.5pt; z-index: 20; /* outline: 1pt yellow dotted; */ color: white; font-size: 13pt; width: 100%; background: linear-gradient(to right,rgba(0,0,0,0),#2f3640 25pt); } .sidebarItem > .title > div:hover { background: linear-gradient(to right,rgba(0,0,0,0),hsla(215, 15%, 24%, 1) 25pt); } .sidebarItem.selected > .title { background: hsla(215, 15%, 26%, 1); } .sidebarItem.selected > .title > div { background: linear-gradient(to right,rgba(0,0,0,0),hsla(215, 15%, 28%, 1) 25pt); } .onlineCounter { font-family: SourceSansPro; position: absolute; margin-top: 5.25pt; padding: 2pt 4pt; right: 130pt; z-index: 30; background-color: rgba(0,0,0,0.7); border-radius: 2pt; color:white; cursor:default; } .onlineCounter > .playerList { font-size: 11pt; } .onlineCounter > .playerList > .playerItem { display: block; } .onlineCounter > .playerList > .playerItem > svg { color:lightgrey; margin-right: 0; } .onlineCounter > .playerList > .morePlayers { font-size: 10pt; cursor: help; } .onlineCounter > svg { color:lime; margin-right: 3pt; } .sidebarItem.selected > .title { cursor: default; } .sidebarItem > .title > img { height: 34pt; width: 34pt; position: absolute; z-index: 5; /*outline: 1pt red dotted;*/ margin: 1pt 0; pointer-events: none; } .sidebarItem > .colapse { max-height: 0; overflow: hidden; transition: max-height 0.25s ease-out; } .sidebarItem.selected > .colapse { max-height: 500px; transition: max-height 0.25s ease-in; } .sidebarItem > .colapse > div { font-family: SourceSansPro; padding:4pt; color:#949494; border-bottom: 0.5pt hsla(215, 15%, 20%, 1) solid; } .sidebarItem > .colapse > div:hover { background-color: rgba(255, 255, 255, 0.02); } .sidebarItem > .colapse > div.selected { cursor: default; background-color: rgba(255, 255, 255, 0.04); color: #c1c1c1; } .sidebarItem > .colapse > div > svg { margin-right: 4pt; } #contentBackground { position: fixed; left: -5%; top: -5%; min-width: 110%; min-height: 110%; z-index: 0; opacity: 1; background-color: #2C2F33; transition: opacity 1s ease-out; } #contentBackground.hidden { opacity: 0; } #contentBackground > img { min-width: 100%; min-height: 100%; pointer-events: none; filter: grayscale(30%) blur(1pt); } #contentBackground > div { position: absolute; top: 0; min-width: 100%; min-height: 100%; background: radial-gradient(farthest-corner at 100% 0%, rgba(256, 255, 255, 0) 50%, rgb(0, 0, 0)); z-index: 2; } #serverPage{ position: absolute; z-index: 4; overflow-y: scroll; width: 100%; height: 100%; color: white; font-family: SourceSansPro; } .infoServerPage { padding: 12pt; } .infoServerPage > .title, .preferencesServerPage > h2 { /*outline: 1pt red dotted; */ background: rgba(0, 0, 0, 0.6); margin-bottom: 5pt; width: fit-content; padding: 5pt 5pt; border-radius: 2pt; font-size: x-large; line-height: 100%; pointer-events: none; } .infoServerPage > .shortDescription { /*outline: 1pt red dotted;*/ background: rgba(0, 0, 0, 0.6); width: fit-content; margin-bottom: 7pt; padding: 3pt 3pt; pointer-events: none; } .infoServerPage > .news { background: rgba(0, 0, 0, 0.6); width: fit-content; cursor: default; padding: 5pt 5pt; font-family: SourceSansProLight; } .infoServerPage > .news > h2 { margin-top: 0; } .infoServerPage > .news > a, .infoServerPage > .news > p > a { color:inherit; text-decoration: none; cursor: pointer; } .infoServerPage > .news > a:hover, .infoServerPage > .news > p > a:hover { text-decoration: underline; } .preferencesServerPage { padding: 0 12pt; } .preferencesServerPage > .loginSection { padding: 3pt 12pt; background: rgba(0, 0, 0, 0.6); width: fit-content; } .preferencesServerPage > .loginSection > button { border-radius: 4pt; margin: 6pt 0 6pt 0; width: 100%; } .preferencesServerPage > .loginSection > label { display: block; margin-top: 3pt; } .preferencesServerPage > .loginSection > label > input { display: block; border-radius: 2pt; } .unknownServerPage { background: rgba(0, 0, 0, 0.6); color:white; padding: 4pt; margin: auto 10pt; } #serverPage::-webkit-scrollbar { width: 6px; margin-left: 3px; } #serverPage::-webkit-scrollbar-track { background-color: rgba(0,0,0,0); } #serverPage::-webkit-scrollbar-thumb { background-color: rgba(255,255,255,0.3); border-radius:2pt; } #serverPage::-webkit-scrollbar-thumb:hover { background-color: rgba(255,255,255,0.5); } .socialContainer { height:26pt; margin-bottom: 4pt; } .socialContainer > button { height: 24pt; width: 24pt; margin-left: 3pt; cursor: pointer; border-radius: 4pt; padding: unset; font-size: large; color:rgb(42, 42, 42); } #activity { position: absolute; height: 100%; padding:3pt; right: 4pt; color:darkgrey; font-family: SourceSansPro; } #activity.error { color:red; } #screenshots { display: flex; flex-wrap: wrap; justify-content: space-around; } #screenshots > .nothingHere { padding:3pt; margin:6pt; background: rgba(0, 0, 0, 0.6); border-radius: 2pt; } .screenshot { padding:5pt; margin:6pt; border-radius: 5pt; background: rgba(0, 0, 0, 0.6); width: fit-content; box-shadow: 0 0 0 2pt #916d38, 0 0 0 3pt #e8c067, 0 0 0 4pt #ac7d36; } .screenshot > img { max-width: 150pt; border-radius: 2pt; }