chore: Refactor reports css for RTL (#6537)
This commit is contained in:
@@ -3,23 +3,23 @@
|
|||||||
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: $space-normal $space-small $space-normal $space-two;
|
padding: var(--space-normal);
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
@include custom-border-top(3px, $color-woot);
|
@include custom-border-top(3px, var(--color-woot));
|
||||||
@include background-white;
|
@include background-white;
|
||||||
.heading,
|
.heading,
|
||||||
.metric {
|
.metric {
|
||||||
color: $color-woot;
|
color: var(--color-woot);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.heading {
|
.heading {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
color: $color-heading;
|
color: var(--color-heading);
|
||||||
display: flex;
|
display: flex;
|
||||||
font-size: $font-size-small;
|
font-size: var(--font-size-small);
|
||||||
font-weight: $font-weight-bold;
|
font-weight: var(--font-weight-bold);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -29,19 +29,19 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.metric-wrap {
|
.metric-wrap {
|
||||||
align-items: baseline;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.metric {
|
.metric {
|
||||||
font-size: $font-size-big;
|
font-size: var(--font-size-big);
|
||||||
font-weight: $font-weight-feather;
|
font-weight: var(--font-weight-feather);
|
||||||
margin-top: $space-smaller;
|
margin-top: var(--space-smaller);
|
||||||
}
|
}
|
||||||
|
|
||||||
.metric-trend {
|
.metric-trend {
|
||||||
font-size: $font-size-small;
|
font-size: var(--font-size-small);
|
||||||
margin-left: $space-small;
|
margin: 0 var(--space-small);
|
||||||
}
|
}
|
||||||
|
|
||||||
.metric-up {
|
.metric-up {
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.desc {
|
.desc {
|
||||||
font-size: $font-size-small;
|
font-size: var(--font-size-small);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
}
|
}
|
||||||
@@ -62,8 +62,8 @@
|
|||||||
.report-bar {
|
.report-bar {
|
||||||
@include background-white;
|
@include background-white;
|
||||||
@include border-light;
|
@include border-light;
|
||||||
margin: -1px $zero;
|
margin: var(--space-minus-micro) 0;
|
||||||
padding: $space-small $space-medium;
|
padding: var(--space-small) var(--space-medium);
|
||||||
|
|
||||||
.chart-container {
|
.chart-container {
|
||||||
@include flex;
|
@include flex;
|
||||||
@@ -76,12 +76,12 @@
|
|||||||
|
|
||||||
.empty-state {
|
.empty-state {
|
||||||
color: $color-gray;
|
color: $color-gray;
|
||||||
font-size: $font-size-default;
|
font-size: var(--font-size-default);
|
||||||
margin: $space-jumbo;
|
margin: var(--space-jumbo);
|
||||||
}
|
}
|
||||||
|
|
||||||
.business-hours {
|
.business-hours {
|
||||||
margin: $space-normal;
|
margin: var(--space-normal);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,8 +25,7 @@
|
|||||||
.business-hours {
|
.business-hours {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: end;
|
justify-content: flex-start;
|
||||||
margin-bottom: var(--space-normal);
|
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
padding-right: var(--space-normal);
|
padding-right: var(--space-normal);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
:username="user.name"
|
:username="user.name"
|
||||||
:status="user.availability_status"
|
:status="user.availability_status"
|
||||||
/>
|
/>
|
||||||
<h6 class="text-block-title text-truncate text-capitalize">
|
<h6 class="text-block-title user-name text-truncate text-capitalize">
|
||||||
{{ user.name }}
|
{{ user.name }}
|
||||||
</h6>
|
</h6>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -35,8 +35,7 @@ export default {
|
|||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.csat--metric-card {
|
.csat--metric-card {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: var(--space-normal) var(--space-small) var(--space-normal)
|
padding: var(--space-normal);
|
||||||
var(--space-two);
|
|
||||||
|
|
||||||
.heading {
|
.heading {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -57,6 +56,6 @@ export default {
|
|||||||
|
|
||||||
.csat--icon {
|
.csat--icon {
|
||||||
color: var(--b-400);
|
color: var(--b-400);
|
||||||
margin-left: var(--space-micro);
|
margin: 0 var(--space-micro);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -103,6 +103,6 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.emoji--distribution-key {
|
.emoji--distribution-key {
|
||||||
margin-right: var(--space-micro);
|
margin: 0 var(--space-micro);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user