[FIX] ws doc: copy button in columned version

This commit is contained in:
Xavier Morel 2014-12-01 14:24:41 +01:00
parent b21b32ed2e
commit c0997c7877
2 changed files with 26 additions and 0 deletions

View File

@ -7243,6 +7243,19 @@ td.field-body > ul {
.stripe .highlight pre {
white-space: pre-wrap;
}
.stripe .btn-clipboard {
background-color: transparent;
color: #eeeeee;
border-color: #777777;
border-top: none;
border-top-right-radius: 0;
}
.stripe .btn-clipboard.active {
background-color: #555555;
-webkit-transition: background-color 0.5s linear;
-o-transition: background-color 0.5s linear;
transition: background-color 0.5s linear;
}
}
.stripe .switcher {
color: white;

View File

@ -760,6 +760,19 @@ td.field-body {
// but allow additional line-breaks between "words" to avoid overflow
white-space: pre-wrap;
}
.btn-clipboard {
background-color: transparent;
color: @color-right;
border-color: @separator-right;
border-top: none;
border-top-right-radius: 0;
&.active {
background-color: @gray;
.transition(background-color .5s linear);
}
}
}
.switcher {