Main Avalanche Network server application. Built with Ruby on Rails.

avalanche_theme.css.less 4.9KB

    // Avalanche Theme Stylesheet // ------------------------------------------------ @import "avl2_theme/colors.less"; @import "avl2_theme/typography.less"; //@import "avl2_theme/buttons.less"; //@import "avl2_theme/forms.less"; //@import "avl2_theme/panel.less"; html, body { height: 100%; } .wrapper { min-height: 100%; height: auto !important; height: 100%; margin: 0 auto -222px; /* the bottom margin is the negative value of the footer's height */ } .footer, .push { height: 192px; /* .push must be the same height as .footer */ } .top-container { margin-top: 85px; } .last-container { margin-bottom: 85px; } .container-bg { background-color: @bg-ligh-gray; margin-top: 0px; padding-bottom: 20px; } .top-container.container-bg { margin-top: 58px; } .container-tabs { margin-top: -38px; } .container-pre-tabs { padding-bottom: 56px; border-bottom: 1px solid #ddd; } .container-last { margin-bottom: 60px; } .page-header { padding-bottom: 0; margin: 20px 0 30px; border-bottom: 2px solid @hr-dark; } .page-header h1 { .theme-header(); margin-bottom: 0px; } .page-header h2 { font-family: Helvetica-LightOblique; font-size: 36px; color: #1D1D26; line-height: 43px; margin-top: 0px; margin-bottom: 0px; } .page-header-type h1 { font-size: 48px; line-height: 59px; margin-top: 0px; } .page-header-type small { .theme-pre-header; } .page-header h1 .btn { margin-bottom: 9px; } h2 { font-family: Avenir-LightOblique; font-size: 32px; color: #000000; line-height: 44px; font-style: italic; font-weight: 200; } h4 { font-family: Avenir-MediumOblique; font-size: 18px; color: #1D1D26; line-height: 25px; text-transform: uppercase; font-style: italic; font-weight: 200; } .img-circle { border-radius: 360px; } .thumbnail { display: block; line-height: 20px; border: 2px solid #D4D4DE; border-radius: 4px; padding: 0px; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; } .box { border-radius: 4px; border: 2px solid #D4D4DE; line-height: 20px; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; } .thumbnail h3 { font-family: Avenir-HeavyOblique; font-size: 24px; color: #000000; margin-bottom: 0px; line-height: 28px; } .box h3 { font-family: Avenir-HeavyOblique; font-size: 24px; color: #000000; line-height: 28px; margin-bottom: 0px; } .thumbnail h3 a, .box h3 a { color: black; } .thumbnail h2 { font-family: Avenir-HeavyOblique; font-size: 28px; color: #000000; line-height: 44px; margin-top: 0px; height: 88px; } .thumbnail h2 a, .box h2 a { color: black; } .thumbnail-content h4 { font-family: Avenir-MediumOblique; font-size: 18px; color: #1D1D26; line-height: 25px; text-transform: none; font-style: italic; font-weight: 200; text-align: center; } .thumbnail h3 a:hover, .box h3 a:hover { text-decoration: underline; } .thumbnail p, .box p { font-family: Avenir-Medium; font-size: 16px; color: #000000; line-height: 22px; } .thumbnail .thumbnail-content { padding: 8px; } .thumbnail-line-top { border-top: @theme-border; } .box .box-content { padding-right: 4px; margin-left: -26px; } .thumbnail .mission-director-name, .box .mission-director-name { margin-bottom: 8px; /* James Peret: */ font-family: Avenir-Medium; font-size: 14px; color: @black; line-height: 22px; } .thumbnail-mission-description { height: 110px;} .box-mission-description { height:333px;} .thumbnails.mission-list, .box { margin-bottom: 60px; } // Progress Bar .progress-success.progress-striped .bar, .progress-striped .bar-success { background-color: #92BC64; } .bar { } .progress { background-color: white; border-radius: 5px; height: 33px; } .progress-bar .percentage { margin-top: -51px; font-family: Avenir-Medium; font-size: 24px; color: #000000; line-height: 33px; } .progress-bar-mission-stats { width: 70%; margin-left: auto; margin-right: auto; } // Hacks .videoWrapper { position: relative; padding-bottom: 56.25%; /* 16:9 */ padding-top: 25px; height: 0; } .videoWrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .nav-tabs > .active > a, .nav-tabs > .active.clickable > a:hover, .nav-tabs > .active.clickable > a:focus { cursor: pointer; } .no-margin-bottom { margin-bottom: 0px;} .centered { margin-left: auto; margin-right: auto; text-align: center; } .spacer-top-small { margin-top: 25px; } .spacer-left-small { margin-left: 25px; } .spacer-right-small { margin-right: 25px; } .spacer-bottom-small { margin-bottom: 25px; } .spacer-top-medium { margin-top: 50px; } .spacer-left-medium { margin-left: 50px; } .spacer-right-medium { margin-right: 50px; } .spacer-bottom-medium { margin-bottom: 50px; } .align-center { margin-left: auto; margin-right: auto;}