open-vault/ui/app/styles/components/regex-validator.scss
Jordan Reimer e811821ac7
Transform Advanced Templating (#13908)
* updates regex-validator component to optionally show pattern input and adds capture groups support

* adds form-field-label component

* adds autocomplete-input component

* updates kv-object-editor component to yield block for value and glimmerizes

* updates transform template model

* adds transform-advanced-templating component

* updates form-field with child component changes

* updates transform template serializer to handle differences in regex named capture groups

* fixes regex-validator test

* adds changelog entry

* updates for pr review feedback

* reverts kv-object-editor guidFor removal
2022-02-07 13:07:53 -07:00

29 lines
466 B
SCSS

.regex-label-wrapper {
display: flex;
align-items: flex-end;
}
.regex-label {
flex: 1 0 auto;
}
.regex-toggle {
flex: 0 1 auto;
}
.regex-group {
font-family: $family-monospace;
font-size: $size-8;
color: $ui-gray-600;
}
.regex-group-position {
background-color: $ui-gray-200;
border-radius: 3px;
padding-top: 5px;
padding-bottom: 4px;
margin-right: 4px;
span {
margin-left: 6px;
}
}
.regex-group-value {
margin-right: $spacing-m;
}