mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 12:13:44 +08:00
cdcc5d6174
- Renamed 'stream-item' component to 'user-stream-item' - Replaced generic 'item' class with clearer 'user-stream-item' class - Retained 'item' class for backward compatibility, marked as 'DEPRECATED' - Extracted CSS pertaining 'user-stream-item' component to component CSS files - Removed unnecessary duplication from 'user-stream-item' CSS - Removed unnecessary nesting from 'user-stream-item' CSS
25 lines
547 B
SCSS
25 lines
547 B
SCSS
// Desktop styles for "user-stream-item" component
|
|
.user-stream {
|
|
|
|
// DEPRECATION:
|
|
// The ".item" class should be eventually removed because it's too generic.
|
|
// Once ".item" has been removed, ".user-stream-item" can replace
|
|
// ".user-stream" as the top-level selector on this file as all other
|
|
// selectors below are its children
|
|
.item,
|
|
.user-stream-item {
|
|
padding: 20px 8px 15px 8px;
|
|
}
|
|
|
|
.time,
|
|
.delete-info {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.notification {
|
|
&.unread {
|
|
background-color: $tertiary-low;
|
|
}
|
|
}
|
|
}
|