BrowserBar.scss 1.09 KB
Newer Older
1 2 3 4 5 6 7 8
@import 'src/styles/common';

.browserBar {
  @include flex;
  background: $ens-light-grey;
  box-shadow: 0 2px 3px $ens-grey;
  padding: 7px 0 3px 0;
  position: relative;
Imran Salam's avatar
Imran Salam committed
9
  z-index: 200;
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

  dd {
    display: inline-block;
    margin: 0 18px;
  }

  button {
    &.selected {
      background: $ens-white;
    }
  }
}

.browserInfo {
  @include flex;
  flex-wrap: nowrap;
  font-size: 12px;
  margin: 0;
28 29 30 31 32
  width: calc(100vw - 36px);

  @include breakpoint(large) {
    width: calc(100vw - 356px);
  }
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81

  label {
    color: #555;
    font-weight: $light;
  }

  .value {
    color: $ens-black;
    margin: 0 3px;
  }

  dd {
    margin-right: 10px;
    white-space: nowrap;
  }

  dl {
    overflow: hidden;

    &.browserInfoLeft {
      flex: 1 1 auto;
    }

    &.browserInfoRight {
      flex: 0 1 auto;
      text-align: right;
    }

    .geneSymbol {
      margin-left: 14px;

      .value {
        font-size: 13px;
        font-weight: $bold;
      }
    }
  }

  .navigator {
    margin: 0 10px 0 0;
    position: relative;
    top: -2px;

    img {
      height: 22px;
      width: 22px;
    }
  }
}