open-consul/ui/packages/consul-ui/app/components/copy-button/index.scss

23 lines
465 B
SCSS

@import './skin';
@import './layout';
%copy-button {
@extend %button;
}
/* Temporary tweak for copy-buttons in kv-lists */
/* once someone gets round to re-doing copy buttons */
/* hopefully this little tweak can go */
%horizontal-kv-list .copy-button {
margin-top: 0 !important;
}
%horizontal-kv-list .copy-btn {
top: 0 !important;
}
%horizontal-kv-list .copy-btn:empty::before {
left: 0 !important;
}
/**/
.copy-button button {
@extend %copy-button;
}