.lightbox { @include background-opacity($white, .9); align-content: center; align-items: center; bottom: 0; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; left: 0; position: fixed; right: 0; top: 0; z-index: 999; .close { @extend %large; position: absolute; right: 2rem; top: 2rem; } .title { text-align: center; } input, select { margin-bottom: 1rem; } textarea { resize: vertical; } .button-green { display: block; padding: 12px; text-align: center; } } .lightbox_add-new-us { display: none; form { flex-basis: 0; flex-grow: 0; flex-shrink: 0; min-width: 600px; width: 600px; } fieldset { position: relative; } .markdown-preview { display: inline-block; margin-bottom: .5rem; a { @extend %button; @extend %small; color: $gray-light; padding: 3px 20px; &:first-child { border-right: 1px solid $gray-light; } &:hover { color: $grayer; @include transition(color .2s linear); } } .active { color: $grayer; } } textarea { margin-bottom: 1rem; max-height: 9rem; min-height: 7rem; } .new-us-settings { align-content: flex-start; align-items: stretch; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; margin-bottom: 1rem; fieldset { flex-basis: 30%; flex-grow: 1; flex-shrink: 0; margin-right: .5rem; text-align: center; &:last-child { margin: 0; } } label { @extend %button; @include transition(all .2s ease-in); border: 1px solid $gray-light; cursor: pointer; display: block; } .requirement { &:hover { @include transition(all .2s ease-in); background: $fresh-taiga; border: 1px solid $fresh-taiga; color: $white; } } .requirement-selected { @include transition(all .2s ease-in); background: $green-taiga; border: 1px solid $green-taiga; color: $white; } .blocked { &:hover { @include transition(all .2s ease-in); background: $red-light; border: 1px solid $red-light; color: $white; } } .blocked-selected { @include transition(all .2s ease-in); background: $red; border: 1px solid $red; color: $white; } input[type="checkbox"] { display: none; } } } .lightbox_add-bulk { display: none; form { flex-basis: 0; flex-grow: 0; flex-shrink: 0; min-width: 600px; width: 600px; } textarea { margin-bottom: 1rem; max-height: 12rem; min-height: 15rem; } } .lightbox_add-sprint { display: none; form { flex-basis: 0; flex-grow: 0; flex-shrink: 0; min-width: 600px; width: 600px; } .last-sprint-name { color: $gray; position: absolute; right: 1rem; top: .5rem; } .dates { margin-bottom: 1rem; input { float: left; margin-right: 1%; width: 49%; &:last-child { margin: 0; width: 50%; } } } }