travis-web/app/styles/app/landing.sass
2015-04-07 15:22:11 +02:00

512 lines
9.7 KiB
Sass

.top.landing-page .topbar,
.wrapper.centered .topbar,
.wrapper.centered #top .cta p,
.top.landing-page .cta p
margin: 0 auto
max-width: 1024px
.top.landing-page .topbar
background-color: #fff
.button--signin
background-color: #ffffff
background-image: inline-image('landing-page/signingithub.svg')
background-size: 16px 16px
border: 2px solid #e4e7e7
color: #a0a8a8
.button--signin:hover
background-color: #73c78d
background-image: inline-image('landing-page/signingithub-hover.svg')
border: 2px solid #73c78d
color: #fff
.wrapper.centered .topbar
max-width: 1024px
.wrapper.centered #top,
.wrapper.centered .topbar,
.wrapper.non-centered .topbar
background-color: #eff0ec
#landing
margin: 0 auto 170px auto
font-weight: 300
overflow: hidden
h1
font-size: 5em
line-height: 1em
font-weight: 300
color: #8f9294
margin-bottom: 0
h2
font-size: 3.3em
line-height: 1.15em
font-weight: 300
color: #39a85b
p
font-color: #606162
font-size: 1.7em
font-weight: 300
.hero, .oss-testing, .customers, .recent-builds, .free-for-oss, .private-repos, .features-list, .build-flows, .user-testimonials
padding: 70px 0 70px 0
h1, h2
margin-top: 0
p
line-height: 1.5em
.hero.z-1
text-align: center
position: relative
z-index: 1
.landing-centered-wrapper
max-width: 1024px
margin: 0 auto
> .columns.medium-6:first-child
padding-right: 2em
> .columns.medium-6:last-child
padding-left: 2em
#laptop
margin-bottom: -192px
#laptop img
border: 2px solid #d8dadc
border-radius: 2px
.hero
background-color: #faf9f6
h1
color: #339999
line-height: 1.2em
margin-bottom: 0
p
margin: 0
line-height: 1.5em
br.mobile-break
display: none
.button
background-color: #39a85b
color: #fff
font-size: 2em
font-weight: 300
padding: 0.5em
margin: 1.3em 0 1.3em 0
border-radius: 4px
border: 0
&:hover
background-color: #73c78d
.sign-in-mascot
padding-right: 10px
.oss-testing
background-color: #ffffff
text-align: center
position: relative
z-index: 1000
h2
margin: 0
p
margin-top: 0.5em
margin-bottom: 2em
br.mobile-break
display: none
.customers
text-align: center
.left
text-align: left
padding: 0 0 0 12%
.recent-builds
background-color: #faf9f6
text-align: center
min-height: 44rem
h2
color: #db4141
text-align: right
margin: 0
p
text-align: right
margin-top: 0.5em
margin-bottom: 2em
img
margin-bottom: 20px
ul
padding-left: 0
li
background-color: #fff
border-radius: 4px
color: #828282
font-weight: 400
margin-bottom: 20px
list-style-type: none
position: relative
height: 120px
width: 100%
padding: 10px 0 0 60px
text-align: left
.tile-status
position: absolute
top: 0
left: 0
bottom: 0
.owner, .name
display: block
.owner
font-size: 14px
line-height: 1.8em
.name
font-size: 22px
.state
display: inline-block
margin-left: 4px
.commit, .number, .branch, .finished-at
position: absolute
display: block
background-repeat: no-repeat
background-position: left center
padding-left: 23px
.number
left: 60px
top: 65px
background-image: inline-image('svg/build-number-icon.svg')
.commit
left: 251px
top: 65px
background-image: inline-image('svg/commit-icon.svg')
.branch
left: 250px
top: 90px
background-image: inline-image('dashboard/branch.svg')
background-size: 19px 19px
.finished-at
left: 60px
top: 90px
background-image: inline-image('svg/finished-icon.svg')
background-size: 19px 19px
&.started .tile-status,
&.created .tile-status,
&.received .tile-status,
&.queued .tile-status
background-color: $start-color
&.failed .tile-status
background-color: $fail-color
&.errored .tile-status
background-color: $error-color
&.canceled .tile-status
background-color: $cancel-color
&.passed .tile-status
background-color: $pass-color
&.inactive .tile-status
background-color: $cancel-color
&.started .owner,
&.started .name,
&.created .owner,
&.created .name,
&.received .owner,
&.received .name,
&.queued .owner,
&.queued .name
color: $start-color
&.failed .owner,
&.failed .name
color: $fail-color
&.errored .owner,
&.errored .name
color: $error-color
&.canceled .owner,
&.canceled .name
color: $cancel-color
&.passed .owner,
&.passed .name
color: $pass-color
&.inactive .owner,
&.inactive .name
color: $cancel-color
.free-for-oss
text-align: center
h1
margin-bottom: 0.3em
p
margin: 0
span.bold-italic
font-weight: 600
font-style: italic
br.mobile-no-break
display: inline-block
.private-repos
text-align: center
h2
color: #339999
margin: 0
text-align: right
p
margin-top: 0.5em
margin-bottom: 2em
text-align: right
.mobile-envelope
display: none
.desktop-envelope
display: inline-block
.features-list
background-color: #faf9f6
h2
margin: 0
h3
font-size: 1.4em
font-weight: 300
color: #413c3c
text-align: center
margin-bottom: 35px
padding-top: 40px
p
font-size: 1.15em
font-weight: 300
color: #606162
text-align: center
br.mobile-break
display: none
.features-callouts
text-align: center
#f-co-1, #f-co-2, #f-co-3, #f-co-4
background-repeat: no-repeat;
background-position: 50% 0
height: 32px
#f-co-1, #f-co-2, #f-co-3, #f-co-4
background-image: url('../images/landing-page/features-callouts-1.svg')
#f-co-2
background-image: url('../images/landing-page/features-callouts-2.svg')
#f-co-3
background-image: url('../images/landing-page/features-callouts-3.svg')
#f-co-4
background-image: url('../images/landing-page/features-callouts-4.svg')
.features-checked
padding-left: 30px
ul
@include resetul
margin-top: 1.6rem;
li
font-color: #606162
font-size: 1.7em
line-height: 1.7em
&:before
@extend %icon
content: ""
background-image: url('../images/landing-page/features-check.svg')
width: 0.7em
height: 0.7em
margin-right: .3em
.build-flows
text-align: center
h2
color: #909295
h2#pr-bf-margin
margin-top: 90px
.branch-bf
.bf
display: inline-block
width: 120px
p
font-size: 1em
line-height: 1.5em
color: #5f6062
.divider-line-horizontal
width: 50px
height: 3px
background: #eaeaec
display: inline-block
margin-bottom: 75px
.divider-line-vertical
display: none
.user-testimonials
margin-bottom: 50px
h2
color: #418793
text-align: right
p
font-size: 1.15em
font-weight: 300
color: #606162
@media (max-width: 900px)
.oss-testing br.mobile-break
display: inline-block
.landing-centered-wrapper
width: 100%
@media (max-width: 1024px)
.features-list .features-checked
margin-top: 40px
.features-list .features-checked h2
text-align: center
@media (max-width: 886px)
#hero-copy
display: block
width: 100%
text-align: center
.hero h1
max-width: 100%
.hero p
text-align: center
max-width: 100%
.hero br.mobile-break
display: inline-block
.features-list .features-callouts
padding: 0 60px 0 60px
.features-list .features-checked
padding: 0 60px 0 60px
@media (max-width: 846px)
.build-flows .branch-bf .bf
width: 100%
display: block
clear: all
.build-flows .branch-bf .bf img
width: 120px
height: 120px
.build-flows .branch-bf .bf p
font-size: 1.5em
.build-flows .branch-bf .divider-line-horizontal
display: none
.build-flows .branch-bf .divider-line-vertical
width: 3px
height: 40px
background: #eaeaec
display: inline-block
margin-bottom: 10px
@media (max-width: 797px)
.customers .left
text-align: center
padding: 20px 0 0 0
.recent-builds h2
text-align: center
.recent-builds p
text-align: center
.free-for-oss br.mobile-no-break
display: none
.private-repos .desktop-envelope
display: none
.private-repos .mobile-envelope
display: inline-block
margin-bottom: 40px
.private-repos h2
text-align: center
.private-repos p
text-align: center
.user-testimonials
margin-bottom: 50px
.user-testimonials h2
text-align: center
.user-testimonails p
text-align: center
@media (max-width: 640px)
.user-testimonials
margin-bottom: 140px
@media (max-width: 608px)
br.mobile-break
display: inline-break
.landing-vert-center-m
@media #{$medium-up}
position: relative
transform: translateY(65%)
.landing-vert-center-s
@media #{$medium-up}
position: relative
overflow: auto
transform: translateY(7%)