Skip to content

Commit

Permalink
i2psnark: Search box CSS tweaks when iframed (Gitlab #448)
Browse files Browse the repository at this point in the history
thx drzed for assistance
  • Loading branch information
zzzi2p committed Sep 29, 2023
1 parent d2ab9a7 commit d7d51f6
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/i2psnark/resources/themes/dark/snark.css
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,11 @@ _:-ms-lang(x), .snarknavbar {
right: 9px;
}

.iframed #search {
top: 9px;
right: 5px;
}

#searchbox {
background: #000 url(/themes/console/images/buttons/search.png) 7px center no-repeat !important;
margin: 2px 4px 2px 24px !important;
Expand Down
5 changes: 5 additions & 0 deletions apps/i2psnark/resources/themes/light/snark.css
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,11 @@ button::-moz-focus-inner, input::-moz-focus-inner {
right: 6px;
}

.iframed #search {
top: 6px
right: 2px;
}

#searchbox {
background: #f8f8ff url(/themes/console/images/buttons/search.png) 7px center no-repeat !important;
margin: 2px 4px 2px 24px !important;
Expand Down
5 changes: 5 additions & 0 deletions apps/i2psnark/resources/themes/ubergine/snark.css
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,11 @@ _:-ms-lang(x), .snarkNav:last-child[href="/i2psnark/"] {
right: 3px;
}

.iframed #search {
top: 8px;
right: 4px;
}

#searchbox {
background: #212 url(/themes/console/images/buttons/search.png) 7px center no-repeat !important;
margin: 2px 4px 2px 24px !important;
Expand Down
5 changes: 5 additions & 0 deletions apps/i2psnark/resources/themes/vanilla/snark.css
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,11 @@ _:-ms-lang(x), .snarkNav:link, .snarkNav:visited {
right: 3px;
}

.iframed #search {
top: 9px;
right: 2px;
}

#searchbox {
background: #efe6e0 url(/themes/console/images/buttons/search.png) 7px center no-repeat !important;
margin: 2px 4px 2px 24px !important;
Expand Down

0 comments on commit d7d51f6

Please sign in to comment.