Merge pull request '1.0.7' (#12) from dev into main

Reviewed-on: https://codeberg.org/Freeplay/CSS-Styles/pulls/12
This commit is contained in:
Free 2021-08-31 16:17:39 +02:00
commit 112ebb8c2f
3 changed files with 33 additions and 29 deletions

File diff suppressed because one or more lines are too long

View file

@ -1,10 +1,8 @@
// main: theme-gitea-modern.user.styl, out: theme-gitea-modern.css, compress: true
// Ignore above, just compiler stuff
/* Update 1.0.6
- Fixed New Releases page
- Tweaked issues list
- Compressed .css file
/* Update 1.0.7
- Forms should now be fixed. I hope.
*/
@ -505,7 +503,7 @@ html {
@media only screen and (min-width: 850px) {
// 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) {
.page-content.repository:not(.issues.repository.milestones) {
display: grid;
grid-row-gap: 10px;
grid-template-columns: 100px calc(100% - 100px);
@ -514,6 +512,9 @@ html {
width: 1367px;
max-width: 100%;
margin: auto;
& > .middle {
grid-column: 1 / span 2;
}
.header-wrapper {
display: contents;
& > .ui.container:first-child {

View file

@ -1,6 +1,6 @@
/* ==UserStyle==
@name Gitea Modern
@version 1.0.6
@version 1.0.7
@description A modern style for Gitea and Codeberg!
@updateURL https://codeberg.org/Freeplay/CSS-Styles/raw/branch/main/Gitea/theme-gitea-modern.user.css
@homepageURL https://codeberg.org/Freeplay/CSS-Styles
@ -456,7 +456,7 @@
margin-left: 4px;
}
@media only screen and (min-width: 850px) {
.page-content.repository:not(.issues.repository.milestones):not(.migrate) {
.page-content.repository:not(.issues.repository.milestones) {
display: grid;
grid-row-gap: 10px;
grid-template-columns: 100px calc(100% - 100px);
@ -466,10 +466,13 @@
max-width: 100%;
margin: auto;
}
.page-content.repository:not(.issues.repository.milestones):not(.migrate) .header-wrapper {
.page-content.repository:not(.issues.repository.milestones) > .middle {
grid-column: 1/span 2;
}
.page-content.repository:not(.issues.repository.milestones) .header-wrapper {
display: contents;
}
.page-content.repository:not(.issues.repository.milestones):not(.migrate) .header-wrapper > .ui.container:first-child {
.page-content.repository:not(.issues.repository.milestones) .header-wrapper > .ui.container:first-child {
grid-row: 1;
grid-column: 1/span 2;
width: 100%;
@ -477,8 +480,8 @@
border: 0 !important;
box-shadow: none !important;
}
.page-content.repository:not(.issues.repository.milestones):not(.migrate) .header-wrapper > .ui.container:first-child .avatar,
.page-content.repository:not(.issues.repository.milestones):not(.migrate) .header-wrapper > .ui.container:first-child .repo-icon {
.page-content.repository:not(.issues.repository.milestones) .header-wrapper > .ui.container:first-child .avatar,
.page-content.repository:not(.issues.repository.milestones) .header-wrapper > .ui.container:first-child .repo-icon {
width: 50px !important;
height: 50px !important;
object-fit: contain;
@ -492,12 +495,12 @@
border-radius: 8px !important;
z-index: 2;
}
.page-content.repository:not(.issues.repository.milestones):not(.migrate) .header-wrapper > .ui.container:first-child .repo-title-wrap {
.page-content.repository:not(.issues.repository.milestones) .header-wrapper > .ui.container:first-child .repo-title-wrap {
display: flex;
flex-direction: row !important;
align-items: center;
}
.page-content.repository:not(.issues.repository.milestones):not(.migrate) .header-wrapper > .ui.container:first-child .fork-flag {
.page-content.repository:not(.issues.repository.milestones) .header-wrapper > .ui.container:first-child .fork-flag {
margin: 0 !important;
margin-left: 6px !important;
padding: 2px 8px;
@ -505,7 +508,7 @@
border-radius: var(--base-border-radius);
border: 1px solid var(--color-secondary);
}
.page-content.repository:not(.issues.repository.milestones):not(.migrate) .header-wrapper .tabs {
.page-content.repository:not(.issues.repository.milestones) .header-wrapper .tabs {
order: -1;
width: auto !important;
margin: 0 !important;
@ -521,7 +524,7 @@
min-height: calc(100vh - 40px);
z-index: 2;
}
.page-content.repository:not(.issues.repository.milestones):not(.migrate) .header-wrapper .tabs::before {
.page-content.repository:not(.issues.repository.milestones) .header-wrapper .tabs::before {
content: "";
position: absolute;
bottom: 0;
@ -532,17 +535,17 @@
box-shadow: 0 0 20px 20px var(--color-body);
opacity: 0.8;
}
.page-content.repository:not(.issues.repository.milestones):not(.migrate) .header-wrapper .tabs .tabular {
.page-content.repository:not(.issues.repository.milestones) .header-wrapper .tabs .tabular {
flex-direction: column !important;
padding-right: 30px;
overflow: visible !important;
padding-left: 0;
border-bottom: 0 !important;
}
.page-content.repository:not(.issues.repository.milestones):not(.migrate) .header-wrapper .tabs .tabular::before {
.page-content.repository:not(.issues.repository.milestones) .header-wrapper .tabs .tabular::before {
content: unset !important;
}
.page-content.repository:not(.issues.repository.milestones):not(.migrate) .header-wrapper .tabs .tabular .item {
.page-content.repository:not(.issues.repository.milestones) .header-wrapper .tabs .tabular .item {
display: flex;
flex-direction: column;
text-align: center;
@ -554,7 +557,7 @@
opacity: 0.7;
border-radius: 12px !important;
}
.page-content.repository:not(.issues.repository.milestones):not(.migrate) .header-wrapper .tabs .tabular .item svg {
.page-content.repository:not(.issues.repository.milestones) .header-wrapper .tabs .tabular .item svg {
margin: 0;
width: 22px;
height: 22px;
@ -564,21 +567,21 @@
overflow: visible;
order: -2;
}
.page-content.repository:not(.issues.repository.milestones):not(.migrate) .header-wrapper .tabs .tabular .item .label {
.page-content.repository:not(.issues.repository.milestones) .header-wrapper .tabs .tabular .item .label {
margin: 0 !important;
margin-top: -3px !important;
margin-bottom: 6px !important;
order: -1;
position: relative;
}
.page-content.repository:not(.issues.repository.milestones):not(.migrate) .header-wrapper .tabs .tabular .item.active {
.page-content.repository:not(.issues.repository.milestones) .header-wrapper .tabs .tabular .item.active {
border: none;
opacity: 1;
}
.page-content.repository:not(.issues.repository.milestones):not(.migrate) .header-wrapper .tabs .tabular .item.active::before {
.page-content.repository:not(.issues.repository.milestones) .header-wrapper .tabs .tabular .item.active::before {
content: unset !important;
}
.page-content.repository:not(.issues.repository.milestones):not(.migrate) .header-wrapper .tabs .tabular .item.active::after {
.page-content.repository:not(.issues.repository.milestones) .header-wrapper .tabs .tabular .item.active::after {
all: unset;
content: "";
position: absolute;
@ -591,16 +594,16 @@
border-radius: 12px !important;
z-index: -1;
}
.page-content.repository:not(.issues.repository.milestones):not(.migrate) .header-wrapper .tabs .tabular .item:hover {
.page-content.repository:not(.issues.repository.milestones) .header-wrapper .tabs .tabular .item:hover {
opacity: 0.9 !important;
}
.page-content.repository:not(.issues.repository.milestones):not(.migrate) .header-wrapper .tabs .tabular .right.menu {
.page-content.repository:not(.issues.repository.milestones) .header-wrapper .tabs .tabular .right.menu {
display: contents;
}
.page-content.repository:not(.issues.repository.milestones):not(.migrate) .header-wrapper .divider {
.page-content.repository:not(.issues.repository.milestones) .header-wrapper .divider {
display: none;
}
.page-content.repository:not(.issues.repository.milestones):not(.migrate) > .ui.container {
.page-content.repository:not(.issues.repository.milestones) > .ui.container {
width: 100%;
}
#project-board {
@ -2122,4 +2125,4 @@
background-color: var(--color-primary) !important;
box-shadow: 0 1px 2px var(--color-primary);
}
}
}