This commit is contained in:
Free 2021-10-30 17:58:25 +02:00
parent fdca2fa6d0
commit 416fd2b523

View file

@ -1,6 +1,6 @@
/* ==UserStyle== /* ==UserStyle==
@name Gitea Modern @name Gitea Modern
@version 1.0.10 @version 1.0.11
@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
@ -85,7 +85,7 @@
.ui.compact.button { .ui.compact.button {
padding-top: 0.3em; padding-top: 0.3em;
padding-bottom: 0.3em; padding-bottom: 0.3em;
min-height: 0.8em; min-height: 2.4em;
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
} }
@ -150,6 +150,42 @@
padding-left: 0 !important; padding-left: 0 !important;
padding-right: 0 !important; padding-right: 0 !important;
} }
.popup.tiny.inverted {
background: var(--color-body);
color: var(--color-text);
box-shadow: var(--lm-large-shadow);
border: 1px solid var(--color-secondary);
pointer-events: none;
z-index: 9999999;
}
.popup.tiny.inverted::before {
background: var(--color-body) !important;
z-index: -99999 !important;
border-color: var(--color-secondary) !important;
}
.ui.left.popup::before {
border: 0;
border-top: 1px solid;
border-right: 1px solid;
}
.ui.right.popup::before {
border: 0;
border-left: 1px solid;
border-bottom: 1px solid;
}
.ui.top.popup::before {
border: 0;
border-right: 1px solid;
border-bottom: 1px solid;
}
.ui.bottom.popup::before {
border: 0;
border-top: 1px solid;
border-left: 1px solid;
}
.settings > .ui.container {
max-width: 1150px !important;
}
.ui.two.column.stackable.grid > .column { .ui.two.column.stackable.grid > .column {
width: auto !important; width: auto !important;
flex-grow: 1; flex-grow: 1;
@ -191,42 +227,6 @@
.full.height > span[style="display: inline !important;"]:first-child ~ .page-content #user-heatmap + .divider { .full.height > span[style="display: inline !important;"]:first-child ~ .page-content #user-heatmap + .divider {
display: none !important; display: none !important;
} }
.popup.tiny.inverted {
background: var(--color-body);
color: var(--color-text);
box-shadow: var(--lm-large-shadow);
border: 1px solid var(--color-secondary);
pointer-events: none;
z-index: 1000;
}
.popup.tiny.inverted::before {
background: var(--color-body) !important;
z-index: -99999 !important;
border-color: var(--color-secondary) !important;
}
.ui.left.popup::before {
border: 0;
border-top: 1px solid;
border-right: 1px solid;
}
.ui.right.popup::before {
border: 0;
border-left: 1px solid;
border-bottom: 1px solid;
}
.ui.top.popup::before {
border: 0;
border-right: 1px solid;
border-bottom: 1px solid;
}
.ui.bottom.popup::before {
border: 0;
border-top: 1px solid;
border-left: 1px solid;
}
.settings > .ui.container {
max-width: 1150px !important;
}
#user-heatmap { #user-heatmap {
overflow: auto hidden; overflow: auto hidden;
justify-content: flex-start; justify-content: flex-start;
@ -416,10 +416,9 @@
position: relative; position: relative;
min-height: var(--min-height); min-height: var(--min-height);
align-items: center; align-items: center;
z-index: 99999;
} }
.following.bar #navbar { .following.bar #navbar {
padding: 0 calc(2px + 1%) !important; padding: 0 calc(4px + 1%) !important;
background: none !important; background: none !important;
max-width: 100rem; max-width: 100rem;
transition: padding 1s; transition: padding 1s;
@ -431,7 +430,7 @@
color: var(--color-text-dark) !important; color: var(--color-text-dark) !important;
font-size: 1rem !important; font-size: 1rem !important;
font-weight: 600; font-weight: 600;
padding: 0 calc(0px + 1.1%); padding: 0 calc(0px + 1%);
height: calc(var(--min-height) + 1px) !important; height: calc(var(--min-height) + 1px) !important;
margin: 0 !important; margin: 0 !important;
border-radius: 0; border-radius: 0;
@ -1534,9 +1533,6 @@
padding-left: 0; padding-left: 0;
} }
#release-list .four.wide.column { #release-list .four.wide.column {
position: sticky !important;
top: 0px;
height: min-content;
width: 150px !important; width: 150px !important;
} }
.explore, .explore,
@ -1946,8 +1942,8 @@
} }
.ui.repository.list .item, .ui.repository.list .item,
.ui.user.list .item { .ui.user.list .item {
width: 400px;
width: 100%; width: 100%;
max-width: calc(100vw - 40px);
min-height: unset !important; min-height: unset !important;
padding: 14px 16px !important; padding: 14px 16px !important;
border: 1px solid var(--color-secondary); border: 1px solid var(--color-secondary);