@import 'styles/_variables.scss'; .cbk-recipe-form { width: 100%; .subrecipe-tabs { ul.tab-header { display: flex; width: 100%; justify-content: space-evenly; .tab { padding: 0 $spacing-small; width: 100%; display: flex; justify-content: space-between; cursor: pointer; align-self: center; position: relative; @include ripple($grey-200, $grey-300); &--selected { background-color: $grey-100; } &--selected.tab span::before { width: 100%; } span { position: absolute; display: block; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; } span::before { content: ""; display: block; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; -webkit-transition: all 0.4s; -o-transition: all 0.4s; -moz-transition: all 0.4s; transition: all 0.4s; background: $grey-600; } input { @include button(); line-height: 1rem; font-family: 'Roboto'; border-bottom: 0; } &__content { flex-basis: 90%; width: 100; cursor: pointer; line-height: 2.5rem; } &--add { flex-basis: 0; } &--add:hover { background: transparent; } button.remove { align-self: center; --mdc-ripple-fg-size: 14px; --mdc-ripple-left: 5px; --mdc-ripple-top: 5px; width: 24px; height: 24px; padding: 6px; font-size: 12px; .material-icons { font-size: 12px; } } } } } .ingredients-form { min-height: 400px; &-header { color: $grey-600; & > * { @include button(); } } &-item { .ingredient-detail { align-items: end; & > * { display: flex; } } .cbk-light-input { margin: 0; } input { line-height: 1rem; width: 100%; } select { width: 100%; height: 1.5rem; @include box(); @include button-reset(); @include button(); option { &:focus, &:checked { background-color: $yellow; } } } input:disabled { font-style: italic } .ingredient-suggestions { height: .7rem; margin-bottom: 12px; button { @include button-reset(); text-transform: uppercase; font-size: .6rem; letter-spacing: .2px; color: $grey-600; @include ripple($grey-200, $grey-300); } } } } .instructions-set { &__text { display: flex; &__number { padding: 0 $spacing-xs; @include button(); line-height: 1.5rem; color: $grey-600; } } } button.remove, button.cbk-convert__button { align-self: center; --mdc-ripple-fg-size: 14px; --mdc-ripple-left: 5px; --mdc-ripple-top: 5px; width: 24px; height: 24px; padding: 6px; font-size: 12px; .material-icons { font-size: 12px; } } }