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,7 +1904,8 @@ body:not(.night-mode) #settings_page .custom_user_field .datepicker {
width: 100px;
}
.required-text:empty::after {
.required-text {
&:empty::after {
content: attr(data-empty);
display: block;
@ -1912,9 +1913,10 @@ body:not(.night-mode) #settings_page .custom_user_field .datepicker {
color: hsl(0, 0%, 67%);
}
.required-text.thick:empty::after {
&.thick:empty::after {
width: 100%;
}
}
#payload_url_inputbox input[type=text] {
width: 340px;