Welcome to mirror list, hosted at ThFree Co, Russian Federation.

flex_grid.scss « framework « stylesheets « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 10537fd55497f7aef9cbe29ded24061ea77c1068 (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
.flex-grid {
  .grid-row {
    border-bottom: 1px solid $border-color;
    padding: 0;

    &:last-child {
      border-bottom: 0;
    }

    @include media-breakpoint-down(md) {
      border-bottom: 0;
      border-right: 1px solid $border-color;

      &:last-child {
        border-right: 0;
      }
    }

    @include media-breakpoint-down(xs) {
      border-right: 0;
      border-bottom: 1px solid $border-color;

      &:last-child {
        border-bottom: 0;
      }
    }
  }

  .grid-cell {
    padding: 10px $gl-padding;
    border-right: 1px solid $border-color;

    &:last-child {
      border-right: 0;
    }

    @include media-breakpoint-up(md) {
      flex: 1;
    }

    @include media-breakpoint-down(md) {
      border-right: 0;
      flex: none;
    }
  }
}

.card {
  .card-body.flex-grid {
    padding: 0;
  }
}