2014-05-23 04:22:00 -04:00
|
|
|
.div-dropzone-wrapper {
|
|
|
|
.div-dropzone {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.div-dropzone-hover {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
2016-04-13 04:08:34 -04:00
|
|
|
margin-top: -11.5px;
|
|
|
|
margin-left: -15px;
|
2014-05-23 04:22:00 -04:00
|
|
|
opacity: 0;
|
2016-04-13 04:08:34 -04:00
|
|
|
font-size: 30px;
|
2014-05-23 04:22:00 -04:00
|
|
|
transition: opacity 200ms ease-in-out;
|
2014-12-10 11:24:11 -05:00
|
|
|
pointer-events: none;
|
2014-05-23 04:22:00 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.div-dropzone-spinner {
|
|
|
|
position: absolute;
|
2016-03-30 05:00:43 -04:00
|
|
|
bottom: 10px;
|
|
|
|
right: 5px;
|
2014-05-23 04:22:00 -04:00
|
|
|
opacity: 0;
|
2016-03-30 05:00:43 -04:00
|
|
|
font-size: 20px;
|
2014-05-23 04:22:00 -04:00
|
|
|
transition: opacity 200ms ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.div-dropzone-icon {
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
2015-08-10 03:18:02 -04:00
|
|
|
.div-dropzone-progress {
|
|
|
|
position: absolute;
|
|
|
|
top: 7px;
|
|
|
|
left: -40px;
|
|
|
|
width: 35px;
|
|
|
|
font-size: 13px;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2014-05-23 04:22:00 -04:00
|
|
|
.dz-preview {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.div-dropzone-alert {
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
transition: opacity 200ms ease-in-out;
|
|
|
|
}
|
2014-10-15 03:21:21 -04:00
|
|
|
|
2015-06-02 08:56:50 -04:00
|
|
|
.md-area {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2016-03-30 03:28:06 -04:00
|
|
|
.md-header {
|
|
|
|
.nav-links {
|
|
|
|
a {
|
2017-11-16 17:30:43 -05:00
|
|
|
width: 100%;
|
2016-03-30 03:28:06 -04:00
|
|
|
padding-top: 0;
|
2016-11-18 12:37:32 -05:00
|
|
|
line-height: 19px;
|
2016-05-27 17:30:01 -04:00
|
|
|
|
|
|
|
&.btn.btn-xs {
|
|
|
|
padding: 2px 5px;
|
|
|
|
}
|
2016-11-18 12:37:32 -05:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
margin-top: -10px;
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
2016-03-30 03:28:06 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-16 17:30:43 -05:00
|
|
|
.md-header-tab {
|
2018-04-09 11:26:28 -04:00
|
|
|
@include media-breakpoint-down(xs) {
|
2017-11-16 17:30:43 -05:00
|
|
|
flex: 1;
|
|
|
|
width: 100%;
|
|
|
|
border-bottom: 1px solid $border-color;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-18 16:16:54 -05:00
|
|
|
.nav-links {
|
|
|
|
li.md-header-toolbar {
|
|
|
|
margin-left: auto;
|
|
|
|
display: none;
|
2017-11-16 17:30:43 -05:00
|
|
|
|
2017-12-18 16:16:54 -05:00
|
|
|
&.active {
|
|
|
|
display: block;
|
|
|
|
|
2018-04-09 11:26:28 -04:00
|
|
|
@include media-breakpoint-down(xs) {
|
2017-12-18 16:27:58 -05:00
|
|
|
flex: none;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
width: 100%;
|
|
|
|
padding-top: $gl-padding-top;
|
|
|
|
padding-bottom: $gl-padding-top;
|
|
|
|
}
|
2017-12-18 16:16:54 -05:00
|
|
|
}
|
2017-11-16 17:30:43 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-06-05 06:13:02 -04:00
|
|
|
.referenced-users {
|
2016-12-30 15:18:27 -05:00
|
|
|
color: $gl-text-color;
|
2015-12-03 12:30:10 -05:00
|
|
|
padding-top: 10px;
|
2015-06-02 08:56:50 -04:00
|
|
|
}
|
|
|
|
|
2014-10-15 03:21:21 -04:00
|
|
|
.md-preview-holder {
|
2016-03-30 05:19:58 -04:00
|
|
|
min-height: 167px;
|
|
|
|
padding: 10px 0;
|
2016-04-06 16:20:13 -04:00
|
|
|
overflow-x: auto;
|
2014-10-15 03:21:21 -04:00
|
|
|
}
|
|
|
|
|
2015-03-08 18:21:28 -04:00
|
|
|
.markdown-area {
|
2016-09-09 12:59:36 -04:00
|
|
|
border-radius: 0;
|
2016-11-30 08:25:25 -05:00
|
|
|
background: $white-light;
|
|
|
|
border: 1px solid $md-area-border;
|
2015-09-08 05:21:33 -04:00
|
|
|
min-height: 140px;
|
2016-02-01 16:55:00 -05:00
|
|
|
max-height: 500px;
|
2015-03-08 18:21:28 -04:00
|
|
|
padding: 5px;
|
|
|
|
box-shadow: none;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2016-04-20 12:48:24 -04:00
|
|
|
|
|
|
|
.md {
|
|
|
|
&.md-preview-holder {
|
2016-07-08 20:16:43 -04:00
|
|
|
// Reset ul style types since we're nested inside a ul already
|
2016-06-17 14:32:40 -04:00
|
|
|
@include bulleted-list;
|
2016-04-20 12:48:24 -04:00
|
|
|
}
|
2016-07-08 20:16:43 -04: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 08:25:25 -05:00
|
|
|
border-color: darken($gray-normal, 8%);
|
2016-07-08 20:16:43 -04:00
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Border around images in issue and MR comments.
|
|
|
|
img:not(.emoji) {
|
2016-12-12 17:26:21 -05:00
|
|
|
border: 1px solid $white-normal;
|
2016-07-08 20:16:43 -04:00
|
|
|
padding: 5px;
|
|
|
|
margin: 5px 0;
|
|
|
|
// Ensure that image does not exceed viewport
|
|
|
|
max-height: calc(100vh - 100px);
|
|
|
|
}
|
2017-04-27 07:28:53 -04:00
|
|
|
|
|
|
|
table {
|
|
|
|
@include markdown-table;
|
|
|
|
}
|
2016-04-20 12:48:24 -04:00
|
|
|
}
|
2016-06-03 10:14:04 -04:00
|
|
|
|
|
|
|
.toolbar-btn {
|
|
|
|
float: left;
|
2017-11-06 07:04:55 -05:00
|
|
|
padding: 0 7px;
|
2016-06-03 10:14:04 -04:00
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
|
|
|
outline: 0;
|
|
|
|
|
2017-11-06 07:04:55 -05:00
|
|
|
svg {
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
margin-top: 3px;
|
|
|
|
fill: $gl-text-color-secondary;
|
|
|
|
}
|
|
|
|
|
2016-06-22 18:02:44 -04:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2017-11-06 07:04:55 -05:00
|
|
|
svg {
|
|
|
|
fill: $gl-link-color;
|
|
|
|
}
|
2016-06-03 10:14:04 -04:00
|
|
|
}
|
|
|
|
}
|
2016-06-30 11:34:19 -04:00
|
|
|
|
2017-11-16 17:30:43 -05:00
|
|
|
.toolbar-fullscreen-btn {
|
|
|
|
margin-left: $gl-padding;
|
|
|
|
margin-right: -5px;
|
|
|
|
|
2018-04-09 11:26:28 -04:00
|
|
|
@include media-breakpoint-down(xs) {
|
2017-11-16 17:30:43 -05:00
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-10-13 13:40:06 -04:00
|
|
|
.atwho-view {
|
2017-03-02 17:59:45 -05:00
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
2018-01-08 04:27:50 -05:00
|
|
|
.name,
|
|
|
|
small.aliases,
|
|
|
|
small.params {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
small.aliases,
|
|
|
|
small.params {
|
|
|
|
padding: 2px 5px;
|
|
|
|
}
|
|
|
|
|
2016-10-13 13:40:06 -04:00
|
|
|
small.description {
|
|
|
|
float: right;
|
|
|
|
padding: 3px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar-inline {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cur {
|
|
|
|
.avatar {
|
2017-02-03 03:44:12 -05:00
|
|
|
@include disableAllAnimation;
|
2017-07-12 00:59:39 -04:00
|
|
|
border: 1px solid $white-light;
|
2016-10-13 13:40:06 -04:00
|
|
|
}
|
|
|
|
}
|
2017-03-02 17:59:45 -05:00
|
|
|
|
|
|
|
ul > li {
|
2018-01-08 04:27:50 -05:00
|
|
|
@include clearfix;
|
2017-03-02 17:59:45 -05:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2017-07-27 05:18:11 -04:00
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
// TODO: fallback to global style
|
2017-07-27 05:18:11 -04:00
|
|
|
.atwho-view-ul {
|
|
|
|
padding: 8px 1px;
|
|
|
|
|
|
|
|
li {
|
|
|
|
padding: 8px 16px;
|
|
|
|
border: 0;
|
|
|
|
|
|
|
|
&.cur {
|
|
|
|
background-color: $gray-darker;
|
|
|
|
color: $gl-text-color;
|
|
|
|
|
|
|
|
small {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-15 19:22:15 -04:00
|
|
|
div.avatar {
|
|
|
|
display: inline-flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.center {
|
|
|
|
line-height: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-27 05:18:11 -04:00
|
|
|
strong {
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-07-12 05:50:26 -04:00
|
|
|
|
2018-04-09 11:26:28 -04:00
|
|
|
@include media-breakpoint-down(xs) {
|
2017-07-12 05:50:26 -04:00
|
|
|
.atwho-view-ul {
|
|
|
|
width: 350px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.atwho-view ul li {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
}
|