* Move min-width to RaidCombobox, not Popover This fixes #318 * Use snapshots to make tokens reactive This fixes #319 * Revert ChatGPT refactor of this method Oops. This code was nice, but it didn't actually assign `false` to keys to be sent to the server. We will revisit this, but it needs to be fixed right now. This fixes #325 * Ignore gacha directory We will probably scrape these images soon. * Add translation for Auto Summon token * Add auto summon token to app state * Set battle settings in state on update Also renames PartyDetails to PartyFooter and makes description reactive * Stop 1password icon from appearing in name field * Use snapshot for reactive Edit party modal * Fix Edit modal placeholder colors * Fix bug with RaidCombobox and Farming Selecting farming then opening the raid combobox *twice* consecutively would put you in no segment, so no raids appeared Fixes #323 * Fix values staying in Edit team even if not saved The values a user entered in the Edit team modal would persist even if the user hit cancel to close the modal. They wouldn't save to the server, but very confusing nonetheless. Now fixed. * Fix unreadable colors in ElementToggle * Fix button alignment in weapon modal * Add text to filters button on small screens The FilterBar showed a left aligned filter icon on mobile for months and it was driving me insane * Remove extraneous code from Header Including the party name, since it's at the top now * Fix Alert at small sizes * Make copy link toast work again * Remove stylesheet links * Fix remix toasts and alerts from both locations The remix toast and alert was barely hooked up and not showing up when invoked from PartyHeader. It now shows up whether you remix your own team (from PartyDropdown) or if you remix another person's team (from PartyHeader).
204 lines
3.5 KiB
SCSS
204 lines
3.5 KiB
SCSS
.Combobox.Raid {
|
|
box-sizing: border-box;
|
|
min-width: 440px;
|
|
|
|
.Header {
|
|
background: var(--dialog-bg);
|
|
border-top-left-radius: $card-corner;
|
|
border-top-right-radius: $card-corner;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: $unit;
|
|
padding: $unit;
|
|
width: 100%;
|
|
|
|
.Clear.Button {
|
|
background: none;
|
|
padding: ($unit * 0.75) $unit-half $unit-half;
|
|
display: none;
|
|
|
|
&:hover svg {
|
|
fill: var(--text-primary);
|
|
}
|
|
|
|
&.Visible {
|
|
display: block;
|
|
}
|
|
|
|
svg {
|
|
fill: var(--text-tertiary);
|
|
width: $unit-2x;
|
|
height: $unit-2x;
|
|
}
|
|
}
|
|
|
|
.Controls {
|
|
display: flex;
|
|
gap: $unit;
|
|
|
|
.Button.Blended.small {
|
|
padding: $unit ($unit * 1.25);
|
|
|
|
&:hover {
|
|
background: var(--button-contained-bg);
|
|
}
|
|
|
|
@include breakpoint(phone) {
|
|
width: auto;
|
|
}
|
|
}
|
|
|
|
.Flipped {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.SegmentedControlWrapper {
|
|
flex-grow: 1;
|
|
|
|
.SegmentedControl {
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.Raids {
|
|
border-bottom-left-radius: $card-corner;
|
|
border-bottom-right-radius: $card-corner;
|
|
height: 36vh;
|
|
overflow-y: scroll;
|
|
padding: 0 $unit;
|
|
|
|
@include breakpoint(phone) {
|
|
height: 28vh;
|
|
}
|
|
|
|
&.Searching {
|
|
.CommandGroup {
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
|
|
.Label {
|
|
display: none;
|
|
}
|
|
|
|
.SelectItem {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.CommandGroup.Hidden {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.CommandGroup {
|
|
&.Hidden {
|
|
display: none;
|
|
}
|
|
|
|
.Label {
|
|
align-items: center;
|
|
color: var(--text-tertiary);
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-shrink: 0;
|
|
font-size: $font-small;
|
|
font-weight: $medium;
|
|
gap: $unit;
|
|
padding: $unit $unit-2x $unit-half ($unit * 1.5);
|
|
|
|
.Separator {
|
|
background: var(--select-separator);
|
|
border-radius: 1px;
|
|
display: block;
|
|
flex-grow: 1;
|
|
height: 2px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.DetailsWrapper .PartyDetails.Editable .Raid.SelectTrigger,
|
|
.EditTeam .Raid.SelectTrigger {
|
|
background: var(--input-bound-bg);
|
|
display: flex;
|
|
padding-top: 10px;
|
|
padding-bottom: 11px;
|
|
min-height: 51px;
|
|
|
|
.Value {
|
|
display: flex;
|
|
gap: $unit-half;
|
|
width: 100%;
|
|
|
|
.Info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: $unit-half;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.ExtraIndicator {
|
|
background: var(--extra-purple-secondary);
|
|
border-radius: $full-corner;
|
|
color: $grey-100;
|
|
display: flex;
|
|
font-weight: $bold;
|
|
font-size: $font-tiny;
|
|
width: $unit-3x;
|
|
height: $unit-3x;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.Group,
|
|
.Separator {
|
|
color: var(--text-tertiary);
|
|
}
|
|
|
|
.Raid.wind {
|
|
color: var(--wind-text);
|
|
}
|
|
|
|
.Raid.fire {
|
|
color: var(--fire-text);
|
|
}
|
|
|
|
.Raid.water {
|
|
color: var(--water-text);
|
|
}
|
|
|
|
.Raid.earth {
|
|
color: var(--earth-text);
|
|
}
|
|
|
|
.Raid.dark {
|
|
color: var(--dark-text);
|
|
}
|
|
|
|
.Raid.light {
|
|
color: var(--light-text);
|
|
}
|
|
}
|
|
}
|
|
|
|
.SelectTrigger.Raid .Value.Empty {
|
|
color: var(--text-tertiary);
|
|
}
|
|
|
|
.Filters .SelectTrigger.Raid {
|
|
& > span {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.Raid {
|
|
display: block;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
width: 100%;
|
|
}
|
|
}
|