@charset "UTF-8";
/**
* Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
*
* This file enables the clean import path:
* `@use '@limetech/lime-elements' as lime-elements;`
*
* It simply forwards everything from the built exports file.
*/
/**
* Public SCSS exports for consumers of @limetech/lime-elements.
*
* This file provides reusable styling utilities.
*
* Import this file using:
* `@use '@limetech/lime-elements' as lime-elements;`
*
* For detailed documentation of each utility, its parameters,
* and usage examples, refer to the respective source files.
*/
/**
* Note! This file is forwarded via `src/style/exports.scss`
* and exposed to consumers through the root `index.scss`.
*
* Consumers import it using:
* `@use '@limetech/lime-elements' as lime-elements;`
*
* Legacy import paths (`dist/scss/mixins`) are maintained
* for backward compatibility via copy rules in the Stencil config.
*/
/**
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
* (their default background, border, padding, font, etc.), without stripping
* the useful defaults that `all: unset;` would also remove
* (such as `display`, `cursor`, and focus behavior).
*
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
* the styling you want on top — often one of the `is-*-clickable` mixins.
*/
/**
* This can be used on a trigger element that opens a dropdown menu or a popover.
*/
/**
 * This mixin will mask out the content that is close to
 * the edges of a scrollable area.
 * - If the scrollable content has `overflow-y`, use `vertically`
 * as an argument for `$direction`.
 - If the scrollable content has `overflow-x`, use `horizontally`
 * as an argument for `$direction`.
 *
 * For the visual effect to work smoothly, we need to make sure that
 * the size of the fade-out edge effect is the same as the
 * internal paddings of the scrollable area. Otherwise, content of a
 * scrollable area that does not have a padding will fade out before
 * any scrolling has been done.
 * This is why this mixin already adds paddings, which automatically
 * default to the size of the fade-out effect.
 * This size defaults to `1rem`, but to override the size use
 * `--limel-top-edge-fade-height` & `--limel-bottom-edge-fade-height`
 * when `vertically` argument is set, and use
 * `--limel-left-edge-fade-width` & `--limel-right-edge-fade-width`
 * when `horizontally` argument is set.
 * Of course you can also programmatically increase and decrease the
 * size of these variables for each edge, based on the amount of
 * scrolling that has been done by the user. In this case, make sure
 * to add a custom padding where the mixin is used, to override
 * the paddings that are automatically added by the mixin in the
 * compiled CSS code.
 */
/**
* This mixin will add an animated underline to the bottom of an `a` elements.
* Note that you may need to add `all: unset;` –depending on your use case–
* before using this mixin.
*/
/**
* This mixin creates a cross-browser font stack.
* - `sans-serif` can be used for the UI of the components.
* - `monospace` can be used for code.
*
* ⚠️ If we change the font stacks, we need to update
* 1. the consumer documentation in `README.md`, and
* 2. the CSS variables of `--kompendium-example-font-family`
* in the `<style>` tag of `index.html`.
*/
/**
* This mixin is a hack, using old CSS syntax
* to enable you to truncate a piece of text,
* after a certain number of lines.
*/
/**
* This mixin will add a chessboard background pattern,
* typically used to visualize transparency.
*/
/**
* Make a container resizable by the user.
* This is used in the documentations and examples
* of some components, to demonstrate how the component
* behaves in a resizable container.
*/
/**
 * Drag to reorder mixins
 */
/**
 * The breakpoints below are used to create responsive designs
 * in Lime's products. Therefore, they are here to get distributed
 * to all components in other private repos, which rely on this `mixins`
 * file, to create consistent styles.
 *
 * :::important
 * In very rare cases you should used media queries!
 * Nowadays, there are many better ways of achieving responsive design
 * without media queries. For example, using CSS Grid, Flexbox, and their features.
 * :::
 */
/**
  * Media query mixins for responsive design based on screen width.
  * Note that these mixins do not detect the device type!
  */
* {
  box-sizing: border-box;
}

:host(limebb-notification-item) {
  isolation: isolate;
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-left: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgb(var(--contrast-500));
}

:host(limebb-notification-item):before {
  content: "";
  display: block;
  position: absolute;
  left: -1rem;
  top: 0.85rem;
  border-radius: 50%;
  height: 0.5rem;
  width: 0.5rem;
  transition: background-color 0.2s ease, scale 0.2s cubic-bezier(0.82, 0.3, 0.14, 1.36);
  scale: var(--limebb-notification-item-unread-badge-scale, 0.6);
  background-color: var(--limebb-notification-item-unread-badge-color, transparent);
}

:host(limebb-notification-item:hover) .timestamp {
  color: rgb(var(--contrast-1100));
}
:host(limebb-notification-item:hover) .body-text {
  opacity: 1;
}

.header {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 2rem;
  padding: 0 0 0 0.25rem;
  margin-bottom: 0.25rem;
}
.header:not(:has(.icon)) {
  padding-left: 0.75rem;
}
.header:not(:has(.unpromoted-actions-menu)) {
  padding-right: 0.5rem;
}

.caption,
.timestamp {
  font-size: 0.75rem;
}

.caption {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 0;
  flex-grow: 1;
  font-weight: 600;
  color: rgb(var(--contrast-900));
}

.timestamp {
  flex-shrink: 0;
  margin-left: auto;
  transition: color 0.4s ease, opacity 0.2s ease;
  color: rgb(var(--contrast-900));
}

.headline {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.content {
  display: flex;
  min-width: 0;
  gap: 0.5rem;
  padding: 0 0.75rem 0.5rem 0.75rem;
}

.heading {
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-height: 2.5rem;
  font-size: 0.875rem;
  --markdown-hyperlink-color: var(--mdc-theme-primary);
  --markdown-hyperlink-color--hovered: rgb(var(--color-teal-light));
}

.body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.body-text {
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  max-height: 4.25rem;
  transition: opacity 0.2s ease;
  opacity: 0.7;
}

.icon {
  --icon-background-color: var(--limebb-feed-background-color);
  flex-shrink: 0;
  width: 1.5rem;
  padding: 0.125rem;
}

.author-avatar {
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  object-fit: cover;
  margin-top: auto;
  margin-right: -0.25rem;
  margin-left: auto;
  box-shadow: 0 0 0 1px rgb(var(--contrast-600));
}

.author {
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}

a.author {
  position: relative;
  cursor: pointer;
  transition: color 0.2s ease;
  color: var(--mdc-theme-primary);
}
a.author:before {
  transition: opacity 0.2s ease, transform 0.3s ease-out;
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  width: calc(100% - 0.5rem);
  margin: auto;
  height: 0.125rem;
  border-radius: 1rem;
  background-color: currentColor;
  opacity: 0;
  transform: scale(0.6);
}
a.author:hover {
  color: rgb(var(--color-teal-light));
}
a.author:hover:before {
  opacity: 0.3;
  transform: scale(1);
}

limel-chip-set {
  --button-shadow-normal: none;
  margin-left: -1rem;
  margin-bottom: -0.5rem;
}