-
Notifications
You must be signed in to change notification settings - Fork 922
/
Copy pathtabbed-pane.scss
43 lines (38 loc) · 959 Bytes
/
tabbed-pane.scss
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
// Only constrain max-width for top-level tabbed panes not, e.g., those in lists.
.td-content > .tab-content .tab-pane {
@extend .td-max-width-on-larger-screens;
}
.tab-content {
.tab-pane {
.highlight {
margin: 0;
border: none;
max-width: 100%;
}
margin-top: 0rem;
margin-bottom: 1.5rem;
border-left: $nav-tabs-border-width solid $nav-tabs-border-color;
border-right: $nav-tabs-border-width solid $nav-tabs-border-color;
border-bottom: $nav-tabs-border-width solid $nav-tabs-border-color;
}
}
.tab-body {
font-weight: $font-weight-medium;
background: var(--td-pre-bg);
color: var(--bs-body-color);
border-radius: 0;
padding: 1.5rem;
> :last-child {
margin-bottom: 0;
}
> .highlight:only-child {
margin: -1.5rem;
max-width: calc(100% + 3rem);
}
@each $color, $value in $theme-colors {
&-#{$color} {
border-style: solid;
border-color: $value;
}
}
}