src/cm/media/js/lib/fg-menu/fg.menu.css
author raph
Fri, 15 Jan 2010 09:21:47 +0100
changeset 82 2d964b42de45
parent 0 40c8f766c9b8
permissions -rwxr-xr-x
fix howto generate message files
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     1
/* Styles for jQuery menu widget
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     2
Author:	Maggie Wachs, maggie@filamentgroup.com
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     3
Date:		September 2008
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     4
*/
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     5
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     6
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     7
/* REQUIRED STYLES - the menus will only render correctly with these rules */	
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     8
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     9
.fg-menu-container { position: absolute; top:0; left:-999px; padding: .4em;  overflow: hidden; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    10
.fg-menu-container.fg-menu-flyout { overflow: visible; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    11
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    12
.fg-menu, .fg-menu ul { list-style-type:none; padding: 0; margin:0; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    13
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    14
.fg-menu { position:relative; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    15
.fg-menu-flyout .fg-menu { position:static; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    16
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    17
.fg-menu ul { position:absolute; top:0; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    18
.fg-menu ul ul { top:-1px; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    19
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    20
.fg-menu-container.fg-menu-ipod .fg-menu-content, 
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    21
.fg-menu-container.fg-menu-ipod .fg-menu-content ul { background: none !important; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    22
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    23
.fg-menu.fg-menu-scroll,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    24
.fg-menu ul.fg-menu-scroll { overflow: scroll;  overflow-x: hidden; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    25
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    26
.fg-menu li { clear:both; float:left; width:100%; margin: 0; padding:0; border: 0; }	
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    27
.fg-menu li li { font-size:1em; } /* inner li font size must be reset so that they don't blow up */
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    28
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    29
.fg-menu-flyout ul ul { padding: .4em; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    30
.fg-menu-flyout li { position:relative; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    31
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    32
.fg-menu-scroll { overflow: scroll; overflow-x: hidden; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    33
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    34
.fg-menu-breadcrumb { margin: 0; padding: 0; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    35
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    36
.fg-menu-footer {  margin-top: .4em; padding: .4em; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    37
.fg-menu-header {  margin-bottom: .4em; padding: .4em; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    38
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    39
.fg-menu-breadcrumb li { float: left; list-style: none; margin: 0; padding: 0 .2em; font-size: .9em; opacity: .7; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    40
.fg-menu-breadcrumb li.fg-menu-prev-list,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    41
.fg-menu-breadcrumb li.fg-menu-current-crumb { clear: left; float: none; opacity: 1; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    42
.fg-menu-breadcrumb li.fg-menu-current-crumb { padding-top: .2em; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    43
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    44
.fg-menu-breadcrumb a, 
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    45
.fg-menu-breadcrumb span { float: left; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    46
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    47
.fg-menu-footer a:link,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    48
.fg-menu-footer a:visited { float:left; width:100%; text-decoration: none; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    49
.fg-menu-footer a:hover,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    50
.fg-menu-footer a:active {  }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    51
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    52
.fg-menu-footer a span { float:left; cursor: pointer; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    53
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    54
.fg-menu-breadcrumb .fg-menu-prev-list a:link,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    55
.fg-menu-breadcrumb .fg-menu-prev-list a:visited,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    56
.fg-menu-breadcrumb .fg-menu-prev-list a:hover,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    57
.fg-menu-breadcrumb .fg-menu-prev-list a:active { background-image: none; text-decoration:none; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    58
	
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    59
.fg-menu-breadcrumb .fg-menu-prev-list a { float: left; padding-right: .4em; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    60
.fg-menu-breadcrumb .fg-menu-prev-list a .ui-icon { float: left; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    61
	
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    62
.fg-menu-breadcrumb .fg-menu-current-crumb a:link,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    63
.fg-menu-breadcrumb .fg-menu-current-crumb a:visited,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    64
.fg-menu-breadcrumb .fg-menu-current-crumb a:hover,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    65
.fg-menu-breadcrumb .fg-menu-current-crumb a:active { display:block; background-image:none; font-size:1.3em; text-decoration:none; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    66
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    67
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    68
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    69
/* REQUIRED LINK STYLES: links are "display:block" by default; if the menu options are split into 
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    70
	selectable node links and 'next' links, the script floats the node links left and floats the 'next' links to the right	*/
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    71
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    72
.fg-menu a:link,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    73
.fg-menu a:visited,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    74
.fg-menu a:hover,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    75
.fg-menu a:active { float:left; width:92%; padding:.3em 3%; text-decoration:none; outline: 0 !important; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    76
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    77
.fg-menu a { border: 1px dashed transparent; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    78
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    79
.fg-menu a.ui-state-default:link,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    80
.fg-menu a.ui-state-default:visited,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    81
.fg-menu a.ui-state-default:hover,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    82
.fg-menu a.ui-state-default:active,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    83
.fg-menu a.ui-state-hover:link,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    84
.fg-menu a.ui-state-hover:visited,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    85
.fg-menu a.ui-state-hover:hover,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    86
.fg-menu a.ui-state-hover:active,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    87
 .fg-menu a.ui-state-active:link,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    88
 .fg-menu a.ui-state-active:visited,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    89
 .fg-menu a.ui-state-active:hover,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    90
.fg-menu a.ui-state-active:active { border-style: solid; font-weight: normal; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    91
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    92
.fg-menu a span { display:block; cursor:pointer; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    93
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    94
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    95
 /* SUGGESTED STYLES - for use with jQuery UI Themeroller CSS */	
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    96
 
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    97
.fg-menu-indicator span { float:left; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    98
.fg-menu-indicator span.ui-icon { float:right; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    99
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
   100
/* RBA new : .fg-menu-content .ui-widget-content, original: .fg-menu-content.ui-widget-content*/
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
   101
.fg-menu-content .ui-widget-content, 
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
   102
.fg-menu-content ul.ui-widget-content { border:0; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
   103
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
   104
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
   105
/* ICONS AND DIVIDERS */
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
   106
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
   107
.fg-menu.fg-menu-has-icons a:link,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
   108
.fg-menu.fg-menu-has-icons a:visited,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
   109
.fg-menu.fg-menu-has-icons a:hover,
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
   110
.fg-menu.fg-menu-has-icons a:active { padding-left:20px; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
   111
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
   112
.fg-menu .horizontal-divider hr, .fg-menu .horizontal-divider span { padding:0; margin:5px .6em; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
   113
.fg-menu .horizontal-divider hr { border:0; height:1px; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
   114
.fg-menu .horizontal-divider span { font-size:.9em; text-transform: uppercase; padding-left:.2em; }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
   115