Sha256: 70547ec91f92aa26efb94b8e6c3a9431a6b089543fe1406a55a90a93d9f144ed

Contents?: true

Size: 1.45 KB

Versions: 9

Compression:

Stored size: 1.45 KB

Contents

.content-header {
  @extend .clearfix;
  background: $content-header-background;
  padding: 5px 20px;

  h1 {
    font-weight: 300;
  }

  .btn-toolbar {
    @extend .pull-right;
    clear: right;
  }

  .primary-toolbar {
    margin-top: 16px;

    .btn {
      @extend .btn-lg;
      font-size: 20px;
      padding: 8px 16px;
      border-radius: $border-radius-base;
    }
  }

  .secondary-toolbar {
    margin-top: 8px;

    .btn {
      font-size: 12px;
      padding: 4px 10px;

      i {
        font-size: 11px;
      }
    }
  }
}

.main-content-area {
  margin: 20px;
}

.main-content-container {
  background: white;
  display: flex;
  margin-bottom: 20px;
}

.main-content,
.main-content-sidebar {
  padding: 20px;
}

.main-content {
  @extend .tab-content;

  flex: 1;
  min-width: 0;
}

.main-content,
.main-content-sidebar,
.tab-pane {
  > *:first-child {
    margin-top: 0;
  }

  > *:last-child {
    margin-bottom: 0;
  }
}

.main-content-sidebar {
  background: $content-sidebar-background;
  flex: 0 0 $content-sidebar-width;
  max-width: $content-sidebar-width;
}

.utilities {
  @include clearfix;
  margin-bottom: 10px;
}

@include mobile {
  .content-header {
    padding: 0 10px;
  }

  .main-content-area {
    margin: 10px;
  }

  .main-content-container {
    flex-direction: column;
    margin-bottom: 10px;
  }

  .main-content-sidebar {
    flex-basis: 0;
    max-width: none;
  }

  .main-content,
  .main-content-sidebar {
    padding: 15px;
  }
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
trestle-0.8.9 app/assets/stylesheets/trestle/components/_content.scss
trestle-0.8.8 app/assets/stylesheets/trestle/components/_content.scss
trestle-0.8.7 app/assets/stylesheets/trestle/components/_content.scss
trestle-0.8.6 app/assets/stylesheets/trestle/components/_content.scss
trestle-0.8.5 app/assets/stylesheets/trestle/components/_content.scss
trestle-0.8.4 app/assets/stylesheets/trestle/components/_content.scss
trestle-0.8.3 app/assets/stylesheets/trestle/components/_content.scss
trestle-0.8.2 app/assets/stylesheets/trestle/components/_content.scss
trestle-0.8.0 app/assets/stylesheets/trestle/components/_content.scss