gitlab-org--gitlab-foss/app/assets/stylesheets/framework/snippets.scss
2018-05-31 16:50:36 +00:00

59 lines
818 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;
}
.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-edited-ago {
color: $gray-darkest;
}
.snippet-actions {
@include media-breakpoint-up(sm) {
float: right;
}
}
.snippet-scope-menu .btn-new {
margin-top: 15px;
}
.embed-snippet {
padding-right: 0;
padding-top: $gl-padding;
.embed-toggle-list li button {
padding: 8px 40px;
}
}