Loading files
69f840ab6This file is pinned to the selected release. Download the original to open it in your design tool.
.settings-bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
opacity: 0;
transition: opacity 0.3s;
pointer-events: none;
display: flex;
align-items: center;
justify-content: center;
z-index: 10000;
cursor: pointer;
user-select: none;
}
.settings-bg.shown {
opacity: 1;
pointer-events: all;
}
.settings {
width: min(800px, calc(100% - 40px));
height: min(500px, calc(100% - 40px));
background-color: var(--background);
border-radius: 10px;
margin: 20px;
display: flex;
flex-direction: column;
cursor: auto;
}
.content {
padding: 20px;
height: calc(100% - 40px);
color: var(--foreground);
flex: 1;
display: flex;
flex-direction: column;
}
.content h1 {
margin: 5px;
margin-top: 0;
color: var(--strong-foreground);
font-family: 'Bai Jamjuree';
font-weight: 600;
}
.content h2 {
margin: 5px;
color: var(--weak-foreground);
font-weight: 600;
}
.static-header {
display: flex;
justify-content: stretch;
align-items: center;
padding-bottom: 10px;
}
.search-input-parent {
flex: 1;
padding-left: 15px;
}
.scrollable-options {
flex: 1;
overflow-y: auto;
display: flex;
flex-direction: column;
padding-right: 10px; /* Repositions the scrollbar */
margin-right: -10px;
}
.color-theme-selector {
display: flex;
flex-direction: column;
margin-top: -5px;
}
.reset-all-keybinds {
display: flex;
flex-direction: column;
margin-top: -5px;
}
.keybind {
display: flex;
justify-content: stretch;
align-items: center;
margin-top: -5px;
}
.keybind-name {
flex: 1;
margin-left: 5px;
}
.keybind-controls {
flex: 1;
display: flex;
}
.keybind-value {
flex: 1;
background-color: var(--dark-background) !important;
cursor: auto !important;
}
.keybind-value-hoverable:hover {
background-color: var(--dark-active) !important;
cursor: pointer !important;
}
.keybind-value-listening {
background-color: var(--dark-active) !important;
animation: blinker 1s linear infinite;
}
.gamepad-settings {
margin: -5px 0 5px;
}
.gamepad-settings-row {
display: flex;
align-items: center;
min-width: 0;
}
.gamepad-name {
flex: 0 1 240px;
min-width: 0;
margin: 5px;
overflow: hidden;
color: var(--strong-foreground);
text-overflow: ellipsis;
white-space: nowrap;
}
.gamepad-settings-inputs {
display: grid;
flex: 1;
min-width: 0;
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gamepad-setting {
display: flex;
min-width: 0;
}
.gamepad-setting-button {
flex: 0 0 calc(1em + 4px);
}
.gamepad-setting-input {
display: flex;
flex: 1;
min-width: 0;
height: calc(1em + 4px);
padding: 3px;
margin: 5px 0;
background-color: var(--dark-background);
border-right: 1px solid var(--background);
}
.gamepad-setting-input input {
width: 100%;
min-width: 0;
height: calc(100% - 6px);
padding: 2px 2px 4px;
color: var(--strong-foreground);
font-family: inherit;
text-align: center;
appearance: textfield;
background-color: transparent;
border: none;
outline: none;
}
.gamepad-setting-input input::-webkit-inner-spin-button,
.gamepad-setting-input input::-webkit-outer-spin-button {
margin: 0;
appearance: none;
}
@media (max-width: 700px) {
.gamepad-settings-row {
flex-direction: column;
align-items: stretch;
}
.gamepad-name {
flex-basis: auto;
}
.gamepad-settings-inputs {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 450px) {
.settings {
width: calc(100% - 20px);
height: calc(100% - 20px);
margin: 10px;
}
.content {
padding: 10px;
height: calc(100% - 20px);
}
.static-header {
flex-direction: column;
align-items: stretch;
}
.search-input-parent {
padding-left: 0;
}
.gamepad-settings-inputs {
grid-template-columns: minmax(0, 1fr);
}
}
@keyframes blinker {
50% {
opacity: 0.25;
}
}
.options-section {
display: flex;
justify-content: center;
padding-left: 5px;
align-items: center;
background-color: var(--dark-active);
min-height: 32px;
margin: 5px;
border-radius: 5px 5px 0 0;
color: var(--strong-foreground);
font-weight: 600;
font-size: 18px;
}
.background-selector {
display: flex;
flex-direction: column;
margin-top: -5px;
}
.no-search-results {
height: 100%;
width: 100%;
display: none;
justify-content: center;
align-items: center;
font-size: 2em;
color: var(--weak-foreground);
}
.no-search-results:first-child {
display: flex;
}