Skip to content
Snippets Groups Projects
Commit b683b8fa authored by OZGCloud's avatar OZGCloud
Browse files

OZG-297 styling anhänge in form

parent 16590741
No related branches found
No related tags found
No related merge requests found
<div class="container"> <div class="container" [ngClass]="{ 'deletable': deletable}">
<button <button
[matTooltip]="file.name" [matTooltip]="file.name"
matTooltipClass="word-break" matTooltipClass="word-break"
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
justify-content: flex-start; justify-content: flex-start;
position: relative; position: relative;
padding: 4px; padding: 4px;
font-size: 14px;
} }
.container { .container {
...@@ -17,6 +18,7 @@ ...@@ -17,6 +18,7 @@
background-color: transparent; background-color: transparent;
padding: 0 8px 0 2px; padding: 0 8px 0 2px;
border-radius: 14px; border-radius: 14px;
line-height: 26px;
white-space: nowrap; white-space: nowrap;
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -49,6 +51,8 @@ ...@@ -49,6 +51,8 @@
opacity: 0.40; opacity: 0.40;
padding: 0 4px; padding: 0 4px;
transform: scale(0.9); transform: scale(0.9);
display: flex;
align-items: center;
} }
.name { .name {
...@@ -90,3 +94,21 @@ goofy-client-icon-button-with-spinner { ...@@ -90,3 +94,21 @@ goofy-client-icon-button-with-spinner {
display: block; display: block;
margin: -12px 0; margin: -12px 0;
} }
.deletable {
.container {
border-radius: 16px;
}
.file {
width: calc(100% - 40px);
padding: 0 0 0 2px;
line-height: 32px;
}
.mat-icon {
width: 32px;
padding: 6px;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment