summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/detail_page.scss
blob: cb5f1a84005719871c308cc90bbb808fce65237a (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
.detail-page-header {
  padding: $gl-padding-top 0;
  border-bottom: 1px solid $border-color;
  color: $gl-text-color;
  line-height: 34px;
  display: flex;

  a {
    color: $gl-text-color;
  }

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

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

.detail-page-header-body {
  position: relative;
  line-height: 35px;
  display: flex;
  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;

  @include media-breakpoint-down(xs) {
    width: 100%;
    margin-top: 10px;

    > .issue-btn-group {
      > .btn {
        width: 100%;
      }
    }
  }
}

.detail-page-description {
  .title {
    margin: 0 0 16px;
    font-size: 2em;
    color: $gl-text-color;
    padding: 0 0 0.3em;
    border-bottom: 1px solid $white-dark;
  }

  .description {
    margin-top: 6px;
  }
}