2023-02-10 03:21:53 +00:00
|
|
|
.file-diff__container {
|
2023-01-29 15:02:40 +00:00
|
|
|
width: 100%;
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
overflow-x: scroll;
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
}
|
2023-01-26 05:13:41 +00:00
|
|
|
|
2023-02-10 03:21:53 +00:00
|
|
|
.file-diff__line {
|
2023-01-29 15:02:40 +00:00
|
|
|
padding: 0.1rem 0;
|
|
|
|
|
}
|
2023-01-26 05:13:41 +00:00
|
|
|
|
2023-02-22 03:56:48 +00:00
|
|
|
.file-diff__button-container {
|
2023-02-11 02:47:24 +00:00
|
|
|
text-align: right;
|
|
|
|
|
}
|
|
|
|
|
|
2023-02-01 10:05:33 +00:00
|
|
|
@media (prefers-color-scheme: light) {
|
2023-02-10 03:21:53 +00:00
|
|
|
.file-diff__top-line__bg {
|
2023-02-03 04:49:55 +00:00
|
|
|
background-color: #d9f4ef;
|
2023-11-08 01:37:20 +00:00
|
|
|
border-radius: 0.25rem; /* 4px */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-diff_top-line__character {
|
|
|
|
|
background-color: #99e1d3;
|
|
|
|
|
border-radius: 0.25rem; /* 4px */
|
2023-02-01 10:05:33 +00:00
|
|
|
}
|
|
|
|
|
|
2023-02-10 03:21:53 +00:00
|
|
|
.file-diff__bottom-line__bg {
|
2023-02-03 04:49:55 +00:00
|
|
|
background-color: #d9edff;
|
2023-11-08 01:37:20 +00:00
|
|
|
border-radius: 0.25rem; /* 4px */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-diff_bottom-line__character {
|
|
|
|
|
background-color: #b1d4f2;
|
|
|
|
|
border-radius: 0.25rem; /* 4px */
|
2023-02-03 04:49:55 +00:00
|
|
|
}
|
2023-01-29 15:02:40 +00:00
|
|
|
}
|
2023-01-26 05:13:41 +00:00
|
|
|
|
2023-02-01 10:05:33 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
2023-02-10 03:21:53 +00:00
|
|
|
.file-diff__top-line__bg {
|
2023-02-03 04:49:55 +00:00
|
|
|
background-color: #25403b;
|
2023-11-08 01:37:20 +00:00
|
|
|
border-radius: 0.25rem; /* 4px */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-diff_top-line__character {
|
|
|
|
|
background-color: #236559;
|
|
|
|
|
border-radius: 0.25rem; /* 4px */
|
2023-02-01 10:05:33 +00:00
|
|
|
}
|
|
|
|
|
|
2023-02-10 03:21:53 +00:00
|
|
|
.file-diff__bottom-line__bg {
|
2023-02-03 04:49:55 +00:00
|
|
|
background-color: #25394b;
|
2023-11-08 01:37:20 +00:00
|
|
|
border-radius: 0.25rem; /* 4px */
|
2023-02-03 04:49:55 +00:00
|
|
|
}
|
2023-11-08 01:37:20 +00:00
|
|
|
|
|
|
|
|
.file-diff_bottom-line__character {
|
|
|
|
|
background-color: #2e618d;
|
|
|
|
|
border-radius: 0.25rem; /* 4px */
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-diff__no-bottom-border {
|
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-diff__no-top-border {
|
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
|
border-top-right-radius: 0;
|
2023-02-11 02:47:24 +00:00
|
|
|
}
|
2023-02-03 04:49:55 +00:00
|
|
|
|
2023-02-11 02:47:24 +00:00
|
|
|
.file-diff__action-line {
|
|
|
|
|
color: #919191;
|
2023-01-29 15:02:40 +00:00
|
|
|
}
|
|
|
|
|
|
2023-02-10 03:21:53 +00:00
|
|
|
/* Tailwind CSS */
|
|
|
|
|
.flex {
|
2023-01-29 15:02:40 +00:00
|
|
|
display: flex;
|
2023-02-10 03:21:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.flex-row {
|
2023-01-29 15:02:40 +00:00
|
|
|
flex-direction: row;
|
|
|
|
|
}
|
|
|
|
|
|
2023-02-10 03:21:53 +00:00
|
|
|
.gap-1 {
|
|
|
|
|
gap: 0.25rem; /* 4px */
|
2023-01-29 15:02:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.no-decoration {
|
|
|
|
|
text-decoration-line: none;
|
|
|
|
|
}
|
|
|
|
|
|
2023-02-01 10:05:33 +00:00
|
|
|
.no-decoration:hover {
|
2023-01-29 15:02:40 +00:00
|
|
|
text-decoration-line: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text-xxs {
|
|
|
|
|
font-size: 0.65rem;
|
|
|
|
|
}
|
|
|
|
|
|
2023-02-11 02:51:56 +00:00
|
|
|
/* Rename from py-0.5 to py-0-5, as dots aren't allowed in selector names */
|
2023-02-10 03:21:53 +00:00
|
|
|
.py-0-5 {
|
|
|
|
|
padding-top: 0.125rem; /* 2px */
|
2023-02-22 03:56:48 +00:00
|
|
|
padding-bottom: 0.125rem; /* 2px */
|
2023-02-03 04:49:55 +00:00
|
|
|
}
|
|
|
|
|
|
2023-02-10 03:21:53 +00:00
|
|
|
.mr-2 {
|
|
|
|
|
margin-right: 0.5rem; /* 8px */
|
2023-02-03 08:12:35 +00:00
|
|
|
}
|
|
|
|
|
|
2023-02-10 03:21:53 +00:00
|
|
|
.mb-20 {
|
|
|
|
|
margin-bottom: 5rem; /* 80px */
|
2023-02-01 10:05:33 +00:00
|
|
|
}
|