css: Use SCSS nesting for `.screen .line`.

This commit is contained in:
SiddharthVarshney 2020-07-13 07:24:50 +05:30 committed by Tim Abbott
parent 60eef68f59
commit af09b49ae7
1 changed files with 35 additions and 35 deletions

View File

@ -1031,32 +1031,48 @@ nav {
background-color: hsl(0, 0%, 93%);
border-radius: 3px;
}
.screen .line.small {
&.small {
width: 60%;
}
}
.screen .line.micro {
&.micro {
display: inline-block;
vertical-align: top;
width: 15%;
}
}
.screen .line.darker {
&.darker {
background-color: hsl(0, 0%, 73%);
}
}
.screen .line.nano {
&.nano {
display: inline-block;
vertical-align: top;
width: 10%;
}
}
.screen .line.med {
&.med {
width: 80%;
}
&.red {
background-color: hsl(350, 42%, 77%);
}
&.blue {
background-color: hsl(193, 42%, 77%);
}
&.green {
background-color: hsl(119, 42%, 77%);
}
&.orange {
background-color: hsl(30, 42%, 77%);
}
}
.screen .col-4 .action-block {
@ -1067,22 +1083,6 @@ nav {
margin: 0px 10px;
}
.screen .line.red {
background-color: hsl(350, 42%, 77%);
}
.screen .line.blue {
background-color: hsl(193, 42%, 77%);
}
.screen .line.green {
background-color: hsl(119, 42%, 77%);
}
.screen .line.orange {
background-color: hsl(30, 42%, 77%);
}
.screen .top .avatar {
display: inline-block;
vertical-align: top;