Sha256: 8341f9830e2b535b19a9700de54a18a90cd33996610e6fcc52b3b78f6dda5924

Contents?: true

Size: 1.9 KB

Versions: 38

Compression:

Stored size: 1.9 KB

Contents

@import "bootstrap-sprockets";
@import 'bootstrap';

#wrapper { @extend .container; }

/* Header and Nav */
#header {
  @extend .navbar;
  @extend .navbar-inverse;

  #site_title {
    @extend .navbar-brand;
    margin-top:    0;
    margin-bottom: 0;
  }

  .header-item.tabs {
    @extend .nav;
    @extend .navbar-nav;

    li.current { @extend .active; }
  }
}

#title_bar {
  @extend .clearfix;

  #titlebar_left {
    @extend .pull-left;
  }

  #titlebar_right {
    @extend .pull-right;
  }

  .action_item a {
    @extend .btn;
    @extend .btn-primary;
  }
}

/* Sidebar */
.filter_form {
  .filter_form_field {
    @extend .form-group;

    input,select { @extend .form-control; }
  }

  .buttons {
    input, a { @extend .btn; @extend .btn-default; }
    input[type="submit"] { @extend .btn-primary; }
  }
}

/* Main Content */
#active_admin_content {
  @extend .row;

  &.without_sidebar {
    #main_content_wrapper { @extend .col-md-12; }
  }

  &.with_sidebar {
    #main_content_wrapper { @extend .col-md-10; }
    #sidebar              { @extend .col-md-2;  }
  }
}

/* Tables */
.index_table      { @extend .table; }
.attributes_table table { @extend .table; }

/* Forms */
form {
  // @extend form[role="form"];

  .inputs, .actions {
    ol {
      padding-left: 0;
      list-style: none;
    }
  }

  .inputs {
    li {
      @extend .form-group;

      input,select,textarea { @extend .form-control; }
    }
  }

  .actions {
    li {
      display: inline-block;

      input, a { @extend .btn; @extend .btn-default; }
      input[type="submit"] { @extend .btn-primary; }
    }
  }

  label.label {
    /* The label class has a different meaning in bootstrap */
    display: inline-block;
    font-weight: bold;

    padding: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    text-align: inherit;
    white-space: inherit;
    vertical-align: inherit;
    border-radius: inherit;
  }
}

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
onotole-2.0.2 templates/admin_bootstrap.scss
onotole-2.0.1 templates/admin_bootstrap.scss
onotole-2.0.0 templates/admin_bootstrap.scss
onotole-1.2.11 templates/admin_bootstrap.scss
onotole-1.2.10 templates/admin_bootstrap.scss
onotole-1.2.9 templates/admin_bootstrap.scss
onotole-1.2.8 templates/admin_bootstrap.scss
onotole-1.2.7 templates/admin_bootstrap.scss
onotole-1.2.6 templates/admin_bootstrap.scss
onotole-1.2.5 templates/admin_bootstrap.scss
onotole-1.2.4 templates/admin_bootstrap.scss
onotole-1.2.3 templates/admin_bootstrap.scss
onotole-1.2.2 templates/admin_bootstrap.scss
onotole-1.2.1 templates/admin_bootstrap.scss
onotole-1.1.21 templates/admin_bootstrap.scss
onotole-1.1.20 templates/admin_bootstrap.scss
onotole-1.1.19 templates/admin_bootstrap.scss
onotole-1.1.18 templates/admin_bootstrap.scss
onotole-1.1.17 templates/admin_bootstrap.scss
onotole-1.1.16 templates/admin_bootstrap.scss