@charset "UTF-8";
/**
* @prop --action-bar-item-text-color: Text color of action bar items, defaults to `--contrast-1100`.
* @prop --action-bar-item-icon-color: Color of the icons displayed on each action bar item. Defaults to the text color. To specify a color for an individual item, use the `iconColor` prop instead.
* @prop --action-bar-item-max-width: Maximum width of a button in the action bar. Defaults to `10rem`. Keep in mind that the buttons should not appear too big.
* @prop --action-bar-border-radius: Defines the roundness of the corners of the action bar. Defaults to `0`.
* @prop --action-bar-background-color: Background color of the whole component. Defaults to `--contrast-100`.
* @prop --action-bar-shrink-icon-color: Color of the shrink icon. Defaults to `--contrast-1000`.

*/
/**
* 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.
*/
/**
* 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!
  */
:host(limel-action-bar) {
  --action-bar-item-height: 2rem;
  --limel-action-bar-item-text-color: var(
      --action-bar-item-text-color,
      rgb(var(--contrast-1100))
  );
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.25rem;
  max-width: 100%;
  border-radius: var(--action-bar-border-radius);
  background-color: var(--action-bar-background-color, rgb(var(--contrast-100)));
  transition: max-width 0.3s ease;
}

:host(limel-action-bar),
.items {
  gap: 0.25rem;
}
@media (pointer: coarse) {
  :host(limel-action-bar),
  .items {
    gap: 0.5rem;
  }
}

.items {
  display: inline-flex;
  max-width: 100%;
  min-width: 0;
}

:host(limel-action-bar.is-shrunk) .items {
  opacity: 0;
}

:host(limel-action-bar:not(.is-shrunk)) .items {
  opacity: 1;
}

:host(limel-action-bar.is-full-width) {
  width: 100%;
}

:host(limel-action-bar.is-floating) {
  --action-bar-border-radius: 100vw;
  border: 1px solid rgb(var(--contrast-400));
  padding-right: 0.125rem;
  padding-left: 0.125rem;
  max-width: calc(100% - 2rem);
  box-shadow: var(--shadow-depth-16), var(--shadow-depth-8);
}

:host(limel-action-bar.is-shrunk) {
  max-width: 5rem;
  transition: max-width 0.3s ease-in-out;
}
:host(limel-action-bar.is-shrunk) .expand-shrink {
  transition: transform 0.3s ease;
  transform: rotateY(180deg);
}

:host(limel-action-bar:not(.is-shrunk)) {
  max-width: 100%;
  transition: max-width 0.3s ease-in-out;
}
:host(limel-action-bar:not(.is-shrunk)) .expand-shrink {
  transition: transform 0.3s ease;
  transform: rotateY(0deg);
}

:host(limel-action-bar.can-be-shrunk.is-full-width) .expand-shrink {
  margin-left: auto;
}

.expand-shrink {
  all: unset;
  box-sizing: border-box;
  border-radius: 50%;
  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;
}
.expand-shrink:hover, .expand-shrink:focus, .expand-shrink:focus-visible {
  will-change: color, background-color, box-shadow, transform;
}
.expand-shrink:hover, .expand-shrink:focus-visible {
  transform: translate3d(0, 0.01rem, 0);
  color: var(--limel-theme-on-surface-color);
  background-color: var(--lime-elevated-surface-background-color);
}
.expand-shrink:hover {
  box-shadow: var(--button-shadow-hovered);
}
.expand-shrink: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);
}
.expand-shrink:hover, .expand-shrink:active {
  --limel-clickable-transition-speed: 0.2s;
  --limel-clickable-transform-speed: 0.16s;
}
.expand-shrink:focus {
  outline: none;
}
.expand-shrink:focus-visible {
  outline: none;
  box-shadow: var(--shadow-depth-8-focused);
}
.expand-shrink {
  display: flex;
  justify-content: center;
  align-items: center;
}
.expand-shrink limel-icon {
  width: 1.5rem;
  height: 1.5rem;
  padding: 0.125rem;
  color: var(--action-bar-shrink-icon-color, rgb(var(--contrast-1000)));
}