<link rel="import" href="../../../bower_components/polymer/polymer-element.html">

<dom-module id="required-field-starred-styles">
  <template>
    <style>
      :host > * {
        --required-star-style: {
          background: url(../../../images/required.svg) no-repeat 99% 20%/8px;
          width: auto !important;
          max-width: 100%;
          right: auto;
          padding-right: 15px;
        };
      }

      paper-input[required],
      paper-input-container[required],
      etools-date-input[required],
      etools-dropdown[required],
      etools-dropdown-multi[required],
      etools-file[required],
      etools-upload[required],
      etools-currency-amount-input[required] {
        --paper-input-container-label: {
          @apply --required-star-style;
          color: var(--secondary-text-color, #737373)
        };
        --paper-input-container-label-floating: {
          @apply --required-star-style;
          color: var(--secondary-text-color, #737373);
        }
      }

    </style>
  </template>
</dom-module>

<link rel="import" href="../../../bower_components/polymer/polymer-element.html">

<dom-module id="required-field-starred-styles">
  <template>
    <style>
      :host > * {
        --required-star-style: {
          background: url(../../../images/required.svg) no-repeat 99% 20%/8px;
          width: auto !important;
          max-width: 100%;
          right: auto;
          padding-right: 15px;
        };
      }

      paper-input[required][label],
      paper-input-container[required],
      etools-date-input[required],
      etools-dropdown[required],
      etools-dropdown-multi[required],
      etools-file[required],
      etools-upload[required],
      etools-currency-amount-input[required] {
        --paper-input-container-label: {
          @apply --required-star-style;
          color: var(--secondary-text-color, #737373)
        };
        --paper-input-container-label-floating: {
          @apply --required-star-style;
          color: var(--secondary-text-color, #737373);
        }
      }

    </style>
  </template>
</dom-module>

Fix portion of the required star showing when it should not
Fix portion of the required star showing when it should not
