This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/src/components/CodeExamples/CodeExamples.scss

70 lines
1.2 KiB
SCSS
Raw Normal View History

2020-02-12 17:23:10 +00:00
@import '../../variables.scss';
.code-examples-tabs {
border-top-left-radius: 12px;
border-top-right-radius: 12px;
display: flex;
align-items: flex-end;
height: 65px;
li {
display: block;
flex: 1;
color: $white60;
line-height: 57px;
padding: 0 16px;
cursor: pointer;
user-select: none;
background-color: #343734;
transition: 0.2s line-height, 0.2s background-color, 0.2s color;
text-align: center;
2020-02-14 02:51:37 +00:00
font-size: 14px;
@media (min-width: 360px) {
font-size: 16px;
}
2020-02-12 17:23:10 +00:00
@media (min-width: $largebp) {
padding: 0 32px;
font-size: 18px;
}
}
li:hover,
li.active {
color: $white;
background-color: #171917;
line-height: 65px;
}
li:first-child {
border-top-left-radius: 12px;
}
li:last-child {
border-top-right-radius: 12px;
}
li.filler,
li.filler:hover {
flex: 1;
height: 57px;
border-top-right-radius: 12px;
background-color: #343734;
cursor: default;
}
}
.code-examples-body {
padding: 24px;
background-color: #171917;
border-bottom-left-radius: 12px;
border-bottom-right-radius: 12px;
font-size: 14px;
}
.react-syntax-highlighter-line-number {
color: $white50;
margin-right: 16px;
}