chore: Refactor utility files for RTL (#6515)
* Chore: Refactor for RTL * Chore: mInor fixes * minor fixes
This commit is contained in:
@@ -16,12 +16,12 @@ body {
|
||||
}
|
||||
|
||||
.banner + .app-wrapper {
|
||||
.button--fixed-right-top {
|
||||
.button--fixed-top {
|
||||
top: 5.6 * $space-one;
|
||||
}
|
||||
|
||||
.off-canvas-content {
|
||||
.button--fixed-right-top {
|
||||
.button--fixed-top {
|
||||
top: $space-small;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,6 +14,10 @@
|
||||
margin-left: var(--space-minus-slab);
|
||||
}
|
||||
|
||||
.margin-right-minus-slab {
|
||||
margin-right: var(--space-minus-slab);
|
||||
}
|
||||
|
||||
.fs-small {
|
||||
font-size: var(--font-size-small);
|
||||
}
|
||||
@@ -75,3 +79,9 @@
|
||||
align-items: center;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.button--fixed-top {
|
||||
position: fixed;
|
||||
right: var(--space-small);
|
||||
top: var(--space-small);
|
||||
}
|
||||
|
||||
@@ -50,22 +50,22 @@ $default-button-height: 4.0rem;
|
||||
|
||||
&.secondary {
|
||||
border-color: var(--s-200);
|
||||
color: var(--s-700)
|
||||
color: var(--s-700);
|
||||
}
|
||||
|
||||
&.success {
|
||||
border-color: var(--s-200);
|
||||
color: var(--g-700)
|
||||
color: var(--g-700);
|
||||
}
|
||||
|
||||
&.alert {
|
||||
border-color: var(--s-200);
|
||||
color: var(--r-700)
|
||||
color: var(--r-700);
|
||||
}
|
||||
|
||||
&.warning {
|
||||
border-color: var(--s-200);
|
||||
color: var(--y-700)
|
||||
color: var(--y-700);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
@@ -116,19 +116,19 @@ $default-button-height: 4.0rem;
|
||||
color: var(--w-700);
|
||||
|
||||
&.secondary {
|
||||
color: var(--s-700)
|
||||
color: var(--s-700);
|
||||
}
|
||||
|
||||
&.success {
|
||||
color: var(--g-700)
|
||||
color: var(--g-700);
|
||||
}
|
||||
|
||||
&.alert {
|
||||
color: var(--r-700)
|
||||
color: var(--r-700);
|
||||
}
|
||||
|
||||
&.warning {
|
||||
color: var(--y-700)
|
||||
color: var(--y-700);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
@@ -205,11 +205,3 @@ $default-button-height: 4.0rem;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
// @TDOD move to utility file
|
||||
.button--fixed-right-top {
|
||||
position: fixed;
|
||||
right: $space-small;
|
||||
top: $space-small;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user