mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 19:00:32 -06:00
UX: Right align notification item time, adjust mobile space, consolodate
This commit is contained in:
parent
dcb40a92c7
commit
f9a44488e9
@ -9,6 +9,7 @@
|
|||||||
.user-stream-item {
|
.user-stream-item {
|
||||||
background-color: $secondary;
|
background-color: $secondary;
|
||||||
border-bottom: 1px solid $primary-low;
|
border-bottom: 1px solid $primary-low;
|
||||||
|
padding: 1em 0.53em;
|
||||||
|
|
||||||
&.moderator-action {
|
&.moderator-action {
|
||||||
background-color: $highlight-medium;
|
background-color: $highlight-medium;
|
||||||
@ -38,8 +39,7 @@
|
|||||||
.time,
|
.time,
|
||||||
.delete-info,
|
.delete-info,
|
||||||
.draft-type {
|
.draft-type {
|
||||||
display: block;
|
margin-left: auto;
|
||||||
float: right;
|
|
||||||
color: $primary-medium;
|
color: $primary-medium;
|
||||||
font-size: $font-down-2;
|
font-size: $font-down-2;
|
||||||
}
|
}
|
||||||
@ -103,12 +103,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.time {
|
|
||||||
display: inline-block;
|
|
||||||
margin-left: 10px;
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
// common/base/header.scss
|
// common/base/header.scss
|
||||||
.fa,
|
.fa,
|
||||||
.icon {
|
.icon {
|
||||||
|
@ -1,15 +1,5 @@
|
|||||||
// Desktop styles for "user-stream-item" component
|
// Desktop styles for "user-stream-item" component
|
||||||
.user-stream {
|
.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: 1em 0.53em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.time,
|
.time,
|
||||||
.delete-info,
|
.delete-info,
|
||||||
.draft-type {
|
.draft-type {
|
||||||
|
@ -1,15 +1,5 @@
|
|||||||
// Mobile styles for "user-stream-item" component
|
// Mobile styles for "user-stream-item" component
|
||||||
.user-stream {
|
.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 0 15px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.name {
|
.name {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user