mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-03 03:33:16 +03:00
unused CSS removed
This commit is contained in:
parent
0935f1db75
commit
463a0db255
@ -211,7 +211,6 @@
|
|||||||
flex-shrink: 1;
|
flex-shrink: 1;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
/* padding: 0 var(--space-8); */
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -285,7 +284,6 @@
|
|||||||
.empty-board__suggestions__link {
|
.empty-board__suggestions__link {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
display: flex;
|
display: flex;
|
||||||
/* align-items: center; */
|
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
padding: var(--space-2) var(--space-6) var(--space-2) var(--space-4);
|
padding: var(--space-2) var(--space-6) var(--space-2) var(--space-4);
|
||||||
@ -296,7 +294,6 @@
|
|||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: var(--clr-theme-container-pale);
|
background-color: var(--clr-theme-container-pale);
|
||||||
/* transition: background-color 0s ease; */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
& span {
|
& span {
|
||||||
|
@ -149,7 +149,6 @@
|
|||||||
bind:this={rsViewport}
|
bind:this={rsViewport}
|
||||||
style:width={`${laneWidth || $defaultBranchWidthRem}rem`}
|
style:width={`${laneWidth || $defaultBranchWidthRem}rem`}
|
||||||
class="branch-card__contents"
|
class="branch-card__contents"
|
||||||
class:first-child={branch.order == 0}
|
|
||||||
>
|
>
|
||||||
<BranchHeader
|
<BranchHeader
|
||||||
{readonly}
|
{readonly}
|
||||||
@ -289,17 +288,9 @@
|
|||||||
.branch-card {
|
.branch-card {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
/* display: flex; */
|
|
||||||
/* flex-direction: column; */
|
|
||||||
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
/* padding: 8px; */
|
|
||||||
/* border-radius: var(--radius-l); */
|
|
||||||
/* background-color: var(--target-branch-background); */
|
|
||||||
|
|
||||||
/* remover scrollbar */
|
|
||||||
|
|
||||||
&::-webkit-scrollbar {
|
&::-webkit-scrollbar {
|
||||||
width: 0px;
|
width: 0px;
|
||||||
@ -307,21 +298,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* .branch-card-resize-container {
|
|
||||||
display: flex;
|
|
||||||
} */
|
|
||||||
|
|
||||||
.divider-line {
|
.divider-line {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
width: var(--space-4);
|
width: var(--space-4);
|
||||||
/* margin-left: calc(var(--space-4) * -1); */
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
/* margin-left: var(--selected-resize-shift); */
|
|
||||||
transform: translateX(var(--selected-resize-shift));
|
transform: translateX(var(--selected-resize-shift));
|
||||||
/* background-color: red; */
|
|
||||||
/* background-color: var(--clr-theme-container-outline-light); */
|
|
||||||
|
|
||||||
&:after {
|
&:after {
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
@ -351,12 +334,6 @@
|
|||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
gap: var(--space-8);
|
gap: var(--space-8);
|
||||||
padding: var(--space-12);
|
padding: var(--space-12);
|
||||||
/* transition: padding var(--transition-fast);
|
|
||||||
will-change: padding; */
|
|
||||||
}
|
|
||||||
|
|
||||||
.first-child {
|
|
||||||
/* padding-left: var(--space-16); */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
|
@ -88,7 +88,6 @@
|
|||||||
--target-branch-background: var(--clr-theme-container-pale);
|
--target-branch-background: var(--clr-theme-container-pale);
|
||||||
--selected-resize-shift: 0;
|
--selected-resize-shift: 0;
|
||||||
--selected-opacity: 1;
|
--selected-opacity: 1;
|
||||||
--selected-file-shift: 0;
|
|
||||||
background-color: var(--target-branch-background);
|
background-color: var(--target-branch-background);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -102,7 +101,6 @@
|
|||||||
|
|
||||||
.selected {
|
.selected {
|
||||||
--selected-resize-shift: calc(var(--space-6) * -1);
|
--selected-resize-shift: calc(var(--space-6) * -1);
|
||||||
--selected-file-shift: var(--space-4);
|
|
||||||
--selected-opacity: 0;
|
--selected-opacity: 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -281,8 +281,6 @@
|
|||||||
align-items: self-start;
|
align-items: self-start;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding: var(--space-12) var(--space-12) var(--space-12) 0;
|
padding: var(--space-12) var(--space-12) var(--space-12) 0;
|
||||||
/* margin-left: calc(var(--selected-file-shift) * -1); */
|
|
||||||
/* background-color: var(--target-branch-background); */
|
|
||||||
}
|
}
|
||||||
.file-card {
|
.file-card {
|
||||||
background: var(--clr-theme-container-light);
|
background: var(--clr-theme-container-light);
|
||||||
|
Loading…
Reference in New Issue
Block a user