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

60 lines
818 B
SCSS
Raw Normal View History

2016-12-08 15:29:15 -05:00
.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;
}
2016-05-18 09:11:06 -04:00
.snippet-file-content {
border-radius: 3px;
}
.snippet-header {
padding: $gl-padding 0;
}
2016-05-18 09:11:06 -04:00
.snippet-title {
2018-02-21 13:17:46 -05:00
color: $gl-text-color;
font-size: 2em;
font-weight: $gl-font-weight-bold;
2018-02-21 13:17:46 -05:00
min-height: $header-height;
}
.snippet-edited-ago {
color: $gray-darkest;
2016-05-18 09:11:06 -04:00
}
.snippet-actions {
2018-04-09 11:26:28 -04:00
@include media-breakpoint-up(sm) {
2016-05-18 09:11:06 -04:00
float: right;
}
}
.snippet-scope-menu .btn-new {
margin-top: 15px;
}
2018-02-16 04:50:12 -05:00
2018-02-21 12:05:10 -05:00
.embed-snippet {
padding-right: 0;
padding-top: $gl-padding;
2018-02-21 12:05:10 -05:00
2018-03-03 01:47:33 -05:00
.embed-toggle-list li button {
2018-02-22 09:04:35 -05:00
padding: 8px 40px;
2018-02-21 12:05:10 -05:00
}
}