summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/gitlab_bootstrap/tables.scss
blob: f78b1dee4fafba637328e6302456de3476fe6657 (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
table {
  width:100%;
  th {
    padding-top: 9px;
    font-weight: bold;
    vertical-align: middle;
  }
  th, td {
    padding: 10px 10px 9px;
    line-height: 18px;
    text-align: left;
  }

  &.bordered-table {
    border: 1px solid #DDD;
    border-collapse: separate;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
  }

  &.zebra-striped {
    @extend .table-striped;
  }
}

table.admin-table {
  @extend .table-bordered;
  @extend .zebra-striped;
  @include solid_shade;
  th {
    border-color: #CCC;
    border-bottom: 1px solid #bbb;
    @include bg-gray-gradient;
  }
}

table.no-borders {
  border:none;
  tr, td { border:none }
}