Skip to content

Commit

Permalink
change search form placeholder #14
Browse files Browse the repository at this point in the history
  • Loading branch information
ghost committed Sep 24, 2023
1 parent 9b0bfcb commit 4697519
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/view/theme/default/module/search.phtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<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 type="submit" value="<?php echo _('submit') ?>" />
<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 _('search') ?>" />
</form>
14 changes: 14 additions & 0 deletions src/public/assets/theme/default/css/framework.css
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,16 @@ a.label-green:hover {
background-color: #65916d;
}

.button-green {
color: #fff;
background-color: #65916d;
}

.button-green:hover {
color: #fff;
background-color: #709e79;
}

.position-relative {
position: relative;
}
Expand Down Expand Up @@ -403,6 +413,10 @@ a:visited.background-color-hover-night-light:hover {
width: 180px;
}

.min-width-200-px {
width: 200px;
}

@media (max-width: 1220px) {

.width-tablet-100 {
Expand Down

0 comments on commit 4697519

Please sign in to comment.