@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!
  */
/**
 * @prop --notification-list-background-color: The background color of the notification center. Used in generating other visual details as well. Defaults to `--contrast-100`;
 */
:host(limebb-notification-list) {
  --limebb-notification-list-background-color: var(
      --notification-list-background-color,
      rgb(var(--contrast-300))
  );
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 45rem;
  background-color: var(--limebb-notification-list-background-color);
  padding: 0.5rem;
}

limebb-notification-item:focus {
  outline: none;
}
limebb-notification-item:focus-visible {
  outline: none;
  box-shadow: var(--shadow-depth-8-focused);
}
limebb-notification-item:not(.is-read) {
  --limebb-notification-item-unread-badge-color: rgb(
      var(--color-red-default)
  );
  --limebb-notification-item-unread-badge-scale: 1;
  background-color: rgb(var(--contrast-100)) !important;
}
limebb-notification-item.is-clickable {
  transition: color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);
  cursor: pointer;
  color: var(--limel-theme-on-surface-color);
  background-color: transparent;
}
limebb-notification-item.is-clickable:hover, limebb-notification-item.is-clickable:focus, limebb-notification-item.is-clickable:focus-visible {
  will-change: color, background-color, box-shadow, transform;
}
limebb-notification-item.is-clickable:hover, limebb-notification-item.is-clickable:focus-visible {
  transform: translate3d(0, 0.01rem, 0);
  color: var(--limel-theme-on-surface-color);
  background-color: var(--lime-elevated-surface-background-color);
}
limebb-notification-item.is-clickable:hover {
  box-shadow: var(--button-shadow-hovered);
}
limebb-notification-item.is-clickable:active {
  --limel-clickable-transform-timing-function: cubic-bezier(
      0.83,
      -0.15,
      0.49,
      1.16
  );
  transform: translate3d(0, 0.05rem, 0);
  box-shadow: var(--button-shadow-pressed);
}
limebb-notification-item.is-clickable:hover, limebb-notification-item.is-clickable:active {
  --limel-clickable-transition-speed: 0.2s;
  --limel-clickable-transform-speed: 0.16s;
}
limebb-notification-item.is-clickable:hover {
  border-color: transparent;
}
limebb-notification-item.is-read {
  border-color: rgb(var(--contrast-600));
  background-color: rgb(var(--contrast-500));
}
limebb-notification-item.is-selected {
  box-shadow: var(--shadow-focused-state);
}
limebb-notification-item.is-selected:hover {
  box-shadow: var(--shadow-focused-state), var(--button-shadow-hovered);
}

limel-spinner {
  align-self: center;
  justify-self: center;
  margin: auto;
}

.date-group {
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.date-heading {
  position: sticky;
  z-index: 1;
  top: 0.25rem;
  display: flex;
  border-radius: 9rem;
  padding: 0.25rem 0.5rem;
  margin: 0;
  width: fit-content;
  font-size: 0.75rem;
  line-height: 1;
  color: rgb(var(--contrast-900));
  backdrop-filter: blur(0.5rem);
  -webkit-backdrop-filter: blur(0.5rem);
  transition: color 0.2s ease, border-color 0.4s ease;
}
.date-heading:hover {
  color: rgb(var(--contrast-1000));
  border-color: rgb(var(--contrast-500));
}
.date-heading:hover:before {
  opacity: 1;
}
.date-heading:before {
  transition: opacity 0.2s ease;
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.6;
  border-radius: inherit;
  background-color: var(--limebb-notification-list-background-color);
}

.new-items-indicator {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0.25rem 0;
}
.new-items-indicator hr {
  border: none;
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: rgb(var(--color-red-lighter));
}
.new-items-indicator h3 {
  z-index: 1;
  padding: 0 0.5rem;
  border-radius: 1rem;
  margin: 0 1rem;
  font-size: small;
  line-height: 0.75rem;
  text-transform: lowercase;
  color: rgb(var(--color-red-default));
  background-color: var(--limebb-notification-list-background-color);
}