debian-mirror-gitlab/app/assets/stylesheets/framework/snippets.scss

60 lines
822 B
SCSS
Raw Normal View History

2017-08-17 22:00:37 +05:30
.snippet-row {
.title {
margin-bottom: 2px;
}
.snippet-filename {
padding: 0 2px;
}
}
2014-09-02 18:07:02 +05:30
.snippet-form-holder .file-holder .file-title {
padding: 2px;
}
2015-09-25 12:07:36 +05:30
2016-06-02 11:05:42 +05:30
.markdown-snippet-copy {
position: fixed;
top: -10px;
left: -10px;
max-height: 0;
max-width: 0;
2015-11-26 14:37:03 +05:30
}
2016-09-29 09:46:39 +05:30
.snippet-file-content {
border-radius: 3px;
}
2017-08-17 22:00:37 +05:30
.snippet-header {
padding: $gl-padding 0;
}
.snippet-title {
2018-10-15 14:42:47 +05:30
color: $gl-text-color;
font-size: 2em;
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-bold;
2018-10-15 14:42:47 +05:30
min-height: $header-height;
2017-08-17 22:00:37 +05:30
}
.snippet-edited-ago {
color: $gray-darkest;
}
.snippet-actions {
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(sm) {
float: right;
}
}
2016-11-03 12:29:30 +05:30
2018-12-05 23:21:45 +05:30
.snippet-scope-menu .btn-success {
2016-11-03 12:29:30 +05:30
margin-top: 15px;
}
2018-10-15 14:42:47 +05:30
.embed-snippet {
padding-right: 0;
padding-top: $gl-padding;
.embed-toggle-list li button {
padding: 8px 40px;
}
}