Skip to content

Commit

Permalink
style: labels are more subtle
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4007 committed Dec 2, 2023
1 parent fe051fa commit edc8b44
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
4 changes: 3 additions & 1 deletion src/home/home-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ export function homeController(container: HTMLDivElement, issues: GitHubIssue[])
});

issueElement.innerHTML = `
<div class="info"><div class="title"><h3>${issue.title}</h3></div><div class="partner"><p class="organization-name">${organizationName}</p><p class="repository-name">${repositoryName}</p></div></div><div class="labels">${labels.join(
<div class="info"><div class="title"><h3>${
issue.title
}</h3></div><div class="partner"><p class="organization-name">${organizationName}</p><p class="repository-name">${repositoryName}</p></div></div><div class="labels">${labels.join(
""
)}</div>`;

Expand Down
11 changes: 6 additions & 5 deletions static/style/inverted-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,14 @@
max-width: 640px;
margin: auto;
/* border-left: 1px solid #7f7f7f10; */
padding: 48px 0;
/* padding: 0 0 48px; */
/* background: linear-gradient(to bottom, #7f7f7f00 0%, #7f7f7fff 15%, #7f7f7fff 85%, #7f7f7f00 100%); */
-webkit-mask-image: linear-gradient(to bottom, #ffffff00, #ffffffff 0%, #ffffffff 75%, #ffffff00 100%);
height: calc(100vh - 96px);
/* height: calc(100vh - 48px); */
overflow: scroll;
scrollbar-width: none; /* For Firefox */
-ms-overflow-style: none; /* For Internet Explorer and Edge */
height: 100vh;
}
&::-webkit-scrollbar {
display: none; /* For Chrome, Safari, and Opera */
Expand Down Expand Up @@ -163,7 +164,7 @@
font-size: 12px;
text-align: center;
white-space: nowrap;
background-color: #7f7f7f40;
background-color: #7f7f7f20;
width: 64px;
letter-spacing: 0.5px;
flex-grow: 3;
Expand Down Expand Up @@ -196,7 +197,7 @@
transition: 0.125s opacity ease-in-out;
/* display: flex; */
align-items: center;
margin: 0 0 0 48px;
margin: 0 0 0 50px;
}

.title {
Expand Down Expand Up @@ -337,7 +338,7 @@
.issue-element-inner {
display: block;
}
.labels{
.labels {
margin-left: 48px;
margin-top: 4px;
}
Expand Down
4 changes: 2 additions & 2 deletions static/style/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
font-size: 12px;
text-align: center;
white-space: nowrap;
background-color: #80808040;
background-color: #80808020;
width: 64px;
letter-spacing: 0.5px;
flex-grow: 3;
Expand Down Expand Up @@ -337,7 +337,7 @@
.issue-element-inner {
display: block;
}
.labels{
.labels {
margin-left: 48px;
margin-top: 4px;
}
Expand Down

0 comments on commit edc8b44

Please sign in to comment.