/*
 * 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
*/

// User Toolbar styles

.toolbar-container-wrapper{
  background:@header-toolbar-background-color;
}

.toolbar-row {
  padding: 8px 0;
  font-size: 12px;
  color: @header-toolbar-color;
  font-weight: 300;
  a {
    font-weight: 300;
    color: @header-toolbar-color;
    text-decoration:none;
    &:hover {
      color: @header-toolbar-color-hover;
    }
    &:visited {
      color: @header-toolbar-color;
    }
  }
  .dropdown-menu {
    right: 0;
    min-width: fit-content;
    left: initial;
  }
  .dropdown-menu a {
    color: @text-color;
    &:hover {
      color: darken(@text-color, 20%);
    }
    &:visited {
      color: @text-color;
    }
  }
  ul {
    margin-bottom: 0;
    li {
      &:last-child {
        padding-right:0;
      }
    }
  }
  .toolbar-left-content {
    span {
      font-size:18px;
      @media (max-width : 767px) {
        padding-top:10px;
        text-align:center;
        display:block;
      }
      @media (min-width : 768px) {
        border-left: 5px solid #f7941e;
        padding-left:10px;
      }
    }
    a {
      font-weight:bold;
      color:@brand-warning;
    }
  }
}

// Alternative style
.toolbar-contrast {
  background: #f1f1f1;
  color: #7c7c7c;
  a {
    font-weight: 300;
    &:link , &:visited {
      color: #7c7c7c;
    }

    &:hover {
      color: @brand-info;
    }
  }
}

// Front page style
.alternate-layout {
  .toolbar-container-wrapper{
    background:@alternate-header-toolbar-background-color;
  }
  .toolbar-row {
    color: @alternate-header-toolbar-color;
    a {
      color: @alternate-header-toolbar-color;
      &:hover {
        color: @alternate-header-toolbar-color-hover;
      }
      &:visited {
        color: @alternate-header-toolbar-color;
      }
    }
  }
}
