mirror of
https://github.com/Redocly/redoc.git
synced 2025-02-07 13:30:33 +03:00
Fix styling
This commit is contained in:
parent
a8b96e8bd1
commit
932b2c95c9
|
@ -224,7 +224,6 @@ $sub-schema-offset: ($bullet-size / 2) + $bullet-margin;
|
||||||
margin: 0 3px;
|
margin: 0 3px;
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
vertical-align: bottom;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,31 +6,26 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.action-buttons {
|
.action-buttons {
|
||||||
display: block;
|
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity 0.3s ease;
|
transition: opacity 0.3s ease;
|
||||||
transform: translateY(100%);
|
transform: translateY(100%);
|
||||||
|
z-index: 3;
|
||||||
> span {
|
position: relative;
|
||||||
float: right;
|
height: 2em;
|
||||||
}
|
line-height: 2em;
|
||||||
|
padding-right: 10px;
|
||||||
|
text-align: right;
|
||||||
|
margin-top: -1em;
|
||||||
|
|
||||||
> span > a {
|
> span > a {
|
||||||
padding: 2px 10px;
|
padding: 2px 10px;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background-color: darken($black, 4%);
|
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $black;
|
background-color: lighten($black, 15%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:after {
|
|
||||||
display: block;
|
|
||||||
content: '';
|
|
||||||
clear: both;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.code-sample:hover > .action-buttons {
|
.code-sample:hover > .action-buttons {
|
||||||
|
@ -45,6 +40,7 @@ header {
|
||||||
color: $sample-panel-headers-color;
|
color: $sample-panel-headers-color;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
:host /deep/ > tabs > ul li {
|
:host /deep/ > tabs > ul li {
|
||||||
|
|
|
@ -22,6 +22,7 @@ pre {
|
||||||
line-height: 2em;
|
line-height: 2em;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
margin-top: -1em;
|
||||||
|
|
||||||
> span > a {
|
> span > a {
|
||||||
padding: 2px 10px;
|
padding: 2px 10px;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user