BrowserBar.scss 1.75 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 82 83 84 85

  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;
    }
  }
}

.browserTabs {
  @include flex;
  font-size: 13px;
Imran Salam's avatar
Imran Salam committed
86 87
  justify-content: space-between;
  margin-left: 44px;
88
  padding-right: 5px;
Imran Salam's avatar
Imran Salam committed
89
  width: 312px;
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114

  button {
    color: $ens-blue;

    &.active {
      color: inherit;
      position: relative;

      &::after {
        border: 6px solid $ens-grey;
        border-color: transparent transparent $ens-light-grey $ens-light-grey;
        box-shadow: -2px 2px 2px 0 $ens-grey;
        box-sizing: border-box;
        content: '';
        height: 0;
        position: absolute;
        right: calc(60% - 6px);
        transform-origin: 0 0;
        transform: rotate(-45deg);
        top: 21px;
        width: 0;
      }
    }
  }
}