codecombat/app/styles/base.sass

183 lines
3.3 KiB
Sass
Raw Normal View History

2014-01-03 13:32:13 -05:00
@import "bootstrap/variables"
@import "bootstrap/mixins"
html
background-color: #2f261d
// https://github.com/twbs/bootstrap/issues/9237 -- need a version that's not !important
.secret
display: none
2014-01-03 13:32:13 -05:00
h1 h2 h3 h4
letter-spacing: 2px
.main-content-area
position: relative
width: 1024px
margin: 56px auto 0
min-height: 600px
padding: 14px 12px 5px 12px
@include box-sizing(border-box)
#outer-content-wrapper
background: #8cc63f url(/images/pages/base/repeat-tile.png) top center
#inner-content-wrapper
background: url(/images/pages/base/background_texture.png) top center no-repeat
#front-summary-points-left
width: 250px
margin: 0px 20px 10px 15px
#front-summary-points-left p.lead
margin-bottom: 5px
#front-screenshot
width: 710px
.content
width: 1024px
margin: 0 auto
.footer
height: 75px
border-top: 1px solid black
background-color: #2f261d
p
margin: 0
padding-top: 10px
padding-bottom: 10px
2014-01-03 13:32:13 -05:00
text-align: center
.mixpanel-badge, .firebase-badge
2014-01-03 13:32:13 -05:00
width: 100px
margin: 10px 10px 0px
2014-01-03 13:32:13 -05:00
.footer-link-text a
font-family: 'Bangers', cursive
font-weight: normal
font-size: 25px
letter-spacing: 1px
color: #ffffff
cursor: pointer
2014-01-14 01:29:58 -05:00
margin: 0px 10px
&:hover
color: $white
2014-01-03 13:32:13 -05:00
a[data-toggle="modal"]
cursor: pointer
.share-buttons, .partner-badges
padding-bottom: 10px
2014-01-03 13:32:13 -05:00
text-align: center
@include opacity(0.75)
2014-01-03 13:32:13 -05:00
&.fade-in
@include opacity(0)
&:hover, &:active
@include opacity(1)
2014-01-03 13:32:13 -05:00
@include transition(opacity .10s linear)
2014-01-13 21:19:28 -05:00
.github-star-button
margin-left: 20px
2014-02-19 22:04:13 -05:00
&>div
display: inline-block
vertical-align: top
2014-01-03 13:32:13 -05:00
.error
left: 8px
.selectable
cursor: pointer
.modal-dialog
2014-01-03 13:32:13 -05:00
padding: 5px
background: transparent url(/images/pages/base/modal_background.png)
background-size: 100% 100%
border: 0
@include box-shadow(0 0 0 #000)
.modal-content
@include box-shadow(none)
2014-01-03 13:32:13 -05:00
.modal-header
margin: 0 14px
padding: 8px 0
border-bottom-color: #ccc
.close
font-size: 28px
@include opacity(0.60)
2014-01-03 13:32:13 -05:00
&:hover
@include opacity(1)
2014-01-03 13:32:13 -05:00
.modal-footer
background-color: transparent
margin: 0 14px
border-bottom-color: #ccc
// Bigger versions of some Bootstrap icons
// TODO: make the non-white versions of these if we ever need them
.icon.big
background-image: url(/images/pages/base/glyphicons-simplified.png)
.icon-white.big
background-image: url(/images/pages/base/glyphicons-simplified.png)
.icon.big, .icon-white.big
width: 19px
height: 19px
line-height: 19px
.icon-pause.big
background-position: -114px 0px
.icon-play.big
background-position: -95px 0px
.icon-repeat.big
background-position: -76px 0px
.icon-volume-off.big
background-position: -57px 0px
.icon-volume-down.big
background-position: -38px 0px
.icon-volume-up.big
background-position: -19px 0px
.icon-cog.big
background-position: 0px 0px
.loading-screen
text-align: center
.progress
width: 50%
margin: 0 25%
.progress-bar
2014-01-03 13:32:13 -05:00
width: 100%
.modal
.wait
h3
text-align: center
.progress
width: 50%
margin: 10px auto
.progress-bar
2014-01-03 13:32:13 -05:00
width: 100%
table.table
background-color: white
//.ui-autocomplete
// z-index: $zindexAutocomplete
2014-01-03 13:32:13 -05:00
2014-01-12 14:54:50 -05:00
.ui-slider
border: 1px solid black
.ui-slider-handle
border: 1px solid black !important