summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/gitlab_bootstrap/tables.scss
blob: 7a3bda2bff040e5be6af663bc04ac5895ec7a398 (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
table {
  @extend .table;
  @extend .table-striped;
  @include solid_shade;
  border:1px solid #bbb;
  width:100%;

  &.low {
    td {
      line-height:18px;
    }
  }

  th {
    font-weight: bold;
    vertical-align: middle;
    border-bottom: 1px solid #bbb;
    text-shadow: 0 1px 1px #fff;
    @include bg-dark-gray-gradient;

    ul.nav {
      text-shadow: none;
      margin: 0;
    }
  }

  th, td {
    padding: 8px;
    line-height: 18px;
    text-align: left;
  }

  td {
    border-color:#f1f1f1;
    line-height:28px;

    &:first-child {
      border-left:1px solid #bbb;
    }

    &:last-child {
      border-right:1px solid #bbb;
    }
  }

  &.bordered {
    @extend .table-bordered;
  }

  &.lite {
    border:none;
    box-shadow:none;
    tr, td {
      border:none;
      background:none !important;
    }
  }
}