Newer
Older
dmpopidor / lib / assets / stylesheets / roadmap-tabs.scss
@briley briley on 9 Jun 2017 928 bytes resolved cherry-pick conflicts
@import "roadmap";

/* Roadmap Tab Styling */
/* ------------------------------------------------ */
.tabs {
  list-style: none;
  margin: 0;

  li {
    display: inline;
    
    a {
      position: relative;
      float: left;
      display: block;
      padding: 10px 35px;
      margin-left: -1px;
      left: 1px; 
      color: $white;
      background-color: $primary-color;
      text-decoration: none;
      font-weight: bold;
    }
  }
  li a:hover,
  li.active a,
  li.active a:hover {
    color: $primary-color;
    background-color: $white;
  }
}
.tabs:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: "";
  clear: both;
  height: 0;
}
.tab-panels {
  position: relative;
  min-height: 250px;
}
.tabbed-area div.tab-panel {
  background: white;
  padding: 10px 20px;
  min-height: 230px;
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
}
.tab-panel div.active {
  z-index: 1;
}