Sha256: 1ac715d44880e67eb8be56528543123595f9ecb38ad4a6adefec46c26e4bbcd1

Contents?: true

Size: 1.83 KB

Versions: 9

Compression:

Stored size: 1.83 KB

Contents

// hide custom-fields inside tabs, an extra (unique) container is used instead
.color-box {
  display: inline-block;
  height: 1em;
  width: 1em;
  margin-left: 1em;
  vertical-align: middle;

  &:first-child {
    margin-left: 0;
  }
  $colors: (
    "primary": #{$primary},
    "secondary": #{$secondary},
    "success": #{$success},
    "warning": #{$warning},
    "alert": #{$alert},
    "highlight": #{$highlight},
    "highlight_alternative": #{$highlight_alternative}
  );

  @each $name, $color in $colors {
    &.#{$name} {
      background-color: #{$color};
    }
  }
}

.tabs-content {
  .proposal_custom_field {
    display: none;
  }
}

.proposal_custom_fields {
  &_editor {
    background-color: #e0e0e0;
    padding: .5em .5em 1em;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;

    label {
      display: inline-block;
      max-width: 100%;
      font-weight: 600 !important;
    }

    li[type] {
      display: inherit;
      width: 100%;
      height: inherit;
      margin: inherit;
      border: inherit;
      box-shadow: inherit;
      font-size: inherit;
      font-weight: inherit;
      line-height: inherit;
      color: inherit;
    }

    .form-group {
      background-color: inherit;
      margin: 0;
      padding: 0;
    }

    .form-wrap.form-builder .form-group {
      margin-bottom: 10px !important;
    }

    .form-control {
      color: #555;
      background-color: #fff;
      border: 1px solid #ccc;
      box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
      transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
      margin: 0;
      padding: 6px 12px;
    }
  }

  &_container {
    .constraints-editor {
      border-top-left-radius: 0;
      border-top-right-radius: 0;
    }
  }
}

// Custom fields tunning
.rendered-form .form-control.ql-container {
  height: auto !important;
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-decidim_awesome-0.10.2 app/packs/stylesheets/decidim/decidim_awesome/admin/custom_fields.scss
decidim-decidim_awesome-0.10.1 app/packs/stylesheets/decidim/decidim_awesome/admin/custom_fields.scss
decidim-decidim_awesome-0.10.0 app/packs/stylesheets/decidim/decidim_awesome/admin/custom_fields.scss
decidim-decidim_awesome-0.9.3 app/packs/stylesheets/decidim/decidim_awesome/admin/custom_fields.scss
decidim-decidim_awesome-0.9.1 app/packs/stylesheets/decidim/decidim_awesome/admin/custom_fields.scss
decidim-decidim_awesome-0.8.3 app/packs/stylesheets/decidim/decidim_awesome/admin/custom_fields.scss
decidim-decidim_awesome-0.8.2 app/packs/stylesheets/decidim/decidim_awesome/admin/custom_fields.scss
decidim-decidim_awesome-0.8.1 app/packs/stylesheets/decidim/decidim_awesome/admin/custom_fields.scss
decidim-decidim_awesome-0.8.0 app/packs/stylesheets/decidim/decidim_awesome/admin/custom_fields.scss