habitica/styles/app/index.styl

153 lines
3 KiB
Stylus
Raw Normal View History

@import "nib/vendor";
// Vendor Includes - include first so we can override
@import "../../public/vendor/bootstrap/css/bootstrap.min.css";
@import "../../public/vendor/bootstrap/css/bootstrap-responsive.min.css";
@import "../../public/vendor/datepicker/css/datepicker.css";
// Custom includes
@import "./female_sprites.styl";
@import "./male_sprites.styl";
@import "./shop_sprites.styl";
2013-02-08 18:29:09 +00:00
@import "./tasks.styl";
@import "./avatar.styl";
@import "./customizer.styl";
2013-02-08 18:29:09 +00:00
@import "./items.styl";
@import "./inventory.styl";
2013-02-27 22:46:21 +00:00
@import "./alerts.styl";
@import "../../public/img/sprites/pet_sprites.css";
@import "../../public/img/sprites/PetEggs.css";
@import "./helpers.styl";
@import "./responsive.styl";
@import "./header.styl";
@import "./filters.styl";
2013-03-06 06:58:07 +00:00
@import "./scrollbars.styl";
2013-05-03 14:46:59 +00:00
@import "./achievements.styl";
@import "./game-pane.styl";
@import "./backer.styl";
// fix exploding to very wide for some reason
.datepicker
width: 210px
2012-06-26 15:25:24 +00:00
html,body,p,h1,ul,li,table,tr,th,td
margin: 0
padding: 0
2013-02-08 18:29:09 +00:00
*
-webkit-box-sizing: border-box
-moz-box-sizing: border-box
box-sizing: border-box
2013-03-19 03:42:03 +00:00
* { font-family: "Lato", sans-serif }
hr
border-top: 0
border-bottom: 1px solid #ddd
border-color: rgba(0,0,0,0.1)
/* Footer
-------------------------------------------------- */
/* Bootstrap website boilerplate */
.footer {
padding: 70px 0;
border-top: 1px solid #e5e5e5;
background-color: #f5f5f5;
}
.footer p {
margin-bottom: 0;
color: #777;
}
.footer-links {
margin: 10px 0;
}
.footer-links li {
display: inline;
margin-right: 10px;
}
/* Customizations to make footer sticky */
2013-03-19 03:42:03 +00:00
/*html, body {height: 100%;}*/
2013-03-18 20:48:47 +00:00
#wrap
min-height: 100%
z-index:-1
2013-03-19 03:42:03 +00:00
#main
2013-02-08 18:29:09 +00:00
padding-bottom: 250px; /* don't know why this works, sticky footers are weird */
@media (max-width: 600px) {
#wrap {
margin-top: 0
}
}
/* Gems
2013-02-08 18:29:09 +00:00
-------------------------------------------------- */
2013-05-12 09:15:31 +00:00
/* Adaptation of GH's social-count for Gems */
.gem-cost
border: 1px solid #D4D4D4;
font-size: 11px;
font-weight: bold;
padding: 6px 7px 5px;
line-height: 20px;
margin-left: 8px;
border-radius: 3px;
color: #333;
background-color: #FAFAFA;
position: relative;
.gem-cost::before
content: "";
display: block;
width: 0;
height: 0;
border: 6px solid #D4D4D4;
border-color: transparent #D4D4D4 transparent transparent;
position: absolute;
right: 100%;
margin-right: 0;
top: 50%;
margin-top: -6px;
.gem-cost::after
content: "";
display: block;
width: 0;
height: 0;
border: 6px solid #FAFAFA;
border-color: transparent #FAFAFA transparent transparent;
position: absolute;
right: 100%;
margin-right: -1px;
top: 50%;
2013-01-17 01:53:17 +00:00
margin-top: -6px;
2013-02-08 18:29:09 +00:00
/* Misc
-------------------------------------------------- */
.modal
whitespace: normal
2013-02-09 21:22:39 +00:00
.notification-character
2013-02-08 18:29:09 +00:00
float:left
2013-02-09 21:22:39 +00:00
.notification-message
display: inline-block;
padding-right: 1em
line-height: 3
.notification-action
vertical-align: baseline
2013-02-08 18:29:09 +00:00
#reset-modal
z-index:1500
#notification-area
position: fixed;
top: 0;
right: 0px;
2013-03-18 20:48:47 +00:00
z-index: 1001;
.modal-body
margin: 10px