Add missing classes to darkmode, add #repo-files-table and mising tags #3
3
.stylelintrc.json
Normal file
3
.stylelintrc.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"extends": "stylelint-config-standard"
|
||||||
|
}
|
||||||
35
Jenkinsfile
vendored
Normal file
35
Jenkinsfile
vendored
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
|
||||||
|
stages {
|
||||||
|
stage('Check Indentation') {
|
||||||
|
steps {
|
||||||
|
script {
|
||||||
|
// Check for spaces or mixed indentation
|
||||||
|
sh '''
|
||||||
|
if grep -P "^[ ]+" -r path/to/your/css/files; then
|
||||||
|
echo "Error: Files contain spaces instead of tabs for indentation."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
if grep -P "^\\t+ +" -r path/to/your/css/files; then
|
||||||
|
echo "Error: Files contain mixed tabs and spaces for indentation."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
echo "No indentation errors detected."
|
||||||
|
'''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Validate CSS Syntax') {
|
||||||
|
steps {
|
||||||
|
script {
|
||||||
|
sh 'stylelint ./**/*.css'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
@import "./theme-flaredefault-light.css" (prefers-color-scheme: light);
|
@import url("./theme-flaredefault-light.css") (prefers-color-scheme: light);
|
||||||
@import "./theme-flaredefault-dark.css" (prefers-color-scheme: dark);
|
@import url("./theme-flaredefault-dark.css") (prefers-color-scheme: dark);
|
||||||
@@ -1,45 +1,45 @@
|
|||||||
@import "./theme-gitea-dark\.css";
|
@import url("./theme-gitea-dark\.css");
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background: #333;
|
background: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
#navbar{
|
#navbar{
|
||||||
zindex:1;
|
|
||||||
background: linear-gradient(#df852b, #c4792f);
|
background: linear-gradient(#df852b, #c4792f);
|
||||||
color: black;
|
color: black;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 150%;
|
font-size: 150%;
|
||||||
border: none;
|
border: none;
|
||||||
box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
|
box-shadow: 0 2px 5px rgb(0 0 0 / 20%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.secondary-nav{
|
.secondary-nav{
|
||||||
background: linear-gradient(#555,#333) !important;
|
background: linear-gradient(#555,#333) !important;
|
||||||
box-shadow: black 0px 0px 5px;
|
box-shadow: black 0 0 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui.table, .ui.segments, .ui.segment, #readme, .ui.dashboard-repos, .ui.vertical.menu, .ui.attached.segment, .ui.top.attached.header, #repo-files-table{
|
.ui.table, .ui.segments, .ui.segment, #readme, .ui.dashboard-repos, .ui.vertical.menu, .ui.attached.segment, .ui.top.attached.header, #repo-files-table{
|
||||||
box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
|
box-shadow: 0 2px 5px rgb(0 0 0 / 20%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.repository .diff-detail-box{
|
.repository .diff-detail-box{
|
||||||
margin: 0;
|
margin: 0;
|
||||||
box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
|
box-shadow: 0 2px 5px rgb(0 0 0 / 20%);
|
||||||
}
|
}
|
||||||
|
|
||||||
#diff-file-tree{
|
#diff-file-tree{
|
||||||
box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
|
box-shadow: 0 3px 3px rgb(0 0 0 / 20%);
|
||||||
background-color: var(--color-body);
|
background-color: var(--color-body);
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#diff-file-boxes{
|
#diff-file-boxes{
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-footer{
|
.page-footer{
|
||||||
box-shadow: 0px -2px 5px rgba(0,0,0,0.2);
|
box-shadow: 0 -2px 5px rgb(0 0 0 / 20%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui.tabular.menu .active.item, .ui.tabular.menu .active.item:hover {
|
.ui.tabular.menu .active.item, .ui.tabular.menu .active.item:hover {
|
||||||
|
|||||||
@@ -1,46 +1,46 @@
|
|||||||
@import "./theme-gitea-light.css";
|
@import url("./theme-gitea-light.css");
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: #E0E0E0 !important;
|
background-color: #E0E0E0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#navbar{
|
#navbar{
|
||||||
zindex:1;
|
|
||||||
background: linear-gradient(#333, #000);
|
background: linear-gradient(#333, #000);
|
||||||
color: white;
|
color: white;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 150%;
|
font-size: 150%;
|
||||||
border: none;
|
border: none;
|
||||||
box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
|
box-shadow: 0 2px 5px rgb(0 0 0 / 20%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.secondary-nav{
|
.secondary-nav{
|
||||||
background: linear-gradient(#E6E6E6,#BFBFBF) !important;
|
background: linear-gradient(#E6E6E6,#BFBFBF) !important;
|
||||||
box-shadow: black 0px 0px 5px;
|
box-shadow: black 0 0 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui.table, .ui.segments, .ui.segment, #readme, .ui.dashboard-repos, .ui.vertical.menu, .ui.attached.segment, .ui.top.attached.header, #repo-files-table{
|
.ui.table, .ui.segments, .ui.segment, #readme, .ui.dashboard-repos, .ui.vertical.menu, .ui.attached.segment, .ui.top.attached.header, #repo-files-table{
|
||||||
box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
|
box-shadow: 0 2px 5px rgb(0 0 0 / 20%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.repository .diff-detail-box{
|
.repository .diff-detail-box{
|
||||||
margin: 0;
|
margin: 0;
|
||||||
box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
|
box-shadow: 0 2px 5px rgb(0 0 0 / 20%);
|
||||||
}
|
}
|
||||||
|
|
||||||
#diff-file-tree{
|
#diff-file-tree{
|
||||||
box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
|
box-shadow: 0 3px 3px rgb(0 0 0 / 20%);
|
||||||
background-color: var(--color-body);
|
background-color: var(--color-body);
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#diff-file-boxes{
|
#diff-file-boxes{
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-footer{
|
.page-footer{
|
||||||
background: linear-gradient(#EFEFEF, #DEDEDE);
|
background: linear-gradient(#EFEFEF, #DEDEDE);
|
||||||
box-shadow: 0px -2px 5px rgba(0,0,0,0.2);
|
box-shadow: 0 -2px 5px rgb(0 0 0 / 20%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui.tabular.menu .active.item, .ui.tabular.menu .active.item:hover {
|
.ui.tabular.menu .active.item, .ui.tabular.menu .active.item:hover {
|
||||||
|
|||||||
6
package-lock.json
generated
Normal file
6
package-lock.json
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "gitea-themes",
|
||||||
|
"lockfileVersion": 3,
|
||||||
|
"requires": true,
|
||||||
|
"packages": {}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user