/*!
 * Copyright (C) 2019  Ľuboš Kozmon <https://www.elkozmon.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

@import "../../../sass/utils";

.zoo-editor-actionbar {
  background-color: #f7f7f7;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.zoo-editor-actionbar ::ng-deep {
  button {
    background: #fbfbfb;
    border: 0;
    padding: 0;
    min-width: 75px;
    min-height: 50px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, .1);
    margin: 0 1px 0 0;

    &:active {
      background: #eeeeee;
      box-shadow: 1px 1px 0 rgba(0, 0, 0, .05);
    }

    &:focus {
      outline: 0;
    }

    &::-moz-focus-inner {
      border: 0;
    }

    &[disabled] {
      background: #eeeeee;

      mat-icon, span {
        color: #9a9a9a;
      }
    }

    mat-icon, span {
      text-shadow: 1px 1px white;
    }

    span {
      display: block;
      line-height: 7px;
      font-weight: bold;
      font-size: 9px;
      font-family: "Roboto", "Helvetica Neue", sans-serif;
    }
  }
}
