summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/generic/issue_box.scss
blob: 98062fc0a86b271028d73a1dd84b34e1e0e4e296 (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
/**
 * Issue box:
 * Huge block (one per page) for storing title, descripion and other information.
 * Used for Issue#show page, MergeRequest#show page etc
 *
 * CLasses:
 *   .issue-box - Regular box
 */

.issue-box {
  color: #666;
  margin:20px 0;
  background: #FAFAFA;
  border: 1px solid #EEE;

  .control-group {
    margin-bottom: 0;
  }

  .state {
    height: 34px;
    border-bottom: 1px solid #DDD;
    line-height: 32px;
  }

  .title {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    color: #333;
    padding-bottom: 0;
    padding: 15px 25px;
  }

  .context {
    border: none;
    border-top: 1px solid #eee;
    padding: 15px 25px;
  }

  .description {
    padding: 0 25px 15px 25px;
  }

  .title, .context, .description {
    .clearfix {
      margin: 0;
    }
  }

  .state-label {
    font-size: 14px;
    padding: 9px 25px;
    text-align: center;
    text-shadow: none;
    margin-right: 20px;

    &.state-label-blue {
      background: #31708f;
      color: #FFF;
    }

    &.state-label-green {
      background: #4A4;
      color: #FFF;
    }

    &.state-label-red {
      background: #DA4E49;
      color: #FFF;
    }
  }
}