gitlab-org--gitlab-foss/app/assets/stylesheets/framework/snippets.scss

46 lines
646 B
SCSS

.snippet-row {
.title {
margin-bottom: 2px;
font-weight: $gl-font-weight-bold;
}
.snippet-info {
color: $gl-text-color-secondary;
}
a {
color: $gl-text-color;
}
}
.snippet-file-content {
border-radius: 3px;
.file-content {
max-height: 500px;
overflow-y: auto;
}
+ .snippet-file-content {
@include gl-mt-5;
}
&:last-of-type {
margin-bottom: 0;
}
}
.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-scope-menu .btn-success {
margin-top: 15px;
}