Skip to content

Commit

Permalink
Explecitely group css
Browse files Browse the repository at this point in the history
  • Loading branch information
minottic committed Feb 21, 2024
1 parent c4be544 commit 4c18695
Showing 1 changed file with 67 additions and 70 deletions.
137 changes: 67 additions & 70 deletions scilog/src/app/overview/logbook-cover/logbook-cover.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@
height: 400px;
}

.mat-card-content {
.logbook-module .mat-card-content {
padding: 15px;
height: 170px;
overflow-y: scroll;
}

.mat-card-header .mat-card-title {
.logbook-module .mat-card-header .mat-card-title {
width: 100%;
height: 30px;
display: inline-flex;
}

.image-container {
.logbook-module .image-container {
text-align: center;
}

.mat-fab-top-right {
.logbook-module .mat-fab-top-right {
position: absolute;
top: 5px;
right: 1px;
Expand All @@ -30,15 +30,15 @@
align-items: center;
}

.mat-card-actions {
.logbook-module .mat-card-actions {
width: 300px;
align-items: center;
text-align: center;
position: absolute;
bottom: 15px;
}

mat-divider {
.logbook-module mat-divider {
position: absolute;
bottom: 50px;
}
Expand All @@ -50,72 +50,69 @@ mat-divider {
}

.logbook-headline {
display: flex;
}

.logbook-headline .mat-fab-top-right {
position: absolute;
top: 1px;
right: 1px;
z-index: 100;
display: flex;
flex-direction: column-reverse;
align-items: center;
}

.logbook-headline .owner {
margin-bottom: -1px;
margin-right: 10px;
width: 10%;
overflow-x: scroll;
min-height: 20px;
scrollbar-width: none;
}

.mat-fab-top-right {
position: absolute;
top: 1px;
right: 1px;
z-index: 100;
display: flex;
flex-direction: column-reverse;
align-items: center;
}


.owner {
margin-bottom: -1px;
margin-right: 10px;
width: 10%;
overflow-x: scroll;
min-height: 20px;
scrollbar-width: none;
}

.date {
font-size: small;
margin: 15px;
width: 10%;
}

.description {
width: 20%;
overflow-x: scroll;
word-wrap: break-word;
min-height: 20px;
margin-bottom: 1px;
margin-right: 10px;
scrollbar-width: none;
}

.title {
width: 40%;
overflow-x: scroll;
word-wrap: break-word;
min-height: 20px;
margin-bottom: 1px;
margin-right: 10px;
scrollbar-width: none;
}

img {
max-height: 35px;
max-width: 35px;
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .2), 0 2px 8px 0 rgba(0, 0, 0, .14), 0 4px 8px -1px rgba(0, 0, 0, .12);
}

.card-container {
height: 10px;
flex: 1 1 auto;
display: flex;
flex-direction: column;
align-content: flex-start;
justify-content: center;
align-items: center;
flex-wrap: wrap;
margin-right: 10px;
overflow-x: clip;
}
.logbook-headline .date {
font-size: small;
margin: 15px;
width: 10%;
}

.logbook-headline .description {
width: 20%;
overflow-x: scroll;
word-wrap: break-word;
min-height: 20px;
margin-bottom: 1px;
margin-right: 10px;
scrollbar-width: none;
}

.logbook-headline .title {
width: 40%;
overflow-x: scroll;
word-wrap: break-word;
min-height: 20px;
margin-bottom: 1px;
margin-right: 10px;
scrollbar-width: none;
}

.logbook-headline img {
max-height: 35px;
max-width: 35px;
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .2), 0 2px 8px 0 rgba(0, 0, 0, .14), 0 4px 8px -1px rgba(0, 0, 0, .12);
}

.logbook-headline .card-container {
height: 10px;
flex: 1 1 auto;
display: flex;
flex-direction: column;
align-content: flex-start;
justify-content: center;
align-items: center;
flex-wrap: wrap;
margin-right: 10px;
overflow-x: clip;
}

0 comments on commit 4c18695

Please sign in to comment.