mirror of
https://github.com/BioArchLinux/Rosa.git
synced 2025-03-10 12:02:43 +00:00
complete index search box
This commit is contained in:
parent
887313e0fc
commit
17427b42c3
5 changed files with 11 additions and 9 deletions
|
@ -2,9 +2,9 @@
|
||||||
.search {
|
.search {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
margin: 15px 0;
|
margin: 5px 0 15px;
|
||||||
|
|
||||||
font-size: 15px;
|
font-size: 1.1em;
|
||||||
padding: .5em .5em;
|
padding: .5em .5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,3 @@
|
||||||
.pkgname-header {
|
|
||||||
border-bottom: 1px solid #888;
|
|
||||||
margin-bottom: .5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
table.pkginfo {
|
table.pkginfo {
|
||||||
th {
|
th {
|
||||||
text-align: start;
|
text-align: start;
|
||||||
|
|
|
@ -26,6 +26,11 @@ a:visited
|
||||||
color: var(--link-fg);
|
color: var(--link-fg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
border-bottom: 1px solid #888;
|
||||||
|
margin-bottom: .5em;
|
||||||
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
width: 95%;
|
width: 95%;
|
||||||
margin: 30px auto;
|
margin: 30px auto;
|
||||||
|
|
|
@ -43,7 +43,9 @@ watch(searchInput, async(newVal, oldVal) => {
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="box" style="margin-bottom: 15px;">
|
<div class="box" style="margin-bottom: 15px;">
|
||||||
<input class="search" type="text" v-model="searchInput">
|
<h2>Package Search</h2>
|
||||||
|
<label for="search-input">Keyword</label>
|
||||||
|
<input class="search" type="text" id="search-input" v-model="searchInput">
|
||||||
</div>
|
</div>
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<PackageList></PackageList>
|
<PackageList></PackageList>
|
||||||
|
|
|
@ -34,7 +34,7 @@ requestPackageInfo(route.params.packageName)
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<h2 class="pkgname-header">{{ pkginfo.name }} {{ pkginfo.version }}</h2>
|
<h2>{{ pkginfo.name }} {{ pkginfo.version }}</h2>
|
||||||
|
|
||||||
<div class="right-things">
|
<div class="right-things">
|
||||||
<PackageActions :pkginfo="pkginfo"></PackageActions>
|
<PackageActions :pkginfo="pkginfo"></PackageActions>
|
||||||
|
|
Loading…
Add table
Reference in a new issue