aboutsummaryrefslogtreecommitdiffstats
path: root/components/tabs/tabs.scss
blob: f5df0ba8d3b3264b72b7bc7637668ad45ea8cbc5 (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
.sdc-tabs {
  .sdc-tab {
	display: inline-block;
	cursor: pointer;
	text-transform: capitalize;
	color: $dark-gray;
	padding: 0px 10px 7px 10px;
	margin-right: 20px;
	&:last-child {
	  margin-right: 0;
	}
	&.sdc-tab-active {
	  color: $blue;
	  border-bottom: 2px solid $blue;
	}
	&[disabled] {
		opacity: 0.3;
    cursor: default;
	}
  }
  &.sdc-tabs-header {
	.sdc-tab {
	  @include heading-2;
	}
  }
  &.sdc-tabs-menu {
	.sdc-tab {
	  @include body-1;
	  padding: 0px 10px 4px 10px;
	}
  }
  .sdc-tab-content {
	margin-top: 30px;
  }
}