blob: 43c1adeba67f52a93d13559a44ddd745ac50a8e4 (
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
53
54
55
56
57
58
59
|
.codetab {
position: relative;
&__links {
position: absolute;
top: 0;
left: 0;
height: 27px;
z-index: z('clipboard');
border-top-left-radius: 0.25rem;
@include flexbox();
@include align-items(center);
@include justify-content(flex-start);
@include themify($codeblock) {
background-color: themed('content-pre-header-background-color');
}
}
&__link {
height: 27px;
border: none;
outline: none;
cursor: pointer;
font-size: 13.8px;
font-family: $title-font;
text-transform: capitalize;
padding: 0.25rem 0.5rem;
&:first-child {
border-top-left-radius: 0.25rem;
}
@include transition(all, 0.2s, ease-in);
@include themify($themes) {
color: themed('navbar-title-color');
border-top: 1px solid transparent;
&.active {
border-top: 1px solid themed('content-pre-header-background-color');
}
}
@include themify($codeblock) {
background-color: themed('content-pre-header-background-color');
&.active {
background-color: themed('content-pre-background-color');
}
@include on-event {
background-color: themed('content-pre-background-color');
}
}
}
&__content {
display: none;
}
}
|