-moz-window-shadow

Table of contents

  1. 1. Summary
  2. 2. Syntax
  3. 3. Values
  4. 4. Examples
Table of contents
  1. 1. Summary
  2. 2. Syntax
  3. 3. Values
  4. 4. Examples

« CSS « CSS Reference « CSS Reference:Mozilla Extensions

Introduced in Gecko 1.9.1

(Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)

Summary

-moz-window-shadow specifies whether a window will have a shadow. Currently it only works on Mac OS X.

Firefox 3 added support for transparent windows on Mac OS X. However, for these windows shadows were turned off and there was no way of turning them on.

In Firefox 3.5 we changed the default; all windows now have a shadow. We introduced the -moz-window-shadow CSS property to provide a way to turn off unwanted shadows.

Syntax

-moz-window-shadow: default | menu | tooltip | sheet | none

Values

default
The window will have a shadow with the default window shadow style.
menu Requires Gecko 2.0
The window will have the shadow style that's appropriate for menus.
tooltip Requires Gecko 2.0
The window will have the shadow style that's appropriate for tooltips.
sheet Requires Gecko 2.0
The window will have the shadow style that's appropriate for sheet windows.
none
The window won't have a shadow.

Examples

.KUI-panel {
  -moz-window-shadow: none;
}

Tags (1)

Edit tags

Attachments (0)

 

Attach file