]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/misc/help.component.scss
Merge branch 'release/2.2.0' into develop
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / misc / help.component.scss
index b8bf3a7a5c95ad2dca2661fba52730d301f0bb67..3c8b66cd5b283d6da2cefe4c2ac2480df9996546 100644 (file)
@@ -2,33 +2,41 @@
 @import '_mixins';
 
 .help-tooltip-button {
-  @include icon(17px);
-
-  position: relative;
-  top: -2px;
-  background-image: url('../../../assets/images/global/help.svg');
-  background-color: #fff;
+  cursor: pointer;
   border: none;
+
+  my-global-icon {
+    width: 17px;
+    position: relative;
+    top: -2px;
+    margin: 5px;
+
+    @include apply-svg-color(var(--mainForegroundColor))
+  }
 }
 
-/deep/ {
-  .help-tooltip {
-    opacity: 1 !important;
+::ng-deep {
+  .help-popover {
+    z-index: z(help-popover) !important;
+    max-width: 300px;
 
-    .tooltip-inner {
+    .popover-body {
+      font-family: $main-fonts;
       text-align: left;
       padding: 10px;
-      max-width: 300px;
-
       font-size: 13px;
-      font-family: $main-fonts;
-      background-color: #fff;
-      color: #000;
-      box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
-    }
+      background-color: var(--mainBackgroundColor);
+      color: var(--mainForegroundColor);
+      border-radius: 3px;
+
+      p {
+        margin-bottom: 0;
+      }
 
-    ul {
-      padding-left: 20px;
+      ul {
+        padding-left: 20px;
+        margin-bottom: 0;
+      }
     }
   }
 }