summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/components/popover.scss
blob: d0aa6ec78aac132a66d2540d73446ef4898e1779 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
.popover {
  min-width: 300px;

  .popover-body .user-popover {
    padding: $gl-padding-8;
    font-size: $gl-font-size-small;
    line-height: $gl-line-height;

    .category-icon {
      color: $gray-600;
    }
  }

  &.blue {
    background-color: $blue-600;

    .popover-body {
      color: $white-light;
    }

    &.bs-popover-bottom {
      .arrow::after {
        border-bottom-color: $blue-600;
      }
    }

    &.bs-popover-top {
      .arrow::after {
        border-top-color: $blue-600;
      }
    }
  }
}

.mr-popover {
  .text-secondary {
    font-size: 12px;
    line-height: 1.33;
  }
}

.onboarding-welcome-page {
  .popover {
    min-width: auto;
    max-width: 40%;

    .popover-body {
      padding-top: $gl-padding;
      padding-bottom: $gl-padding;
      font-size: $gl-font-size-small;
    }
  }
}