summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/components/whats_new.scss
blob: 4437b5b673de6c16f777a06bf6da349bb8acb218 (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
.whats-new-drawer {
  margin-top: $header-height;
  @include gl-shadow-none;
  overflow-y: hidden;
  width: 500px;

  .gl-infinite-scroll-legend {
    @include gl-display-none;
  }

  .gl-tabs {
    @include gl-overflow-y-auto;
  }

  .gl-tabs-nav {
    flex-wrap: nowrap;
    overflow-x: scroll;
    align-items: stretch;

    .nav-item {
      @include gl-flex-shrink-0;

      a {
        @include gl-h-full;
        line-height: 1.5;
      }
    }
  }

  .gl-spinner-container {
    @include gl-w-full;
    @include gl-absolute;
    top: 50%;
    transform: translateY(-50%);
  }
}

.with-performance-bar .whats-new-drawer {
  margin-top: $performance-bar-height + $header-height;
}

.with-system-header .whats-new-drawer {
  margin-top: $system-header-height + $header-height;
}

.with-performance-bar.with-system-header .whats-new-drawer {
  margin-top: $performance-bar-height + $system-header-height + $header-height;
}

.gl-badge.whats-new-item-badge {
  background-color: $purple-light;
  color: $purple;
  @include gl-font-weight-bold;
}

.whats-new-item-title-link {
  &:hover,
  &:focus,
  &:active {
    @include gl-text-gray-900;
  }
}

.whats-new-item-image {
  border-color: $gray-50;
  height: 250px;
}

.whats-new-modal-backdrop {
  z-index: 699;
}