Sha256: 626f239cb2f647558fdd408f254e8a82a04a19e66e1f7c00890d8e1edde2aa21

Contents?: true

Size: 1.64 KB

Versions: 1

Compression:

Stored size: 1.64 KB

Contents

.form-container,
form
  label
    color: darken($gray, 30%)
    margin-bottom: 10px

    &.hide
      display: none

  input[type="text"],
  input[type="password"],
  input[type="date"],
  input[type="datetime"],
  input[type="datetime-local"],
  input[type="month"],
  input[type="week"],
  input[type="email"],
  input[type="number"],
  input[type="search"],
  input[type="tel"],
  input[type="time"],
  input[type="url"],
  textarea,
  select,
    border-radius: $global-radius
    border: 1px solid $gray
    padding: rem-calc(12)
    padding-top: rem-calc(11)
    height: auto
    box-shadow: none

    &:focus,
    &:active
      box-shadow: none
      border-color: darken($gray, 20%)

  .postfix, .prefix
    height: 42px

  &.form-horizontal
    .form-group
      @include clearfix
      margin:
        left: -(rem-calc(15))
        right: -(rem-calc(15))
        bottom: rem-calc(20)

      input
        margin-bottom: 0.5rem

      .control-label
        margin-top: rem-calc(10)

fieldset
  margin: 0 0 rem-calc(20) 0
  border-radius: $global-radius

  fieldset
    margin: rem-calc(20)

.help-block
  @extend .text-muted

label
  font-weight: normal

.inline
  display: inline-block
  width: auto

input[type=checkbox], input[type=radio]
  margin-right: 5px

textarea
  resize: none

.mce-tinymce
  button:hover, button:focus, .button:hover, .button:focus
    background-color: #d4d4d4

.mce-fullscreen
  z-index: 99999999 !important

.form-group
  margin-bottom: 5px

.form-group-text
  margin-bottom: 15px

.help
  color: #999
  display: block
  font-style: italic
  margin-top: -14px

.radio-buttons-inline
  label
    display: inline
    margin-right: 10px

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
express_admin-1.1.0 app/assets/stylesheets/express_admin/shared/_forms.sass