Fix styling

This commit is contained in:
Roman Hotsiy 2016-11-28 10:18:00 +02:00
parent a8b96e8bd1
commit 932b2c95c9
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0
3 changed files with 10 additions and 14 deletions

View File

@ -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;
} }
} }

View File

@ -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 {

View File

@ -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;