@import "scss/variables";

.WidgetToolbar {
  display: flex;
  height: 1rem;
  position: absolute;
  top: 0px;

  &.left {
    left: 0px;
  }

  &.right {
    right: 0px;
  }

  .WidgetToolbarItem {
    align-items: center;
    color: white;
    cursor: pointer;
    display: flex;
    height: 1rem;
    justify-content: center;
    margin-right: 0.5em;
    min-width: 1rem;

    &.danger {
      color: $danger;
    }

    svg {
      g, path {
        stroke-width: 3px !important;
      }
    }
  }

  &.right {
    .WidgetToolbarItem {
      margin-left: 0.5em;
      margin-right: 0px;
    }    
  }
}
