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