third and last part of syncing LCARStrek with Firefox 52 browser windows theme changes
[themes.git] / LCARStrek / devtools / memory.css
index 20b41e7d38e5408cefdfc5a9669680e06d12ba72..650b0662c9b37aee1ab585196f991df1b43a44ed 100644 (file)
@@ -436,6 +436,10 @@ html, body, #app, #memory-tool {
   padding-inline-end: 5px;
 }
 
+.children-pointer:dir(rtl) {
+  transform: scaleX(-1);
+}
+
 /**
  * Heap tree view columns
  */
@@ -477,7 +481,8 @@ html, body, #app, #memory-tool {
    * These subcolumns may have specific widths or need to flex.
    */
   display: flex;
-  text-align: end;
+  /* Make sure units/decimals/... are always vertically aligned to right in both LTR and RTL locales */
+  text-align: right;
   border-inline-end: var(--cell-border-color) 1px solid;
 }
 
@@ -527,7 +532,11 @@ html, body, #app, #memory-tool {
 }
 
 .heap-tree-number {
-  padding-inline-start: 3px;
+  padding: 0 3px;
+  flex: 1;
+  color: var(--theme-content-color3);
+  /* Make sure number doesn't appear backwards on RTL locales */
+  direction: ltr;
 }
 
 .heap-tree-percent {
@@ -540,11 +549,6 @@ html, body, #app, #memory-tool {
   font-family: var(--monospace-font-family);
 }
 
-.heap-tree-number {
-  flex: 1;
-  color: var(--theme-content-color3);
-}
-
 .heap-tree-percent {
   width: 4ch;
 }
@@ -702,7 +706,7 @@ input[type="checkbox"] + span::before {
   height: 1em;
   border-radius: 0;
   border: 1px solid var(--theme-body-color);
-  -moz-margin-end: 10px;
+  margin-inline-end: 10px;
   background-color: var(--theme-toolbar-background);
   background-position: center center;
   background-repeat: no-repeat;