mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fix styling of card view text item ruined by global material styles :'( (#2128)
This commit is contained in:
committed by
Eugenio Romano
parent
79a33b4914
commit
64389a5577
@@ -54,12 +54,18 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&-textitem-editable /deep/ .mat-input-infix {
|
||||||
|
padding: 0;
|
||||||
|
border-top: none;
|
||||||
|
}
|
||||||
|
|
||||||
&-textitem-editable /deep/ .mat-input-placeholder-wrapper {
|
&-textitem-editable /deep/ .mat-input-placeholder-wrapper {
|
||||||
padding-top: 2em;
|
padding-top: 2em;
|
||||||
|
position: static;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-textitem-editable /deep/ .mat-input-placeholder {
|
&-textitem-editable /deep/ .mat-input-placeholder {
|
||||||
top: 3px;
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-textitem-editable /deep/ .mat-input-element {
|
&-textitem-editable /deep/ .mat-input-element {
|
||||||
@@ -71,7 +77,7 @@
|
|||||||
&-textitem-editable /deep/ .mat-input-element:focus {
|
&-textitem-editable /deep/ .mat-input-element:focus {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
left: -6px;
|
left: -6px;
|
||||||
top: -3px;
|
top: -6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-textitem-editable /deep/ input.mat-input-element {
|
&-textitem-editable /deep/ input.mat-input-element {
|
||||||
@@ -79,6 +85,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&-textitem-editable /deep/ input.mat-input-element:focus {
|
&-textitem-editable /deep/ input.mat-input-element:focus {
|
||||||
margin-bottom: -7px;
|
margin-bottom: -8px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user