Browse Source

fix: marker highlighting for visual editor

NGPixel 5 years ago
parent
commit
491434fd92
2 changed files with 28 additions and 1 deletions
  1. 1 1
      client/components/common/page-selector.vue
  2. 27 0
      client/themes/default/scss/app.scss

+ 1 - 1
client/components/common/page-selector.vue

@@ -242,7 +242,7 @@ export default {
         this.tree = [
         this.tree = [
           {
           {
             id: 0,
             id: 0,
-            title: '/ (root',
+            title: '/ (root)',
             children: []
             children: []
           }
           }
         ]
         ]

+ 27 - 0
client/themes/default/scss/app.scss

@@ -683,6 +683,33 @@
 
 
   }
   }
 
 
+  // ---------------------------------
+  // HIGHLIGHTING
+  // ---------------------------------
+
+  mark {
+    &.pen-red {
+      color: mc('red', '500');
+      background-color: initial;
+    }
+    &.pen-green {
+      color: mc('green', '500');
+      background-color: initial;
+    }
+    &.marker-blue {
+      background-color: mc('blue', '300');
+    }
+    &.marker-yellow {
+      background-color: mc('yellow', '300');
+    }
+    &.marker-pink {
+      background-color: mc('pink', '300');
+    }
+    &.marker-green {
+      background-color: mc('green', '300');
+    }
+  }
+
 }
 }
 
 
 // ---------------
 // ---------------