- Fixed New Releases page
- Tweaked issues list
- Compressed .css file
This commit is contained in:
Free 2021-08-29 17:34:45 +02:00
parent 5844f070c1
commit 75df1c6e1f

View file

@ -1,9 +1,10 @@
// main: theme-gitea-modern.user.styl, out: theme-gitea-modern.css // main: theme-gitea-modern.user.styl, out: theme-gitea-modern.css, compress: true
// Ignore above, just compiler stuff
/* Update 1.0.6
/* Update 1.0.5 - Fixed New Releases page
- Projects page now uses full-width. - Tweaked issues list
- Fixed some stuff in chromium browsers. - Compressed .css file
*/ */
@ -502,8 +503,9 @@ html {
/* Page content when width is larger than 850px */ /* Page content when width is larger than 850px */
@media only screen and (min-width: 850px) { @media only screen and (min-width: 850px) {
// Still tweaking selectors a bit
.page-content.repository:not(.issues.repository.milestones):not(.new:not(.issue)) { // .page-content.repository:not(.issues.repository.milestones):not(.new:not(.issue):not(.wiki):not(.release)) {
.page-content.repository:not(.issues.repository.milestones):not(.migrate) {
display: grid; display: grid;
grid-row-gap: 10px; grid-row-gap: 10px;
grid-template-columns: 100px calc(100% - 100px); grid-template-columns: 100px calc(100% - 100px);
@ -533,7 +535,7 @@ html {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
border-radius: 8px !important; border-radius: 8px !important;
z-index: 2;
} }
.repo-title-wrap { .repo-title-wrap {
display: flex; display: flex;
@ -553,7 +555,6 @@ html {
.tabs { .tabs {
order: -1; order: -1;
width: auto !important; width: auto !important;
width: 70px;
margin: 0 !important; margin: 0 !important;
margin-top: 60px !important; margin-top: 60px !important;
grid-column: 1; grid-column: 1;
@ -569,9 +570,10 @@ html {
&::before { &::before {
content: ""; content: "";
position: absolute; position: absolute;
inset: 0; bottom: 0;
left: 20px; left: 20px;
right: 50px; right: 50px;
top: -10px
background-color: var(--color-body); background-color: var(--color-body);
box-shadow: 0 0 20px 20px var(--color-body); box-shadow: 0 0 20px 20px var(--color-body);
opacity: .8; opacity: .8;
@ -1146,8 +1148,9 @@ html {
} }
} }
li { li {
padding: 10px !important; padding: 8px 10px !important;
padding-bottom: 6px !important; // padding-bottom: 6px !important;
// padding-top: 0px !important;
position: relative; position: relative;
&:hover:before, &:focus-within:before { &:hover:before, &:focus-within:before {
content: ""; content: "";
@ -1168,20 +1171,40 @@ html {
} }
} }
.issue-item-top-row { .issue-item-top-row {
// margin-bottom: 4px;
display: flex;
flex-wrap: wrap;
a { a {
vertical-align: unset !important; vertical-align: unset !important;
margin-bottom: 8px;
}
& > a {
margin-right: 4px;
}
.label {
line-height: 1em;
font-weight: 500;
text-transform: capitalize;
filter: saturate(.8);
} }
} }
.issue-item-bottom-row { .issue-item-bottom-row {
margin-top: -2px !important; margin-top: -6px !important;
svg { svg {
margin-top: 3px; margin-top: 3px;
} }
.checklist {
margin-left: auto;
}
} }
.content { .content {
padding-bottom: 2px; padding-bottom: 2px;
padding-top: 2px !important; padding-top: 2px !important;
} }
.issue-item-icons-right a {
display: flex;
align-items: center;
}
} }
.label { .label {
margin-top: -1px; margin-top: -1px;