habitica/styles/app/index.styl

220 lines
5.6 KiB
Stylus
Raw Normal View History

@import "nib/vendor";
2012-07-07 21:45:06 +00:00
@import "../bootstrap-responsive";
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
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)
-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
.color-worst pre
2012-06-26 15:16:59 +00:00
background-color: rgb(230, 184, 175)
.color-worse pre
2012-06-26 15:16:59 +00:00
background-color: rgb(244, 204, 204)
.color-bad pre
2012-06-26 15:16:59 +00:00
background-color: rgb(252, 229, 205)
.color-neutral pre
2012-06-26 15:16:59 +00:00
background-color: rgb(255, 242, 204)
.color-good pre
2012-06-26 15:16:59 +00:00
background-color: rgb(217, 234, 211)
.color-better pre
2012-06-26 15:16:59 +00:00
background-color: rgb(208, 224, 227)
.color-best pre
2012-06-26 15:16:59 +00:00
background-color: rgb(201, 218, 248)
.completed pre
2012-06-26 15:16:59 +00:00
background-color: rgb(217, 217, 217)
color: rgb(153, 153, 153)
.reward pre
2012-06-26 15:16:59 +00:00
background-color: white
2012-06-26 20:55:41 +00:00
2012-07-18 17:38:30 +00:00
.todos
.nav-pills > .active > a, .nav-pills > .active > a:hover
color: #005580
background-color: #DEE5F2
2012-06-26 15:16:59 +00:00
2012-07-07 16:58:34 +00:00
.help-icon
float:right;
2012-06-26 15:16:59 +00:00
.task:hover
cursor: move
li:hover .task-meta-controls .hover-show
2012-06-26 15:16:59 +00:00
display: inline
.task
list-style:none
pre
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif
font-size: 13px
line-height: 18px
color: black
2012-06-26 15:16:59 +00:00
.task-meta-controls
2012-06-26 15:16:59 +00:00
float:right
2012-06-29 20:31:32 +00:00
i
margin-left:5px
2012-06-26 15:16:59 +00:00
.task-controls,.task-text
display:inline
margin-right:10px
.task-meta-controls .hover-show
2012-06-26 15:16:59 +00:00
display: none;
.vote-up, .vote-down
text-decoration:none;
.buy-link, .item-buy-link
2012-07-09 03:51:16 +00:00
background-color: #DEE5F2
2012-06-26 15:16:59 +00:00
padding: 2px
margin-right: 10px
border-radius: 5px
img
height:20px
.item-buy-link
2012-07-09 03:51:16 +00:00
background-color: #ccffcc
2012-07-08 02:43:49 +00:00
#character
float:none
margin:0px auto
2012-06-26 15:16:59 +00:00
2012-06-27 14:07:16 +00:00
td#avatar
vertical-align: top
2012-06-26 15:16:59 +00:00
text-align: center
.avatar-sprites
position: relative
.weapon
position: absolute
z-index: 200
left: -13px
bottom: 7px
.weapon-0
left: -7px
.weapon-5
left: -16px
.weapon-6
left:-20px
2012-06-27 14:07:16 +00:00
td#bars
padding: 10px 0 0 10px
2012-06-26 13:19:26 +00:00
#bars
2012-09-04 20:21:55 +00:00
width: 100%
2012-06-26 13:49:26 +00:00
.progress
position: relative
2012-06-26 13:49:26 +00:00
height: 25px
.bar
height: 25px
2012-06-26 13:19:26 +00:00
border: 1px solid black
.progress-text
position: absolute
right: 5px
top: 3px
color: black
/* ----- Items, Weapons, Armor -----*/
.item-store-popover img
float:left
padding-right:7px;
.item .task-text img
max-height: 16px
2012-07-09 03:34:20 +00:00
#dead-modal img
float:left
padding-right:10px
/* 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;
margin-top: 70px;
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%;}
#main
/*overflow:auto;*/
padding-bottom: 250px; /* don't know why this works, sticky footers are weird */
/* ----- 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;