summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/components/detail_page.scss
blob: de8142924f97074c77216400ce8a2024b7271196 (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
74
75
76
.detail-page-header {
  padding-top: $gl-spacing-scale-4;
  color: $gl-text-color;
  line-height: 34px;
  display: flex;

  .author-link {
    white-space: nowrap;
  }

  @include media-breakpoint-down(xs) {
    display: block;
  }
}

.detail-page-header a {
  color: $gl-text-color;
}

.detail-page-header a.link,
.detail-page-header .title a {
  color: $blue-600;
}

.detail-page-header-body {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1;
  min-width: 0;

  @include media-breakpoint-up(sm) {
    padding-left: 0;
    padding-right: 0;
  }
}

.detail-page-header-actions {
  align-self: center;
  flex: 0 0 auto;

  &:not(.is-merge-request) {
    @include media-breakpoint-down(xs) {
      width: 100%;
      margin-top: 10px;
    }
  }

  &.is-merge-request {
    @include media-breakpoint-down(sm) {
      width: 100%;
      margin-top: 10px;
    }
  }
}

.detail-page-header-meta {
  @include gl-flex-basis-full;
}

.detail-page-description {
  .title {
    margin: 0 0 $gl-spacing-scale-4;
    color: $gl-text-color;
    padding: 0 0 0.3em;
    border-bottom: 1px solid $white-dark;
  }

  .description {
    margin-top: 6px;
  }

  .author-link {
    color: $gl-text-color;
  }
}