@import url('https://rsms.me/inter/inter.css');
@import url('https://unpkg.com/trix@2.0.0/dist/trix.css');
@import url('https://cdn.jsdelivr.net/gh/alumuko/vanilla-datetimerange-picker@latest/dist/vanilla-datetimerange-picker.css');

button {
  .show-when-enabled {
    display: initial;
  }

  .show-when-disabled {
    display: none;
  }

  &[disabled] {
    .show-when-enabled {
      display: none;
    }

    .show-when-disabled {
      display: initial;
    }
  }
}

#colour-picker {
  -webkit-appearance: none;
  -moz-appearance: none;
  height: 36px;
  width: 60px;
  appearance: none;
  background-color: transparent;
  border: none;
  cursor: pointer;

}

#colour-picker::-webkit-color-swatch {
  border-radius: 5px;
  border: none;
}

#colour-picker::-moz-color-swatch {
  border-radius: 5px;
  border: none;
}

/* Clears the search 'x' from Internet Explorer */
input[type=search]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}

input[type=search]::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

/* Clears the search 'x' from Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}