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

View file

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

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);
}
}