debian-mirror-gitlab/app/assets/stylesheets/framework/snippets.scss
2019-12-04 20:38:33 +05:30

59 lines
844 B
SCSS

.snippet-row {
.title {
margin-bottom: 2px;
}
.snippet-filename {
padding: 0 2px;
}
}
.snippet-form-holder .file-holder .file-title {
padding: 2px;
}
.markdown-snippet-copy {
position: fixed;
top: -10px;
left: -10px;
max-height: 0;
max-width: 0;
}
.snippet-file-content {
border-radius: 3px;
.file-title-flex-parent .btn-clipboard {
line-height: 28px;
}
}
.snippet-header {
padding: $gl-padding 0;
}
.snippet-title {
color: $gl-text-color;
font-size: 2em;
font-weight: $gl-font-weight-bold;
min-height: $header-height;
}
.snippet-actions {
@include media-breakpoint-up(sm) {
float: right;
}
}
.snippet-scope-menu .btn-success {
margin-top: 15px;
}
.embed-snippet {
padding-right: 0;
padding-top: $gl-padding;
.embed-toggle-list li button {
padding: 8px 40px;
}
}