/*
 * Copyright (C) 2015 - 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/>.
 */

@mixin name_bubbles {
  div {
    padding: $contentBoxPadding;
    display: inline-block;
    overflow: hidden;
    vertical-align: middle;
  }
  span {
    color: $ic-font-color-dark;
    vertical-align: middle;
    display: inline-block;
  }
  a, button {
    color: $ic-font-color-dark;
    padding-#{direction(right)}: $contentBoxPadding;
    cursor: pointer;
    background-color: transparent;
    border: 1px solid transparent;
    &:hover {
      border: 1px solid $ic-font-color-dark;
    }
  }
  white-space: nowrap;
  float: direction(left);
  color: $ic-font-color-dark;
  background-color: $ic-color-medium-light;
  border: 1px solid $ic-border-color;
  border-radius: $borderRadius;
  cursor: default;
  position: relative;
  &.cannot_remove, &.cannot_remove:hover {
    div {
      padding-#{direction(right)}: $contentBoxPadding;
    }
  }
}
