BrowserBar.scss 1.25 KB
Newer Older
1 2 3
@import 'src/styles/common';

.browserBar {
Andrey Azov's avatar
Andrey Azov committed
4
  display: flex;
5 6
  background: $ens-light-grey;
  box-shadow: 0 2px 3px $ens-grey;
7
  height: 32px;
8
  padding: 6px 0 3px 0;
9
  position: relative;
Imran Salam's avatar
Imran Salam committed
10
  z-index: 200;
11 12 13 14 15 16 17 18 19 20 21 22 23 24

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

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

.browserInfo {
Andrey Azov's avatar
Andrey Azov committed
25
  display: flex;
26 27 28
  flex-wrap: nowrap;
  font-size: 12px;
  margin: 0;
29
  width: calc(100vw - 356px);
30 31

  label {
32
    color: $ens-dark-grey;
33 34 35 36 37 38 39
    font-weight: $light;
  }

  .value {
    margin: 0 3px;
  }

40 41
  &.browserInfoExpanded {
    width: calc(100vw - 36px);
42

Andrey Azov's avatar
Andrey Azov committed
43
    @media #{$breakpoint-large} {
44 45
      width: calc(100vw - 356px);
    }
46 47
  }

48
  &.browserInfoGreyed {
49
    color: $ens-dark-grey;
50 51
  }

52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
  dd {
    margin-right: 10px;
    white-space: nowrap;
  }

  dl {
    overflow: hidden;

    &.browserInfoLeft {
      flex: 1 1 auto;
    }

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

69
    .ensObjectLabel {
70
      margin-left: 14px;
71
      text-transform: capitalize;
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90

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

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

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