2014-05-23 08:22:00 +00:00
|
|
|
.div-dropzone-wrapper {
|
|
|
|
.div-dropzone {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.div-dropzone-hover {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
2016-04-13 08:08:34 +00:00
|
|
|
margin-top: -11.5px;
|
|
|
|
margin-left: -15px;
|
2014-05-23 08:22:00 +00:00
|
|
|
opacity: 0;
|
2016-04-13 08:08:34 +00:00
|
|
|
font-size: 30px;
|
2014-05-23 08:22:00 +00:00
|
|
|
transition: opacity 200ms ease-in-out;
|
2014-12-10 16:24:11 +00:00
|
|
|
pointer-events: none;
|
2014-05-23 08:22:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.div-dropzone-spinner {
|
|
|
|
position: absolute;
|
2016-03-30 09:00:43 +00:00
|
|
|
bottom: 10px;
|
|
|
|
right: 5px;
|
2014-05-23 08:22:00 +00:00
|
|
|
opacity: 0;
|
2016-03-30 09:00:43 +00:00
|
|
|
font-size: 20px;
|
2014-05-23 08:22:00 +00:00
|
|
|
transition: opacity 200ms ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.div-dropzone-icon {
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
2015-08-10 07:18:02 +00:00
|
|
|
.div-dropzone-progress {
|
|
|
|
position: absolute;
|
|
|
|
top: 7px;
|
|
|
|
left: -40px;
|
|
|
|
width: 35px;
|
|
|
|
font-size: 13px;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2014-05-23 08:22:00 +00:00
|
|
|
.dz-preview {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.div-dropzone-alert {
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
transition: opacity 200ms ease-in-out;
|
|
|
|
}
|
2014-10-15 07:21:21 +00:00
|
|
|
|
2015-06-02 12:56:50 +00:00
|
|
|
.md-area {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2016-03-30 07:28:06 +00:00
|
|
|
.md-header {
|
|
|
|
.nav-links {
|
|
|
|
a {
|
|
|
|
padding-top: 0;
|
2016-11-18 17:37:32 +00:00
|
|
|
line-height: 19px;
|
2016-05-27 21:30:01 +00:00
|
|
|
|
|
|
|
&.btn.btn-xs {
|
|
|
|
padding: 2px 5px;
|
|
|
|
}
|
2016-11-18 17:37:32 +00:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
margin-top: -10px;
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
2016-03-30 07:28:06 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-06-05 10:13:02 +00:00
|
|
|
.referenced-users {
|
2016-12-30 20:18:27 +00:00
|
|
|
color: $gl-text-color;
|
2015-12-03 17:30:10 +00:00
|
|
|
padding-top: 10px;
|
2015-06-02 12:56:50 +00:00
|
|
|
}
|
|
|
|
|
2014-10-15 07:21:21 +00:00
|
|
|
.md-preview-holder {
|
2016-03-30 09:19:58 +00:00
|
|
|
min-height: 167px;
|
|
|
|
padding: 10px 0;
|
2016-04-06 20:20:13 +00:00
|
|
|
overflow-x: auto;
|
2014-10-15 07:21:21 +00:00
|
|
|
}
|
|
|
|
|
2015-03-08 22:21:28 +00:00
|
|
|
.markdown-area {
|
2016-09-09 16:59:36 +00:00
|
|
|
border-radius: 0;
|
2016-11-30 13:25:25 +00:00
|
|
|
background: $white-light;
|
|
|
|
border: 1px solid $md-area-border;
|
2015-09-08 09:21:33 +00:00
|
|
|
min-height: 140px;
|
2016-02-01 21:55:00 +00:00
|
|
|
max-height: 500px;
|
2015-03-08 22:21:28 +00:00
|
|
|
padding: 5px;
|
|
|
|
box-shadow: none;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2016-04-20 16:48:24 +00:00
|
|
|
|
|
|
|
.md {
|
|
|
|
&.md-preview-holder {
|
2016-07-09 00:16:43 +00:00
|
|
|
// Reset ul style types since we're nested inside a ul already
|
2016-06-17 18:32:40 +00:00
|
|
|
@include bulleted-list;
|
2016-04-20 16:48:24 +00:00
|
|
|
}
|
2016-07-09 00:16:43 +00:00
|
|
|
|
|
|
|
// On diffs code should wrap nicely and not overflow
|
|
|
|
code {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
word-break: keep-all;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
// Darken 'whitesmoke' a bit to make it more visible in note bodies
|
2016-11-30 13:25:25 +00:00
|
|
|
border-color: darken($gray-normal, 8%);
|
2016-07-09 00:16:43 +00:00
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Border around images in issue and MR comments.
|
|
|
|
img:not(.emoji) {
|
2016-12-12 22:26:21 +00:00
|
|
|
border: 1px solid $white-normal;
|
2016-07-09 00:16:43 +00:00
|
|
|
padding: 5px;
|
|
|
|
margin: 5px 0;
|
|
|
|
// Ensure that image does not exceed viewport
|
|
|
|
max-height: calc(100vh - 100px);
|
|
|
|
}
|
2016-04-20 16:48:24 +00:00
|
|
|
}
|
2016-06-03 14:14:04 +00:00
|
|
|
|
|
|
|
.toolbar-group {
|
|
|
|
float: left;
|
|
|
|
margin-right: -5px;
|
|
|
|
margin-left: $gl-padding;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbar-btn {
|
|
|
|
float: left;
|
|
|
|
padding: 0 5px;
|
2016-12-30 20:18:27 +00:00
|
|
|
color: $gl-text-color-secondary;
|
2016-06-03 14:14:04 +00:00
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
|
|
|
outline: 0;
|
|
|
|
|
2016-06-22 22:02:44 +00:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2016-06-03 14:14:04 +00:00
|
|
|
color: $gl-link-color;
|
|
|
|
}
|
|
|
|
}
|
2016-06-30 15:34:19 +00:00
|
|
|
|
2016-10-13 17:40:06 +00:00
|
|
|
.atwho-view {
|
|
|
|
small.description {
|
|
|
|
float: right;
|
|
|
|
padding: 3px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar-inline {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cur {
|
|
|
|
.avatar {
|
|
|
|
border: 1px solid $white-light;
|
2017-02-03 08:44:12 +00:00
|
|
|
@include disableAllAnimation;
|
2016-10-13 17:40:06 +00:00
|
|
|
}
|
|
|
|
}
|
2016-11-18 17:37:32 +00:00
|
|
|
}
|