- Remove uppercasing on fork names (#28)
- Fixed icon missplacement in comments (#27)
- More fixes

(also fix files WOOPS)
This commit is contained in:
Gitea 2022-05-06 19:10:28 -04:00
parent d648d0a3fa
commit a613516c66
8 changed files with 223 additions and 5663 deletions

File diff suppressed because one or more lines are too long

View file

@ -1,8 +1,10 @@
// main: theme-gitea-modern.user.styl, out: theme-gitea-modern.css, compress: true // main: theme-gitea-modern.user.styl, out: theme-gitea-modern.css, compress: true
// Ignore above, just compiler stuff
/* Update 1.0.16 /* Update 1.0.15
- Fixed issue #26 - Remove uppercasing on fork names (#28)
- Fixed repo files hover rows color thingy thing - Fixed icon missplacement in comments (#27)
- More fixes
*/ */
:root { :root {
@ -18,6 +20,7 @@ a[rel*="nofollow"]:not(.ui), .link:not(.ui) {
text-underline-offset: 5px; text-underline-offset: 5px;
} }
} }
*:not(input) { *:not(input) {
outline: 0px dashed var(--color-primary); outline: 0px dashed var(--color-primary);
outline-offset: -3px; outline-offset: -3px;
@ -157,7 +160,7 @@ a[rel*="nofollow"]:not(.ui), .link:not(.ui) {
background: var(--color-body); background: var(--color-body);
color: var(--color-text); color: var(--color-text);
box-shadow: var(--lt-shadowDefault) !important; box-shadow: var(--lt-shadowDefault) !important;
// border: 1px solid var(--color-secondary); border: 1px solid var(--color-secondary);
pointer-events: none; pointer-events: none;
z-index: 9999999; z-index: 9999999;
&::before { &::before {
@ -408,7 +411,6 @@ a[rel*="nofollow"]:not(.ui), .link:not(.ui) {
.new-menu-inner { .new-menu-inner {
width: 1150px; width: 1150px;
padding: 0 20px; padding: 0 20px;
scrollbar-width: thin;
} }
.item { .item {
// font-weight: 600; // font-weight: 600;
@ -525,7 +527,7 @@ html {
.right { .right {
position: sticky; position: sticky;
right: 1%; right: 1%;
background: none !important; background-color: var(--color-navbar);
box-shadow: 100px 0px 0 var(--color-navbar); box-shadow: 100px 0px 0 var(--color-navbar);
width: 100%; width: 100%;
min-width: max-content; min-width: max-content;
@ -993,7 +995,6 @@ html {
font-size: 1rem; font-size: 1rem;
margin-left: 8px; margin-left: 8px;
margin-right: 4px; margin-right: 4px;
text-transform: capitalize;
font-weight: 500; font-weight: 500;
} }
} }
@ -1130,8 +1131,7 @@ html {
position: relative; position: relative;
width: 100%; width: 100%;
display: flex !important; display: flex !important;
align-items: stretch; align-items: center;
background: none !important;
td:first-child { td:first-child {
width: 250px; width: 250px;
max-width: 50%; max-width: 50%;
@ -1141,13 +1141,6 @@ html {
max-width: unset; max-width: unset;
flex-grow: 1; flex-grow: 1;
} }
td, th {
display: flex !important;
align-items: center;
}
td {
justify-content: flex-end;
}
} }
td::before { td::before {
content: ""; content: "";
@ -1224,26 +1217,39 @@ html {
margin-left: -16px; margin-left: -16px;
} }
.timeline-item { .timeline-item {
&.comment {
display: flex;
.content {
flex-grow: 1
}
}
.timeline-avatar { .timeline-avatar {
position: relative;
left: 0; left: 0;
// top: .5em; // top: .5em;
width: 0;
margin-top: .7em; margin-top: .7em;
z-index: 2; z-index: 2;
img { img, svg {
margin: 0; margin: 0;
height: 1.6em !important; height: 1.6em !important;
min-width: 1.6em;
width: 1.6em !important; width: 1.6em !important;
} }
} }
&.form .timeline-avatar { &.form .timeline-avatar {
display: none !important; display: none !important;
} }
.comment-header::before, .comment-header::after, .comment-header, .form, .no-header {
.form::before, .form::after { &::after, &::before {
content: unset !important; content: unset !important;
}
} }
.comment-header-left { .comment-header-left, .no-header > .text {
padding-left: calc(1.7em + 8px) !important; // padding-left: calc(1.7em + 14px) !important;
}
.header {
padding-left: calc(1.7em + 22px) !important;
} }
.reactions { .reactions {
border: 0 !important; border: 0 !important;
@ -2003,7 +2009,7 @@ html {
} }
/*** DASHBOARD ***/ /*** DASHBOARD ***/
.dashboard:not(.admin) { .dashboard {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
margin: auto; margin: auto;

View file

@ -1,10 +1,11 @@
/* ==UserStyle== /* ==UserStyle==
@name Gitea Modern @name Gitea Modern
@version 1.0.16 @version 1.0.15
@description A modern style for Gitea and Codeberg! @description A modern style for Gitea and Codeberg!
@updateURL https://codeberg.org/Freeplay/CSS-Styles/raw/branch/main/Gitea/theme-gitea-modern.user.css @updateURL https://codeberg.org/Freeplay/CSS-Styles/raw/branch/main/Gitea/theme-gitea-modern.user.css
@homepageURL https://codeberg.org/Freeplay/CSS-Styles @homepageURL https://codeberg.org/Freeplay/CSS-Styles
@supportURL https://codeberg.org/Freeplay/CSS-Styles/issues @supportURL https://codeberg.org/Freeplay/CSS-Styles/issues
@preprocessor stylus
-- AUTHOR STUFF -- -- AUTHOR STUFF --
@namespace Freeplay @namespace Freeplay
@ -157,6 +158,7 @@
background: var(--color-body); background: var(--color-body);
color: var(--color-text); color: var(--color-text);
box-shadow: var(--lt-shadowDefault) !important; box-shadow: var(--lt-shadowDefault) !important;
border: 1px solid var(--color-secondary);
pointer-events: none; pointer-events: none;
z-index: 9999999; z-index: 9999999;
} }
@ -376,7 +378,6 @@
.ui.secondary.pointing.menu .new-menu-inner { .ui.secondary.pointing.menu .new-menu-inner {
width: 1150px; width: 1150px;
padding: 0 20px; padding: 0 20px;
scrollbar-width: thin;
} }
.ui.secondary.pointing.menu .item { .ui.secondary.pointing.menu .item {
border: none; border: none;
@ -486,7 +487,7 @@
.following.bar #navbar .right { .following.bar #navbar .right {
position: sticky; position: sticky;
right: 1%; right: 1%;
background: none !important; background-color: var(--color-navbar);
box-shadow: 100px 0px 0 var(--color-navbar); box-shadow: 100px 0px 0 var(--color-navbar);
width: 100%; width: 100%;
min-width: max-content; min-width: max-content;
@ -886,7 +887,6 @@
font-size: 1rem; font-size: 1rem;
margin-left: 8px; margin-left: 8px;
margin-right: 4px; margin-right: 4px;
text-transform: capitalize;
font-weight: 500; font-weight: 500;
} }
.page-content.repository:not(.milestones) > .ui.container .mobile--no-negative-margins .breadcrumb { .page-content.repository:not(.milestones) > .ui.container .mobile--no-negative-margins .breadcrumb {
@ -1016,8 +1016,7 @@
position: relative; position: relative;
width: 100%; width: 100%;
display: flex !important; display: flex !important;
align-items: stretch; align-items: center;
background: none !important;
} }
.page-content.repository:not(.milestones) > .ui.container #repo-files-table tr td:first-child { .page-content.repository:not(.milestones) > .ui.container #repo-files-table tr td:first-child {
width: 250px; width: 250px;
@ -1028,14 +1027,6 @@
max-width: unset; max-width: unset;
flex-grow: 1; flex-grow: 1;
} }
.page-content.repository:not(.milestones) > .ui.container #repo-files-table tr td,
.page-content.repository:not(.milestones) > .ui.container #repo-files-table tr th {
display: flex !important;
align-items: center;
}
.page-content.repository:not(.milestones) > .ui.container #repo-files-table tr td {
justify-content: flex-end;
}
.page-content.repository:not(.milestones) > .ui.container #repo-files-table td::before { .page-content.repository:not(.milestones) > .ui.container #repo-files-table td::before {
content: ""; content: "";
position: absolute !important; position: absolute !important;
@ -1102,27 +1093,39 @@
.page-content.repository:not(.milestones) > .ui.container .ui.timeline { .page-content.repository:not(.milestones) > .ui.container .ui.timeline {
margin-left: -16px; margin-left: -16px;
} }
.page-content.repository:not(.milestones) > .ui.container .timeline-item.comment {
display: flex;
}
.page-content.repository:not(.milestones) > .ui.container .timeline-item.comment .content {
flex-grow: 1;
}
.page-content.repository:not(.milestones) > .ui.container .timeline-item .timeline-avatar { .page-content.repository:not(.milestones) > .ui.container .timeline-item .timeline-avatar {
position: relative;
left: 0; left: 0;
width: 0;
margin-top: 0.7em; margin-top: 0.7em;
z-index: 2; z-index: 2;
} }
.page-content.repository:not(.milestones) > .ui.container .timeline-item .timeline-avatar img { .page-content.repository:not(.milestones) > .ui.container .timeline-item .timeline-avatar img,
.page-content.repository:not(.milestones) > .ui.container .timeline-item .timeline-avatar svg {
margin: 0; margin: 0;
height: 1.6em !important; height: 1.6em !important;
min-width: 1.6em;
width: 1.6em !important; width: 1.6em !important;
} }
.page-content.repository:not(.milestones) > .ui.container .timeline-item.form .timeline-avatar { .page-content.repository:not(.milestones) > .ui.container .timeline-item.form .timeline-avatar {
display: none !important; display: none !important;
} }
.page-content.repository:not(.milestones) > .ui.container .timeline-item .comment-header::before,
.page-content.repository:not(.milestones) > .ui.container .timeline-item .comment-header::after, .page-content.repository:not(.milestones) > .ui.container .timeline-item .comment-header::after,
.page-content.repository:not(.milestones) > .ui.container .timeline-item .form::after,
.page-content.repository:not(.milestones) > .ui.container .timeline-item .no-header::after,
.page-content.repository:not(.milestones) > .ui.container .timeline-item .comment-header::before,
.page-content.repository:not(.milestones) > .ui.container .timeline-item .form::before, .page-content.repository:not(.milestones) > .ui.container .timeline-item .form::before,
.page-content.repository:not(.milestones) > .ui.container .timeline-item .form::after { .page-content.repository:not(.milestones) > .ui.container .timeline-item .no-header::before {
content: unset !important; content: unset !important;
} }
.page-content.repository:not(.milestones) > .ui.container .timeline-item .comment-header-left { .page-content.repository:not(.milestones) > .ui.container .timeline-item .header {
padding-left: calc(1.7em + 8px) !important; padding-left: calc(1.7em + 22px) !important;
} }
.page-content.repository:not(.milestones) > .ui.container .timeline-item .reactions { .page-content.repository:not(.milestones) > .ui.container .timeline-item .reactions {
border: 0 !important; border: 0 !important;
@ -2314,7 +2317,7 @@
margin-bottom: -1.45em !important; margin-bottom: -1.45em !important;
margin-left: -22px !important; margin-left: -22px !important;
} }
.dashboard:not(.admin) { .dashboard {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
margin: auto; margin: auto;
@ -2327,7 +2330,7 @@
/* Main Content */ /* Main Content */
/* Right Sidebar */ /* Right Sidebar */
} }
.dashboard:not(.admin) .dashboard-navbar { .dashboard .dashboard-navbar {
width: auto; width: auto;
position: sticky; position: sticky;
bottom: 10px; bottom: 10px;
@ -2341,27 +2344,27 @@
margin-bottom: 40px; margin-bottom: 40px;
background-color: var(--color-bg); background-color: var(--color-bg);
} }
.dashboard:not(.admin) .dashboard-navbar > .menu { .dashboard .dashboard-navbar > .menu {
padding-top: 0 !important; padding-top: 0 !important;
padding-right: 0 !important; padding-right: 0 !important;
} }
.dashboard:not(.admin) .dashboard-navbar .button { .dashboard .dashboard-navbar .button {
white-space: nowrap; white-space: nowrap;
max-width: 100% !important; max-width: 100% !important;
padding-inline: 10px !important; padding-inline: 10px !important;
overflow: hidden; overflow: hidden;
} }
.dashboard:not(.admin) .dashboard-navbar > .ui { .dashboard .dashboard-navbar > .ui {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
flex-direction: row !important; flex-direction: row !important;
padding-top: 20px; padding-top: 20px;
} }
.dashboard:not(.admin) .dashboard-navbar > .ui .right.right { .dashboard .dashboard-navbar > .ui .right.right {
display: contents; display: contents;
} }
.dashboard:not(.admin) .dashboard-navbar > .ui > .item, .dashboard .dashboard-navbar > .ui > .item,
.dashboard:not(.admin) .dashboard-navbar > .ui > .right > .item { .dashboard .dashboard-navbar > .ui > .right > .item {
flex-direction: column; flex-direction: column;
margin: 0px !important; margin: 0px !important;
text-align: center; text-align: center;
@ -2374,52 +2377,52 @@
width: 80px !important; width: 80px !important;
text-indent: -0.35em !important; text-indent: -0.35em !important;
} }
.dashboard:not(.admin) .dashboard-navbar > .ui > .item > .dropdown, .dashboard .dashboard-navbar > .ui > .item > .dropdown,
.dashboard:not(.admin) .dashboard-navbar > .ui > .right > .item > .dropdown, .dashboard .dashboard-navbar > .ui > .right > .item > .dropdown,
.dashboard:not(.admin) .dashboard-navbar > .ui > .item .button, .dashboard .dashboard-navbar > .ui > .item .button,
.dashboard:not(.admin) .dashboard-navbar > .ui > .right > .item .button { .dashboard .dashboard-navbar > .ui > .right > .item .button {
text-indent: 0px !important; text-indent: 0px !important;
} }
.dashboard:not(.admin) .dashboard-navbar > .ui > .item span, .dashboard .dashboard-navbar > .ui > .item span,
.dashboard:not(.admin) .dashboard-navbar > .ui > .right > .item span { .dashboard .dashboard-navbar > .ui > .right > .item span {
text-align: center; text-align: center;
} }
.dashboard:not(.admin) .dashboard-navbar > .ui > .item .label, .dashboard .dashboard-navbar > .ui > .item .label,
.dashboard:not(.admin) .dashboard-navbar > .ui > .right > .item .label { .dashboard .dashboard-navbar > .ui > .right > .item .label {
margin: 0 !important; margin: 0 !important;
} }
.dashboard:not(.admin) .dashboard-navbar > .ui > .item svg:not(.octicon-plus), .dashboard .dashboard-navbar > .ui > .item svg:not(.octicon-plus),
.dashboard:not(.admin) .dashboard-navbar > .ui > .right > .item svg:not(.octicon-plus) { .dashboard .dashboard-navbar > .ui > .right > .item svg:not(.octicon-plus) {
width: 100%; width: 100%;
height: 22px; height: 22px;
margin: 0 !important; margin: 0 !important;
margin-bottom: 10px !important; margin-bottom: 10px !important;
} }
.dashboard:not(.admin) .dashboard-navbar > .ui > .item .dropdown > span, .dashboard .dashboard-navbar > .ui > .item .dropdown > span,
.dashboard:not(.admin) .dashboard-navbar > .ui > .right > .item .dropdown > span { .dashboard .dashboard-navbar > .ui > .right > .item .dropdown > span {
flex-direction: column; flex-direction: column;
} }
.dashboard:not(.admin) .dashboard-navbar > .ui > .item .dropdown > span img, .dashboard .dashboard-navbar > .ui > .item .dropdown > span img,
.dashboard:not(.admin) .dashboard-navbar > .ui > .right > .item .dropdown > span img { .dashboard .dashboard-navbar > .ui > .right > .item .dropdown > span img {
margin: 0 auto; margin: 0 auto;
width: 40px; width: 40px;
height: 40px !important; height: 40px !important;
max-height: unset; max-height: unset;
margin-bottom: 10px; margin-bottom: 10px;
} }
.dashboard:not(.admin) .dashboard-navbar > .ui > .item .dropdown > span .icon, .dashboard .dashboard-navbar > .ui > .item .dropdown > span .icon,
.dashboard:not(.admin) .dashboard-navbar > .ui > .right > .item .dropdown > span .icon { .dashboard .dashboard-navbar > .ui > .right > .item .dropdown > span .icon {
margin-bottom: 0 !important; margin-bottom: 0 !important;
} }
.dashboard:not(.admin) .dashboard-navbar > .ui > .item .dropdown > span .avatar, .dashboard .dashboard-navbar > .ui > .item .dropdown > span .avatar,
.dashboard:not(.admin) .dashboard-navbar > .ui > .right > .item .dropdown > span .avatar { .dashboard .dashboard-navbar > .ui > .right > .item .dropdown > span .avatar {
border-radius: var(--base-border-radius); border-radius: var(--base-border-radius);
} }
.dashboard:not(.admin) .dashboard-navbar > .ui > .item .dropdown > span span, .dashboard .dashboard-navbar > .ui > .item .dropdown > span span,
.dashboard:not(.admin) .dashboard-navbar > .ui > .right > .item .dropdown > span span { .dashboard .dashboard-navbar > .ui > .right > .item .dropdown > span span {
margin-bottom: -4px; margin-bottom: -4px;
} }
.dashboard:not(.admin) > .ui.container { .dashboard > .ui.container {
margin: 0 auto !important; margin: 0 auto !important;
display: flex; display: flex;
flex-wrap: wrap-reverse !important; flex-wrap: wrap-reverse !important;
@ -2429,45 +2432,45 @@
border-top: 1px solid var(--color-secondary); border-top: 1px solid var(--color-secondary);
--container-padding-x: calc(2.5% + 0px); --container-padding-x: calc(2.5% + 0px);
} }
.dashboard:not(.admin) > .ui.container > .ui.stackable.grid { .dashboard > .ui.container > .ui.stackable.grid {
width: 100%; width: 100%;
justify-content: center; justify-content: center;
margin: 0; margin: 0;
/* Change to row wrapping for better responsiveness, aswell as adding a border to better differenciate buttons */ /* Change to row wrapping for better responsiveness, aswell as adding a border to better differenciate buttons */
} }
.dashboard:not(.admin) > .ui.container > .ui.stackable.grid > .ten.column { .dashboard > .ui.container > .ui.stackable.grid > .ten.column {
z-index: 1; z-index: 1;
padding: 15px var(--container-padding-x) !important; padding: 15px var(--container-padding-x) !important;
padding-bottom: var(--container-padding-x) !important; padding-bottom: var(--container-padding-x) !important;
margin: 0 auto !important; margin: 0 auto !important;
} }
.dashboard:not(.admin) > .ui.container > .ui.stackable.grid > .column { .dashboard > .ui.container > .ui.stackable.grid > .column {
max-width: calc(100vw - 40px); max-width: calc(100vw - 40px);
margin: 0 auto; margin: 0 auto;
flex-grow: 1; flex-grow: 1;
} }
.dashboard:not(.admin) > .ui.container > .ui.stackable.grid > .column #user-heatmap + .divider { .dashboard > .ui.container > .ui.stackable.grid > .column #user-heatmap + .divider {
border-bottom: 0; border-bottom: 0;
} }
.dashboard:not(.admin) > .ui.container > .ui.stackable.grid > .column .ui.secondary.menu, .dashboard > .ui.container > .ui.stackable.grid > .column .ui.secondary.menu,
.dashboard:not(.admin) > .ui.container > .ui.stackable.grid > .column .ui.stackable.grid { .dashboard > .ui.container > .ui.stackable.grid > .column .ui.stackable.grid {
margin-left: 0 !important; margin-left: 0 !important;
margin-right: 0 !important; margin-right: 0 !important;
} }
.dashboard:not(.admin) > .ui.container > .ui.stackable.grid .four.wide.column { .dashboard > .ui.container > .ui.stackable.grid .four.wide.column {
min-width: 230px; min-width: 230px;
} }
.dashboard:not(.admin) > .ui.container > .ui.stackable.grid .four.wide.column + div { .dashboard > .ui.container > .ui.stackable.grid .four.wide.column + div {
flex-grow: 9999; flex-grow: 9999;
} }
.dashboard:not(.admin) > .ui.container > .ui.stackable.grid .four.wide.column > .menu { .dashboard > .ui.container > .ui.stackable.grid .four.wide.column > .menu {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap;
margin: 0 -6px !important; margin: 0 -6px !important;
background: none !important; background: none !important;
} }
.dashboard:not(.admin) > .ui.container > .ui.stackable.grid .four.wide.column > .menu a { .dashboard > .ui.container > .ui.stackable.grid .four.wide.column > .menu a {
display: flex; display: flex;
flex: 1 0 auto; flex: 1 0 auto;
min-width: 200px; min-width: 200px;
@ -2475,25 +2478,25 @@
border: 1px solid var(--color-secondary); border: 1px solid var(--color-secondary);
margin: 3px 6px; margin: 3px 6px;
} }
.dashboard:not(.admin) > .ui.container > .ui.stackable.grid .four.wide.column > .menu a .right { .dashboard > .ui.container > .ui.stackable.grid .four.wide.column > .menu a .right {
margin-left: auto; margin-left: auto;
} }
.dashboard:not(.admin) > .ui.container > .ui.stackable.grid .four.wide.column > .menu a span { .dashboard > .ui.container > .ui.stackable.grid .four.wide.column > .menu a span {
width: 100%; width: 100%;
} }
.dashboard:not(.admin) > .ui.container > .ui.stackable.grid .four.wide.column > .menu a .label { .dashboard > .ui.container > .ui.stackable.grid .four.wide.column > .menu a .label {
margin-left: 8px; margin-left: 8px;
} }
.dashboard:not(.admin) > .ui.container > .ui.stackable.grid .four.wide.column > .menu a:hover { .dashboard > .ui.container > .ui.stackable.grid .four.wide.column > .menu a:hover {
background-color: var(--color-light); background-color: var(--color-light);
} }
.dashboard:not(.admin) > .ui.container > .ui.stackable.grid .four.wide.column > .menu .ui.divider { .dashboard > .ui.container > .ui.stackable.grid .four.wide.column > .menu .ui.divider {
/* Do what a divider is suppose to do, separate into two rows. */ /* Do what a divider is suppose to do, separate into two rows. */
width: 100%; width: 100%;
margin: 12px 6px; margin: 12px 6px;
} }
.dashboard:not(.admin) #app, .dashboard #app,
.dashboard:not(.admin) #dashboard-repo-list { .dashboard #dashboard-repo-list {
height: min-content; height: min-content;
position: sticky; position: sticky;
bottom: 0; bottom: 0;
@ -2508,15 +2511,15 @@
max-width: 100% !important; max-width: 100% !important;
flex-shrink: 9999; flex-shrink: 9999;
} }
.dashboard:not(.admin) #app > div, .dashboard #app > div,
.dashboard:not(.admin) #dashboard-repo-list > div { .dashboard #dashboard-repo-list > div {
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
min-height: calc(100vh - 30px); min-height: calc(100vh - 30px);
} }
.dashboard:not(.admin) #app::before, .dashboard #app::before,
.dashboard:not(.admin) #dashboard-repo-list::before { .dashboard #dashboard-repo-list::before {
content: ""; content: "";
position: absolute; position: absolute;
bottom: -15px; bottom: -15px;
@ -2528,18 +2531,18 @@
background: var(--color-light); background: var(--color-light);
box-shadow: 200vw 0 var(--color-body), inset 0 -8px 8px rgba(0,0,0,0.07); box-shadow: 200vw 0 var(--color-body), inset 0 -8px 8px rgba(0,0,0,0.07);
} }
.dashboard:not(.admin) #app .tabable, .dashboard #app .tabable,
.dashboard:not(.admin) #dashboard-repo-list .tabable { .dashboard #dashboard-repo-list .tabable {
background: none; background: none;
margin-right: 0 !important; margin-right: 0 !important;
box-sizing: border-box; box-sizing: border-box;
width: unset; width: unset;
margin-bottom: 0; margin-bottom: 0;
} }
.dashboard:not(.admin) #app .dashboard-repos, .dashboard #app .dashboard-repos,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos, .dashboard #dashboard-repo-list .dashboard-repos,
.dashboard:not(.admin) #app .dashboard-orgs, .dashboard #app .dashboard-orgs,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs { .dashboard #dashboard-repo-list .dashboard-orgs {
margin: 0 -10px !important; margin: 0 -10px !important;
padding: 0 10px; padding: 0 10px;
overflow-y: auto; overflow-y: auto;
@ -2552,29 +2555,29 @@
padding-top: 15px; padding-top: 15px;
scrollbar-color: var(--color-secondary) transparent; scrollbar-color: var(--color-secondary) transparent;
} }
.dashboard:not(.admin) #app .dashboard-repos .repos-search .input, .dashboard #app .dashboard-repos .repos-search .input,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos .repos-search .input, .dashboard #dashboard-repo-list .dashboard-repos .repos-search .input,
.dashboard:not(.admin) #app .dashboard-orgs .repos-search .input, .dashboard #app .dashboard-orgs .repos-search .input,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs .repos-search .input { .dashboard #dashboard-repo-list .dashboard-orgs .repos-search .input {
margin-bottom: 8px; margin-bottom: 8px;
} }
.dashboard:not(.admin) #app .dashboard-repos > .ui:last-child, .dashboard #app .dashboard-repos > .ui:last-child,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos > .ui:last-child, .dashboard #dashboard-repo-list .dashboard-repos > .ui:last-child,
.dashboard:not(.admin) #app .dashboard-orgs > .ui:last-child, .dashboard #app .dashboard-orgs > .ui:last-child,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs > .ui:last-child { .dashboard #dashboard-repo-list .dashboard-orgs > .ui:last-child {
margin-bottom: 78px; margin-bottom: 78px;
} }
.dashboard:not(.admin) #app .dashboard-repos > *, .dashboard #app .dashboard-repos > *,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos > *, .dashboard #dashboard-repo-list .dashboard-repos > *,
.dashboard:not(.admin) #app .dashboard-orgs > *, .dashboard #app .dashboard-orgs > *,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs > * { .dashboard #dashboard-repo-list .dashboard-orgs > * {
border: 0; border: 0;
background: none; background: none;
} }
.dashboard:not(.admin) #app .dashboard-repos .label, .dashboard #app .dashboard-repos .label,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos .label, .dashboard #dashboard-repo-list .dashboard-repos .label,
.dashboard:not(.admin) #app .dashboard-orgs .label, .dashboard #app .dashboard-orgs .label,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs .label { .dashboard #dashboard-repo-list .dashboard-orgs .label {
padding: 0 0.5em !important; padding: 0 0.5em !important;
height: 1.4em; height: 1.4em;
min-height: unset; min-height: unset;
@ -2584,10 +2587,10 @@
background: none; background: none;
margin-left: 0.5em; margin-left: 0.5em;
} }
.dashboard:not(.admin) #app .dashboard-repos .label::before, .dashboard #app .dashboard-repos .label::before,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos .label::before, .dashboard #dashboard-repo-list .dashboard-repos .label::before,
.dashboard:not(.admin) #app .dashboard-orgs .label::before, .dashboard #app .dashboard-orgs .label::before,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs .label::before { .dashboard #dashboard-repo-list .dashboard-orgs .label::before {
content: ""; content: "";
position: absolute; position: absolute;
inset: 0; inset: 0;
@ -2596,108 +2599,108 @@
z-index: -1; z-index: -1;
border-radius: 100px; border-radius: 100px;
} }
.dashboard:not(.admin) #app .dashboard-repos .header, .dashboard #app .dashboard-repos .header,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos .header, .dashboard #dashboard-repo-list .dashboard-repos .header,
.dashboard:not(.admin) #app .dashboard-orgs .header, .dashboard #app .dashboard-orgs .header,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs .header { .dashboard #dashboard-repo-list .dashboard-orgs .header {
font-weight: 600; font-weight: 600;
} }
.dashboard:not(.admin) #app .dashboard-repos .header a, .dashboard #app .dashboard-repos .header a,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos .header a, .dashboard #dashboard-repo-list .dashboard-repos .header a,
.dashboard:not(.admin) #app .dashboard-orgs .header a, .dashboard #app .dashboard-orgs .header a,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs .header a { .dashboard #dashboard-repo-list .dashboard-orgs .header a {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.dashboard:not(.admin) #app .dashboard-repos .header a svg, .dashboard #app .dashboard-repos .header a svg,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos .header a svg, .dashboard #dashboard-repo-list .dashboard-repos .header a svg,
.dashboard:not(.admin) #app .dashboard-orgs .header a svg, .dashboard #app .dashboard-orgs .header a svg,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs .header a svg { .dashboard #dashboard-repo-list .dashboard-orgs .header a svg {
width: 18px; width: 18px;
height: 18px; height: 18px;
} }
.dashboard:not(.admin) #app .dashboard-repos .header, .dashboard #app .dashboard-repos .header,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos .header, .dashboard #dashboard-repo-list .dashboard-repos .header,
.dashboard:not(.admin) #app .dashboard-orgs .header, .dashboard #app .dashboard-orgs .header,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs .header, .dashboard #dashboard-repo-list .dashboard-orgs .header,
.dashboard:not(.admin) #app .dashboard-repos .repos-search, .dashboard #app .dashboard-repos .repos-search,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos .repos-search, .dashboard #dashboard-repo-list .dashboard-repos .repos-search,
.dashboard:not(.admin) #app .dashboard-orgs .repos-search, .dashboard #app .dashboard-orgs .repos-search,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs .repos-search { .dashboard #dashboard-repo-list .dashboard-orgs .repos-search {
padding-left: 5px; padding-left: 5px;
padding-right: 5px; padding-right: 5px;
} }
.dashboard:not(.admin) #app .dashboard-repos .repos-search, .dashboard #app .dashboard-repos .repos-search,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos .repos-search, .dashboard #dashboard-repo-list .dashboard-repos .repos-search,
.dashboard:not(.admin) #app .dashboard-orgs .repos-search, .dashboard #app .dashboard-orgs .repos-search,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs .repos-search { .dashboard #dashboard-repo-list .dashboard-orgs .repos-search {
padding-top: 0; padding-top: 0;
} }
.dashboard:not(.admin) #app .dashboard-repos .repos-search input, .dashboard #app .dashboard-repos .repos-search input,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos .repos-search input, .dashboard #dashboard-repo-list .dashboard-repos .repos-search input,
.dashboard:not(.admin) #app .dashboard-orgs .repos-search input, .dashboard #app .dashboard-orgs .repos-search input,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs .repos-search input, .dashboard #dashboard-repo-list .dashboard-orgs .repos-search input,
.dashboard:not(.admin) #app .dashboard-repos .repos-search .button, .dashboard #app .dashboard-repos .repos-search .button,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos .repos-search .button, .dashboard #dashboard-repo-list .dashboard-repos .repos-search .button,
.dashboard:not(.admin) #app .dashboard-orgs .repos-search .button, .dashboard #app .dashboard-orgs .repos-search .button,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs .repos-search .button { .dashboard #dashboard-repo-list .dashboard-orgs .repos-search .button {
background: none !important; background: none !important;
} }
.dashboard:not(.admin) #app .dashboard-repos .repos-filter, .dashboard #app .dashboard-repos .repos-filter,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos .repos-filter, .dashboard #dashboard-repo-list .dashboard-repos .repos-filter,
.dashboard:not(.admin) #app .dashboard-orgs .repos-filter, .dashboard #app .dashboard-orgs .repos-filter,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs .repos-filter { .dashboard #dashboard-repo-list .dashboard-orgs .repos-filter {
justify-content: flex-start; justify-content: flex-start;
} }
.dashboard:not(.admin) #app .dashboard-repos .repos-filter .item, .dashboard #app .dashboard-repos .repos-filter .item,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos .repos-filter .item, .dashboard #dashboard-repo-list .dashboard-repos .repos-filter .item,
.dashboard:not(.admin) #app .dashboard-orgs .repos-filter .item, .dashboard #app .dashboard-orgs .repos-filter .item,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs .repos-filter .item { .dashboard #dashboard-repo-list .dashboard-orgs .repos-filter .item {
padding: 0.85714286em 1.14285714em; padding: 0.85714286em 1.14285714em;
} }
.dashboard:not(.admin) #app .dashboard-repos .repos-filter .active, .dashboard #app .dashboard-repos .repos-filter .active,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos .repos-filter .active, .dashboard #dashboard-repo-list .dashboard-repos .repos-filter .active,
.dashboard:not(.admin) #app .dashboard-orgs .repos-filter .active, .dashboard #app .dashboard-orgs .repos-filter .active,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs .repos-filter .active { .dashboard #dashboard-repo-list .dashboard-orgs .repos-filter .active {
font-weight: 600; font-weight: 600;
} }
.dashboard:not(.admin) #app .dashboard-repos .repos-filter .active::before, .dashboard #app .dashboard-repos .repos-filter .active::before,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos .repos-filter .active::before, .dashboard #dashboard-repo-list .dashboard-repos .repos-filter .active::before,
.dashboard:not(.admin) #app .dashboard-orgs .repos-filter .active::before, .dashboard #app .dashboard-orgs .repos-filter .active::before,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs .repos-filter .active::before { .dashboard #dashboard-repo-list .dashboard-orgs .repos-filter .active::before {
content: unset !important; content: unset !important;
} }
.dashboard:not(.admin) #app .dashboard-repos .repos-filter .active .label, .dashboard #app .dashboard-repos .repos-filter .active .label,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos .repos-filter .active .label, .dashboard #dashboard-repo-list .dashboard-repos .repos-filter .active .label,
.dashboard:not(.admin) #app .dashboard-orgs .repos-filter .active .label, .dashboard #app .dashboard-orgs .repos-filter .active .label,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs .repos-filter .active .label { .dashboard #dashboard-repo-list .dashboard-orgs .repos-filter .active .label {
font-size: 1em; font-size: 1em;
} }
.dashboard:not(.admin) #app .dashboard-repos .table, .dashboard #app .dashboard-repos .table,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos .table, .dashboard #dashboard-repo-list .dashboard-repos .table,
.dashboard:not(.admin) #app .dashboard-orgs .table, .dashboard #app .dashboard-orgs .table,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs .table { .dashboard #dashboard-repo-list .dashboard-orgs .table {
margin-top: 4px; margin-top: 4px;
} }
.dashboard:not(.admin) #app .dashboard-repos li, .dashboard #app .dashboard-repos li,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos li, .dashboard #dashboard-repo-list .dashboard-repos li,
.dashboard:not(.admin) #app .dashboard-orgs li, .dashboard #app .dashboard-orgs li,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs li { .dashboard #dashboard-repo-list .dashboard-orgs li {
background: none; background: none;
font-weight: 700; font-weight: 700;
border: 0; border: 0;
} }
.dashboard:not(.admin) #app .dashboard-repos li a, .dashboard #app .dashboard-repos li a,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos li a, .dashboard #dashboard-repo-list .dashboard-repos li a,
.dashboard:not(.admin) #app .dashboard-orgs li a, .dashboard #app .dashboard-orgs li a,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs li a { .dashboard #dashboard-repo-list .dashboard-orgs li a {
padding: 5px 5px; padding: 5px 5px;
position: relative; position: relative;
} }
.dashboard:not(.admin) #app .dashboard-repos li a:hover:before, .dashboard #app .dashboard-repos li a:hover:before,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos li a:hover:before, .dashboard #dashboard-repo-list .dashboard-repos li a:hover:before,
.dashboard:not(.admin) #app .dashboard-orgs li a:hover:before, .dashboard #app .dashboard-orgs li a:hover:before,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs li a:hover:before { .dashboard #dashboard-repo-list .dashboard-orgs li a:hover:before {
content: ""; content: "";
position: absolute; position: absolute;
inset: -2px -6px; inset: -2px -6px;
@ -2706,26 +2709,26 @@
z-index: -1; z-index: -1;
opacity: 0.1; opacity: 0.1;
} }
.dashboard:not(.admin) #app .dashboard-repos li a .item-name, .dashboard #app .dashboard-repos li a .item-name,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos li a .item-name, .dashboard #dashboard-repo-list .dashboard-repos li a .item-name,
.dashboard:not(.admin) #app .dashboard-orgs li a .item-name, .dashboard #app .dashboard-orgs li a .item-name,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs li a .item-name { .dashboard #dashboard-repo-list .dashboard-orgs li a .item-name {
display: flex; display: flex;
align-items: center; align-items: center;
max-width: unset; max-width: unset;
margin-right: 10px; margin-right: 10px;
} }
.dashboard:not(.admin) #app .dashboard-repos li a .item-name svg, .dashboard #app .dashboard-repos li a .item-name svg,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos li a .item-name svg, .dashboard #dashboard-repo-list .dashboard-repos li a .item-name svg,
.dashboard:not(.admin) #app .dashboard-orgs li a .item-name svg, .dashboard #app .dashboard-orgs li a .item-name svg,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs li a .item-name svg { .dashboard #dashboard-repo-list .dashboard-orgs li a .item-name svg {
margin-right: 8px !important; margin-right: 8px !important;
min-width: 16px; min-width: 16px;
} }
.dashboard:not(.admin) #app .dashboard-repos li a strong, .dashboard #app .dashboard-repos li a strong,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-repos li a strong, .dashboard #dashboard-repo-list .dashboard-repos li a strong,
.dashboard:not(.admin) #app .dashboard-orgs li a strong, .dashboard #app .dashboard-orgs li a strong,
.dashboard:not(.admin) #dashboard-repo-list .dashboard-orgs li a strong { .dashboard #dashboard-repo-list .dashboard-orgs li a strong {
font-weight: 700; font-weight: 700;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;

