summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/components/popover.scss
blob: 774be9ef588d36c76ea08a7bca8338dda3b6fef7 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
.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-popover {
  box-shadow: 0 2px 4px $dropdown-shadow-color;

  .popover-body {
    font-size: $gl-font-size;
    line-height: $gl-line-height;
    padding: $gl-padding;
  }

  .popover-header {
    display: none;
  }

  .accept-mr-label {
    background-color: $accepting-mr-label-color;
    color: $white-light;
  }
}

.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;
    }
  }
}