sidebar.scss 2.09 KB
Newer Older
1 2 3
body.project {
  padding: 0;

4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
  &.ui_mars {
    .app_logo {
      background-color: #24272D;
    }
  }

  &.ui_color {
    .app_logo {
      background-color: #325;
    }
  }

  &.ui_basic {
    .app_logo {
      background-color: #DDD;
    }
  }

  &.ui_modern {
    .app_logo {
      background-color: #017855;
    }
  }

  &.ui_gray {
    .app_logo {
      background-color: #222;
    }
  }

34 35
  header .container {
    width: 100% !important;
36 37 38 39 40
    padding-left: 0px;

    .separator {
      display: none;
    }
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
  }
}

.page-with-sidebar {
  background: #F5F5F5;
}

.sidebar-wrapper {
  z-index: 1000;
  position: absolute;
  left: 250px;
  width: 0;
  height: 100%;
  margin-left: -250px;
  overflow-y: auto;
  background: #F5F5F5;
}

.content-wrapper {
  width: 100%;
  padding: 15px;
  background: #FFF;
}

.nav-sidebar {
  position: fixed;
  top: 45px;
  width: 250px;
  margin: 0;
  list-style: none;
  margin-top: 20px;
}

.nav-sidebar li a .count {
  float: right;
  background: #eee;
77
  padding: 0px 8px;
78 79 80
  @include border-radius(6px);
}

81 82 83 84 85 86 87 88 89 90
.nav-sidebar li {
  &.active a {
    color: #333;
    background: #EEE;
    font-weight: bold;

    &.no-highlight {
      background: none;
    }
  }
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
}

.nav-sidebar li {
  &.separate-item {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
  }

  a {
    color: #666;
    display: block;
    text-decoration: none;
    padding: 6px 15px;
    font-size: 13px;
    line-height: 20px;
    text-shadow: 0 1px 2px #FFF;
108
    padding-left: 67px;
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133

    &:hover {
      text-decoration: none;
      color: #333;
      background: #DDD;
    }

    &:active, &:focus {
      text-decoration: none;
    }
  }
}

.project-settings-nav {
  margin-left: 0px;
  padding-left: 0px;

  li {
    line-height: 28px;
    font-size: 12px;
    list-style: none;

    a {
      padding: 5px 15px;
      font-size: 12px;
134
      padding-left: 67px;
135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
    }
  }
}

@media(min-width:768px) {
  .page-with-sidebar {
    padding-left: 250px;
  }

  .sidebar-wrapper {
    width: 250px;
  }

  .content-wrapper {
    padding: 20px;
  }
}

/** TODO: REMOVE **/
.profiler-results {
  display: none;
}