@import "~terriajs-variables";
@import "../../../../Sass/common/mixins";

.share-panel {
  font-size: $font-size-mid-small;
}

.catalog-share {
  float: right;
}

.story-share {
  position: relative;
  text-align: center;
  width: 50%;
  margin-left: $padding-small;
}

.catalog-share-inner {
  background: $grey-lightest;
  color: $text-darker;
}

.story-share-inner {
  background: $grey-lightest;
  color: $text-darker;
  right: 0;
  text-align: left;
}

.dropdown-inner {
  width: $share-panel-width;
  @include transform-origin(50%, top);
}

.btn--catalogShare {
  font-size: $font-size-data-preview;
  background: transparent;
  color: $color-primary;
  box-shadow: none;
  svg {
    fill: $color-primary;
  }
  &:hover,
  &:focus {
    color: $text-light;
  }
}

.btn--withoutText {
  svg {
    fill: $text-darker;
  }
  // not in design but should give life to the button?
  &:hover,
  &:focus {
    color: $color-primary;
  }
}
