/* Copyright (C) 2019 Monomax Software Pty Ltd
 *
 * This file is part of Dnote.
 *
 * Dnote 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.
 *
 * Dnote 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 Dnote.  If not, see <https://www.gnu.org/licenses/>.
 */

@import '../../App/responsive';
@import '../../App/theme';
@import '../../App/font';
@import '../../App/rem';

.wrapper {
  position: relative;
}

.select {
  // match the height of the stripe element with other inputs
  padding: rem(7px) rem(12px);

  border: 2px solid $border-color;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  appearance: none;
  outline: none;
  background: transparent;

  &:focus {
    border: 2px solid $third;
  }
}

.caret {
  position: absolute;
  right: rem(16px);
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
}
