Sha256: bad749395ece1dae81f3b685dfd71fb752cb5322515d9aa67e42ddb594e4f4a5

Contents?: true

Size: 1.09 KB

Versions: 2

Compression:

Stored size: 1.09 KB

Contents

.rails_blog_engine_post.simple_form, .rails_blog_engine_post .simple_form {

// Copied from
// https://github.com/plataformatec/simple_form/wiki/CSS-for-simple_form,
// tweaked to remove .simple_form, and nested inside our namespace.
div.input {
  margin-bottom: 10px;
}

label {
  float: left;
  width: 100px;
  text-align: right;
  margin: 2px 10px;
}

div.boolean, input[type='submit'] {
  margin-left: 120px;
}

div.boolean label, label.collection_radio {
  float: none;
  margin: 0;
}

label.collection_radio {
  margin-right: 10px;
  vertical-align: -2px;
  margin-left:   2px;
}

.field_with_errors {
  background-color: #ff3333;
}

.error {
  clear:   left;
  color:   black;
  display: block;
  margin-left: 120px;
  font-size:    12px;
}

.hint {
  clear: left;
  margin-left: 120px;
  font-size:    12px;
  color: #555;
  display: block;
  font-style: italic;
}

input.radio {
  margin-right: 5px;
  vertical-align: -3px;
}

input.check_boxes {
  margin-left: 3px;
  vertical-align: -3px;
}

label.collection_check_boxes {
  float: none;
  margin: 0;
  vertical-align: -2px;
  margin-left:   2px;
}

}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_blog_engine-0.0.2 app/assets/stylesheets/rails_blog_engine/simple_form.css.scss
rails_blog_engine-0.0.1 app/assets/stylesheets/rails_blog_engine/simple_form.css.scss