Fix calendar in dark mode
authorChocobozzz <me@florianbigard.com>
Thu, 17 Jan 2019 10:51:08 +0000 (11:51 +0100)
committerChocobozzz <me@florianbigard.com>
Thu, 17 Jan 2019 10:51:08 +0000 (11:51 +0100)
client/src/app/menu/avatar-notification.component.scss
client/src/sass/application.scss
client/src/sass/include/_mixins.scss
client/src/sass/primeng-custom.scss

index f6242eeae406c285c93c4462e14c478b77697c21..a21e7beac31250efc39cf3759b3b0f929e7127c8 100644 (file)
@@ -73,7 +73,7 @@
     justify-content: center;
 
     background-color: var(--mainColor);
-    color: var(--mainBackgroundColor);
+    color: var(#fff);
     font-size: 10px;
     font-weight: $font-semibold;
 
index 783464f8678cbf0cb22649d5064c34efdc021544..478737a434dec20f0c0a428fff82078a79938782 100644 (file)
@@ -290,12 +290,12 @@ ngb-tabset.bootstrap {
       @include disable-default-a-behaviour;
 
       color: var(--mainForegroundColor) !important;
-
-      &.active {
-        color: #000 !important;
-      }
     }
   }
+
+  .nav-pills .nav-link.active {
+    color: #000 !important;
+  }
 }
 
 .nav-tabs .nav-link.active {
index 5b3346508fdd6edc67cfb47505297f691ce91e32..e18e9ae9d7990e0cff85cd9ac88ad62d57698829 100644 (file)
       color: transparent;
       text-shadow: 0 0 0 #000;
     }
+
+    option {
+      color: #000;
+    }
   }
 }
 
index b3aac9d16a817838a529ce0ed5fcf7a2d21c7931..6e502b0288592e6b4a58692f826942d0251f1f15 100644 (file)
@@ -197,7 +197,7 @@ p-table {
         height: auto !important;
 
         a {
-          color: #000 !important;
+          color: var(--mainForegroundColor) !important;
           font-weight: $font-semibold !important;
           margin: 0 5px !important;
           outline: 0 !important;
@@ -234,6 +234,7 @@ p-calendar .ui-datepicker {
       @extend .glyphicon-chevron-right;
       @include glyphicon-light;
 
+      color: #000 !important;
       text-align: right;
 
       .pi.pi-chevron-right {
@@ -245,6 +246,7 @@ p-calendar .ui-datepicker {
       @extend .glyphicon-chevron-left;
       @include glyphicon-light;
 
+      color: #000 !important;
       text-align: left;
 
       .pi.pi-chevron-left {
@@ -258,11 +260,15 @@ p-calendar .ui-datepicker {
     .pi.pi-chevron-up {
       @extend .glyphicon-chevron-up;
       @include glyphicon-light;
+
+      color: #000 !important;
     }
 
     .pi.pi-chevron-down {
       @extend .glyphicon-chevron-down;
       @include glyphicon-light;
+
+      color: #000 !important;
     }
   }
 }