Browse Source

change search form placeholder #14

main
ghost 1 year ago
parent
commit
4697519663
  1. 4
      src/app/view/theme/default/module/search.phtml
  2. 14
      src/public/assets/theme/default/css/framework.css

4
src/app/view/theme/default/module/search.phtml

@ -1,4 +1,4 @@
<form class="margin-t-8" name="search" method="get" action="search"> <form class="margin-t-8" name="search" method="get" action="search">
<input type="text" name="query" value="<?php echo $query ?>" placeholder="<?php echo _('search or submit magnet link') ?>" /> <input class="min-width-200-px" type="text" name="query" value="<?php echo $query ?>" placeholder="<?php echo _('keyword, file, extension, hash...') ?>" />
<input type="submit" value="<?php echo _('submit') ?>" /> <input type="submit" value="<?php echo _('search') ?>" />
</form> </form>

14
src/public/assets/theme/default/css/framework.css

@ -100,6 +100,16 @@ a.label-green:hover {
background-color: #65916d; background-color: #65916d;
} }
.button-green {
color: #fff;
background-color: #65916d;
}
.button-green:hover {
color: #fff;
background-color: #709e79;
}
.position-relative { .position-relative {
position: relative; position: relative;
} }
@ -403,6 +413,10 @@ a:visited.background-color-hover-night-light:hover {
width: 180px; width: 180px;
} }
.min-width-200-px {
width: 200px;
}
@media (max-width: 1220px) { @media (max-width: 1220px) {
.width-tablet-100 { .width-tablet-100 {

Loading…
Cancel
Save