//////////////////////////////////////////////////////////////////////////////////////////
//   _  _ ____ _  _ ___  ____                                                           //
//   |_/  |__| |\ | |  \ |  |    This file belongs to Kando, the cross-platform         //
//   | \_ |  | | \| |__/ |__|    pie menu. Read more on github.com/kando-menu/kando     //
//                                                                                      //
//////////////////////////////////////////////////////////////////////////////////////////

// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: MIT

@use '../../variables.scss' as *;
@use '../../mixins.scss' as *;

.row {
  display: flex;
  gap: 8px;
  align-items: center;

  color: $text-normal;

  .labelContainer {
    flex: 1;
    white-space: nowrap;

    .label {
      white-space: normal;
    }
  }

  &.clickable:active {
    transform: translateY(1px);
  }

  &.disabled {
    opacity: 0.5;
    pointer-events: none;
  }

  .widget {
    min-width: 0px;
    line-height: 0;

    &.grow {
      flex: 2;

      &:only-child {
        max-width: unset;
      }
    }
  }
}
