mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 01:29:21 +00:00
* initial work * new client: working navigation and tasks showing up * finish header menu and add avatar component * fix sprites in new client * initial header version * initial styling for top menu * more progress on the header menu * almost complete menu and avatar * correctly apply active class for /social and /help * fix header colors and simplify css * switch from Roboto to native fonts * remove small avatar and add viewport * fixes * fix user menu with and progress bars * fix avatar rendeting * move bars colors to theme * add site overrides * fix tests * shrinkwrap * fix sprites path * another try at fixing the sprites path * another try at fixing the sprites path
64 lines
1.7 KiB
CSS
64 lines
1.7 KiB
CSS
/* TODO adapt paths to new client */
|
|
/* These sprites are oversized until a move to 105 avatar box happens */
|
|
|
|
/* Backer */
|
|
.weapon_special_0, .head_special_0 {
|
|
width: 105px;
|
|
height: 105px;
|
|
margin-left: -3px;
|
|
margin-top: -18px;
|
|
}
|
|
.slim_armor_special_0, .broad_armor_special_0, .shield_special_0 {
|
|
width: 90px;
|
|
height: 90px;
|
|
}
|
|
|
|
/* Critical */
|
|
.weapon_special_critical {
|
|
background: url('/static/sprites/gif/backer-only/weapon_special_critical.gif') no-repeat;
|
|
width: 90px;
|
|
height: 90px;
|
|
margin-left:-12px;
|
|
margin-top:12px;
|
|
}
|
|
|
|
/* This is oversized until a move to 105 avatar box happens*/
|
|
.weapon_special_1 {
|
|
margin-left: -12px;
|
|
}
|
|
|
|
.broad_armor_special_1, .slim_armor_special_1, .head_special_1 {
|
|
width: 90px;
|
|
height: 90px;
|
|
}
|
|
|
|
.head_special_0 {
|
|
background: url('/static/sprites/gif/backer-only/BackerOnly-Equip-ShadeHelmet.gif') no-repeat;
|
|
}
|
|
|
|
.head_special_1 {
|
|
background: url('/static/sprites/gif/backer-only/ContributorOnly-Equip-CrystalHelmet.gif') no-repeat;
|
|
margin-top: 3px;
|
|
}
|
|
|
|
.broad_armor_special_0,.slim_armor_special_0 {
|
|
background: url('/static/sprites/gif/backer-only/BackerOnly-Equip-ShadeArmor.gif') no-repeat;
|
|
}
|
|
|
|
.broad_armor_special_1,.slim_armor_special_1 {
|
|
background: url('/static/sprites/gif/backer-only/ContributorOnly-Equip-CrystalArmor.gif') no-repeat;
|
|
}
|
|
|
|
.shield_special_0 {
|
|
background: url('/static/sprites/gif/backer-only/BackerOnly-Shield-TormentedSkull.gif') no-repeat;
|
|
}
|
|
|
|
.weapon_special_0 {
|
|
background: url('/static/sprites/gif/backer-only/BackerOnly-Weapon-DarkSoulsBlade.gif') no-repeat;
|
|
}
|
|
|
|
.Pet-Wolf-Cerberus {
|
|
width: 105px;
|
|
height: 72px;
|
|
background: url('/static/sprites/gif/backer-only/BackerOnly-Pet-CerberusPup.gif') no-repeat;
|
|
}
|