mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 12:02:13 +00:00
modify css to work with mobile img directory
This commit is contained in:
parent
4a112bb180
commit
ad3d4fad05
2 changed files with 11 additions and 13 deletions
|
|
@ -17,4 +17,5 @@ To do so,
|
|||
* go to the website repo
|
||||
* remove the first line `@import nib/vendor` from index.styl
|
||||
* `stylus styles/app/index.styl`
|
||||
* copy the output index.css into this shared/css directory
|
||||
* copy the output index.css into this shared/css directory
|
||||
* remove bootstrap @improrts, find/replace "img/" with "../img/"
|
||||
|
|
@ -1,6 +1,3 @@
|
|||
@import "../../public/vendor/bootstrap/css/bootstrap.min.css";
|
||||
@import "../../public/vendor/bootstrap/css/bootstrap-responsive.min.css";
|
||||
@import "../../public/vendor/datepicker/css/datepicker.css";
|
||||
.f_weapon_6,
|
||||
.f_weapon_5,
|
||||
.f_weapon_4,
|
||||
|
|
@ -39,7 +36,7 @@
|
|||
.f_skin_asian,
|
||||
.f_skin_black,
|
||||
.f_skin_white {
|
||||
background: url("img/sprites/female_sprites.png") no-repeat;
|
||||
background: url("../img/sprites/female_sprites.png") no-repeat;
|
||||
}
|
||||
.f_weapon_6 {
|
||||
background-position: 0 0;
|
||||
|
|
@ -307,7 +304,7 @@
|
|||
.m_skin_asian,
|
||||
.m_skin_black,
|
||||
.m_skin_white {
|
||||
background: url("img/sprites/male_sprites.png") no-repeat;
|
||||
background: url("../img/sprites/male_sprites.png") no-repeat;
|
||||
}
|
||||
.m_weapon_6 {
|
||||
background-position: 0 0;
|
||||
|
|
@ -536,7 +533,7 @@
|
|||
.shop_copper,
|
||||
.shop_silver,
|
||||
.shop_gold {
|
||||
background: url("img/sprites/shop_sprites.png") no-repeat;
|
||||
background: url("../img/sprites/shop_sprites.png") no-repeat;
|
||||
}
|
||||
.shop_weapon_6 {
|
||||
background-position: 0 0;
|
||||
|
|
@ -1482,7 +1479,7 @@ menu {
|
|||
.Pet_Food_CottonCandyPink,
|
||||
.Pet_Food_CottonCandyBlue,
|
||||
.Pet_Food_Base {
|
||||
background: url("/img/hatching_powder.png") no-repeat;
|
||||
background: url("/../img/hatching_powder.png") no-repeat;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
}
|
||||
|
|
@ -1536,21 +1533,21 @@ menu {
|
|||
color: #ababab;
|
||||
}
|
||||
.icon-gold {
|
||||
background: url("img/coin_single_gold.png") no-repeat;
|
||||
background: url("../img/coin_single_gold.png") no-repeat;
|
||||
background-position: center center;
|
||||
background-size: 18px;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
.icon-silver {
|
||||
background: url("img/coin_single_silver.png") no-repeat;
|
||||
background: url("../img/coin_single_silver.png") no-repeat;
|
||||
background-position: center center;
|
||||
background-size: 18px;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
.icon-death {
|
||||
background: url("img/sprites/dead.png") no-repeat;
|
||||
background: url("../img/sprites/dead.png") no-repeat;
|
||||
background-position: center center;
|
||||
background-size: 14px;
|
||||
width: 14px;
|
||||
|
|
@ -1562,8 +1559,8 @@ menu {
|
|||
left: 5px;
|
||||
top: 5px;
|
||||
}
|
||||
@import "../../public/img/sprites/pet_sprites.css";
|
||||
@import "../../public/img/sprites/PetEggs.css";
|
||||
@import "../../public/../img/sprites/pet_sprites.css";
|
||||
@import "../../public/../img/sprites/PetEggs.css";
|
||||
.hidden {
|
||||
display: none !important;
|
||||
visibility: hidden;
|
||||
|
|
|
|||
Loading…
Reference in a new issue