Sha256: f9c816783ab2570dbaaa7a70d299246c348d609b0d72c5abdd6531076633fba4

Contents?: true

Size: 1 KB

Versions: 31

Compression:

Stored size: 1 KB

Contents

@import "bootstrap-tagsinput/src/bootstrap-tagsinput";

$tag-padding: .25rem;
$tag-margin: .2rem;

.input__tag{
  background-color: rgba($medium-gray, .5);
  border-radius: $input-radius;
  padding: $tag-padding;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

// Override defaults
.bootstrap-tagsinput{
  margin-bottom: $form-spacing;

  // Use foundation precalculated methods to get accurate form css properties
  $height: ($input-font-size * unitless-calc($input-line-height)) + (get-side($input-padding, 'top') + get-side($input-padding, 'bottom'));
  $tag-line-height: rem-calc(22);
  $span-height: ($input-font-size * unitless-calc($tag-line-height)) + (get-side($tag-padding, 'top') + get-side($tag-padding, 'bottom')) - rem-calc(1);

  width: 100%;
  min-height: $height;
  padding-bottom: $tag-margin * .25;

  .tag{
    color: inherit;
    margin-right: 0; // fix whitespace
    margin-bottom: $tag-margin;
  }
}

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
decidim-system-0.26.1 app/packs/stylesheets/decidim/system/_forms.scss
decidim-system-0.26.0 app/packs/stylesheets/decidim/system/_forms.scss
decidim-system-0.26.0.rc2 app/packs/stylesheets/decidim/system/_forms.scss
decidim-system-0.26.0.rc1 app/packs/stylesheets/decidim/system/_forms.scss
decidim-system-0.25.2 app/packs/stylesheets/decidim/system/_forms.scss
decidim-system-0.25.1 app/packs/stylesheets/decidim/system/_forms.scss
decidim-system-0.25.0 app/packs/stylesheets/decidim/system/_forms.scss
decidim-system-0.25.0.rc4 app/packs/stylesheets/decidim/system/_forms.scss
decidim-system-0.25.0.rc3 app/packs/stylesheets/decidim/system/_forms.scss
decidim-system-0.25.0.rc2 app/packs/stylesheets/decidim/system/_forms.scss
decidim-system-0.25.0.rc1 app/packs/stylesheets/decidim/system/_forms.scss