Unify border-radius

Signed-off-by: Brandon Oxendine <brandon.oxendine@gmail.com>
Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
Brandon Oxendine
2022-08-08 18:31:49 +02:00
committed by Alexis Sellier
parent 01f7af357d
commit 6edbd37c4c
39 changed files with 72 additions and 81 deletions
+5 -3
View File
@@ -28,8 +28,8 @@
border-width: 1px 1px 0 1px;
border-color: var(--color-foreground-subtle);
border-style: solid;
border-top-left-radius: 0.25rem;
border-top-right-radius: 0.25rem;
border-top-left-radius: var(--border-radius-small);
border-top-right-radius: var(--border-radius-small);
}
header .file-name {
@@ -45,7 +45,7 @@
color: var(--color-secondary);
background-color: var(--color-secondary-background);
font-size: 0.75rem;
border-radius: 0.25rem;
border-radius: var(--border-radius-small);
overflow-x: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@@ -80,6 +80,8 @@
display: flex;
border: 1px solid var(--color-foreground-subtle);
border-top-style: dashed;
border-bottom-left-radius: var(--border-radius-small);
border-bottom-right-radius: var(--border-radius-small);
}
.binary {
+3 -3
View File
@@ -42,7 +42,7 @@
padding: 0.5rem 0.75rem;
color: var(--color-secondary);
background-color: var(--color-secondary-background);
border-radius: 0.25rem 0 0 0.25rem;
border-radius: var(--border-radius-small) 0 0 var(--border-radius-small);
}
.commit .branch.not-allowed {
cursor: not-allowed;
@@ -55,10 +55,10 @@
color: var(--color-secondary);
background-color: var(--color-secondary-background-darker);
padding: 0.5rem 0.75rem;
border-radius: 0 0.25rem 0.25rem 0;
border-radius: 0 var(--border-radius-small) var(--border-radius-small) 0;
}
.commit .hash.unlabeled {
border-radius: 0.25rem;
border-radius: var(--border-radius-small);
}
.stat {
font-family: var(--font-family-monospace);
+1 -1
View File
@@ -25,7 +25,7 @@
header {
padding: 1rem;
background: var(--color-foreground-background-subtle);
border-radius: var(--border-radius-medium);
border-radius: var(--border-radius);
}
.summary {
display: flex;
@@ -21,7 +21,7 @@
.authorship .avatar {
width: 1rem;
height: 1rem;
border-radius: 0.5rem;
border-radius: var(--border-radius);
margin-right: 0.25rem;
}
.authorship .avatar:not(:first-child) {
+4 -4
View File
@@ -30,12 +30,12 @@
background-color: var(--color-foreground-background-lighter);
}
.commit-teaser:first-child {
border-top-left-radius: 0.25rem;
border-top-right-radius: 0.25rem;
border-top-left-radius: var(--border-radius-small);
border-top-right-radius: var(--border-radius-small);
}
.commit-teaser:last-child {
border-bottom-left-radius: 0.25rem;
border-bottom-right-radius: 0.25rem;
border-bottom-left-radius: var(--border-radius-small);
border-bottom-right-radius: var(--border-radius-small);
}
.commit-teaser {
display: flex;
+1 -1
View File
@@ -62,7 +62,7 @@
gap: 0.5rem;
}
.widget {
border-radius: 0.25rem;
border-radius: var(--border-radius-small);
min-width: max-content;
}
.anchor {
+4 -4
View File
@@ -38,12 +38,12 @@
cursor: pointer;
}
.commit:first-child {
border-top-left-radius: 0.25rem;
border-top-right-radius: 0.25rem;
border-top-left-radius: var(--border-radius-small);
border-top-right-radius: var(--border-radius-small);
}
.commit:last-child {
border-bottom-left-radius: 0.25rem;
border-bottom-right-radius: 0.25rem;
border-bottom-left-radius: var(--border-radius-small);
border-bottom-right-radius: var(--border-radius-small);
}
@media (max-width: 960px) {
+3 -3
View File
@@ -26,7 +26,7 @@
header {
padding: 1rem;
background: var(--color-foreground-background-subtle);
border-radius: var(--border-radius-medium);
border-radius: var(--border-radius);
margin-bottom: 2rem;
}
main {
@@ -39,7 +39,7 @@
.metadata {
flex-basis: 18rem;
margin-left: 1rem;
border-radius: var(--border-radius-medium);
border-radius: var(--border-radius);
font-size: 0.875rem;
padding-left: 1rem;
}
@@ -89,7 +89,7 @@
}
.summary-state {
padding: 0.5rem 1rem;
border-radius: 1.25rem;
border-radius: var(--border-radius);
}
.open {
color: var(--color-positive);
+1 -1
View File
@@ -16,7 +16,7 @@
display: flex;
flex-direction: row;
margin: 1rem 0;
border-radius: 0.25rem;
border-radius: var(--border-radius-small);
}
.state-toggle {
cursor: pointer;
+1 -1
View File
@@ -64,7 +64,7 @@
.state-icon {
width: 0.5rem;
height: 0.5rem;
border-radius: 0.5rem;
border-radius: var(--border-radius-small);
}
.open {
background-color: var(--color-positive);
+1 -1
View File
@@ -26,7 +26,7 @@
font-size: 0.875rem;
}
.issues-list {
border-radius: var(--border-radius-medium);
border-radius: var(--border-radius);
overflow: hidden;
}
.teaser:not(:last-child) {
+1 -1
View File
@@ -42,7 +42,7 @@
padding: 0.5rem 0.75rem;
color: var(--color-secondary);
background-color: var(--color-secondary-background);
border-radius: 0.25rem;
border-radius: var(--border-radius-small);
}
.selector .peer.not-allowed {
cursor: not-allowed;
+1 -1
View File
@@ -10,7 +10,7 @@
article {
padding: 2rem;
background: var(--color-foreground-background-subtle);
border-radius: 0.5rem;
border-radius: var(--border-radius);
}
</style>
@@ -33,10 +33,6 @@
.changeset-summary .deletions {
color: var(--color-negative);
}
.diff-listing {
/* This border forces to keep the FileDiff margin-bottom visible */
border: 1px solid transparent;
}
</style>
<div class="changeset-summary">
@@ -19,7 +19,7 @@
<style>
.changeset-file {
border: 1px solid var(--color-foreground-3);
border-radius: 0.25rem;
border-radius: var(--border-radius-small);
min-width: var(--content-min-width);
margin-bottom: 2rem;
line-height: 1.5rem;
+1 -1
View File
@@ -9,7 +9,7 @@
<style>
.file {
color: var(--color-foreground-90);
border-radius: 0.25rem;
border-radius: var(--border-radius-small);
cursor: pointer;
display: flex;
justify-content: space-between;
+1 -1
View File
@@ -42,7 +42,7 @@
}
.folder:hover {
background-color: var(--color-foreground-background);
border-radius: 0.25rem;
border-radius: var(--border-radius-small);
}
.folder-name {
+1 -1
View File
@@ -33,7 +33,7 @@
justify-content: space-between;
padding: 1rem;
border: 1px solid var(--color-secondary-faded);
border-radius: 0.25rem;
border-radius: var(--border-radius-small);
min-width: 36rem;
cursor: pointer;
}