_menu.sass 2.01 KB
Newer Older
1
.main-topbar
2 3
  position: sticky
  top: 0
arturo's avatar
arturo committed
4
  z-index: z-index('main', 'topbar')
5 6
  height: 40px

7
  select
8 9 10
    padding-top: 0
    padding-bottom: 0
    height: 2rem
11

arturo's avatar
arturo committed
12 13 14 15 16
  &__theme-switcher,
  &__lang-switcher,
  &__tree-switcher
    margin-right: space-x(1)

17 18
  &__tree-switcher
    padding: 0.15rem 0.5rem
arturo's avatar
arturo committed
19

20 21 22 23 24 25 26 27 28 29 30
  // add hovering effect
  &.navbar-dark .navbar-text:hover
    color: $navbar-dark-hover-color

  // remove Bootstrap native rules
  &__hand-button .nav-link,
  &__help-button .nav-link
    padding-left: initial
    padding-right: initial
  &__logo
    margin-right: initial
31 32
    img
      max-width: none
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

  @include right-handed
    flex-direction: row

    &__logo
      margin-left: 0
      margin-right: space-x(2)

    &__hand-button
      margin-left: space-x(2)
      margin-right: space-x(1)

    &__help-button
      margin-left: space-x(1)
      margin-right: space-x(2)

  @include left-handed
    flex-direction: row-reverse

    &__logo
      margin-left: space-x(2)
      margin-right: 0

    &__hand-button
      margin-left: space-x(1)
      margin-right: space-x(2)

    &__help-button
      margin-left: space-x(2)
      margin-right: space-x(1)


65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
#corporatop.nav-tabs > li
    padding-left: 1
    padding-right: 1

#corporatop.nav-tabs > li > a
    padding-top: 8
    padding-bottom: 8
    line-height: .85
    margin-bottom: -5px

.spacing-class
  margin-right: 10px

.exportbtn
    /* border: 1px solid #333 */
    margin-top:17px /* valigns with bootstrap h2 */

.btn .glyphicon
    /* glyphicons are always rendered too high within bootstrap buttons */
    vertical-align: middle


/* graph name => editable input => submitName() => minimsg */
.editable
    color: grey

#graphname-edit
    color: white
    background-color: transparent
    border: none
    max-width: 8em

.minimsg
  font-size: .7em
  padding: 7p0x 9px

.minimsg *
  line-height: 100%
103 104 105 106 107 108 109

.tile-menu

  &__item

    .fa
      margin-right: space-x(1)
110 111 112 113 114 115 116 117 118

.dropdown
  .dropdown-item
    padding-left: 1rem
    a
      span
        min-width: 24px
        text-align: center