Styling elements.
This commit is contained in:
@@ -2,8 +2,9 @@
|
|||||||
<span class="copy-left">
|
<span class="copy-left">
|
||||||
©
|
©
|
||||||
</span>
|
</span>
|
||||||
2027 - 2024 Tous droits réservés
|
2016 - 2024 Tous droits réservés
|
||||||
<version>
|
-
|
||||||
|
2.0-alpha
|
||||||
<a [routerLink]="['healthCheck']">
|
<a [routerLink]="['healthCheck']">
|
||||||
<mat-icon>favorite</mat-icon>
|
<mat-icon>favorite</mat-icon>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -13,6 +13,9 @@
|
|||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
|
.copy-left {
|
||||||
|
transform: rotate(180deg);
|
||||||
|
}
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: rgba(255,255,255,.6);
|
color: rgba(255,255,255,.6);
|
||||||
|
|||||||
@@ -192,10 +192,10 @@ app-side-menu {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.disconnection {
|
&.disconnection {
|
||||||
color: red;
|
color: #D50000;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: red;
|
background-color: #E53935;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,10 +17,12 @@
|
|||||||
<footer>
|
<footer>
|
||||||
<div class="metadata">
|
<div class="metadata">
|
||||||
<img src="/pictures/{{ publication.author.image }}" [matTooltip]="publication.author.name" />
|
<img src="/pictures/{{ publication.author.image }}" [matTooltip]="publication.author.name" />
|
||||||
Publication posted by {{ publication.author.name }}
|
<div class="posting-data">
|
||||||
<span class="publication-date">
|
Publication posted by {{ publication.author.name }}
|
||||||
({{ publication.creationDate | date: 'short' : 'fr-FR' }})
|
<span class="publication-date">
|
||||||
</span>
|
({{ publication.creationDate | date: 'short' : 'fr-FR' }})
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@if (isAuthorAndUserEquals) {
|
@if (isAuthorAndUserEquals) {
|
||||||
<button type="button" matTooltip="Click to delete the publication" matTooltipPosition="left">
|
<button type="button" matTooltip="Click to delete the publication" matTooltipPosition="left">
|
||||||
|
|||||||
@@ -78,18 +78,22 @@ $cardBorderRadius: .5em;
|
|||||||
|
|
||||||
footer {
|
footer {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background-color: #f0f0f0;
|
background-color: #f0f0f0;
|
||||||
border-radius: 0 0 $cardBorderRadius $cardBorderRadius;
|
border-radius: 0 0 $cardBorderRadius $cardBorderRadius;
|
||||||
padding: 1em 2em;
|
padding: 1em 2em;
|
||||||
|
gap: 1em;
|
||||||
|
|
||||||
|
@media screen and (min-width: 500px) {
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
|
||||||
.metadata {
|
.metadata {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
gap: 1em;
|
gap: 1em;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
@@ -100,9 +104,16 @@ $cardBorderRadius: .5em;
|
|||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
.publication-date {
|
.posting-data {
|
||||||
font-style: italic;
|
display: flex;
|
||||||
color: #bdbdbd;
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: start;
|
||||||
|
|
||||||
|
.publication-date {
|
||||||
|
font-style: italic;
|
||||||
|
color: #bdbdbd;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -120,7 +131,7 @@ $cardBorderRadius: .5em;
|
|||||||
gap: .5em;
|
gap: .5em;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: #B71C1C;
|
background-color: #E53935;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user