<commit_before>/*
  Onboarding Styles
  ------------------------------------------------------------------------------
*/

/* First & Last Steps */
.wizard--bookend-step {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;

  .button {
    position: relative;
    white-space: nowrap;
    margin: 0 $ix-marg-a;
  }
}

.splash-logo {
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  width: 100%;
  flex: 0.5;

  &.primary {
    background-image: url('../../assets/images/cubo_doodle.svg');
  }

  &.secondary {
    background-image: url('../../assets/images/cubo_doodle_green.svg');
  }
  &.secondary + h3 {
    margin-top: $ix-marg-d;
  }
}

/* General */
.wizard-contents {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  border-radius: $radius;
  background-color: $g2-kevlar;
  margin: $ix-marg-d;
  margin-top: $ix-marg-a;
  flex-grow: 1;
  width: 100%;
}

.wizard-step--container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: $g3-castle;
  border-radius: $radius;
  padding: $ix-marg-c;
  flex: 1 0 0;
}

.side-bar.show + .wizard-step--container {
  flex: 1 0 calc(100% - 240px);
}

.wizard-step--group {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.onboarding-step {
  min-width: 100%;
  min-height: 100%;
  text-align: center;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;

  .form--wrapper {
    display: inline-flex;
    flex-direction: column;
    flex: 1 0 0;
  }
}

.wizard-step--scroll-area {
  flex: 1 0 0;
  width: 100%;
}

.wizard-step--scroll-content {
  width: 90%;
  height: 90%;
  margin: 0 auto $ix-marg-d auto;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
}

.wizard-step--grid-container {
  width: 90%;
  display: block;
  margin: 0 auto;
}

.wizard-step--filter {
  align-self: flex-end;
  margin-top: 18px;
}

/* Buttons */
.wizard--button-bar {
  display: inline-flex;
  flex-shrink: 0;
  position: relative;
  justify-content: center;
  align-items: center;
  height: auto;
  flex-wrap: nowrap;
  flex: 2;
  margin-top: $ix-marg-b;

  .button {
    position: relative;
    white-space: nowrap;
    margin: 0 $ix-marg-a;
  }
}

.wizard-step--footer {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: $radius;
  height: 50px;
  width: 100%;
  margin-top: 10px;
  background-color: $g6-smoke;
  text-align: center;

  > label {
    font-size: small;
    color: $g11-sidewalk;
    margin: 10px;
  }

  &.dropdown {
    justify-content: left;
    align-items: left;
    text-align: left;
  }
}

/* Titles */
.wizard-step--title {
  font-size: 32px;
  font-weight: 300;
  color: $g15-platinum;
  margin-bottom: $ix-marg-b;
  @include no-user-select();
}

.wizard-step--sub-title {
  margin-top: $ix-marg-b;
  margin-bottom: $ix-marg-d;
  font-size: 16px;
  font-weight: 400;
  color: $g11-sidewalk;
  @include no-user-select();

  a {
    color: $c-pool;
  }
}

/* Streaming */
.wizard-step--body,
.wizard-step--body-streaming {
  background-color: $g2-kevlar;
  color: $g20-white;
  padding: 25px;
  width: 100%;
  text-align: left;
  border-radius: $radius;

  > h6 {
    color: $g15-platinum;
  }

  > p {
    color: $g11-sidewalk;
    padding-bottom: 10px;
  }
}

.wizard-step--body-streaming {
  text-align: center;
  margin-top: $ix-marg-a;
}

.wizard-step--text-state {
  text-align: center;

  &.loading {
    color: $c-star;
  }
  &.success {
    color: $c-rainforest;
  }
  &.error {
    color: $c-curacao;
  }
}

.wizard-step--body-snippet {
  background-color: $g3-castle;
  border-radius: $radius;
  margin: $ix-marg-a 0;
  padding: $ix-marg-b;
  font-family: 'RobotoMono', monospace;
}

.wizard-step--body-copybutton {
  margin-left: 10px;
}

/* Line Protocol */
.wizard-step--lp-body {
  height: 280px;
  flex-shrink: 1;
  width: 100%;
  margin: $ix-marg-c auto 0 auto;
}

.wizard-step--top-container {
  width: 100%;
  padding: 40px;
  border-radius: $radius;
  background-color: $g2-kevlar;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.wizard-step--sparkle-container {
  width: 100%;
  height: 250px;
}

.wizard-step--retry-button {
  margin-top: 20px;
}

/* Completion */

.wizard-completion--options {
  font-size: 16px;

  .wizard-completion--option {
    margin: $ix-marg-c 0;
  }

  dt {
    margin: $ix-marg-c 0;
    font-weight: 700;
    color: $g15-platinum;
  }

  dd {
    font-weight: 400;
    color: $g11-sidewalk;
  }
}

@media screen and (min-width: $grid--breakpoint-md) {
  .wizard-step--container {
    padding: $ix-marg-d;
  }

  .onboarding-step {
    max-width: 60vw;
  }

  .buttonless {
    .wizard-step--scroll-area {
      height: calc(100% - 32px);
    }
  }

  .wizard--bookend-step {
    width: 70%;
  }
}
<commit_msg>fix(ui/onboarding): add flex 1 to admin step (#12732)<commit_after>/*
  Onboarding Styles
  ------------------------------------------------------------------------------
*/

/* First & Last Steps */
.wizard--bookend-step {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;

  .button {
    position: relative;
    white-space: nowrap;
    margin: 0 $ix-marg-a;
  }
}

.splash-logo {
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  width: 100%;
  flex: 0.5;

  &.primary {
    background-image: url('../../assets/images/cubo_doodle.svg');
  }

  &.secondary {
    background-image: url('../../assets/images/cubo_doodle_green.svg');
  }
  &.secondary + h3 {
    margin-top: $ix-marg-d;
  }
}

/* General */
.wizard-contents {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  border-radius: $radius;
  background-color: $g2-kevlar;
  margin: $ix-marg-d;
  margin-top: $ix-marg-a;
  flex-grow: 1;
  width: 100%;
}

.wizard-step--container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: $g3-castle;
  border-radius: $radius;
  padding: $ix-marg-c;
  flex: 1 0 0;
}

.side-bar.show + .wizard-step--container {
  flex: 1 0 calc(100% - 240px);
}

.wizard-step--group {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.onboarding-step {
  flex: 1 0 0;
  min-width: 100%;
  text-align: center;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;

  .form--wrapper {
    display: inline-flex;
    flex-direction: column;
    flex: 1 0 0;
  }
}

.wizard-step--scroll-area {
  flex: 1 0 0;
  width: 100%;
}

.wizard-step--scroll-content {
  width: 90%;
  height: 90%;
  margin: 0 auto $ix-marg-d auto;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
}

.wizard-step--grid-container {
  width: 90%;
  display: block;
  margin: 0 auto;
}

.wizard-step--filter {
  align-self: flex-end;
  margin-top: 18px;
}

/* Buttons */
.wizard--button-bar {
  display: inline-flex;
  flex-shrink: 0;
  position: relative;
  justify-content: center;
  align-items: center;
  height: auto;
  flex-wrap: nowrap;
  flex: 2;
  margin-top: $ix-marg-b;

  .button {
    position: relative;
    white-space: nowrap;
    margin: 0 $ix-marg-a;
  }
}

.wizard-step--footer {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: $radius;
  height: 50px;
  width: 100%;
  margin-top: 10px;
  background-color: $g6-smoke;
  text-align: center;

  > label {
    font-size: small;
    color: $g11-sidewalk;
    margin: 10px;
  }

  &.dropdown {
    justify-content: left;
    align-items: left;
    text-align: left;
  }
}

/* Titles */
.wizard-step--title {
  font-size: 32px;
  font-weight: 300;
  color: $g15-platinum;
  margin-bottom: $ix-marg-b;
  @include no-user-select();
}

.wizard-step--sub-title {
  margin-top: $ix-marg-b;
  margin-bottom: $ix-marg-d;
  font-size: 16px;
  font-weight: 400;
  color: $g11-sidewalk;
  @include no-user-select();

  a {
    color: $c-pool;
  }
}

/* Streaming */
.wizard-step--body,
.wizard-step--body-streaming {
  background-color: $g2-kevlar;
  color: $g20-white;
  padding: 25px;
  width: 100%;
  text-align: left;
  border-radius: $radius;

  > h6 {
    color: $g15-platinum;
  }

  > p {
    color: $g11-sidewalk;
    padding-bottom: 10px;
  }
}

.wizard-step--body-streaming {
  text-align: center;
  margin-top: $ix-marg-a;
}

.wizard-step--text-state {
  text-align: center;

  &.loading {
    color: $c-star;
  }
  &.success {
    color: $c-rainforest;
  }
  &.error {
    color: $c-curacao;
  }
}

.wizard-step--body-snippet {
  background-color: $g3-castle;
  border-radius: $radius;
  margin: $ix-marg-a 0;
  padding: $ix-marg-b;
  font-family: 'RobotoMono', monospace;
}

.wizard-step--body-copybutton {
  margin-left: 10px;
}

/* Line Protocol */
.wizard-step--lp-body {
  height: 280px;
  flex-shrink: 1;
  width: 100%;
  margin: $ix-marg-c auto 0 auto;
}

.wizard-step--top-container {
  width: 100%;
  padding: 40px;
  border-radius: $radius;
  background-color: $g2-kevlar;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.wizard-step--sparkle-container {
  width: 100%;
  height: 250px;
}

.wizard-step--retry-button {
  margin-top: 20px;
}

/* Completion */

.wizard-completion--options {
  font-size: 16px;

  .wizard-completion--option {
    margin: $ix-marg-c 0;
  }

  dt {
    margin: $ix-marg-c 0;
    font-weight: 700;
    color: $g15-platinum;
  }

  dd {
    font-weight: 400;
    color: $g11-sidewalk;
  }
}

@media screen and (min-width: $grid--breakpoint-md) {
  .wizard-step--container {
    padding: $ix-marg-d;
  }

  .onboarding-step {
    max-width: 60vw;
  }

  .buttonless {
    .wizard-step--scroll-area {
      height: calc(100% - 32px);
    }
  }

  .wizard--bookend-step {
    width: 70%;
  }
}

{'fraction_non_alphanumeric': 0.18263266712611992, 'fraction_numerical': 0.0320960913655607, 'mean_word_length': 2.531988873435327, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4028278', 'n_tokens_mistral': 4389, 'n_tokens_neox': 4061, 'n_words': 793}