mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 20:12:19 +00:00
230 lines
No EOL
5.3 KiB
Stylus
230 lines
No EOL
5.3 KiB
Stylus
@import "nib/vendor";
|
|
@import "../bootstrap-responsive.styl";
|
|
@import "./female_sprites.styl";
|
|
@import "./male_sprites.styl";
|
|
@import "./shop_sprites.styl";
|
|
@import "./tasks.styl";
|
|
@import "./avatar.styl";
|
|
@import "./customizer.styl";
|
|
@import "./items.styl";
|
|
|
|
html,body,p,h1,ul,li,table,tr,th,td
|
|
margin: 0
|
|
padding: 0
|
|
|
|
/* Header
|
|
-------------------------------------------------- */
|
|
|
|
#head
|
|
background: #ddd
|
|
-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
|
|
width: 100%
|
|
box-sizing: border-box
|
|
z-index: 1000
|
|
|
|
@media (max-width: 480px) {
|
|
#head {
|
|
position: static;
|
|
}
|
|
}
|
|
|
|
#head .pull-right
|
|
margin-right: 0
|
|
margin-left: 1%
|
|
|
|
#exp-chart
|
|
padding-top: 3em
|
|
|
|
.modal
|
|
whitespace:normal
|
|
|
|
.dropdown-menu
|
|
right: 0
|
|
left: auto
|
|
|
|
.char-status
|
|
// border: 1px dotted grey
|
|
|
|
@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
|
|
}
|
|
}
|
|
|
|
.progress-bars
|
|
width: auto
|
|
|
|
.stat-meter
|
|
padding: 1em 1em 0 0.5em
|
|
display: block
|
|
overflow: hidden
|
|
|
|
.progress-text
|
|
position: relative
|
|
right: 6.5em
|
|
display: inline-block
|
|
width: 5.5em
|
|
text-align: right
|
|
vertical-align: 20%
|
|
|
|
progress
|
|
width: 100%
|
|
height: 25px
|
|
border: 1px solid #111;
|
|
background: #fff;
|
|
-webkit-border-radius 4px
|
|
border-radius 4px
|
|
|
|
progress::-webkit-progress-bar
|
|
background: transparent;
|
|
|
|
progress::-webkit-progress-value
|
|
-webkit-transition 0.25s linear
|
|
-moz-transition 0.25s linear
|
|
transition 0.25s linear
|
|
|
|
.health
|
|
progress::-webkit-progress-value
|
|
border-right: 1px solid #666
|
|
background:#dd514c;
|
|
progress::-moz-progress-bar
|
|
border-right: 1px solid #888
|
|
background:#dd514c;
|
|
|
|
.full-hp
|
|
progress::-webkit-progress-value
|
|
border-right: none
|
|
progress::-moz-progress-bar
|
|
border-right: none
|
|
|
|
.exp
|
|
progress::-webkit-progress-value
|
|
border-right: 1px solid #888
|
|
background:#faa732;
|
|
progress::-moz-progress-bar
|
|
border-right: 1px solid #888
|
|
background:#faa732;
|
|
|
|
/* Main Area
|
|
-------------------------------------------------- */
|
|
.well {
|
|
border: 1px solid #bbb
|
|
}
|
|
|
|
|
|
/* Footer
|
|
-------------------------------------------------- */
|
|
|
|
.footer ul li
|
|
list-style:none
|
|
float:left
|
|
.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%;}*/
|
|
#wrap {min-height: 100%; margin-top:130px; z-index:-1}
|
|
#main
|
|
/*overflow:auto;*/
|
|
padding-bottom: 250px; /* don't know why this works, sticky footers are weird */
|
|
|
|
@media (max-width: 480px) {
|
|
#wrap {
|
|
margin-top: 0
|
|
}
|
|
}
|
|
|
|
/* 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%;
|
|
margin-top: -6px;
|
|
|
|
/* Misc
|
|
-------------------------------------------------- */
|
|
|
|
.notification-character
|
|
float:left
|
|
|
|
.notification-message
|
|
display: inline-block;
|
|
padding-right: 1em
|
|
line-height: 3
|
|
|
|
.notification-action
|
|
vertical-align: baseline
|
|
#reset-modal
|
|
z-index:1500 |