Fix some styling and text overflow issues

This commit is contained in:
SpectralFlame 2023-03-13 12:51:09 -05:00 committed by cyip92
parent 0d703df8b0
commit bcc875b57b
10 changed files with 58 additions and 20 deletions

View File

@ -675,7 +675,7 @@ body.t-s12 {
.o-autobuyer-input,
.c-autobuyer-box__mode-select {
color: var(--color-accent);
color: var(--color-text);
background: var(--color-base);
border: 0.1rem solid var(--color-accent);
}

View File

@ -4149,15 +4149,6 @@ br {
border-color: #cccccc;
}
.o-autobuyer-input--invalid {
background-color: var(--color-bad);
}
.s-base--dark .o-autobuyer-input--invalid,
.t-s1 .o-autobuyer-input--invalid {
background-color: var(--color-bad);
}
/* #endregion o-autobuyer-input */
/* #region o-autobuyer-toggle-checkbox */

View File

@ -377,12 +377,16 @@
color: white;
background-color: black;
border-color: white;
border-width: 0.3rem;
border-style: double;
}
.o-time-study-light--bought {
color: black;
background-color: white;
border-color: black;
border-width: 0.3rem;
border-style: double;
}
.o-time-study-eternity-challenge--bought {

View File

@ -167,7 +167,7 @@ export default {
class="o-primary-btn--buy-ad o-primary-btn--buy-dim"
:class="{
'o-primary-btn--buy-10-ad': !isContinuumActive,
'o-primary-btn--continuum-ad': isContinuumActive,
'o-primary-btn--continuum-ad o-continuum': isContinuumActive,
'l-dim-row-small-text': isLongText(until10Text) && !isContinuumActive
}"
:ach-tooltip="boughtTooltip"
@ -191,4 +191,16 @@ export default {
align-items: center;
border-radius: var(--var-border-radius, inherit);
}
.o-continuum {
border-color: var(--color-laitela--accent);
color: var(--color-laitela--accent);
background: var(--color-laitela--base);
}
.o-continuum:hover {
border-color: var(--color-laitela--accent);
color: var(--color-laitela--base);
background: var(--color-laitela--accent);
}
</style>

View File

@ -118,7 +118,7 @@ export default {
"o-primary-btn": true,
"o-primary-btn--new": true,
"o-primary-btn--disabled": (!this.isAffordable && !this.isContinuumActive) || !this.isUnlocked || this.isCapped,
"o-non-clickable": this.isContinuumActive
"o-non-clickable o-continuum": this.isContinuumActive
};
},
tutorialClass() {
@ -191,4 +191,16 @@ export default {
.o-non-clickable {
cursor: auto;
}
.o-continuum {
border-color: var(--color-laitela--accent);
color: var(--color-laitela--accent);
background: var(--color-laitela--base);
}
.o-continuum:hover {
border-color: var(--color-laitela--accent);
color: var(--color-laitela--base);
background: var(--color-laitela--accent);
}
</style>

View File

@ -68,7 +68,7 @@ export default {
"o-primary-btn": true,
"tickspeed-btn": true,
"o-primary-btn--disabled": !this.isAffordable && !this.isContinuumActive,
"o-non-clickable": this.isContinuumActive,
"o-non-clickable o-continuum": this.isContinuumActive,
"tutorial--glow": this.isAffordable && this.hasTutorial
};
},
@ -156,4 +156,16 @@ export default {
.o-non-clickable {
cursor: auto;
}
.o-continuum {
border-color: var(--color-laitela--accent);
color: var(--color-laitela--accent);
background: var(--color-laitela--base);
}
.o-continuum:hover {
border-color: var(--color-laitela--accent);
color: var(--color-laitela--base);
background: var(--color-laitela--accent);
}
</style>

View File

@ -149,5 +149,12 @@ export const AutobuyerInputFunctions = {
</template>
<style scoped>
.o-autobuyer-input--invalid {
background-color: var(--color-bad);
}
.s-base--dark .o-autobuyer-input--invalid,
.t-s1 .o-autobuyer-input--invalid {
background-color: var(--color-bad);
}
</style>

View File

@ -36,7 +36,7 @@ export default {
autoSingularityStr() {
return this.autoSingularityFactor === 1
? "At Cap"
: `At Cap ${formatX(this.autoSingularityFactor, 2, 2)}`;
: `Cap ${formatX(this.autoSingularityFactor, 2, 2)}`;
},
},
watch: {

View File

@ -118,15 +118,15 @@ GameDatabase.challenges.infinity = [
{
id: 8,
description: () =>
`your production rapidly and continually drops down over time. Purchasing an Antimatter Dimension or Tickspeed
upgrade sets production back to ${formatPercents(1)} before it starts dropping again.`,
`AD production rapidly and continually drops over time. Purchasing Antimatter Dimension or Tickspeed
upgrades sets production back to ${formatPercents(1)} before it starts dropping again.`,
goal: DC.E27000,
isQuickResettable: true,
effect: () => DC.D0_8446303389034288.pow(
Math.max(0, player.records.thisInfinity.time - player.records.thisInfinity.lastBuyTime)),
reward: {
description:
"You get a multiplier to Antimatter Dimensions 2-7 based on 1st and 8th Antimatter Dimension multipliers.",
"You get a multiplier to AD 2-7 based on 1st and 8th AD multipliers.",
effect: () => AntimatterDimension(1).multiplier.times(AntimatterDimension(8).multiplier).pow(0.02),
formatEffect: value => formatX(value, 2, 2)
},

View File

@ -562,9 +562,9 @@ GameDatabase.eternity.timeStudies.normal = [
requirement: [213],
reqType: TS_REQUIREMENT_TYPE.AT_LEAST_ONE,
requiresST: [226],
description: "You gain extra Replicanti Galaxies based on your Replicanti amount",
description: "You gain extra Replicanti Galaxies based on Replicanti amount",
effect: () => Math.floor(Replicanti.amount.exponent / 1000),
formatEffect: value => `+${quantifyInt("RG", value)}`
formatEffect: value => `+${formatInt(value)} RG`
},
{
id: 226,
@ -575,7 +575,7 @@ GameDatabase.eternity.timeStudies.normal = [
requiresST: [225],
description: "You gain extra Replicanti Galaxies based on their max",
effect: () => Math.floor(player.replicanti.boughtGalaxyCap / 15),
formatEffect: value => `+${quantifyInt("RG", value)}`
formatEffect: value => `+${formatInt(value)} RG`
},
{
id: 227,