blob: 6a34299538c12193744b56644cfac2320d70ece6 [file] [log] [blame]
.block-how-it-works {
/*How Code-in Works*/
background: @color_grey url(@image_block_how_it_works_bg) 0 0 repeat-x;
border: 1px solid #b4b4b4;
padding: 8px 18px 18px 18px;
.block-how-it-works-title {
color: #c53926;
font-family: 'Oswald', sans-serif;
font-size: 38px;
text-transform: uppercase;
}
.block-how-it-works-cycle {
display: block;
font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
font-weight: bold;
margin: 5px 0 17px 0;
}
.block-how-it-works-more {
position: relative;
margin-bottom: 20px;
@media (min-width: @screen-sm-min) {
float: left;
margin-bottom: 0;
}
.block-how-it-works-more-image {
width: 100%;
height: 100%;
@media (min-width: @screen-sm-min) {
height: 133px;
}
}
.block-how-it-works-more-caption {
background: rgba(0, 130, 200, 0.9);
bottom: 0;
color: #fff;
display: block;
font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
font-size: 14px;
font-weight: bold;
left: 0;
line-height: 19px;
position: absolute;
width: 100%;
a {
color: #fff;
text-decoration: underline;
}
span {
display: block;
padding: 4px 8px;
}
}
}
}
.block-how-it-works-start {
position: relative;
background: #fff;
margin-right: 20px;
padding: 15px 0;
@media (min-width: @screen-sm-min) {
height: 133px;
}
&:after {
left: 100%;
top: 50%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-color: rgba(255, 255, 255, 0);
border-left-color: #fff;
border-width: 20px;
margin-top: -20px;
}
.all-tasks-tasks,
.example-tasks {
color: #c53926;
display: block;
font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
font-size: 9px;
font-weight: bold;
line-height: 18px;
padding-bottom: 10px;
text-align: center;
@media (min-width: @screen-sm-min) {
margin-top: 0;
padding: 5px 10px;
}
}
.block-how-it-works-start-inner {
span {
color: #c53926;
display: block;
font-family: 'Oswald', sans-serif;
font-size: 34px;
text-align: center;
margin: 0 auto 5px;
text-transform: uppercase;
&.short-text {
font-size: 34px;
}
&.long-text {
font-size: 22px;
}
}
.block-start-link {
margin: 0 auto;
text-align: center;
width: 78%;
padding-bottom: 10px;
@media (min-width: @screen-sm-min) {
padding-bottom: 0;
}
.start-link {
background: #c53926 url(@image_arrow_white_lg) 95% 50% no-repeat;
.lh-border-radius(3px);
.lh-box-shadow(1px 1px 5px #999);
color: #fff;
display: block;
font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
font-size: 17px;
font-weight: bold;
line-height: 18px;
padding: 8px 25px 10px 10px;
&:hover {
text-decoration: none;
}
@media (min-width: @screen-md) {
padding: 4px 25px 5px 10px;
}
}
}
}
}
.block-how-it-works-step {
overflow: visible;
position: relative;
.arrow {
background-position: 0 0;
background-repeat: no-repeat;
position: absolute;
z-index: 100;
}
.cog {
background-position: 0 0;
background-repeat: no-repeat;
left: 50%;
margin-left: -42px;
height: 85px;
position: absolute;
top: 7px;
width: 85px;
.lh-transition(all 1s ease-in-out);
@media (min-width: @screen-md) {
margin-left: 0;
left: 82px;
}
@media (min-width: @screen-lg) {
left: 92px;
}
}
.cog-center {
height: 45px;
position: absolute;
left: 50%;
margin-left: -23px;
top: 28px;
width: 46px;
z-index: 100;
@media (min-width: @screen-md) {
margin-left: 0;
left: 102px;
}
@media (min-width: @screen-lg) {
left: 112px;
}
}
&:hover .cog {
.lh-rotate(180);
}
}
.block-how-it-works-step1,
.block-how-it-works-step2,
.block-how-it-works-step3 {
background-position: 5% 85%;
height: 156px;
width: 100%;
@media (min-width: @screen-sm) {
float: left;
width: 33.333%;
background-position: 6% 85%;
}
span {
color: #fff;
font-size: 22px;
line-height: 23px;
position: absolute;
bottom: 12px;
padding-left: 70px;
width: 100%;
@media (min-width: @screen-sm) {
padding-left: 75px;
}
}
}
.block-how-it-works-step1 {
background: #0c99e5 url(@image_block_how_it_works_step1) 5% 85% no-repeat;
@media (min-width: @screen-sm) {
background-position: 8% 82%;
}
span {
@media (min-width: @screen-sm) {
padding-left: 50px;
}
}
.cog {
background-image: url(@image_block_how_it_works_step1_cog);
}
.arrow {
width: 0;
height: 0;
border-style: solid;
border-width: 20px 0 20px 34.6px;
border-color: transparent transparent transparent #0c99e5;
}
}
.block-how-it-works-step1,
.block-how-it-works-step2 {
.arrow {
bottom: -32px;
right: 25px;
height: 41px;
width: 23px;
.lh-rotate(90);
@media (min-width: @screen-sm) {
bottom: 24px;
right: -34px;
.lh-rotate(0);
}
}
}
.block-how-it-works-step2,
.block-how-it-works-step3 {
.cog {
background-image: url(@image_block_how_it_works_step2_3_cog);
}
}
.block-how-it-works-step2 {
background: #52b8ef url(@image_block_how_it_works_step2) 5% 85% no-repeat;
@media (min-width: @screen-sm) {
background-position: 13% 85%;
}
.arrow {
width: 0;
height: 0;
border-style: solid;
border-width: 20px 0 20px 34.6px;
border-color: transparent transparent transparent #52b8ef;
}
.cog-center {
background-image: url(@image_block_how_it_works_step2_cog_center);
}
}
.block-how-it-works-step3 {
background: #7ccffb url(@image_block_how_it_works_step3) 5% 85% no-repeat;
@media (min-width: @screen-sm) {
background-position: 13% 85%;
}
.arrow {
width: 0;
height: 0;
border-style: solid;
border-width: 21.7px 12.5px 0 12.5px;
border-color: #7ccffb transparent transparent transparent;
right: 20px;
bottom: -16px;
@media (min-width: @screen-sm) {
bottom: -21px;
}
}
.cog-center {
background-image: url(@image_block_how_it_works_step3_cog_center);
}
}
.block-how-it-works-repeat {
background: #cd402c;
.lh-border-bottom-left-radius(9px);
.lh-border-bottom-right-radius(9px);
clear: both;
color: #fff;
height: 42px;
text-align: center;
width: 100%;
&:hover .block-how-it-works-repeat-caption .repeat-icon {
.lh-rotate(360);
}
.arrow {
display: none;
top: -21px;
left: 94px;
width: 0;
height: 0;
border-style: solid;
border-width: 0 12.5px 21.7px 12.5px;
border-color: transparent transparent #cd402c transparent;
@media (min-width: @screen-sm) {
display: block;
left: 30px;
}
}
.block-how-it-works-repeat-caption {
display: inline-block;
margin: 0 auto;
.repeat-icon {
background: url(@image_block_how_it_works_repeat) 0 0 no-repeat;
float: left;
height: 19px;
margin: 11px 7px 0 11px;
width: 17px;
.lh-transition(all .5s ease-in);
@media (min-width: @screen-sm) {
margin-left: 0;
}
}
span {
font-size: 22px;
line-height: 42px;
em {
font-size: 13px;
font-style: normal;
vertical-align: top;
}
}
}
}
.block-featured-task {
/*Featured Task*/
.block-title {
padding-left: 76px;
}
.block-featured-task-link,
.block-featured-task-org {
margin-left: 55px;
}
.block-featured-task-link {
display: block;
font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
font-size: 20px;
font-weight: bold;
line-height: 25px;
}
.block-featured-task-org {
display: block;
font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
font-size: 12px;
font-weight: bold;
margin-bottom: 10px;
em {
font-style: normal;
text-transform: uppercase;
}
}
p {
line-height: 22px;
}
}
.block-participating-orgs {
/*Participating Orgs*/
.block-content {
padding-left: 15px;
padding-right: 15px;
text-align: center;
@media (min-width: @screen-sm) {
padding-left: 30px;
padding-right: 30px;
}
}
img {
max-height: 64px;
max-width: 64px;
margin: 5px;
text-align: center;
vertical-align: middle;
}
a.wide {
margin-left: 8px;
}
}
.block-news {
/*News*/
.blog-item {
font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
font-weight: bold;
padding-bottom: 7px;
&:last-child {
padding-bottom: 0;
}
.date {
color: #666;
display: block;
}
a {
font-size: 16px;
line-height: 18px;
}
}
}
.block .readmore {
background: #0f649d;
color: #fff;
font-size: 13px;
font-weight: bold;
line-height: 14px;
padding: 4px 0 4px 25px;
a {
background: url(@image_arrow_white_sm) right center no-repeat;
color: #fff;
padding: 5px 9px 5px 0;
display: inline-block;
@media (min-width: @screen-md-min) {
padding: 0 9px 0 0;
}
}
}
.block-timeline {
/*Timeline*/
.block-content {
padding-bottom: 5px;
padding-left: 30px;
padding-top: 9px;
}
.block-footer {
font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
font-size: 14px;
padding-bottom: 6px;
padding-left: 0;
padding-right: 0;
text-align: center;
text-transform: uppercase;
}
}
.social-media {
margin: 0 auto;
text-align: center;
padding: 5px 15px 15px 15px;
li {
display: inline-block;
font-size: 1.5em;
line-height: 1.2em;
margin: 4px .25em 0;
}
// Image replacement
.ir {
background-color: transparent;
border: 0;
overflow: hidden;
/* IE 6/7 fallback */
*text-indent: -9999px;
}
.ir:before {
content: "";
display: block;
width: 0;
height: 100%;
}
}
.blogger-icon, .email-icon, .gplus-icon, .irc-icon {
a {
color: #1f93cf;
display: block;
height: 28px;
margin-bottom: -10px;
width: 28px;
}
}
.blogger-icon {
a {
background: url('@{images_soc_location}/blogger-icon-sprite.svg');
}
}
.email-icon {
a {
background: url('@{images_soc_location}/email-icon-sprite.svg');
}
}
.gplus-icon {
a {
background: url('@{images_soc_location}/google-icon-sprite.svg');
}
}