/*
 * Copyright (C) 2013 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas 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, version 3 of the License.
 *
 * Canvas 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/>.
 */

.pill {
  display: inline-block;
  margin: 0;
  list-style: none;
  border-radius: 1em;
  border: 1px solid rgba(0,0,0,0.25);
  box-shadow: 0 1px 0 #fff;
}

.pill > li {
  float: direction(left);
  padding: 0 10px;
  border-#{direction(right)}: solid 1px rgba(0, 0, 0, 0.25);
  @include fontSize($ic-font-size--xsmall);

  &:first-child {
    padding-#{direction(left)}: 10px;
    border-radius: 1em 0 0 1em
  }
  &:last-child {
    padding-#{direction(right)}: 10px;
    border-#{direction(right)}: none;
    border-radius: 0 1em 1em 0
  }
}
