mirror of
https://github.com/BioArchLinux/Rosa.git
synced 2025-03-10 12:02:43 +00:00
add index table background pattern
This commit is contained in:
parent
955bd59d83
commit
fcd6f5c742
2 changed files with 17 additions and 5 deletions
|
@ -8,6 +8,8 @@
|
||||||
--box-bg: #ecf2f5;
|
--box-bg: #ecf2f5;
|
||||||
|
|
||||||
--index-thead-border: #000;
|
--index-thead-border: #000;
|
||||||
|
--index-item-bg1: #fff;
|
||||||
|
--index-item-bg2: #e4eeff;
|
||||||
--index-item-hover: #ffd;
|
--index-item-hover: #ffd;
|
||||||
|
|
||||||
--package-actions-box-bg: #eee;
|
--package-actions-box-bg: #eee;
|
||||||
|
@ -25,7 +27,9 @@
|
||||||
--box-bg: #212427;
|
--box-bg: #212427;
|
||||||
|
|
||||||
--index-thead-border: #fff;
|
--index-thead-border: #fff;
|
||||||
--index-item-hover: #424242;
|
--index-item-bg1: #000;
|
||||||
|
--index-item-bg2: #1a1a1a;
|
||||||
|
--index-item-hover: rgb(75, 75, 6);
|
||||||
|
|
||||||
--package-actions-box-bg: #222;
|
--package-actions-box-bg: #222;
|
||||||
--package-actions-box-border-color: #fff;
|
--package-actions-box-border-color: #fff;
|
||||||
|
|
|
@ -63,16 +63,24 @@ table#index-table {
|
||||||
}
|
}
|
||||||
|
|
||||||
tbody {
|
tbody {
|
||||||
|
tr {
|
||||||
|
&:nth-child(2n+1) {
|
||||||
|
background: var(--index-item-bg1);
|
||||||
|
}
|
||||||
|
&:nth-child(2n) {
|
||||||
|
background: var(--index-item-bg2);
|
||||||
|
}
|
||||||
|
&:hover {
|
||||||
|
background: var(--index-item-hover);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
td {
|
td {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tr.index-item:hover {
|
|
||||||
background: var(--index-item-hover);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
@import "root";
|
@import "root";
|
||||||
@import "nav";
|
@import "nav";
|
||||||
|
|
Loading…
Add table
Reference in a new issue