Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
_commons.less 3.82 KiB
/*!
 * Copyright (c) 2021 Eclipse Foundation, Inc.
 * 
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 * 
 * Contributors:
 *   Eric Poirier <eric.poirier@eclipse-foundation.org>
 * 
 * SPDX-License-Identifier: EPL-2.0
*/

.featured-section{
    padding: 60px 0 60px 0;
    background-position: 0 100%;
    h2{
      font-size: 18px;
      margin-bottom: 30px;
      color: @brand-primary;
      margin-top:0;
      text-transform: uppercase;
      font-weight: 400;
    }
    .feather {
      width: 40px;
      height: 40px;
    }
    ul li {
        font-size: 14px;
        margin-bottom:15px;
    }
  }

.featured-section-prefix {
    .small {
        color:@brand-primary;
        text-transform: uppercase;
        margin-bottom:10px;
        font-size:14px; 
    }
    .powered-by-description {
        font-size: 24px;
        margin-bottom:20px;
    }
}

.offwhite-bg-shadow, .white-bg-shadow {
  padding: 40px;
  box-shadow: 6px 6px 10px 0px rgba(0,0,0,0.25);
}

.offwhite-bg-shadow {
  background-color:@offwhite;
}

.white-bg-shadow {
  background-color:@white;
}

.featured-section-webinar-series-2 {
  background-color:@white;
  padding-top:60px;
  h2 {
    margin-bottom:20px;
  }
  .webinar-series-2-date {
    color:@brand-primary;
    font-size:24px;
  }
  .webinar-series-2-description {
    font-size: 16px;
    margin-bottom:25px;
    margin-top:20px;
  }
  .webinar-series-2-buttons li a {
    width:225px;
    margin-bottom:30px;
    @media (min-width: @screen-xs-min) {
      margin-bottom:0px;
    }
  }
}

.featured-section-webinar-series-2-home {
  background-color:@offwhite;
}

.featured-section-testimonials{
  background-color: @brand-primary;
  color: @white;
  .testimonials-quote {
    font-size: 300px;
    line-height: 1;
    margin-bottom: 0;
    height: 117px;
    margin-top: -35px;
  }
  .testimonial-picture, .testimonial-logo {
    margin:0 auto;
  }
  .testimonial-picture {
    background-color: @white;
    border-radius: 80px;
    margin-bottom:15px;
    overflow: hidden;
    width:60px;
    height:60px;
  }
  .testimonial-logo {
    margin-top:10px;
  }
  .testimonial-content {
    font-size:24px;
    margin-bottom:20px;
  }
}

#header-wrapper .featured-jumbotron.featured-jumbotron-sub-pages {
  padding-bottom: 0;
  padding-top: 130px;
  min-height: 275px;
}

.featured-content-white-bg {
  background-color:@white;
}

#main-menu {
  ul {
    li{
      position:relative;
    }
  }
  li.dropdown {
    @media (min-width: @screen-sm-min) {
      &:hover {
        .dropdown-menu {
          display: block;
        }
      }
    }
    .dropdown-menu {
      text-align: center;
      font-size: 14px;
      padding: 15px 0;
    }
  }
}

// 5 column grid
.col-xs-5th,
.col-sm-5th,
.col-md-5th,
.col-lg-5th {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.col-xs-5th {
    width: 20%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-5th {
        width: 20%;
        float: left;
    }
}

@media (min-width: 992px) {
    .col-md-5th {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-5th {
        width: 20%;
        float: left;
    }
}

.img-center {
  margin:0 auto;
}

.btn.btn-fix-width {
  width:200px;
  padding:8px 15px;
}

.btn-align-custom {
  text-align:left;
  position:relative;
  i.fa {
    float: right;
    top: 4px;
    position: relative;
  }
}

.icon-primary {
  border-color: @brand-primary;
}
@media screen and (min-width: 768px) {
  .event-timeline .timeline-item:nth-of-type(2n):before {
    left: -17%;
  }
}

@media screen and (min-width: 768px) {
  .event-timeline .timeline-item:before {
    right: -17%;
  }
}

.vertical-align-container {
  align-items: center;
  display: inline-grid;
}