Sha256: cd6c76ba527df09e2fe650de1cf8efcc1340bc77ab49b5549817e16de038b29e

Contents?: true

Size: 1.94 KB

Versions: 5

Compression:

Stored size: 1.94 KB

Contents

$input-margin: 1.5rem;
$checkboxes-minimum-width: 200px;

button,
input,
textarea{
  font-family: inherit;
}

.form{
  input[type="text"],
  input[type="email"],
  input[type="date"],
  input[type="tel"],
  input[type="password"],
  select{
    height: 3rem;

    &.chosen-select{
      height: unset;

      option{
        &.green{
          color: $success-color;
        }

        &.red{
          color: $alert-color;
        }
      }
    }
  }

  input,
  select,
  textarea,
  .check-radio,
  .input-field,
  .data-picker{
    margin-bottom: $input-margin;

    &.nomargin{
      margin-bottom: 0;
    }
  }

  .check-radio-group{
    margin-bottom: 1rem;

    .check-radio{
      margin-bottom: .5rem;
    }
  }

  label{
    font-weight: 600;
  }
}

.legend{
  @include smallcaps;

  margin-bottom: 1rem;
}

.form-group{
  background-color: $lighter-gray;
  padding: 1.5rem 1rem .5rem;
  margin-bottom: 1.5rem;
}

.form-submit .button{
  margin-bottom: 0;
}

.form-general-submit{
  margin-top: 3rem;
  justify-content: center;
}

.check-radio,
.check-radio-collection{
  label{
    font-weight: normal;
    display: inline-flex;
    align-items: center;
  }

  legend{
    font-weight: 600;
  }
}

.check-radio{
  input{
    margin-bottom: 0;
  }
}

.form-error{
  margin-top: -$input-margin;
  margin-bottom: $input-margin;
}

.custom-error{
  @extend .form-error;
}

.is-custom-error-visible{
  display: block;
}

.checkboxes{
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;

  &::after{ /* Align last row to left */
    min-width: $checkboxes-minimum-width;
    content: "";
  }

  label{
    min-width: $checkboxes-minimum-width;

    input[type=checkbox]{
      vertical-align: baseline;
    }
  }
}

.participatory_texts_disabled{
  cursor: not-allowed;
  opacity: .5;
}

.edit_component .step-settings{
  .card-section fieldset legend{
    font-size: 24px;
    font-weight: bold;
    border-bottom: 1px solid grey;
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
decidim-admin-0.21.0 app/assets/stylesheets/decidim/admin/modules/_forms.scss
decidim-admin-0.20.1 app/assets/stylesheets/decidim/admin/modules/_forms.scss
decidim-admin-0.20.0 app/assets/stylesheets/decidim/admin/modules/_forms.scss
decidim-admin-0.19.1 app/assets/stylesheets/decidim/admin/modules/_forms.scss
decidim-admin-0.19.0 app/assets/stylesheets/decidim/admin/modules/_forms.scss