summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/tabs.scss
blob: 6b60149fbbb81f9a785e7552acef5337deae55df (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
.gitlab-tabs {
  background: $gray-light;
  border: 1px solid $border-color;
  flex-wrap: nowrap;

  li {
    width: 50%;

    &:not(:last-child) {
      border-right: 1px solid $border-color;
    }

    &.active {
      background: $white-light;
    }

    a {
      width: 100%;
      text-align: center;
    }
  }
}

.gitlab-tab-content {
  border: 1px solid $border-color;
  border-top: 0;
  margin-bottom: $gl-padding;

  .tab-pane {
    padding: $gl-padding;

    &.no-padding {
      padding: 0;
    }
  }
}