Sha256: dfbf0d0bca9cf97d1378f3c8c0ba7d9c86cd6acb84b224db83e9ca69a2a88a1d

Contents?: true

Size: 1.44 KB

Versions: 11

Compression:

Stored size: 1.44 KB

Contents

fieldset {
  background-color: transparent;
  border: 0;
  margin: 0;
  padding: 0;
}

legend {
  font-weight: $bold-font-weight;
  margin-bottom: $small-spacing / 2;
  padding: 0;
}

label {
  display: block;
  font-weight: $bold-font-weight;
}

input,
select {
  display: block;
  font-family: $base-font-family;
  font-size: $base-font-size;
}

[type="color"],
[type="date"],
[type="datetime"],
[type="datetime-local"],
[type="email"],
[type="month"],
[type="number"],
[type="password"],
[type="search"],
[type="tel"],
[type="text"],
[type="time"],
[type="url"],
[type="week"],
input:not([type]),
textarea,
select[multiple] {
  background-color: $white;
  border: $base-border;
  border-radius: $base-border-radius;
  box-shadow: none;
  box-sizing: border-box;
  font-family: $base-font-family;
  font-size: $base-font-size;
  padding: $base-spacing / 3;
  transition: border-color $base-duration $base-timing;
  width: 100%;

  &:hover {
    border-color: shade($base-border-color, 20%);
  }

  &:focus {
    border-color: $action-color;
    box-shadow: none;
    outline: none;
  }

  &:disabled {
    background-color: shade($base-background-color, 5%);
    cursor: not-allowed;

    &:hover {
      border: $base-border;
    }
  }
}

textarea {
  resize: vertical;
}

[type="search"] {
  appearance: none;
}

[type="checkbox"],
[type="radio"] {
  display: inline;
  margin-right: $small-spacing / 2;
}

[type="file"] {
  width: 100%;
}

select {
  width: 100%;
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
administrate-0.6.0 app/assets/stylesheets/administrate/base/_forms.scss
administrate-0.5.0 app/assets/stylesheets/administrate/base/_forms.scss
administrate-0.4.0 app/assets/stylesheets/administrate/base/_forms.scss
administrate-0.3.0 app/assets/stylesheets/administrate/base/_forms.scss
administrate-0.2.2 app/assets/stylesheets/administrate/base/_forms.scss
administrate-0.2.1 app/assets/stylesheets/administrate/base/_forms.scss
administrate-0.2.0 app/assets/stylesheets/administrate/base/_forms.scss
administrate-0.2.0.rc1 app/assets/stylesheets/administrate/base/_forms.scss
administrate-0.1.5 app/assets/stylesheets/administrate/base/_forms.scss
administrate-0.1.4 app/assets/stylesheets/administrate/base/_forms.scss
administrate-0.1.3 app/assets/stylesheets/administrate/base/_forms.scss