mirror of
https://github.com/BioArchLinux/Rosa.git
synced 2025-03-10 12:02:43 +00:00
organize style sheet
This commit is contained in:
parent
51cfe4a90c
commit
887313e0fc
2 changed files with 36 additions and 36 deletions
35
frontend/src/style/_index.scss
Normal file
35
frontend/src/style/_index.scss
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
// search bar
|
||||||
|
.search {
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
margin: 15px 0;
|
||||||
|
|
||||||
|
font-size: 15px;
|
||||||
|
padding: .5em .5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
table#index-table {
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
thead {
|
||||||
|
border-bottom: 1px solid var(--index-thead-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
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 {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -36,16 +36,6 @@ table {
|
||||||
margin: .5em 0;
|
margin: .5em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// search bar
|
|
||||||
.search {
|
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
margin: 15px 0;
|
|
||||||
|
|
||||||
font-size: 15px;
|
|
||||||
padding: .5em .5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.box {
|
.box {
|
||||||
border: 1px solid #bcd;
|
border: 1px solid #bcd;
|
||||||
padding: .5em;
|
padding: .5em;
|
||||||
|
@ -56,34 +46,9 @@ table {
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
table#index-table {
|
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
thead {
|
|
||||||
border-bottom: 1px solid var(--index-thead-border);
|
|
||||||
}
|
|
||||||
|
|
||||||
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 {
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
@import "root";
|
@import "root";
|
||||||
@import "nav";
|
@import "nav";
|
||||||
@import "footer";
|
@import "footer";
|
||||||
|
@import "index";
|
||||||
@import "pkginfo";
|
@import "pkginfo";
|
||||||
|
|
Loading…
Add table
Reference in a new issue