FIX: remove SCSS mixed declarations (#143)
This fixes the SCSS mixed declaration errors (most noticeable while running rspec)
This commit is contained in:
+12
-6
@@ -32,19 +32,19 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.experimental-screen {
|
.experimental-screen {
|
||||||
@include breakpoint(tablet) {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
max-width: unset !important;
|
max-width: unset !important;
|
||||||
@media screen and (max-width: 488px) {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
container: content-width / inline-size;
|
container: content-width / inline-size;
|
||||||
|
@media screen and (max-width: 488px) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
@include breakpoint(tablet) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
li {
|
li {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -59,6 +59,12 @@
|
|||||||
height: var(--d-border-radius-large);
|
height: var(--d-border-radius-large);
|
||||||
background-color: var(--background-color);
|
background-color: var(--background-color);
|
||||||
z-index: 399;
|
z-index: 399;
|
||||||
|
mask: radial-gradient(
|
||||||
|
circle at var(--d-border-radius-large) var(--d-border-radius-large),
|
||||||
|
transparent var(--d-border-radius-large),
|
||||||
|
transparent var(--d-border-radius-large),
|
||||||
|
black var(--d-border-radius-large)
|
||||||
|
);
|
||||||
-webkit-mask: radial-gradient(
|
-webkit-mask: radial-gradient(
|
||||||
circle at var(--d-border-radius-large) var(--d-border-radius-large),
|
circle at var(--d-border-radius-large) var(--d-border-radius-large),
|
||||||
transparent var(--d-border-radius-large),
|
transparent var(--d-border-radius-large),
|
||||||
|
|||||||
@@ -51,13 +51,12 @@
|
|||||||
.bulk-select-topics {
|
.bulk-select-topics {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: -1em;
|
right: -1em;
|
||||||
@media screen and (max-width: 1048px) {
|
|
||||||
right: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
background: var(--secondary);
|
background: var(--secondary);
|
||||||
border-radius: 0 0 0 var(--d-border-radius);
|
border-radius: 0 0 0 var(--d-border-radius);
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
|
@media screen and (max-width: 1048px) {
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
button {
|
button {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|||||||
+5
-5
@@ -65,6 +65,11 @@ body:not(.has-full-page-chat) {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: unset;
|
max-width: unset;
|
||||||
padding-bottom: var(--spacing-block-l);
|
padding-bottom: var(--spacing-block-l);
|
||||||
|
border-radius: var(--d-border-radius-large);
|
||||||
|
background-color: var(--d-content-background);
|
||||||
|
@include breakpoint(medium) {
|
||||||
|
border-radius: 0px;
|
||||||
|
}
|
||||||
html.composer-open & {
|
html.composer-open & {
|
||||||
padding-bottom: var(--composer-height);
|
padding-bottom: var(--composer-height);
|
||||||
}
|
}
|
||||||
@@ -76,11 +81,6 @@ body:not(.has-full-page-chat) {
|
|||||||
padding-inline: var(--spacing-inline-l);
|
padding-inline: var(--spacing-inline-l);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
border-radius: var(--d-border-radius-large);
|
|
||||||
@include breakpoint(medium) {
|
|
||||||
border-radius: 0px;
|
|
||||||
}
|
|
||||||
background-color: var(--d-content-background);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+15
-14
@@ -174,14 +174,6 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.topic-status-card {
|
.topic-status-card {
|
||||||
@include breakpoint("large", min-width) {
|
|
||||||
position: absolute;
|
|
||||||
right: 0px;
|
|
||||||
top: -20px;
|
|
||||||
background-color: var(--d-content-background);
|
|
||||||
height: 20px;
|
|
||||||
font-size: var(--font-down-3);
|
|
||||||
}
|
|
||||||
height: min-content;
|
height: min-content;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -195,6 +187,14 @@
|
|||||||
border: 1px solid var(--status-color);
|
border: 1px solid var(--status-color);
|
||||||
color: var(--status-color);
|
color: var(--status-color);
|
||||||
width: min-content;
|
width: min-content;
|
||||||
|
@include breakpoint("large", min-width) {
|
||||||
|
position: absolute;
|
||||||
|
right: 0px;
|
||||||
|
top: -20px;
|
||||||
|
background-color: var(--d-content-background);
|
||||||
|
height: 20px;
|
||||||
|
font-size: var(--font-down-3);
|
||||||
|
}
|
||||||
svg {
|
svg {
|
||||||
font-size: var(--font-down-1);
|
font-size: var(--font-down-1);
|
||||||
color: var(--status-color);
|
color: var(--status-color);
|
||||||
@@ -384,9 +384,6 @@
|
|||||||
//card with excerpt (all in horizon since the toggle is gone)
|
//card with excerpt (all in horizon since the toggle is gone)
|
||||||
&.excerpt-expanded {
|
&.excerpt-expanded {
|
||||||
grid-template-columns: 20px min-content auto minmax(0, 100px);
|
grid-template-columns: 20px min-content auto minmax(0, 100px);
|
||||||
@include breakpoint(extra-large, $rule: min-width) {
|
|
||||||
grid-template-columns: 20px min-content auto min-content;
|
|
||||||
}
|
|
||||||
grid-template-areas:
|
grid-template-areas:
|
||||||
". . . dropdown"
|
". . . dropdown"
|
||||||
"avatar update metadata metadata"
|
"avatar update metadata metadata"
|
||||||
@@ -399,6 +396,10 @@
|
|||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@include breakpoint(extra-large, $rule: min-width) {
|
||||||
|
grid-template-columns: 20px min-content auto min-content;
|
||||||
|
}
|
||||||
|
|
||||||
@include breakpoint(mobile-extra-large) {
|
@include breakpoint(mobile-extra-large) {
|
||||||
grid-template-columns: auto min-content;
|
grid-template-columns: auto min-content;
|
||||||
grid-template-areas:
|
grid-template-areas:
|
||||||
@@ -599,6 +600,9 @@ body.user-messages-page {
|
|||||||
// Bulk select
|
// Bulk select
|
||||||
|
|
||||||
.bulk-select-enabled .topic-list-body .topic-list-item {
|
.bulk-select-enabled .topic-list-body .topic-list-item {
|
||||||
|
grid-template-areas:
|
||||||
|
"bulk-select . . . status"
|
||||||
|
"bulk-select activity activity . category";
|
||||||
td.topic-likes-replies-data {
|
td.topic-likes-replies-data {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@@ -622,9 +626,6 @@ body.user-messages-page {
|
|||||||
"bulk-select activity activity . . .";
|
"bulk-select activity activity . . .";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
grid-template-areas:
|
|
||||||
"bulk-select . . . status"
|
|
||||||
"bulk-select activity activity . category";
|
|
||||||
.bulk-select {
|
.bulk-select {
|
||||||
grid-area: bulk-select;
|
grid-area: bulk-select;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|||||||
@@ -45,8 +45,6 @@
|
|||||||
//should probably get rid of this extra specificity class in core?
|
//should probably get rid of this extra specificity class in core?
|
||||||
.timeline-container.timeline-fullscreen {
|
.timeline-container.timeline-fullscreen {
|
||||||
@include breakpoint("medium", $rule: max-width) {
|
@include breakpoint("medium", $rule: max-width) {
|
||||||
.topic-timeline .timeline-scrollarea-wrapper {
|
|
||||||
}
|
|
||||||
.topic-timeline
|
.topic-timeline
|
||||||
.timeline-scrollarea
|
.timeline-scrollarea
|
||||||
.timeline-scroller
|
.timeline-scroller
|
||||||
|
|||||||
Reference in New Issue
Block a user