.crowi.main-container {
  header {
    #search-listpage-form {
      .btn-sm {
        line-height: 0.5em;
      }
    }
  }

  .revision-toc {
    float: right;
    border: solid 1px #aaa;
    border-radius: 5px;
    max-width: 250px;
    overflow: hidden;

    .revision-toc-head {
      display: inline-block;
      float: right;
      border-left: solid 1px #aaa;
      border-bottom: solid 1px #aaa;
      border-radius: 0 5px;
      padding: 3px 11px;
      font-weight: bold;
      background: $gray-lighter;
      margin-left: 5px;
      margin-bottom: 5px;

      &.collapsed {
        border: none;
        margin: 0;
      }
    }
    .revision-toc-content {
      background: #fcfcfc;
    }
  }

}
