habitica/website/assets/sprites/css/index.css

73 lines
1.1 KiB
CSS
Raw Normal View History

2015-11-02 17:55:48 +00:00
/* Comment out for holiday events */
.npc_ian {
background: url("/npc_ian.gif") no-repeat;
2014-11-03 06:10:48 +00:00
width: 78px;
height: 135px;
}
2015-09-24 19:39:16 +00:00
.quest_burnout {
background: url("/quest_burnout.gif") no-repeat;
2015-09-24 19:39:16 +00:00
width: 219px;
height: 249px;
}
.quest_bewilder {
background: url("/quest_bewilder.gif") no-repeat;
width: 219px;
height: 219px;
}
2013-12-04 22:56:55 +00:00
.Gems {
display:inline-block;
margin-right:5px;
border-style:none;
margin-left:0px;
margin-top:2px;
}
.inline-gems {
vertical-align: middle;
margin-left: 0px;
display: inline-block;
}
2013-12-04 22:56:55 +00:00
/* Both */
.customize-menu .locked {
background-color: #727272;
}
2016-10-14 01:51:55 +00:00
/* FIXME figure out how to handle customize menu!!
.customize-menu .f_head_0 {
width: 60px;
height: 60px;
background-position: -1917px -9px;
}
*/
2013-12-04 22:56:55 +00:00
.achievement {
float:left;
clear:right;
margin-right: 10px;
2014-01-22 01:00:32 +00:00
}
Achievement list renovation & Achievements API (#7904) * pull apart achievements into different subcategories * achievs previously hidden to others if unachieved are now always shown * achievs previously always hidden if unachieved are now always shown * pull apart ultimate gear achievs * add achiev wrapper mixin * add achiev mixin for simple counts * add achiev mixin for singular/plural achievs * add simpleAchiev mixin and support attributes * always hide potentially unearnable achievs if unearned * contributor achiev now uses string interpolation for readMore link * transition to basic achiev grid layout * fix npc achievement img bug introduced in c90f7e2 * move surveys and contributor achievs into special section so it is never empty * double size of achievs in achievs grid * achievs in grid are muted if unachieved (includes recompiled sprites) * fix streak notification strings * add counts to achievement badges for applicable achieved achievs * list achievements by api * fix achievement strings in new api * unearned achievs now use dedicated (WIP) 'unearned' badge instead of muted versions of the normal badges * fix & cleanup achievements api * extract generation of the achievements result to a class * clean up achievement counter css using existing classes * simplify exports of new achievementBuilder lib * remove class logic from achievementBuilder lib * move achievs to common, add rebirth achiev logic, misc fixes * replace achievs jade logic with results of api call * fix linting errors * achievs lib now returns achievs object subdivided by type (basic/seasonal/special * add tests for new achievs lib * fix linting errors * update controllers and views for updated achievs lib * add indices to achievements to preserve intended order * move achiev popovers to left * rename achievs lib to achievements * adjust positioning of achieve popovers now that stats and achievs pages are separate * fix: achievements api correctly decides whether to append extra string for master and triadBingo achievs * revert compiled sprites so they don't bog down the PR * pull out achievs api integration tests * parameterize ultimate gear achievements' text string * break out static achievement data from user-specific data * reorg content.achievements to add achiev data in related chunks * cleanup, respond to feedback * improve api documentation * fix merge issues * Helped Habit Grow --> Helped Habitica Grow * achievement popovers are muted if the achiev is unearned * fix singular achievement labels / achievement popover on click * update apidoc for achievements (description, param-type, successExample, error-types) * fix whitespace issues in members.js * move html to a variable * updated json example * fix syntax after merge
2016-12-13 18:48:18 +00:00
.achievement .counter {
bottom: 0;
right: 10px;
}
2015-05-26 21:06:04 +00:00
.multi-achievement {
margin: auto;
padding-left: 0.5em;
padding-right: 0.5em;
}
2016-10-14 01:51:55 +00:00
[class*="Mount_Head_"],
[class*="Mount_Body_"] {
2014-01-22 01:00:32 +00:00
margin-top:18px; /* Sprite accommodates 105x123 box */
}
2014-12-04 04:10:35 +00:00
.Pet_Currency_Gem {
margin-top: 5px;
margin-bottom: 5px
}