View file

@ -1,12 +1,13 @@
// main: theme-gitea-modern.styl, out: theme-gitea-modern.user.css // out: theme-gitea-modern.user.css
/* ==UserStyle== /* ==UserStyle==
@name Gitea Modern @name Gitea Modern
@version 1.0.16 @version 1.0.15
@description A modern style for Gitea and Codeberg! @description A modern style for Gitea and Codeberg!
@updateURL https://codeberg.org/Freeplay/CSS-Styles/raw/branch/main/Gitea/theme-gitea-modern.user.css @updateURL https://codeberg.org/Freeplay/CSS-Styles/raw/branch/main/Gitea/theme-gitea-modern.user.css
@homepageURL https://codeberg.org/Freeplay/CSS-Styles @homepageURL https://codeberg.org/Freeplay/CSS-Styles
@supportURL https://codeberg.org/Freeplay/CSS-Styles/issues @supportURL https://codeberg.org/Freeplay/CSS-Styles/issues
@preprocessor stylus
-- AUTHOR STUFF -- -- AUTHOR STUFF --
@namespace Freeplay @namespace Freeplay
@ -15,13 +16,18 @@
@var text notice 'Make sure you are using the "Stylus" browser extension, not "Stylish"!' "'https://add0n.com/stylus.html'" @var text notice 'Make sure you are using the "Stylus" browser extension, not "Stylish"!' "'https://add0n.com/stylus.html'"
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("codeberg.org"), domain("gitea.com"), domain("try.gitea.io"), domain("gitdab.com"), domain("git.fsfe.org"), domain("git.passageenseine.fr"), domain("dev.sum7.eu") { @-moz-document domain("codeberg.org"), domain("gitea.com"), domain("try.gitea.io"), domain("gitdab.com"), domain("git.fsfe.org"), domain("git.passageenseine.fr"), domain("dev.sum7.eu") {
@import "theme-gitea-modern.styl"
@import "theme-gitea-modern.styl"
} }
@-moz-document domain("codeberg.org") { @-moz-document domain("codeberg.org") {
.item.brand a { /* Fix Codeberg Logo */
border-radius: 100px; .item.brand a {
background-color: var(--color-primary) !important; border-radius: 100px;
box-shadow: 0 1px 2px var(--color-primary); background-color: var(--color-primary) !important;
} box-shadow: 0 1px 2px var(--color-primary);
}
} }

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,33 +0,0 @@
// out: theme-gitea-modern.user.css
/* ==UserStyle==
@name Gitea Modern
@version 1.0.15
@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
@supportURL https://codeberg.org/Freeplay/CSS-Styles/issues
@preprocessor stylus
-- AUTHOR STUFF --
@namespace Freeplay
@author Freeplay (https://freeplay.codeberg.page/)
@var text notice 'Make sure you are using the "Stylus" browser extension, not "Stylish"!' "'https://add0n.com/stylus.html'"
==/UserStyle== */
@-moz-document domain("codeberg.org"), domain("gitea.com"), domain("try.gitea.io"), domain("gitdab.com"), domain("git.fsfe.org"), domain("git.passageenseine.fr"), domain("dev.sum7.eu") {
@import "theme-gitea-modern.styl"
}
@-moz-document domain("codeberg.org") {
/* Fix Codeberg Logo */
.item.brand a {
border-radius: 100px;
background-color: var(--color-primary) !important;
box-shadow: 0 1px 2px var(--color-primary);
}
}