mirror of
https://github.com/Karaka-Management/cssOMS.git
synced 2026-02-15 01:08:39 +00:00
fix styles
This commit is contained in:
parent
28be28de76
commit
da3c1135e9
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
|
@ -24,7 +24,7 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
- name: Compile CSS
|
- name: Compile CSS
|
||||||
run: npm run scss --style=compressed styles.scss > styles.css
|
run: npm run scss --style=compressed styles.scss
|
||||||
- name: Check for modified files
|
- name: Check for modified files
|
||||||
id: git-check
|
id: git-check
|
||||||
run: echo ::set-output name=modified::$(if git diff-index --quiet HEAD -- *.{scss,css}; then echo "false"; else echo "true"; fi)
|
run: echo ::set-output name=modified::$(if git diff-index --quiet HEAD -- *.{scss,css}; then echo "false"; else echo "true"; fi)
|
||||||
|
|
|
||||||
16
article.scss
16
article.scss
|
|
@ -134,6 +134,21 @@ article {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
|
display: inline-block;
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
text-align: center;
|
||||||
|
width: auto;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
&[tabindex="0"] {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
|
|
@ -150,6 +165,7 @@ article {
|
||||||
|
|
||||||
th {
|
th {
|
||||||
background: var(--table-head-background);
|
background: var(--table-head-background);
|
||||||
|
color: var(--table-head-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
tr:nth-child(2n) td {
|
tr:nth-child(2n) td {
|
||||||
|
|
|
||||||
|
|
@ -142,7 +142,6 @@ input[type="datetime-local"] {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
flex: 0;
|
flex: 0;
|
||||||
height: auto;
|
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -33,7 +33,6 @@ table {
|
||||||
|
|
||||||
thead {
|
thead {
|
||||||
th, td {
|
th, td {
|
||||||
background: var(--table-head-background);
|
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
|
@ -124,6 +123,7 @@ table {
|
||||||
|
|
||||||
thead {
|
thead {
|
||||||
background: var(--table-head-background);
|
background: var(--table-head-background);
|
||||||
|
color: var(--table-head-color);
|
||||||
|
|
||||||
tr {
|
tr {
|
||||||
height: 2.5rem;
|
height: 2.5rem;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user