summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/alert_management/details.scss
blob: 0f8899355838aa337e4a1f955134dde70e3db9a1 (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
73
.alert-management-details {
  // these styles need to be deleted once GlTable component looks in GitLab same as in @gitlab/ui
  table {
    tr {
      td {
        @include gl-border-0;
        @include gl-p-5;
        border-color: transparent;
        border-bottom: 1px solid $table-border-color;

        &:first-child {
          div {
            font-weight: bold;
          }
        }

        &:not(:first-child) {
          &::before {
            color: $gray-500;
            font-weight: normal !important;
          }

          div {
            color: $gray-500;
          }
        }

        @include media-breakpoint-up(sm) {
          div {
            text-align: left !important;
          }
        }
      }
    }
  }

  @include media-breakpoint-down(xs) {
    .alert-details-incident-button {
      width: 100%;
    }
  }

  .toggle-sidebar-mobile-button {
    right: 0;
  }

  .dropdown-menu-toggle {
    &:hover {
      background-color: $white;
    }
  }

  .assignee-dropdown-item {
    .dropdown-item {
      display: flex;
      align-items: center;

      &::before {
        top: 50% !important;
      }

      &.is-active {
        &:last-child {
          border-bottom: 1px solid $gray-100;
        }
      }
    }
  }

  .note-header-info {
    @include gl-mt-1;
  }
}