mirror of
https://github.com/gwdevhub/Daybreak.git
synced 2026-07-21 01:59:49 +00:00
177 lines
3.5 KiB
CSS
177 lines
3.5 KiB
CSS
.launch-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100%;
|
|
padding: 2rem;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.launch-button-container {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.launch-button-group {
|
|
display: flex;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
|
|
background: var(--accent-fill-rest);
|
|
}
|
|
|
|
.launch-button {
|
|
padding: 1rem 2rem;
|
|
border: none;
|
|
background: transparent;
|
|
color: white;
|
|
font-size: var(--font-size-x-large);
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
min-width: 200px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
}
|
|
|
|
.launch-button:hover:not(:disabled) {
|
|
background: var(--accent-fill-hover);
|
|
}
|
|
|
|
.launch-button:active:not(:disabled) {
|
|
transform: translateY(1px);
|
|
}
|
|
|
|
.launch-button:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.launch-button.disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.launch-button-content {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
color: var(--foreground-on-accent-rest)
|
|
}
|
|
|
|
.launch-text-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.launch-subtext {
|
|
font-size: var(--font-size-small);
|
|
}
|
|
|
|
.dropdown-toggle-button {
|
|
padding: 1rem 0.75rem;
|
|
border: none;
|
|
border-left: 1px solid rgba(255, 255, 255, 0.2);
|
|
background: transparent;
|
|
color: var(--foreground-on-accent-rest);
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.dropdown-toggle-button:hover:not(:disabled) {
|
|
background: var(--accent-fill-hover);
|
|
}
|
|
|
|
.dropdown-toggle-button:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.dropdown-toggle-button.disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.dropdown-arrow {
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.dropdown-arrow.open {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.dropdown-menu {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
background: var(--neutral-fill-rest);
|
|
backdrop-filter: blur(10px);
|
|
border-radius: 8px;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
|
|
margin-top: 0.5rem;
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
z-index: 1000;
|
|
animation: slideDown 0.2s ease-out;
|
|
}
|
|
|
|
.dropdown-item {
|
|
padding: 1rem;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.dropdown-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.dropdown-item:hover {
|
|
background: var(--neutral-fill-hover);
|
|
}
|
|
|
|
.dropdown-item.selected {
|
|
background: var(--neutral-fill-active);
|
|
}
|
|
|
|
.config-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.config-name {
|
|
font-weight: 600;
|
|
font-size: var(--font-size-large);
|
|
color: var(--accent-foreground-rest);
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.config-path {
|
|
font-size: var(--font-size-small);
|
|
color: var(--accent-foreground-rest);
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.dropdown-backdrop {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 999;
|
|
} |