fix ultimate gear notification length - allow longer notifications but with a-like border-radius

This commit is contained in:
negue
2018-08-27 20:08:09 +02:00
parent c862bdb76a
commit 07bc374078
3 changed files with 3 additions and 3 deletions

View File

@@ -127,7 +127,7 @@ const NOTIFICATIONS = {
}, },
ULTIMATE_GEAR_ACHIEVEMENT: { ULTIMATE_GEAR_ACHIEVEMENT: {
achievement: true, achievement: true,
label: ($t) => `${$t('achievement')}: ${$t('gearAchievement')}`, label: ($t) => `${$t('achievement')}: ${$t('gearAchievementNotification')}`,
modalId: 'ultimate-gear', modalId: 'ultimate-gear',
}, },
REBIRTH_ACHIEVEMENT: { REBIRTH_ACHIEVEMENT: {

View File

@@ -33,7 +33,7 @@ transition(name="fade")
<style lang="scss" scoped> <style lang="scss" scoped>
.notification { .notification {
border-radius: 1000px; border-radius: 30px;
background-color: #24cc8f; background-color: #24cc8f;
box-shadow: 0 2px 2px 0 rgba(26, 24, 29, 0.16), 0 1px 4px 0 rgba(26, 24, 29, 0.12); box-shadow: 0 2px 2px 0 rgba(26, 24, 29, 0.16), 0 1px 4px 0 rgba(26, 24, 29, 0.12);
color: white; color: white;
@@ -43,7 +43,6 @@ transition(name="fade")
} }
.info { .info {
max-height: 56px;
background-color: #46a7d9; background-color: #46a7d9;
padding-top: .5em; padding-top: .5em;
} }

View File

@@ -78,6 +78,7 @@
"autoEquipPopoverText": "Select this option to automatically equip gear as soon as you purchase it.", "autoEquipPopoverText": "Select this option to automatically equip gear as soon as you purchase it.",
"costumeDisabled": "You have disabled your costume.", "costumeDisabled": "You have disabled your costume.",
"gearAchievement": "You have earned the \"Ultimate Gear\" Achievement for upgrading to the maximum gear set for a class! You have attained the following complete sets:", "gearAchievement": "You have earned the \"Ultimate Gear\" Achievement for upgrading to the maximum gear set for a class! You have attained the following complete sets:",
"gearAchievementNotification": "You have earned the \"Ultimate Gear\" Achievement for upgrading to the maximum gear set for a class!",
"moreGearAchievements": "To attain more Ultimate Gear badges, change classes on <a href='/user/settings/site' target='_blank'>the Settings &gt; Site page</a> and buy your new class's gear!", "moreGearAchievements": "To attain more Ultimate Gear badges, change classes on <a href='/user/settings/site' target='_blank'>the Settings &gt; Site page</a> and buy your new class's gear!",
"armoireUnlocked": "For more equipment, check out the <strong>Enchanted Armoire!</strong> Click on the Enchanted Armoire Reward for a random chance at special Equipment! It may also give you random XP or food items.", "armoireUnlocked": "For more equipment, check out the <strong>Enchanted Armoire!</strong> Click on the Enchanted Armoire Reward for a random chance at special Equipment! It may also give you random XP or food items.",
"ultimGearName": "Ultimate Gear - <%= ultClass %>", "ultimGearName": "Ultimate Gear - <%= ultClass %>",