Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-03-01 17:16:55

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Remora theme and navigation

Currently the Remora theme’s dropdown menus are positioned with position: absolute;. Because position is used, the element can end up behind elements/layers that have higher z-index or are defined later in the page.

Anyways, I’m suggesting that Remora’s style sheets gets tiny change and dropdown menus get z-index value, preventing them from going behind elements that float or are positioned absolutely/relatively.

The change won’t break existing lightbox plugins or such, because the menus are only active (and shown) when hovered over.

Change that I’m proposing is; around line 61 in /textpattern/theme/remora/textpattern.css:

#nav li ul {
z-index: 100;

Last edited by Gocom (2010-03-01 17:21:00)

Offline

#2 2010-03-01 20:42:58

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: Remora theme and navigation

Gocom wrote:

I’m suggesting that Remora’s style sheets gets tiny change and dropdown menus get z-index value

I absolutely agree.
I’d estimate a “slightly” higher value, though: E.g. ebl_image_edit comes with dizzying 290 and 350.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#3 2010-03-01 21:23:38

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Remora theme and navigation

Tangentially, I just “borrowed” the Remora menu CSS for a personal project. Was wondering who developed this? I know it’s based on the “Suckerfish Dropdown”, but it has some nice refinements.


Code is topiary

Offline

#4 2010-03-01 21:32:15

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,447
Website GitHub

Re: Remora theme and navigation

Sounds good to me, Gocom/Uli. If nobody has objections after some time has elapsed, I’ll consider it a go. Anybody have a handle on the highest z-index used in a plugin to date? 350 is the highest so far… Anyone? Anyone? Bueller? Anyone?

jsoo wrote:

Was wondering who developed [Remora]

I think it was wet.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Online

#5 2010-03-01 21:56:17

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Remora theme and navigation

Wet Suckerfish. Is that what a Remora is?

Edit: Should have come up with something wittier; I actually knew what a remora is, I just wanted to type “Wet Suckerfish”.

Last edited by jsoo (2010-03-02 11:25:28)


Code is topiary

Offline

#6 2010-03-02 06:40:09

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Offline

#7 2010-03-02 14:14:12

maniar
Member
From: Hamilton, Ontario
Registered: 2010-01-04
Posts: 66
Website

Re: Remora theme and navigation

I had a hunch it sounded fishy.


اردو میں بھی دستیاب Textpattern آپ کے لیے اب

Offline

Board footer

Powered by FluxBB