Skip to content

Commit

Permalink
Unify empty css content
Browse files Browse the repository at this point in the history
  • Loading branch information
nanaya committed Jul 23, 2024
1 parent 4ba13a7 commit 4d09c17
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion resources/css/bem/account-edit.less
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
&::after {
.inner-shadow-top();
.full-size();
content: ' ';
content: '';
pointer-events: none;
}
}
Expand Down
6 changes: 3 additions & 3 deletions resources/css/bem/beatmap-discussion.less
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

&::before {
.full-size();
content: ' ';
content: '';
width: 1px;
right: 100%;
background-image: linear-gradient(to bottom, hsla(var(--hsl-b1), 0), @osu-colour-b1 50%, hsla(var(--hsl-b1), 0));
Expand Down Expand Up @@ -76,7 +76,7 @@
.thicker-box-shadow();
&::after {
.full-size();
content: ' ';
content: '';
background: fade(white, 15%);
pointer-events: none;
opacity: 0.5;
Expand Down Expand Up @@ -170,7 +170,7 @@
.@{_top}--unread & {
&::before {
.full-size();
content: ' ';
content: '';
background-color: @blue-darker;
width: 5px;
}
Expand Down
4 changes: 2 additions & 2 deletions resources/css/bem/forum-topic-nav.less
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@

// easier targeting
&::after {
content: ' ';
content: '';
position: absolute;
left: 0;
bottom: 100%;
Expand Down Expand Up @@ -234,7 +234,7 @@
flex: none;

&::before {
content: ' ';
content: '';
position: absolute;
top: 100%;
left: 50%;
Expand Down
2 changes: 1 addition & 1 deletion resources/css/bem/landing-nav.less
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
flex-direction: column;

&::before {
content: ' ';
content: '';
width: 100%;
height: 10px;
bottom: 100%;
Expand Down
2 changes: 1 addition & 1 deletion resources/css/bem/loading-overlay.less
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

&::before {
.full-size();
content: ' ';
content: '';
background-color: #000;
will-change: opacity;
}
Expand Down
2 changes: 1 addition & 1 deletion resources/css/bem/notification-action-button.less
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

&::before {
.full-size();
content: ' ';
content: '';
width: @border-radius-large;
border-radius: 0 @border-radius-large @border-radius-large 0;
background-color: transparent;
Expand Down
2 changes: 1 addition & 1 deletion resources/css/bem/osu-layout.less
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
height: 100%;
top: 0;
left: 0;
content: " ";
content: '';
z-index: @z-index--body-background;
}
}
Expand Down
2 changes: 1 addition & 1 deletion resources/css/bem/profile-extra-entries.less
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

&::before {
.full-size();
content: ' ';
content: '';
margin: 0 -10px;
width: calc(100% + 20px);
pointer-events: none;
Expand Down
2 changes: 1 addition & 1 deletion resources/css/bem/profile-extra-recent-infringements.less
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
color: @osu-colour-l1;

&::before {
content: ' ';
content: '';
}
}
}
2 changes: 1 addition & 1 deletion resources/css/bem/search-result.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

&::before {
.full-size();
content: ' ';
content: '';
width: 5px;
border-top-left-radius: @border-radius-base;
border-bottom-left-radius: @border-radius-base;
Expand Down
2 changes: 1 addition & 1 deletion resources/css/bem/store-slider.less
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
top: 100%;
left: 50%;
border: solid transparent;
content: " ";
content: '';
height: 0;
width: 0;
position: absolute;
Expand Down
4 changes: 2 additions & 2 deletions resources/css/bem/supporter-eyecatch.less
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
position: relative;

&::before {
content: ' ';
content: '';
.full-size();
background: linear-gradient(to bottom, hsla(var(--hsl-b5), 1) 4%, hsla(var(--hsl-b5), 0) 100%);
}

&::after {
content: ' ';
content: '';
.full-size();
.at2x-simple('~@images/layout/supporter/banner-fg.png');
background-size: cover;
Expand Down
2 changes: 1 addition & 1 deletion resources/css/spinner.less
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
position: relative;

&::before {
content: ' ';
content: '';
position: absolute;
top: 0;
left: 0;
Expand Down

0 comments on commit 4d09c17

Please sign in to comment.