{{ fileservice.status.message }}
diff --git a/css/activity.css b/css/activity.css
index 843406f4c..a612ba125 100644
--- a/css/activity.css
+++ b/css/activity.css
@@ -8,6 +8,11 @@
text-decoration: none;
}
+.activitymessage .visualdiff {
+ overflow: scroll;
+ max-height: 200px;
+}
+
.activityTabView .avatardiv-container {
display: inline-block;
bottom: -3px;
diff --git a/css/comp-13.scss b/css/comp-13.scss
index ac8fe7e84..55468b053 100644
--- a/css/comp-13.scss
+++ b/css/comp-13.scss
@@ -16,7 +16,7 @@
width: 500px;
display:flex;
flex-direction: column;
- z-index: 1500;
+ z-index: 1000;
&.details-visible {
right: 0;
diff --git a/css/icons.scss b/css/icons.scss
index 3c3afcffe..0b2aa0ff6 100644
--- a/css/icons.scss
+++ b/css/icons.scss
@@ -34,13 +34,11 @@
}
.icon-home {
- background-image: url('../../../core/img/places/home.svg');
- background-image: var(--icon-home-000);
+ background-image: var(--icon-home-000, url('../../../core/img/places/home.svg'));
}
.icon-description {
- background-image: url('../img/description.svg');
- background-image: var(--icon-text-000);
+ background-image: var(--icon-text-000, url('../img/description.svg'));
}
.icon-badge {
diff --git a/css/style.scss b/css/style.scss
index 9fc25765c..f27da724a 100644
--- a/css/style.scss
+++ b/css/style.scss
@@ -156,8 +156,7 @@ input.input-inline {
z-index: 999;
width: 100%;
height: 100%;
- background-color: $color-main-background;
- background-color: var(--color-main-background);
+ background-color: var(--color-main-background, $color-main-background);
}
#board {
@@ -186,12 +185,10 @@ input.input-inline {
&.card-selected {
.card {
- box-shadow: 0px 0px 7px 0px $color-grey;
- box-shadow: 0px 0px 7px 0px var(--color-grey);
+ box-shadow: 0px 0px 7px 0px var(--color-background-darker, $color-grey);
&.current {
- box-shadow: 0px 0px 7px 0px $color-darkgrey;
- box-shadow: 0px 0px 7px 0px var(--color-darkgrey);
+ box-shadow: 0px 0px 7px 0px var(--color-text-lighter, $color-darkgrey);
}
}
}
@@ -224,10 +221,7 @@ input.input-inline {
}
> .as-sortable-drag {
- background-color: $color-main-background;
- background-color: var(--color-main-background);
- box-shadow: 0 0 7px 0 $color-background-dark;
- box-shadow: 0 0 7px 0 var(--color-background-dark);
+ background-color: var(--color-main-background $color-main-background);
}
}
@@ -266,9 +260,17 @@ input.input-inline {
}
button {
- height: inherit;
+ width: 36px;
+ height: 36px;
+ padding: 9px;
}
+ #stack-add form {
+ button {
+ height: auto;
+ width: 32px;
+ }
+ }
input[type='text'] {
padding: 6px;
border: 0 none transparent;
@@ -333,8 +335,7 @@ input.input-inline {
}
#stack-add {
- background-color: $color-lightgrey;
- background-color: var(--color-lightgrey);
+ background-color: var(--color-background-dark, $color-lightgrey);
border-radius: 3px;
margin: 3px;
display: flex;
@@ -380,8 +381,7 @@ input.input-inline {
margin: 0;
font-size: 12pt;
border: 0;
- background-color: $color-main-background;
- background-color: var(--color-main-background);
+ background-color: var(--color-main-background, $color-main-background);
min-height: initial;
}
@@ -427,13 +427,11 @@ input.input-inline {
}
.card {
- background-color: $color-main-background;
- background-color: var(--color-main-background);
+ background-color: var(--color-main-background, $color-main-background);
margin: $board-item-margin;
white-space: normal;
position: relative;
- box-shadow: 0 0 3px $color-darkgrey;
- box-shadow: 0 0 3px --var(color-darkgrey);
+ box-shadow: 0 0 3px var(--color-background-darker, $color-darkgrey);
border-radius: 3px;
transition: margin 250ms linear;
@@ -462,8 +460,7 @@ input.input-inline {
}
.card-controls {
- background: $color-lightgrey;
- background: var(--color-background-dark);
+ background: var(--color-background-dark, $color-lightgrey);
display: flex;
position: relative;
padding-left: 10px;
@@ -497,8 +494,7 @@ input.input-inline {
&.overdue {
background-color: $color-error;
- color: $color-primary-text;
- color: var(--color-primary-text);
+ color: var(--color-primary-text, $color-primary-text);
.icon-badge {
background-image: url('../img/calendar-white.svg');
@@ -680,8 +676,7 @@ input.input-inline {
position: sticky;
top: 0;
- background-color: $color-main-background;
- background-color: var(--color-main-background);
+ background-color: var(--color-main-background, $color-main-background);
z-index: 200;
h3 {
@@ -721,8 +716,7 @@ input.input-inline {
position: absolute;
width: 100%;
height: 100%;
- background-color: $color-main-background;
- background-color: var(--color-main-background);
+ background-color: var(--color-main-background, $color-main-background);
z-index: 100;
opacity: 0.9;
text-align: center;
@@ -809,10 +803,8 @@ input.input-inline {
color: $color-primary-text;
}
&.unsaved {
- background-color: $color-lightgrey;
- background-color: var(--color-lightgrey);
- color: $color-darkgrey;
- color: var(--color-darkgrey);
+ background-color: var(--color-background-dark, $color-lightgrey);
+ color: var(--color-text-light, $color-darkgrey);
}
}
@@ -853,9 +845,9 @@ input.input-inline {
width: 100%;
height: 100%;
background-color: rgba($color-darkgrey, 0.5);
- background-color: var(--color-background-dark);
left: 0;
top: 0;
+ z-index: 300;
}
.attachment-list {
&.selector {
@@ -868,12 +860,10 @@ input.input-inline {
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
- background-color: $color-main-background;
- background-color: var(--color-main-background);
+ background-color: var(--color-main-background, $color-main-background);
z-index: 2;
border-radius: 3px;
- box-shadow: 0 0 3px $color-darkgrey;
- box-shadow: 0 0 3px var(--color-darkgrey);
+ box-shadow: 0 0 3px var(--color-background-dark, $color-darkgrey);
overflow: scroll;
}
h3.attachment-selector {
@@ -967,8 +957,7 @@ input.input-inline {
}
.container {
- background-color: $color-main-background;
- background-color: var(--color-main-background);
+ background-color: var(--color-main-background, $color-main-background);
}
}
@@ -1349,7 +1338,6 @@ input.input-inline {
.icon {
display: inline-block;
background-size: contain;
- margin: -3px;
margin-right: 5px;
opacity: 0.5;
}
@@ -1440,6 +1428,8 @@ input.input-inline {
*/
#markdown {
width: 100% !important;
+ min-height: 40px;
+ cursor: text;
p {
margin-bottom: 15px;
@@ -1493,8 +1483,7 @@ input.input-inline {
}
pre {
- background-color: $color-lightgrey;
- background-color: var(--color-background-dark);
+ background-color: var(--color-background-dark, $color-lightgrey);
padding: 3px;
overflow: auto;
@@ -1531,6 +1520,19 @@ input.input-inline {
li input[type="checkbox"].checkbox:not(:checked) + label::before {
background-color: $color-main-background;
}
+
+ table {
+ margin-bottom: 10px;
+ border-collapse: collapse;
+
+ thead {
+ background-color: var(--color-background-dark, $color-lightgrey);
+ }
+ td, th {
+ border: 1px solid var(--color-background-darker, $color-darkgrey);
+ padding: 3px;
+ }
+ }
}
.section-wrapper {
diff --git a/js/controller/ActivityController.js b/js/controller/ActivityController.js
index 0870170b4..cfb348cc5 100644
--- a/js/controller/ActivityController.js
+++ b/js/controller/ActivityController.js
@@ -20,7 +20,7 @@
*
*/
-/* global OC OCA OCP t escapeHTML */
+/* global OC OCA OCP t escapeHTML Handlebars */
import CommentCollection from '../legacy/commentcollection';
import CommentModel from '../legacy/commentmodel';
@@ -64,6 +64,23 @@ class ActivityController {
this.activityservice.subscribe(this.$scope, function() {
self.$scope.$apply();
});
+
+ if (typeof OCA.Activity.Templates !== 'undefined') {
+ OCA.Activity.Templates.userLocal = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
+ var helper;
+ // Compiled handlesbars template
+ // '
' . $diff->render($subjectParams['before'], $subjectParams['after']) . ''); return $params; } diff --git a/templates/main.php b/templates/main.php index 288c518c6..87092f1a7 100644 --- a/templates/main.php +++ b/templates/main.php @@ -24,7 +24,9 @@ use OCP\Util; Util::addScript('activity', 'richObjectStringParser'); -Util::addScript('activity', 'templates'); +if (\OC_Util::getVersion()[0] > 14) { + Util::addScript('activity', 'templates'); +} Util::addScript('activity', 'script'); Util::addStyle('activity', 'style'); diff --git a/templates/part.card.php b/templates/part.card.php index 183b2d469..fc91ecd78 100644 --- a/templates/part.card.php +++ b/templates/part.card.php @@ -51,8 +51,8 @@ - @@ -86,21 +86,27 @@