/*
 * Copyright (c) 2018 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:
 *   Christopher Guindon <chris.guindon@eclipse-foundation.org>
 * 
 * SPDX-License-Identifier: EPL-2.0
*/

// Solstice default support for legacy code from nova

main {
  #bigbuttons {
    padding-top: 1.65em;
    padding-bottom: 2.2em;
    .make-sm-column (10);
    .make-sm-column-offset (14);
    .make-md-column (15);
    .make-md-column-offset (9);
    .make-lg-column (16);
    .make-lg-column-offset (6);
    h3 {
      display: none;
    }

    text-align: center;
    position: relative;
    .clearfix;
    top: auto;
    left: auto;
    ul {
      .list-inline;
      li {
        @media (min-width: @screen-sm-min) {
          float: right;
        }

        background: none;
      }
    }

    a {
      position: relative;
      margin: 0;
      top: auto;
      left: auto;
      &:hover {
        text-decoration: none;
      }
    }
  }
}

div#novaContent {
  @media (max-width: @screen-xs-max) {
    background-image: none;
  }

  background-position: left top;
  @media (min-width: @screen-lg-min) {
    background-position: center top;
  }

  padding-top: 0;
}

.legacy-page #midcolumn {
  .make-md-column (17);
  #maincontent, #midcolumn {
    width: 100%;
  }
}

.legacy-page #midcolumn.no-right-sidebar {
  .make-md-column (24);
}

// Hack to overrides some projects default overides for Nova
.legacy-page #rightcolumn {
  .make-md-column (7);
}