Disallow invalid inline style comments in stylesheets (#9099)

This commit is contained in:
Germain
2022-07-27 14:39:29 +01:00
committed by GitHub
parent 8eeeee1aa2
commit 72c24af5c0
193 changed files with 1520 additions and 1518 deletions
+11 -11
View File
@@ -19,29 +19,29 @@ limitations under the License.
display: none;
}
// Badges are structured a bit weirdly to work around issues with non-monospace
// font styles. The badge pill is actually a background div and the count floats
// within that. For example:
// ( 99+ ) <-- Rounded pill is a _bg class.
// ^- The count is an element floating within that.
/* Badges are structured a bit weirdly to work around issues with non-monospace */
/* font styles. The badge pill is actually a background div and the count floats */
/* within that. For example: */
/* ( 99+ ) <-- Rounded pill is a _bg class. */
/* ^- The count is an element floating within that. */
&.mx_NotificationBadge_visible {
background-color: $roomtile-default-badge-bg-color;
// Create a flexbox to order the count a bit easier
/* Create a flexbox to order the count a bit easier */
display: flex;
align-items: center;
justify-content: center;
&.mx_NotificationBadge_highlighted {
// TODO: Use a more specific variable
/* TODO: Use a more specific variable */
background-color: $alert;
}
// These are the 3 background types
/* These are the 3 background types */
&.mx_NotificationBadge_dot {
background-color: $primary-content; // increased visibility
background-color: $primary-content; /* increased visibility */
width: 6px;
height: 6px;
@@ -60,12 +60,12 @@ limitations under the License.
border-radius: $font-16px;
}
// The following is the floating badge
/* The following is the floating badge */
.mx_NotificationBadge_count {
font-size: $font-10px;
line-height: $font-14px;
color: #fff; // TODO: Variable
color: #fff; /* TODO: Variable */
}
}
}