refactor(tree-wide): cleanup extra syntax (#812)
This commit is contained in:
1 parent
549e29b92e
commit
a0a9f44ce8
14 files changed
+49
-49
No files matched your search
@@ -199,14 +199,14 @@
|
||||
background-color: @subtext1;
|
||||
}
|
||||
|
||||
& > div {
|
||||
> div {
|
||||
border-color: @crust;
|
||||
|
||||
&:focus-within {
|
||||
border-color: @subtext1;
|
||||
}
|
||||
|
||||
& > div {
|
||||
> div {
|
||||
background-color: @crust;
|
||||
|
||||
input[type="search"] {
|
||||
@@ -239,7 +239,7 @@
|
||||
img[alt="avatar"] {
|
||||
border-color: @text;
|
||||
|
||||
& + div > svg {
|
||||
+ div > svg {
|
||||
fill: @text;
|
||||
}
|
||||
}
|
||||
@@ -480,7 +480,7 @@
|
||||
|
||||
/* Sidebar provenance popup */
|
||||
button[aria-label="View more provenance details"] {
|
||||
& + div > div > div {
|
||||
+ div > div > div {
|
||||
background-color: @base;
|
||||
border-color: @surface0;
|
||||
|
||||
@@ -492,7 +492,7 @@
|
||||
border-bottom-color: @surface0;
|
||||
}
|
||||
|
||||
& > div {
|
||||
> div {
|
||||
div:nth-of-type(2) {
|
||||
border-color: @surface0;
|
||||
}
|
||||
@@ -728,7 +728,7 @@
|
||||
#user-content-keywords {
|
||||
color: @text;
|
||||
|
||||
& + ul a {
|
||||
+ ul a {
|
||||
color: @red;
|
||||
|
||||
&:hover {
|
||||
@@ -812,7 +812,7 @@
|
||||
color: @subtext0;
|
||||
}
|
||||
}
|
||||
& + div {
|
||||
+ div {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
@@ -911,7 +911,7 @@
|
||||
color: @text;
|
||||
|
||||
&,
|
||||
& + div {
|
||||
+ div {
|
||||
border-color: @surface0;
|
||||
}
|
||||
}
|
||||
@@ -1022,7 +1022,7 @@
|
||||
/* --- SEARCH RESULTS --- */
|
||||
|
||||
[aria-labelledby="search_ranking_radiogroup_label"] {
|
||||
& > div:focus-within {
|
||||
> div:focus-within {
|
||||
outline-style: none;
|
||||
}
|
||||
|
||||
@@ -1102,11 +1102,11 @@
|
||||
footer {
|
||||
a[href="https://github.com/npm"] svg
|
||||
{
|
||||
& > polygon {
|
||||
> polygon {
|
||||
fill: @base;
|
||||
}
|
||||
|
||||
& > rect {
|
||||
> rect {
|
||||
fill: @text;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user