habitica/styles/app/index.styl

194 lines
4.7 KiB
Stylus
Raw Normal View History

@import "nib/vendor";
2013-02-08 01:53:11 +00:00
@import "../bootstrap-responsive.styl";
@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";
2012-04-27 02:03:01 +00:00
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
/* Header
-------------------------------------------------- */
2012-06-26 15:16:59 +00:00
#head
2012-06-26 15:25:24 +00:00
background: #ddd
background: -webkit-gradient(linear,0 0,0 100%,from(#e7e7e7),to(#d0d0d0))
background: -moz-linear-gradient(#e7e7e7, #d0d0d0)
background: -ms-linear-gradient(#e7e7e7, #d0d0d0)
background: -o-linear-gradient(#e7e7e7, #d0d0d0)
background: linear-gradient(#e7e7e7, #d0d0d0)
2012-06-26 15:25:24 +00:00
-webkit-box-shadow: inset 0 1px #f7f7f7, 0 1px #888, 0 2px #e7e7e7
-moz-box-shadow: inset 0 1px #f7f7f7, 0 1px #888, 0 2px #e7e7e7
box-shadow: inset 0 1px #f7f7f7, 0 1px #888, 0 2px #e7e7e7
padding: 12px 16px
white-space: nowrap
position:fixed
2013-02-03 21:05:06 +00:00
width: 100%
box-sizing: border-box
z-index: 1000
2013-01-29 00:22:43 +00:00
@media (max-width: 480px) {
#head {
position: static;
}
}
2013-01-29 01:09:57 +00:00
#head .pull-right
margin-right: 0
2013-01-29 00:22:43 +00:00
margin-left: 1%
2013-01-14 18:05:43 +00:00
.modal
whitespace:normal
.dropdown-menu
right: 0
left: auto
.char-status
// border: 1px dotted grey
.main-avatar-wrap
margin: 0 5px 0 0
float: left
.party-avatar-wrap
margin: 0
float: right
.progress-bars
padding-top: 15px
.progress
position: relative
height: 25px
.bar
height: 25px
border: 1px solid black
.progress-text
position: absolute
right: 5px
top: 3px
color: black
@media (max-width: 600px) {
.char-status {
padding-top: 30px
}
.main-avatar-wrap {
border-right: 1px solid grey;
padding-right: 20px
}
.party-avatar-wrap {
float: left;
}
.progress-bars {
clear: both
}
}
2013-02-08 18:29:09 +00:00
/* Footer
-------------------------------------------------- */
.footer ul li
list-style:none
float:left
2012-09-04 17:46:27 +00:00
.footer ul li:after
content: "\00A0\00A0|\00A0\00A0"
.footer ul li:last-child:after
content: ""
.footer table td
vertical-align: top
/* 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 */
/*html, body {height: 100%;}*/
2013-01-28 07:22:56 +00:00
#wrap {min-height: 100%; margin-top:130px; z-index:-1}
#main
/*overflow:auto;*/
2013-02-08 18:29:09 +00:00
padding-bottom: 250px; /* don't know why this works, sticky footers are weird */
@media (max-width: 480px) {
#wrap {
margin-top: 0
}
}
2013-02-08 18:29:09 +00:00
/* Tokens
-------------------------------------------------- */
/* Adaptation of GH's social-count for Tokens */
.token-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;
.token-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;
.token-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
-------------------------------------------------- */
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