[ADF-1841] Content Metadata first iteration (#2666)

* First try

* Small layout changes

* Add pipe support for CardViewTextItemModel

* property service

* Additional stuff

* Make CardViewUpdateService smarter

* Content metadata saving

* Rebase fix

* CardView Style fixes

* Fix core and content-services tests

* Fix CardView text item update UX
This commit is contained in:
Popovics András
2017-11-18 10:43:39 +00:00
committed by Eugenio Romano
parent 15cbd3a316
commit 4b76e6b4a9
32 changed files with 822 additions and 128 deletions

View File

@@ -1,4 +1,5 @@
@mixin adf-card-view-textitem-theme($theme) {
$foreground: map-get($theme, foreground);
.adf {
&-textitem-icon {
@@ -6,9 +7,9 @@
width: 16px;
height: 16px;
position: relative;
top: 3px;
top: 4px;
padding-left: 8px;
opacity: 0.5;
opacity: 0.3;
}
&-update-icon {
@@ -42,7 +43,7 @@
input:focus,
textarea:focus {
border: 1px solid #EEE;
border: 1px solid mat-color($foreground, text, 0.15);
}
}
@@ -72,13 +73,13 @@
&-textitem-editable .mat-input-element {
font-family: inherit;
position: relative;
padding-top: 3px;
padding-top: 6px;
}
&-textitem-editable .mat-input-element:focus {
padding: 5px;
left: -6px;
top: -6px;
top: 0;
}
&-textitem-editable input.mat-input-element {