css: Use SCSS nesting in settings.scss for `.required-text`.

This commit is contained in:
majordwarf 2020-05-12 09:54:42 +05:30 committed by Tim Abbott
parent 3f9ed37b0b
commit d83eed6b62
1 changed files with 10 additions and 8 deletions

View File

@ -1904,16 +1904,18 @@ body:not(.night-mode) #settings_page .custom_user_field .datepicker {
width: 100px; width: 100px;
} }
.required-text:empty::after { .required-text {
content: attr(data-empty); &:empty::after {
display: block; content: attr(data-empty);
display: block;
font-style: italic; font-style: italic;
color: hsl(0, 0%, 67%); color: hsl(0, 0%, 67%);
} }
.required-text.thick:empty::after { &.thick:empty::after {
width: 100%; width: 100%;
}
} }
#payload_url_inputbox input[type=text] { #payload_url_inputbox input[type=text] {