debian-mirror-gitlab/app/assets/stylesheets/framework/snippets.scss
2019-12-26 22:10:19 +05:30

64 lines
946 B
SCSS

.snippet-row {
.title {
margin-bottom: 2px;
}
.snippet-filename {
color: $gl-text-color-secondary;
font-weight: normal;
}
.snippet-info {
color: $gl-text-color-secondary;
}
}
.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;
}
}