Newer
Older
CrypticOreWallet / src / components / addresses / ContextualAddress.less
@Drew Lemmy Drew Lemmy on 19 Mar 2021 1 KB feat: verified addresses
// Copyright (c) 2020-2021 Drew Lemmy
// This file is part of KristWeb 2 under GPL-3.0.
// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
@import (reference) "../../App.less";

.contextual-address {
  &:not(.contextual-address-allow-wrap) {
    .address-metaname, .address-name, .address-raw-metaname,
    .address-wallet {
      white-space: nowrap;
    }
  }

  .address-address, .address-original {
    white-space: nowrap;
  }

  .address-original {
    opacity: 0.8;
  }

  &.contextual-address-non-existent a {
    color: @text-color-secondary;

    cursor: not-allowed;

    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-color: @text-color-secondary;
    text-decoration-thickness: 1px;
  }

  .address-verified {
    &:not(.address-verified-inactive) a {
      color: fade(@kw-orange, 60%);

      .address-verified-label, .kw-verified-check-icon {
        color: @kw-orange;
      }
    }

    .kw-verified-check-icon {
      display: inline-block;
      font-size: 80%;
      margin-left: 0.25em;

      svg {
        position: relative;
        top: -1px;
      }
    }
  }
}