mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 13:00:31 +00:00
Compare commits
6 Commits
v1.23.0-20
...
v1.23.1-20
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
49a1fad12a | ||
|
|
12f9f0044c | ||
|
|
eca01fc5c1 | ||
|
|
a624d5ff58 | ||
|
|
c787dea53e | ||
|
|
e95a272071 |
3
.github/release.md
vendored
3
.github/release.md
vendored
@@ -1 +1,2 @@
|
||||
仓库编程语言字体颜色同步 Github
|
||||
精调仓库代码页面侧边栏同步 Github
|
||||
仓库代码页面顶部统计栏颜色(提交/分支/标签)类似 Github
|
||||
@@ -7,7 +7,7 @@
|
||||
color: var(--color-text);
|
||||
|
||||
&:hover {
|
||||
color: var(--color-console-fg);
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
113
src/repo.scss
113
src/repo.scss
@@ -1,14 +1,4 @@
|
||||
// Made by Luting ^-^
|
||||
|
||||
/* 用户仓库列表字体颜色 */
|
||||
/* .repo-list-link {
|
||||
color: var(--color-blue) !important;
|
||||
} */
|
||||
|
||||
/* 头部 */
|
||||
/* #navbar {
|
||||
border-bottom: 0;
|
||||
} */
|
||||
.page-content > :first-child.secondary-nav {
|
||||
border-top: 0;
|
||||
background-color: var(--color-nav-bg) !important;
|
||||
@@ -102,6 +92,22 @@
|
||||
|
||||
// 仓库文件&提交列表
|
||||
.page-content.repository {
|
||||
// 顶部提交, 标签, 分支
|
||||
.repository-summary .segment.sub-menu {
|
||||
&.ui.segment {
|
||||
background-color: var(--color-box-header);
|
||||
}
|
||||
|
||||
.item {
|
||||
color: #9198a1;
|
||||
|
||||
b {
|
||||
color: #f0f6fc;
|
||||
margin: 0 2px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// clone 按钮居中调整
|
||||
.repo-button-row .repo-button-row-right .ui.primary.button span {
|
||||
display: flex;
|
||||
@@ -182,7 +188,90 @@
|
||||
}
|
||||
}
|
||||
|
||||
// 编程语言仅语言文字颜色
|
||||
.language-stats-details .item .tw-font-semibold {
|
||||
// 仓库代码页面侧边栏
|
||||
.page-content.repository {
|
||||
.repo-home-sidebar-top {
|
||||
a.muted:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.flex-item {
|
||||
.flex-item-body {
|
||||
padding: 8px 0;
|
||||
|
||||
.repo-description {
|
||||
color: #f0f6fc;
|
||||
}
|
||||
|
||||
#repo-topics {
|
||||
margin: 8px 0px !important;
|
||||
|
||||
.repo-topic.ui.label {
|
||||
font-size: 12px;
|
||||
padding: 5px 10px;
|
||||
margin: 0px 1.5px 3.5px 0px;
|
||||
}
|
||||
}
|
||||
|
||||
.flex-text-block {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.repo-home-sidebar-bottom {
|
||||
a.muted:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.flex-item {
|
||||
padding: 16px 0;
|
||||
|
||||
.flex-item {
|
||||
padding: 16px 0 0 0;
|
||||
|
||||
.flex-item-icon {
|
||||
svg.svg.octicon-tag {
|
||||
color: #3fb950;
|
||||
}
|
||||
}
|
||||
|
||||
.flex-item-header .flex-item-title {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
.flex-item-title .ui.small.label {
|
||||
background: var(--color-label-bg);
|
||||
color: var(--color-label-text);
|
||||
}
|
||||
|
||||
.flex-item-body {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
// 编程语言
|
||||
.language-stats {
|
||||
height: 8px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.language-stats-details .item {
|
||||
font-size: 12px;
|
||||
margin-right: 16px;
|
||||
|
||||
.color-icon {
|
||||
height: 8px;
|
||||
width: 8px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.tw-font-semibold {
|
||||
color: #f0f6fc;
|
||||
margin-right: 2px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
:root {
|
||||
--is-dark-theme: true;
|
||||
--border-radius: 6px;
|
||||
--font-weight-semibold: bold;
|
||||
--color-primary: var(--color-blue);
|
||||
--color-primary-contrast: #fff;
|
||||
--color-primary-dark-1: #739cb3;
|
||||
|
||||
@@ -1,4 +1,16 @@
|
||||
// Made by Luting ^-^
|
||||
@keyframes overlay-appear {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: translateY(-5%);
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
input,
|
||||
textarea,
|
||||
tr,
|
||||
@@ -8,7 +20,7 @@ details summary,
|
||||
#navbar .item,
|
||||
.header-wrapper .ui.tabular.menu .item,
|
||||
.job-step-summary,
|
||||
.job-log-line,
|
||||
.job-step-logs,
|
||||
.job-brief-item,
|
||||
.menu .item,
|
||||
.page-content.repository .flex-item .flex-item-title a,
|
||||
@@ -29,6 +41,7 @@ details summary,
|
||||
.ui.form input[type='time'],
|
||||
.ui.form input[type='url'],
|
||||
.ui.label,
|
||||
.ui.modal,
|
||||
.ui.selection.dropdown,
|
||||
.ui.checkbox label:before,
|
||||
.ui.checkbox input:checked ~ label:before,
|
||||
@@ -43,4 +56,5 @@ details summary,
|
||||
.ui.vertical.menu .header.item,
|
||||
.ui.secondary.menu .item {
|
||||
transition: 0.2s;
|
||||
animation: 200ms cubic-bezier(0.33, 1, 0.68, 1) 0s 1 normal none running overlay-appear;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user