// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

.module-CallingScreenSharingController {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-block: 4px;
  padding-inline: 16px;
  @include draggable-region;

  &__text {
    @include font-body-2;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: none;
    white-space: nowrap;
    width: 350px;
  }

  &__button {
    white-space: nowrap;
  }

  &__buttons {
    align-items: center;
    display: flex;
    margin-inline-start: 6px;
    -webkit-app-region: no-drag;
  }

  &__close {
    @include button-reset;
    @include color-svg('../images/icons/v3/x/x.svg', $color-gray-25);
    cursor: pointer;
    margin-inline-start: 12px;
    height: 20px;
    width: 20px;
  }
}
