mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 03:52:14 +00:00
Adjusted hrs for popovers
This commit is contained in:
parent
4c6bf8f543
commit
84552597d6
3 changed files with 7 additions and 10 deletions
|
|
@ -123,10 +123,3 @@ menu.pets .customize-menu
|
||||||
.sell-inventory
|
.sell-inventory
|
||||||
width: 162px
|
width: 162px
|
||||||
height: 138px
|
height: 138px
|
||||||
|
|
||||||
.quest-scroll
|
|
||||||
.popover
|
|
||||||
p
|
|
||||||
text-align: left;
|
|
||||||
hr
|
|
||||||
margin: 10px 0
|
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,10 @@ a.hint:hover
|
||||||
.vertical-20
|
.vertical-20
|
||||||
vertical-align: 20%
|
vertical-align: 20%
|
||||||
|
|
||||||
|
.popover
|
||||||
|
hr
|
||||||
|
margin: 10px 0
|
||||||
|
|
||||||
@media (max-width: 768px)
|
@media (max-width: 768px)
|
||||||
.container-fluid
|
.container-fluid
|
||||||
padding-right: 5px
|
padding-right: 5px
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ script(type='text/ng-template', id='partials/options.inventory.seasonalshop.html
|
||||||
| {{((item.specialClass == "wizard") && (item.type == "weapon")) + 1}}
|
| {{((item.specialClass == "wizard") && (item.type == "weapon")) + 1}}
|
||||||
span.Pet_Currency_Gem1x.inline-gems
|
span.Pet_Currency_Gem1x.inline-gems
|
||||||
menu.pets-menu(label=env.t('quests'))
|
menu.pets-menu(label=env.t('quests'))
|
||||||
.quest-scroll(ng-repeat='quest in ::getSeasonalShopQuests()')
|
div(ng-repeat='quest in ::getSeasonalShopQuests()')
|
||||||
button.customize-option(data-popover-html="{{::quest.previous && !user.achievements.quests[quest.previous] ? env.t('scrollsPre') : questPopover(quest) | markdown}}", popover-append-to-body='true', popover-title='{{::quest.text()}}', popover-trigger='mouseenter', popover-placement='right', ng-click='buyQuest(quest.key)', ng-class='(quest.previous && !user.achievements.quests[quest.previous]) ? "inventory_quest_scroll_locked inventory_quest_scroll_{{::quest.key}}_locked locked" : "inventory_quest_scroll inventory_quest_scroll_{{::quest.key}}"')
|
button.customize-option(data-popover-html="{{::quest.previous && !user.achievements.quests[quest.previous] ? env.t('scrollsPre') : questPopover(quest) | markdown}}", popover-append-to-body='true', popover-title='{{::quest.text()}}', popover-trigger='mouseenter', popover-placement='right', ng-click='buyQuest(quest.key)', ng-class='(quest.previous && !user.achievements.quests[quest.previous]) ? "inventory_quest_scroll_locked inventory_quest_scroll_{{::quest.key}}_locked locked" : "inventory_quest_scroll inventory_quest_scroll_{{::quest.key}}"')
|
||||||
p
|
p
|
||||||
| {{::quest.value}}
|
| {{::quest.value}}
|
||||||
|
|
@ -119,7 +119,7 @@ script(type='text/ng-template', id='partials/options.inventory.drops.html')
|
||||||
menu.pets-menu(label=(env.t('quests') + ' ({{questCount}})'))
|
menu.pets-menu(label=(env.t('quests') + ' ({{questCount}})'))
|
||||||
p.muted(ng-show='questCount < 1')=env.t('noScrolls')
|
p.muted(ng-show='questCount < 1')=env.t('noScrolls')
|
||||||
p.muted!=env.t('scrollsText1') + ' <a href="/#/options/groups/party">' + env.t('scrollsText2') + '</a>'
|
p.muted!=env.t('scrollsText1') + ' <a href="/#/options/groups/party">' + env.t('scrollsText2') + '</a>'
|
||||||
.quest-scroll(ng-repeat='(quest_key,points) in ownedItems(user.items.quests)', ng-init='quest = Content.quests[quest_key]')
|
div(ng-repeat='(quest_key,points) in ownedItems(user.items.quests)', ng-init='quest = Content.quests[quest_key]')
|
||||||
button.customize-option(data-popover-html="{{:: quest.previous && !user.achievements.quests[quest.previous] ? env.t('scrollsPre') : questPopover(quest) | markdown}}", popover-append-to-body='true', popover-title='{{::quest.text()}}', popover-trigger='mouseenter', popover-placement='right', ng-click='showQuest(quest_key)', ng-class='(quest.previous && !user.achievements.quests[quest.previous]) ? "inventory_quest_scroll_locked inventory_quest_scroll_{{::quest.key}}_locked locked" : "inventory_quest_scroll inventory_quest_scroll_{{::quest.key}}"')
|
button.customize-option(data-popover-html="{{:: quest.previous && !user.achievements.quests[quest.previous] ? env.t('scrollsPre') : questPopover(quest) | markdown}}", popover-append-to-body='true', popover-title='{{::quest.text()}}', popover-trigger='mouseenter', popover-placement='right', ng-click='showQuest(quest_key)', ng-class='(quest.previous && !user.achievements.quests[quest.previous]) ? "inventory_quest_scroll_locked inventory_quest_scroll_{{::quest.key}}_locked locked" : "inventory_quest_scroll inventory_quest_scroll_{{::quest.key}}"')
|
||||||
.badge.badge-info.stack-count {{points}}
|
.badge.badge-info.stack-count {{points}}
|
||||||
|
|
||||||
|
|
@ -214,7 +214,7 @@ script(type='text/ng-template', id='partials/options.inventory.drops.html')
|
||||||
li.customize-menu
|
li.customize-menu
|
||||||
menu.pets-menu(label=env.t('quests'))
|
menu.pets-menu(label=env.t('quests'))
|
||||||
p.muted!=env.t('scrollsText1') + ' <a href="/#/options/groups/party">' + env.t('scrollsText2') + '</a>'
|
p.muted!=env.t('scrollsText1') + ' <a href="/#/options/groups/party">' + env.t('scrollsText2') + '</a>'
|
||||||
.quest-scroll(ng-repeat='quest in Content.quests', ng-if='quest.canBuy')
|
div(ng-repeat='quest in Content.quests', ng-if='quest.canBuy')
|
||||||
button.customize-option(data-popover-html="{{::quest.previous && !user.achievements.quests[quest.previous] ? env.t('scrollsPre') : questPopover(quest) | markdown}}", popover-title='{{::quest.text()}}', popover-append-to-body="true", popover-trigger='mouseenter', ng-click='buyQuest(quest.key)', ng-class='(quest.previous && !user.achievements.quests[quest.previous]) ? "inventory_quest_scroll_locked inventory_quest_scroll_{{::quest.key}}_locked locked" : "inventory_quest_scroll inventory_quest_scroll_{{::quest.key}}"')
|
button.customize-option(data-popover-html="{{::quest.previous && !user.achievements.quests[quest.previous] ? env.t('scrollsPre') : questPopover(quest) | markdown}}", popover-title='{{::quest.text()}}', popover-append-to-body="true", popover-trigger='mouseenter', ng-click='buyQuest(quest.key)', ng-class='(quest.previous && !user.achievements.quests[quest.previous]) ? "inventory_quest_scroll_locked inventory_quest_scroll_{{::quest.key}}_locked locked" : "inventory_quest_scroll inventory_quest_scroll_{{::quest.key}}"')
|
||||||
p
|
p
|
||||||
| {{::quest.value}}
|
| {{::quest.value}}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue