- 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.5
- Projects page now uses full-width.
- Fixed some stuff in chromium browsers.
/* Update 1.0.6
- Fixed New Releases page
- Tweaked issues list
- Compressed .css file
*/
@ -502,8 +503,9 @@ html {
/* Page content when width is larger than 850px */
@media only screen and (min-width: 850px) {
.page-content.repository:not(.issues.repository.milestones):not(.new:not(.issue)) {
// Still tweaking selectors a bit
// .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;
grid-row-gap: 10px;
grid-template-columns: 100px calc(100% - 100px);
@ -533,7 +535,7 @@ html {
justify-content: center;
align-items: center;
border-radius: 8px !important;
z-index: 2;
}
.repo-title-wrap {
display: flex;
@ -553,7 +555,6 @@ html {
.tabs {
order: -1;
width: auto !important;
width: 70px;
margin: 0 !important;
margin-top: 60px !important;
grid-column: 1;
@ -569,9 +570,10 @@ html {
&::before {
content: "";
position: absolute;
inset: 0;
bottom: 0;
left: 20px;
right: 50px;
top: -10px
background-color: var(--color-body);
box-shadow: 0 0 20px 20px var(--color-body);
opacity: .8;
@ -1146,8 +1148,9 @@ html {
}
}
li {
padding: 10px !important;
padding-bottom: 6px !important;
padding: 8px 10px !important;
// padding-bottom: 6px !important;
// padding-top: 0px !important;
position: relative;
&:hover:before, &:focus-within:before {
content: "";
@ -1168,20 +1171,40 @@ html {
}
}
.issue-item-top-row {
// margin-bottom: 4px;
display: flex;
flex-wrap: wrap;
a {
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 {
margin-top: -2px !important;
margin-top: -6px !important;
svg {
margin-top: 3px;
}
.checklist {
margin-left: auto;
}
}
.content {
padding-bottom: 2px;
padding-top: 2px !important;
}
.issue-item-icons-right a {
display: flex;
align-items: center;
}
}
.label {
margin-top: -1px;