aboutsummaryrefslogtreecommitdiffstats
path: root/src/git:
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2023-07-11 00:46:57 +0000
committerArmand Philippot <git@armandphilippot.com>2023-07-11 12:26:20 +0200
commit1f77aca34fb8426e7661441f8d042cbc37cc614d (patch)
tree632c54678c712844706f6b538cd68d3b56c4c990 /src/git:
parenta22309fa5a62663721ff6393c6f54e44ebfa10fc (diff)
build(deps): bump semver from 5.7.1 to 5.7.2
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md) - [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2) --- updated-dependencies: - dependency-name: semver dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Diffstat (limited to 'src/git:')
0 files changed, 0 insertions, 0 deletions
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
@use "@styles/abstracts/functions" as fun;
@use "@styles/abstracts/mixins" as mix;

.title {
  padding: var(--spacing-2xs) var(--spacing-xs);
  position: absolute;
  top: calc(var(--spacing-sm) * -1);
  left: var(--spacing-lg);
  background: var(--color-bg);
  border: fun.convert-px(1) solid var(--color-primary-dark);
  box-shadow: fun.convert-px(1) fun.convert-px(1) 0 0 var(--color-shadow);
  color: var(--color-primary-darker);
  font-size: var(--font-size-sm);
  font-variant: small-caps;
  font-weight: 500;

  @include mix.media("screen") {
    @include mix.dimensions(null, "2xs", "height") {
      top: 0;
    }

    @include mix.dimensions("md") {
      left: var(--spacing-md);
    }
  }

  &::before {
    content: "?";
    padding: var(--spacing-2xs);
    position: absolute;
    top: fun.convert-px(-1);
    bottom: fun.convert-px(-1);
    right: 100%;
    background: var(--color-primary-dark);
    border: fun.convert-px(1) solid var(--color-primary-dark);
    box-shadow: fun.convert-px(1) fun.convert-px(1) 0 0 var(--color-shadow);
    color: var(--color-fg-inverted);
    font-weight: 600;
  }
}

.message {
  transition: all 0.5s ease-in-out 0;
}

.wrapper {
  padding: 9% 6% var(--spacing-sm) 6%;
  position: absolute;
  bottom: 30%;
  left: fun.convert-px(15);
  right: fun.convert-px(15);
  background: var(--color-bg);
  border: fun.convert-px(2) solid var(--color-primary-dark);
  border-radius: fun.convert-px(3);
  box-shadow: fun.convert-px(1) fun.convert-px(1) 0 0 var(--color-shadow),
    fun.convert-px(2) fun.convert-px(2) fun.convert-px(1) fun.convert-px(1)
      var(--color-shadow-light);
  transform-origin: bottom;

  @include mix.media("screen") {
    @include mix.dimensions(null, "2xs", "height") {
      overflow-y: auto;
      top: 18%;
    }

    @include mix.dimensions("sm") {
      bottom: unset;
      left: fun.convert-px(15);
      right: fun.convert-px(15);
      top: 100%;
      transform-origin: top;
    }
  }

  ul,
  p {
    margin: 0;
    padding: 0;
  }
}

.hidden {
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s ease-in-out 0s, opacity 0.3s ease-in-out 0.2s;
  transform: scaleY(0);

  .message,
  .title {
    opacity: 0;
  }

  .message {
    transition: all 0.3s ease-in-out 0s;
  }

  .title {
    transition: all 0.2s ease-in-out 0.2s;
  }
}

.visible {
  visibility: visible;
  opacity: 1;
  transform: scaleY(1);
  transition: all 0.8s ease-in-out 0s, opacity 0.7s ease-in-out 0.2s;

  .message,
  .title {
    opacity: 1;
  }

  .message {
    transition: all 0.5s ease-in-out 0.2s;
  }

  .title {
    transition: all 0.4s ease-in-out 0s;
  }
}