MozillaZine

"Find in page" - move to down

Discussion of features in Seamonkey
igor_ubuntu
 
Posts: 9
Joined: December 15th, 2014, 4:50 am

Post Posted July 25th, 2015, 10:36 pm

SeaMonkey

Image

I want to move down the search bar (as in Firefox). I singled it out a green frame
I also want to reduce its vertical size.
Please tell me how to do it? Is it possible ?

Exalm
 
Posts: 137
Joined: July 28th, 2013, 3:29 pm

Post Posted July 27th, 2015, 5:08 am

Stylish userstyle:
Code: Select all
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

#FindToolbar {
  -moz-box-ordinal-group: 999;
}

If you don't have Stylish, you can also copy that CSS into ~/.mozilla/seamonkey/<your_profile>/chrome/userChrome.css (if it isn't there, create it)

As for vertical size, the style would be a bit more complex:
Code: Select all
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

#FindToolbar {
  -moz-box-ordinal-group: 999;
}

#FindToolbar,
#FindToolbar > .findbar-container,
#FindToolbar .findbar-textbox,
#FindToolbar .findbar-button {
  padding-top: 0;
  padding-bottom: 0;
}

#FindToolbar .findbar-find-previous,
#FindToolbar .findbar-find-next {
  padding-top: 4px;
  padding-bottom: 4px;
}

#FindToolbar .findbar-button .toolbarbutton-text {
  margin-top: -3px !important;
  margin-bottom: -3px !important;
}

igor_ubuntu
 
Posts: 9
Joined: December 15th, 2014, 4:50 am

Post Posted July 27th, 2015, 11:53 am

Many thanks, Exalm !

Now it looks like this

Image
I use Stylish for vertical size
Interestingly, it is possible to realize this with userChrome.css (vertical size) ?
----
Is it possible to move the button "Close" to the left ?

Exalm
 
Posts: 137
Joined: July 28th, 2013, 3:29 pm

Post Posted July 27th, 2015, 11:32 pm

igor_ubuntu wrote:Many thanks, Exalm !

Now it looks like this

Image
I use Stylish for vertical size
Interestingly, it is possible to realize this with userChrome.css (vertical size) ?
----
Is it possible to move the button "Close" to the left ?
Yes, both styles work with both approaches.

do you mean to the left end of the findbar, or to just next to "Match Case"?

igor_ubuntu
 
Posts: 9
Joined: December 15th, 2014, 4:50 am

Post Posted July 28th, 2015, 12:18 am

Exalm wrote:Yes, both styles work with both approaches.

It no works with userChrome.css
Yes, I get the panel on bottom. But it does not react to changes in the vertical size.
I can not change the vertical size.
-----
do you mean to the left end of the findbar, or to just next to "Match Case"?

Next to "Match Case".

Exalm
 
Posts: 137
Joined: July 28th, 2013, 3:29 pm

Post Posted August 7th, 2015, 12:37 pm

Sorry for a late answer. No, that isn't possible.
For some reason Toolkit devs put everything in the findbar BUT the button into a "hbox" element, so you can only swap them, ultimately moving the button to the leftmost side. And moving an element from one into another one like that isn't possible just with CSS, you need an extension for that. IIt might be possible with a sideloaded XBL binding though, but that's a really ugly solution.

igor_ubuntu
 
Posts: 9
Joined: December 15th, 2014, 4:50 am

Post Posted August 7th, 2015, 12:50 pm

Thank you, Exalm, for your support!

For some reason Toolkit devs put everything in the findbar BUT the button into a "hbox" element, so you can only swap them, ultimately moving the button to the leftmost side.

Ok. How ?
And moving an element from one into another one like that isn't possible just with CSS, you need an extension for that.

What is an extension? Styles ?
If so, how?

Exalm
 
Posts: 137
Joined: July 28th, 2013, 3:29 pm

Post Posted August 7th, 2015, 12:57 pm

igor_ubuntu wrote:Thank you, Exalm, for your support!
Ok. How ?

Code: Select all
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

#FindToolbar > .close-icon {
  -moz-box-ordinal-group: 0;
}


What is an extension? Styles ?
If so, how?
Судя по никнейму и некоторым выражениям, вы говорите по-русски, так? :) "Extension" — это "расширение". Тут просто это через CSS не сделать, а вот простеньким расширением можно, они все-таки побольше могут, чем стили.
Могу, в принципе, сделать, там ничего сложного нету, но не вижу смысла. Неудобно же так, не? :)

In english: From your nickname and your english, it seems that you speak russian. In case I'm mistaken, tell me and I'll try to explain that in english.

igor_ubuntu
 
Posts: 9
Joined: December 15th, 2014, 4:50 am

Post Posted August 26th, 2015, 12:02 pm

Exalm wrote:Судя по никнейму и некоторым выражениям, вы говорите по-русски, так? :)

Не пришло на почту уведомление о ответе .. А 20 дней прошло со дня ответа .. Я думал, что не до темы вам.
Спасибо за помощь, Exalm !

igor_ubuntu
 
Posts: 9
Joined: December 15th, 2014, 4:50 am

Post Posted August 26th, 2015, 12:02 pm

Exalm wrote:Судя по никнейму и некоторым выражениям, вы говорите по-русски, так? :)

Не пришло на почту уведомление о ответе .. А 20 дней прошло со дня ответа .. Я думал, что не до темы вам.
Спасибо за помощь, Exalm !

Return to SeaMonkey Features


Who is online

Users browsing this forum: No registered users and 2 guests