BigW Consortium Gitlab

tables.scss 847 Bytes
Newer Older
Douwe Maan committed
1
.table-holder {
2
  margin: 0;
Douwe Maan committed
3 4
}

5 6
table {
  &.table {
7
    margin-bottom: $gl-padding;
8

9 10 11 12 13 14 15 16
    .dropdown-menu a {
      text-decoration: none;
    }

    .success,
    .warning,
    .danger,
    .info {
17
      color: $white-light;
18 19 20

      a:not(.btn) {
        text-decoration: underline;
21
        color: $white-light;
22 23 24
      }
    }

25
    tr {
26 27
      td,
      th {
Douwe Maan committed
28
        padding: 10px $gl-padding;
29 30 31
        line-height: 20px;
        vertical-align: middle;
      }
Douwe Maan committed
32

33
      th {
34
        background-color: $gray-light;
35
        font-weight: normal;
36
        border-bottom: none;
37 38 39 40

        &.wide {
          width: 55%;
        }
41
      }
Douwe Maan committed
42

43
      td {
44
        border-color: $white-normal;
45 46 47 48
      }
    }
  }
}
49 50 51 52 53 54 55 56 57 58 59 60 61

.responsive-table {
  @media (max-width: $screen-sm-max) {
    th {
      width: 100%;
    }

    td {
      width: 100%;
      float: left;
    }
  }
}