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

75 lines
1,010 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 {
@media (min-width: $screen-sm-min) {
float: right;
}
}
2016-11-03 12:29:30 +05:30
.snippet-scope-menu .btn-new {
margin-top: 15px;
}
2018-10-15 14:42:47 +05:30
.snippet-embed-input {
height: 35px;
}
.embed-snippet {
padding-right: 0;
padding-top: $gl-padding;
.form-control {
cursor: auto;
width: 101%;
margin-left: -1px;
}
.embed-toggle-list li button {
padding: 8px 40px;
}
.embed-toggle,
.snippet-clipboard-btn {
height: 35px;
}
}