habitica/public/css/index.styl

201 lines
3.8 KiB
Stylus
Raw Normal View History

2013-12-30 04:10:27 +00:00
@import "nib"
//@import "nib/vendor"
// Vendor Includes - include first so we can override
2013-09-06 19:39:18 +00:00
// Import only styles that do not have urls to images! Include them directly in the page!
@import "../bower_components/bootstrap-datepicker/css/datepicker.css"
@import "../bower_components/bootstrap-tour/build/css/bootstrap-tour.min.css"
@import "../bower_components/angular-loading-bar/build/loading-bar.css"
@import "../bower_components/js-emoji/emoji.css"
@import "../bower_components/select2/select2.css"
// Custom includes
2013-08-25 15:47:10 +00:00
@import "./tasks.styl"
@import "./avatar.styl"
@import "./customizer.styl"
@import "./items.styl"
@import "./inventory.styl"
@import "./alerts.styl"
@import "./helpers.styl"
@import "./responsive.styl"
@import "./header.styl"
@import "./filters.styl"
@import "./scrollbars.styl"
@import "./game-pane.styl"
@import "./npcs.styl"
@import "./challenges.styl"
@import "./classes.styl"
@import "./quests.styl"
@import "./shared.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
font-family: "Lato", sans-serif
2013-03-19 03:42:03 +00:00
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;
}
2013-11-19 14:39:14 +00:00
/* Bootstrap overrides */
div.tooltip-inner {
max-width: 300px;
}
/* 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
z-index:-1
padding: 0 15px // Required by Bootstrap 3 when using .container-fluid
@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-09-18 15:02:17 +00:00
z-index: 1061;
.modal-body
margin: 10px
2013-05-15 11:23:18 +00:00
// TODO this is supposed to go in avatar.styl, but stylus is breaking if I even touch that file
.profile-modal-header
width:560px
margin: 0px auto
.avatar-level
position absolute
bottom 0px
right 0px
padding 1px 3px 1px 3px
2013-05-15 11:23:18 +00:00
a
cursor: pointer
a span.glyphicon
color: #333 // Takes base color from bootstrap
#modalMember p
word-wrap: break-word
.btn
2013-10-12 23:47:49 +00:00
margin-right: 5px
2013-10-22 23:33:06 +00:00
.modal-indented-list
2013-10-12 23:47:49 +00:00
margin-left: 10px;
padding-left: 10px;
.inline-modal
position: relative
top: auto;
left: auto
right: auto
margin: 0 auto 20px
z-index: 1
max-width: 100%
.buy-gems
.nav-tabs
margin-top: 0.5em
.gem-wallet
padding-top: 2px