From fb6353fa52ecb5ff58853cba296f8722ddb466af Mon Sep 17 00:00:00 2001 From: Free Date: Tue, 31 Aug 2021 16:15:57 +0200 Subject: [PATCH] 1.0.7 --- Gitea/theme-gitea-modern.user.css | 49 ++++++++++++++++--------------- 1 file changed, 26 insertions(+), 23 deletions(-) diff --git a/Gitea/theme-gitea-modern.user.css b/Gitea/theme-gitea-modern.user.css index 588a0cf..37c37a7 100644 --- a/Gitea/theme-gitea-modern.user.css +++ b/Gitea/theme-gitea-modern.user.css @@ -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); } -} +} \ No newline at end of file