/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

@import "variables.less";
@import (reference) "button.less";

.notificationBar {
  display: inline-block;
  width: 100%;

  .notificationItem {
    background-color: #ffefc0;
    border-bottom: 1px solid #888;
    line-height: 24px;
    padding: 6px 12px 6px 20px;

    &.greetingStyle {
      background-color: #fff;
      padding: 8px 20px 6px 20px;

      .button {
        .browserButton();

        background-color: #eee;
        border-style: none;
        font-size: 14px;
        height: 25px;
        line-height: 27px;
        margin: auto 0 auto 4px;
        padding: 0px 25px;
        width: auto;

        &.primary {
          background-color: @braveOrange;
          color: #fff;
          margin-right: 0px;

          &:hover {
            background-color: lighten(@braveOrange, 10%);
            color: #fff !important;
          }
          &:active {
            background-color: darken(@braveOrange, 10%);
            color: #fff !important;
          }
        }
      }
    }

    label {
      font-size: 15px;
      padding: 0 10px 0 0;
      color: #666;
      cursor: pointer;
      -webkit-user-select: none;
    }

    input[type="checkbox"] {
      margin: 0 3px;
    }

    .button {
      font-size: 13px;
      margin-right: 10px;
      padding: 2px 15px;
      text-transform: capitalize;
      width: auto;
      -webkit-user-select: none;
    }

    .greeting {
      color: @braveOrange;
      font-size: 16px;
      margin: auto 10px auto 0;
      user-select: none;
      -webkit-user-select: none;
    }

    .message {
      color: #000;
      font-size: 15px;
      margin: auto 0;
      user-select: none;
      -webkit-user-select: none;
      cursor: default;

      &.secondary {
        color: #888;
        font-size: 14px;
        padding: 0;
        margin: auto 0 auto 10px;
      }
    }

    .options {
      float: right;
      margin-left: 6px;
    }

    .spacer {
      flex-grow: 1;
    }

    .notificationAdvanced {
      color: grey;
      cursor: pointer;
      text-decoration: underline;
      font-size: 13px;
      margin: 5px;
    }
  }
}
