aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/css/itcss/components/editable-label.scss
blob: c69ea1428b627405437be97eeea8f3008d78c58d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.editable-label {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;

  &__value {
    max-width: 250px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  &__input {
    width: 250px;
    font-size: 14px;
    text-align: center;
    border: 1px solid $alto;

    &--error {
      border: 1px solid $monzo;
    }
  }

  &__icon-wrapper {
    position: absolute;
    margin-left: 10px;
    left: 100%;
  }

  &__icon {
    cursor: pointer;
    color: $dusty-gray;
  }
}