Просмотр исходного кода

Merge pull request #3192 from weseek/imprv/adjust-color-of-popover-arrow

Imprv/adjust color of popover arrow
Yuki Takei 5 лет назад
Родитель
Сommit
0ce850eefc
1 измененных файлов с 37 добавлено и 0 удалено
  1. 37 0
      src/client/styles/scss/theme/_apply-colors-dark.scss

+ 37 - 0
src/client/styles/scss/theme/_apply-colors-dark.scss

@@ -271,6 +271,43 @@ ul.pagination {
   .popover-body {
     color: inherit;
   }
+
+  &.bs-popover-top .arrow {
+    &::before {
+      border-top-color: $secondary;
+    }
+
+    &::after {
+      border-top-color: $bgcolor-global;
+    }
+  }
+  &.bs-popover-bottom .arrow {
+    &::before {
+      border-bottom-color: $secondary;
+    }
+
+    &::after {
+      border-bottom-color: $bgcolor-global;
+    }
+  }
+  &.bs-popover-right .arrow {
+    &::before {
+      border-right-color: $secondary;
+    }
+
+    &::after {
+      border-right-color: $bgcolor-global;
+    }
+  }
+  &.bs-popover-left .arrow {
+    &::before {
+      border-left-color: $secondary;
+    }
+
+    &::after {
+      border-left-color: $bgcolor-global;
+    }
+  }
 }
 
 /*