/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Lexxy editor sizing */
lexxy-editor {
  min-height: 24rem;
}

/* Fade lexxy toolbar when editor is not focused */
lexxy-editor:not(:focus-within) lexxy-toolbar {
  opacity: 0.25;
  transition: opacity 0.15s ease;
}
lexxy-editor:focus-within lexxy-toolbar {
  opacity: 1;
  transition: opacity 0.15s ease;
}

/* Inline mention attachments */
action-text-attachment[content-type="application/vnd.actiontext.mention"] {
  vertical-align: 2px;
}
