Dropdown Menu Widget - Version 1.8.1

Version Description

  • Fixed: HoverIntent hotfix for older version users. (Thanks to Karsten)
  • Fixed: Various theme problems with vertical menus.
Download this release

Release Info

Developer mattsay
Plugin Icon wp plugin Dropdown Menu Widget
Version 1.8.1
Comparing to
See all releases

Code changes from version 1.8 to 1.8.1

css/dropdown-admin.css CHANGED
@@ -187,7 +187,7 @@ font-size: 16px !important; font-weight:normal; text-shadow: #1A5B77 1px 1px 1px
187
 
188
  .stf_options ul.tabs li a.general { padding-left:28px; background-image: url('images/cog.png'); }
189
  .stf_options ul.tabs li a.advanced { padding-left:28px; background-image: url('images/wrench_orange.png'); }
190
- .stf_options ul.tabs li a.colors { padding-left:28px; background-image: url('images/color_wheel.png'); }
191
  .stf_options ul.tabs li a.effects { padding-left:28px; background-image: url('images/lightning.png'); }
192
  .stf_options ul.tabs li a.template-tag { padding-left:28px; background-image: url('images/tag.png'); }
193
 
187
 
188
  .stf_options ul.tabs li a.general { padding-left:28px; background-image: url('images/cog.png'); }
189
  .stf_options ul.tabs li a.advanced { padding-left:28px; background-image: url('images/wrench_orange.png'); }
190
+ .stf_options ul.tabs li a.theme { padding-left:28px; background-image: url('images/color_wheel.png'); }
191
  .stf_options ul.tabs li a.effects { padding-left:28px; background-image: url('images/lightning.png'); }
192
  .stf_options ul.tabs li a.template-tag { padding-left:28px; background-image: url('images/tag.png'); }
193
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://shailan.com/donate
4
  Tags: css, dropdown, menu, widget, pages, categories, multi, jquery, navigation, category list, themes, custom-styles, options-page, animations, effects
5
  Requires at least: 2.8
6
  Tested up to: 3.3
7
- Stable tag: 1.8
8
 
9
  This widget adds a beatiful vertical/horizontal CSS only dropdown menu of Pages, Categories or Custom navigation menus of your blog.
10
 
@@ -47,6 +47,10 @@ You can submit errors and bugs using the [online form](http://shailan.com/contac
47
 
48
  == Changelog ==
49
 
 
 
 
 
50
  = 1.8 =
51
  * Fixed: HoverIntent hotfix for Wordpress 3.3
52
 
4
  Tags: css, dropdown, menu, widget, pages, categories, multi, jquery, navigation, category list, themes, custom-styles, options-page, animations, effects
5
  Requires at least: 2.8
6
  Tested up to: 3.3
7
+ Stable tag: 1.8.1
8
 
9
  This widget adds a beatiful vertical/horizontal CSS only dropdown menu of Pages, Categories or Custom navigation menus of your blog.
10
 
47
 
48
  == Changelog ==
49
 
50
+ = 1.8.1 =
51
+ * Fixed: HoverIntent hotfix for older version users. (Thanks to Karsten)
52
+ * Fixed: Various theme problems with vertical menus.
53
+
54
  = 1.8 =
55
  * Fixed: HoverIntent hotfix for Wordpress 3.3
56
 
shailan-dropdown-menu-options.php CHANGED
@@ -73,19 +73,6 @@ array(
73
  "label" => __("General"),
74
  "type" => "section"
75
  ),
76
-
77
- array( "name" => "Dropdown Menu Theme",
78
- "desc" => "Skin for the menu",
79
- "id" => "shailan_dm_active_theme",
80
- "std" => "None",
81
- "options" => $themes,
82
- "type" => "select"),
83
-
84
- array( "name" => "Theme URL",
85
- "desc" => "If From URL is selected you can specify theme URL here. <br />Warning : Please make sure this file only modifies dropdown theme. Otherwise your theme may be affected by this css file.",
86
- "id" => "shailan_dm_theme_url",
87
- "std" => "http://",
88
- "type" => "text"),
89
 
90
  array( "name" => "Rename Homepage",
91
  "desc" => "You can change your homepage link here",
@@ -93,8 +80,8 @@ array(
93
  "std" => __("Home"),
94
  "type" => "text"),
95
 
96
- array( "name" => "Show arrow pointers",
97
- "desc" => "This option will enable arrow pointers for parent items.",
98
  "id" => "shailan_dm_arrows",
99
  "type" => "checkbox",
100
  "std" => "on" ),
@@ -104,7 +91,7 @@ array(
104
  "id" => "shailan_dm_allowmultiline",
105
  "type" => "checkbox"),
106
 
107
- array( "name" => "Remove title attributes from menu items",
108
  "desc" => "This will remove 'View all posts under..' title attributes from menu links",
109
  "id" => "shailan_dm_remove_title_attributes",
110
  "type" => "checkbox"),
@@ -148,10 +135,28 @@ array(
148
  array( "type" => "close" ),
149
 
150
  array(
151
- "name" => "Colors",
152
- "label" => __("Colors"),
153
  "type" => "section"
154
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
155
 
156
  array( "name" => "Use custom colors",
157
  "desc" => "If not checked custom colors won't work.",
@@ -212,11 +217,13 @@ array(
212
  "std" => '',
213
  "type" => "text"),
214
 
215
- array( "name" => "Custom css",
216
- "desc" => "You can paste your own customization file here.",
217
- "id" => "shailan_dm_custom_css",
218
- "std" => '',
219
- "type" => "textarea"),
 
 
220
 
221
  array( "name" => "Show Empty Categories",
222
  "desc" => "If checked categories with no posts will be shown.",
73
  "label" => __("General"),
74
  "type" => "section"
75
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
76
 
77
  array( "name" => "Rename Homepage",
78
  "desc" => "You can change your homepage link here",
80
  "std" => __("Home"),
81
  "type" => "text"),
82
 
83
+ array( "name" => "Show parent indicators",
84
+ "desc" => "This option will enable arrows next to parent items.",
85
  "id" => "shailan_dm_arrows",
86
  "type" => "checkbox",
87
  "std" => "on" ),
91
  "id" => "shailan_dm_allowmultiline",
92
  "type" => "checkbox"),
93
 
94
+ array( "name" => "Remove title attributes",
95
  "desc" => "This will remove 'View all posts under..' title attributes from menu links",
96
  "id" => "shailan_dm_remove_title_attributes",
97
  "type" => "checkbox"),
135
  array( "type" => "close" ),
136
 
137
  array(
138
+ "name" => "Theme",
139
+ "label" => __("Theme"),
140
  "type" => "section"
141
  ),
142
+
143
+ array( "name" => "Dropdown Menu Theme",
144
+ "desc" => "Skin for the menu",
145
+ "id" => "shailan_dm_active_theme",
146
+ "std" => "None",
147
+ "options" => $themes,
148
+ "type" => "select"),
149
+
150
+ array( "name" => "Theme URL",
151
+ "desc" => "If <strong>From URL</strong> is selected you can specify theme URL here. ",
152
+ "id" => "shailan_dm_theme_url",
153
+ "std" => "http://",
154
+ "type" => "text"),
155
+
156
+ array(
157
+ "desc" => "Using options below you can customize certain elements of current theme. If you choose <strong>Color Scheme</strong> as theme, you will have full control over colors.",
158
+ "type" => "paragraph"
159
+ ),
160
 
161
  array( "name" => "Use custom colors",
162
  "desc" => "If not checked custom colors won't work.",
217
  "std" => '',
218
  "type" => "text"),
219
 
220
+ array(
221
+ "name" => "Custom CSS",
222
+ "desc" => "You can paste your own customization file here.",
223
+ "id" => "shailan_dm_custom_css",
224
+ "std" => '',
225
+ "type" => "textarea"
226
+ ),
227
 
228
  array( "name" => "Show Empty Categories",
229
  "desc" => "If checked categories with no posts will be shown.",
shailan.DropDownMenu.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Dropdown Menu Widget
4
  Plugin URI: http://shailan.com/wordpress/plugins/dropdown-menu
5
  Description: A multi widget to generate drop-down menus from your pages, categories & navigation menus. You can find more widgets, plugins and themes at <a href="http://shailan.com">shailan.com</a>.
6
  Tags: dropdown, menu, css, css-dropdown, navigation, widget, dropdown-menu, customization, theme, jquery, template, multi-color, theme
7
- Version: 1.8
8
  Author: Matt Say
9
  Author URI: http://shailan.com
10
  Text Domain: shailan-dropdown-menu
@@ -37,7 +37,7 @@ class shailan_DropdownWidget extends WP_Widget {
37
  // Hook up scripts
38
  if(!is_admin()){
39
  wp_enqueue_script( 'jquery' );
40
- wp_enqueue_script( 'hoverIntent' );
41
  wp_enqueue_script( 'dropdown-ie-support', plugins_url( '/scripts/include.js' , __FILE__ ) , array('jquery') );
42
  }
43
 
@@ -806,12 +806,3 @@ function shailan_dropdown_menu( $args = array() ){
806
 
807
  the_widget( 'shailan_DropdownWidget', $options );
808
  }
809
-
810
- function shailan_dropdown_button() {
811
- global $wp_admin_bar, $wpdb;
812
- if ( !is_super_admin() || !is_admin_bar_showing() )
813
- return;
814
-
815
- $wp_admin_bar->add_menu( array( 'parent' => 'appearance', 'title' => 'Dropdown Menu', 'href' => admin_url('options-general.php?page=dropdown-menu') ) );
816
- }
817
- add_action( 'admin_bar_menu', 'shailan_dropdown_button', 1000 );
4
  Plugin URI: http://shailan.com/wordpress/plugins/dropdown-menu
5
  Description: A multi widget to generate drop-down menus from your pages, categories & navigation menus. You can find more widgets, plugins and themes at <a href="http://shailan.com">shailan.com</a>.
6
  Tags: dropdown, menu, css, css-dropdown, navigation, widget, dropdown-menu, customization, theme, jquery, template, multi-color, theme
7
+ Version: 1.8.1
8
  Author: Matt Say
9
  Author URI: http://shailan.com
10
  Text Domain: shailan-dropdown-menu
37
  // Hook up scripts
38
  if(!is_admin()){
39
  wp_enqueue_script( 'jquery' );
40
+ wp_enqueue_script( 'hoverIntent', plugins_url( '/scripts/hoverIntent.js' , __FILE__ ) , array('jquery') );
41
  wp_enqueue_script( 'dropdown-ie-support', plugins_url( '/scripts/include.js' , __FILE__ ) , array('jquery') );
42
  }
43
 
806
 
807
  the_widget( 'shailan_DropdownWidget', $options );
808
  }
 
 
 
 
 
 
 
 
 
stf-page-options.php CHANGED
@@ -211,9 +211,6 @@ case 'picker':
211
  </div>
212
  </div>
213
 
214
-
215
-
216
-
217
  <script type="text/javascript">
218
  jQuery(document).ready(function($) {
219
 
@@ -236,4 +233,9 @@ jQuery(document).ready(function($) {
236
 
237
  });
238
  </script>
 
 
 
 
 
239
  </div>
211
  </div>
212
  </div>
213
 
 
 
 
214
  <script type="text/javascript">
215
  jQuery(document).ready(function($) {
216
 
233
 
234
  });
235
  </script>
236
+
237
+ <?php if(WP_DEBUG){ ?>
238
+ <h3>Debug information</h3>
239
+ <pre><?php print_r($current) ?></pre>
240
+ <?php } ?>
241
  </div>
themes/aqua.css CHANGED
@@ -4,6 +4,10 @@
4
  .shailan-dropdown-menu .dropdown-horizontal-container{ background:transparent url(images/trans-white.png); margin:7px; padding:5px; font-size:1.1em; border:1px solid rgba(255, 255, 255, 0.3);
5
  border-radius:7px; -moz-border-radius:7px; -webkit-border-radius:7px;
6
  filter: alpha(opacity=60); -moz-opacity: .8; KhtmlOpacity: .8; opacity: .8;}
 
 
 
 
7
 
8
  ul.dropdown ul { border-bottom:1px solid #ddd; }
9
  ul.dropdown ul ul { top: 1px; left: 99%; }
@@ -48,6 +52,6 @@ li.current-menu-ancestor ul a,li.current-menu-ancestor ul a:visited, li.current-
48
 
49
  /** Vertical menu support */
50
  ul.dropdown-vertical{ min-width:160px; }
51
- ul.dropdown-vertical li { border-bottom:1px solid #ddd;}
52
  ul.dropdown-vertical ul { border-bottom:0px; }
53
  ul.dropdown-vertical li+li{ border-left:none; }
4
  .shailan-dropdown-menu .dropdown-horizontal-container{ background:transparent url(images/trans-white.png); margin:7px; padding:5px; font-size:1.1em; border:1px solid rgba(255, 255, 255, 0.3);
5
  border-radius:7px; -moz-border-radius:7px; -webkit-border-radius:7px;
6
  filter: alpha(opacity=60); -moz-opacity: .8; KhtmlOpacity: .8; opacity: .8;}
7
+
8
+ .shailan-dropdown-menu .dropdown-vertical-container{ background:transparent url(images/trans-white.png); margin:7px; padding:5px; font-size:1.1em; border:1px solid rgba(255, 255, 255, 0.3);
9
+ border-radius:7px; -moz-border-radius:7px; -webkit-border-radius:7px;
10
+ filter: alpha(opacity=60); -moz-opacity: .8; KhtmlOpacity: .8; opacity: .8;}
11
 
12
  ul.dropdown ul { border-bottom:1px solid #ddd; }
13
  ul.dropdown ul ul { top: 1px; left: 99%; }
52
 
53
  /** Vertical menu support */
54
  ul.dropdown-vertical{ min-width:160px; }
55
+ ul.dropdown-vertical li, ul.dropdown-vertical li+li { border-bottom:1px solid #ddd;}
56
  ul.dropdown-vertical ul { border-bottom:0px; }
57
  ul.dropdown-vertical li+li{ border-left:none; }
themes/color-scheme.css CHANGED
@@ -3,7 +3,7 @@
3
  .shailan-dropdown-menu .dropdown-horizontal-container{ background-image:url('images/overlay.png'); }
4
  * html .shailan-dropdown-menu .dropdown-horizontal-container{ background-image:none; }
5
 
6
- ul.dropdown li a{padding:6px 12px;}
7
  ul.dropdown li.hover, ul.dropdown li:hover { cursor: default; }
8
  ul.dropdown ul { border:0 }
9
  ul.dropdown ul ul { top: 1px; left: 100%; }
@@ -22,7 +22,7 @@ ul.dropdown li.hover ul li a, ul.dropdown li:hover ul li a{ background: transpar
22
 
23
  /** Link colors */
24
  ul.dropdown a:link,
25
- ul.dropdown a:visited { color: #000; text-decoration: none; display:block; }
26
  ul.dropdown a:hover { color: #000; }
27
  ul.dropdown a:active { color: #ed008c; }
28
 
3
  .shailan-dropdown-menu .dropdown-horizontal-container{ background-image:url('images/overlay.png'); }
4
  * html .shailan-dropdown-menu .dropdown-horizontal-container{ background-image:none; }
5
 
6
+ ul.dropdown li a{ padding:6px 12px; display:block; text-decoration: none; }
7
  ul.dropdown li.hover, ul.dropdown li:hover { cursor: default; }
8
  ul.dropdown ul { border:0 }
9
  ul.dropdown ul ul { top: 1px; left: 100%; }
22
 
23
  /** Link colors */
24
  ul.dropdown a:link,
25
+ ul.dropdown a:visited { color: #000; }
26
  ul.dropdown a:hover { color: #000; }
27
  ul.dropdown a:active { color: #ed008c; }
28
 
themes/grayscale.css CHANGED
@@ -9,12 +9,11 @@ ul.dropdown li {
9
  color: #333;
10
  text-align:center;
11
  background:#c2c2c2 url('images/default1_g.jpg') repeat-x bottom;
12
- font-family:Arial, Helvetica, sans-serif;
13
- font-size:1.2em;
14
- font-weight:bold;
15
- text-transform:uppercase; }
16
  ul.dropdown-vertical li{ border-top:1px solid #a0a0a0; }
17
  ul.dropdown li { border-left:1px solid #838383; }
 
18
 
19
  /** Right align fix */
20
  ul.dropdown-align-right li{ border-width: 1px 0px 1px 1px; }
@@ -25,7 +24,7 @@ ul.dropdown li.hover, ul.dropdown li:hover { background:#838383 url('images/defa
25
  border-top: 1px solid #999; }
26
 
27
  /** Link colors */
28
- ul.dropdown a:link, ul.dropdown a:visited { color: #333; text-decoration: none; display:block; }
29
  ul.dropdown a:hover { color: #fff; }
30
  ul.dropdown a:active { color: #fff; }
31
 
9
  color: #333;
10
  text-align:center;
11
  background:#c2c2c2 url('images/default1_g.jpg') repeat-x bottom;
12
+ text-transform:uppercase;
13
+ }
 
 
14
  ul.dropdown-vertical li{ border-top:1px solid #a0a0a0; }
15
  ul.dropdown li { border-left:1px solid #838383; }
16
+ ul.dropdown li a{ text-decoration: none; display:block; }
17
 
18
  /** Right align fix */
19
  ul.dropdown-align-right li{ border-width: 1px 0px 1px 1px; }
24
  border-top: 1px solid #999; }
25
 
26
  /** Link colors */
27
+ ul.dropdown a, ul.dropdown a:link, ul.dropdown a:visited { color: #333; }
28
  ul.dropdown a:hover { color: #fff; }
29
  ul.dropdown a:active { color: #fff; }
30
 
themes/hulu/hulu.css CHANGED
@@ -1,4 +1,5 @@
1
- .shailan-dropdown-menu .dropdown-horizontal-container{ background:#ddd url('nav-background.gif') repeat-x bottom; height:27px !important; }
 
2
 
3
  ul.dropdown li { color: #fff; text-align:center;
4
  font-family:Arial, Verdana, Geneva, sans-serif; font-size:14px; font-weight:bold; text-shadow:#222 0px 1px 2px; line-height:20px;
@@ -20,7 +21,7 @@ ul.dropdown a:hover { color: #99cc33; background:transparent; }
20
  ul.dropdown a:active { color: #fff; }
21
 
22
  /** Sub menus */
23
- ul.dropdown ul { margin-top: 0px; margin-left: -1px; border:none; border:0px;
24
  background: #262626 url('dock_bg.gif') repeat-x 0% 0%;
25
  color: #CCC;
26
  cursor: default;
@@ -43,3 +44,6 @@ ul.dropdown ul li a{
43
  li.current-cat, li.current_page_item, li.current-menu-item{ background:#444 url('nav-hover.gif') repeat-x bottom; }
44
  ul.dropdown ul li.current-cat a, ul.dropdown ul li.current_page_item a, ul.dropdown ul li.current-menu-item a{ color:#999; }
45
 
 
 
 
1
+ .shailan-dropdown-menu .dropdown-horizontal-container,
2
+ ul.dropdown-vertical li{ background:#ddd url('nav-background.gif') repeat-x bottom; height:27px !important; }
3
 
4
  ul.dropdown li { color: #fff; text-align:center;
5
  font-family:Arial, Verdana, Geneva, sans-serif; font-size:14px; font-weight:bold; text-shadow:#222 0px 1px 2px; line-height:20px;
21
  ul.dropdown a:active { color: #fff; }
22
 
23
  /** Sub menus */
24
+ ul.dropdown ul { margin-top: 0px; border:none; border:0px;
25
  background: #262626 url('dock_bg.gif') repeat-x 0% 0%;
26
  color: #CCC;
27
  cursor: default;
44
  li.current-cat, li.current_page_item, li.current-menu-item{ background:#444 url('nav-hover.gif') repeat-x bottom; }
45
  ul.dropdown ul li.current-cat a, ul.dropdown ul li.current_page_item a, ul.dropdown ul li.current-menu-item a{ color:#999; }
46
 
47
+ /** Vertical menu support */
48
+ ul.dropdown-vertical{ min-width:160px; }
49
+ ul.dropdown-vertical li { border-bottom:1px solid #666; }
themes/mtv.com/default.css CHANGED
@@ -1,76 +1,23 @@
1
  @charset "UTF-8";
2
 
3
- /**
4
- * MTV.com CSS Drop-Down Menu Theme
5
- *
6
- * @file default.css
7
- * @name MTV
8
- * @version 0.1
9
- * @type transitional
10
- * @browsers Windows: IE6+, Opera7+, Firefox1+
11
- * Mac OS: Safari2+, Firefox2+
12
- *
13
- * @link http://www.lwis.net/
14
- * @copyright 2008 Live Web Institute. All Rights Reserved.
15
- *
16
- * Module Classes: *.dir {} *.on {} *.open {} li.hover {} li.first {} li.last {}
17
- * Expected directory tag - li
18
- *
19
- */
20
-
21
-
22
-
23
- /*------------------------------------------------------------------------------------------------------/
24
- @section Style Framework */
25
-
26
-
27
- /* First-level expected directory tag - li */
28
 
29
  ul.dropdown li {
30
  padding: 5px;
31
  }
32
 
33
- ul.dropdown *.dir {
34
- padding-right: 30px;
35
- background-image: none;
36
- background-position: 100% 50%;
37
- background-repeat: no-repeat;
38
- }
39
-
40
- /* Non-first level */
41
- ul.dropdown ul *.dir {
42
- padding-right: 15px;
43
- background-image: url(images/nav-arrow-right.png);
44
- background-position: 100% 50%;
45
- background-repeat: no-repeat;
46
- }
47
-
48
- ul.dropdown ul ul *.dir {
49
- background-image: url(images/nav-arrow-right2.png);
50
- }
51
-
52
-
53
  /* Components override */
54
 
55
- ul.dropdown-vertical *.dir {
56
  background-image: url(images/nav-arrow-right.png);
57
  }
58
 
59
- ul.dropdown-vertical-rtl *.dir {
60
  padding-right: 15px;
61
  background-image: url(images/nav-arrow-left.png);
62
  background-position: 0 50%;
63
  }
64
 
65
 
66
-
67
- /*------------------------------------------------------------------------------------------------------/
68
- @section Base Drop-Down Styling */
69
-
70
-
71
-
72
- /* ALL LEVELS (incl. first) */
73
-
74
  ul.dropdown {
75
  font: bold 17px/normal Arial, Helvetica, sans-serif;
76
  }
@@ -96,12 +43,6 @@
96
  color: #fff;
97
  }
98
 
99
- ul.dropdown ul a.dir:hover { /* proposal */
100
- background-color: #4698ca;
101
- background-image: url(images/comnav-arrowon.png);
102
- color: #fff;
103
- }
104
-
105
  ul.dropdown a:active {
106
  background: #058acf url(images/nav-sub-press.png) 0 0 repeat-x !important;
107
  color: #fff;
@@ -146,7 +87,7 @@
146
  /* Mixed */
147
 
148
  ul.dropdown li a,
149
- ul.dropdown *.dir, ul.dropdown *.parent {
150
  border-style: solid;
151
  border-width: 1px;
152
  border-color: #404040 #1a1a1a #1a1a1a #505050;
@@ -161,16 +102,5 @@ ul.dropdown ul ul *.dir, ul.dropdown ul ul *.parent { border-color: #595959 #333
161
  ul.dropdown ul ul ul li a,
162
  ul.dropdown ul ul ul *.dir, ul.dropdown ul ul ul *.parent { border-color: #767676 #404040 #404040; }
163
 
164
- /* Custom elements */
165
-
166
- #n-movies { width: 250px; text-align: center; }
167
- #n-movies ul { right: auto; left: 0; width: 249px; text-align: left; }
168
- #n-movies ul ul { left: 249px; width: 150px; }
169
- #n-movies ul a { width: 232px; }
170
- #n-movies ul a.dir { width: 210px; }
171
- #n-movies ul ul a { width: 133px; }
172
- #n-movies ul ul a.dir { width: 111px; }
173
- #n-movies ul ul ul { left: 100%; }
174
-
175
  /** Container */
176
  .shailan-dropdown-menu .dropdown-horizontal-container{ background-color: #3a3a3a; }
1
  @charset "UTF-8";
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
 
4
  ul.dropdown li {
5
  padding: 5px;
6
  }
7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  /* Components override */
9
 
10
+ ul.dropdown-vertical *.parent>a {
11
  background-image: url(images/nav-arrow-right.png);
12
  }
13
 
14
+ ul.dropdown-vertical-rtl *.parent>a {
15
  padding-right: 15px;
16
  background-image: url(images/nav-arrow-left.png);
17
  background-position: 0 50%;
18
  }
19
 
20
 
 
 
 
 
 
 
 
 
21
  ul.dropdown {
22
  font: bold 17px/normal Arial, Helvetica, sans-serif;
23
  }
43
  color: #fff;
44
  }
45
 
 
 
 
 
 
 
46
  ul.dropdown a:active {
47
  background: #058acf url(images/nav-sub-press.png) 0 0 repeat-x !important;
48
  color: #fff;
87
  /* Mixed */
88
 
89
  ul.dropdown li a,
90
+ ul.dropdown *.dir {
91
  border-style: solid;
92
  border-width: 1px;
93
  border-color: #404040 #1a1a1a #1a1a1a #505050;
102
  ul.dropdown ul ul ul li a,
103
  ul.dropdown ul ul ul *.dir, ul.dropdown ul ul ul *.parent { border-color: #767676 #404040 #404040; }
104
 
 
 
 
 
 
 
 
 
 
 
 
105
  /** Container */
106
  .shailan-dropdown-menu .dropdown-horizontal-container{ background-color: #3a3a3a; }
themes/shiny-black.css CHANGED
@@ -1,21 +1,24 @@
1
  @charset "UTF-8";
2
 
3
  /** Container */
4
- .shailan-dropdown-menu .dropdown-horizontal-container{ background:#000 url('images/shiny-black/menu_bg.jpg') repeat-x; height:31px; }
5
 
6
- ul.dropdown{ background-color:transparent;
 
7
  border-width:0px;
8
- padding:0px; }
9
- ul.dropdown li{ margin:0px; display:inline; zoom:1; line-height:30px; }
10
- ul.dropdown li a{ display:block; margin-left:25px; line-height:30px; vertical-align:middle; text-align:center; text-decoration:none; padding:8px 25px 8px 0px; font:normal 11px Tahoma; color: #fff; text-decoration:none; }
 
 
11
 
12
  ul.dropdown li.hover, ul.dropdown li:hover { cursor: default; }
13
 
14
  ul.dropdown ul { border-bottom:1px solid #ddd; }
15
  *html ul.dropdown ul{width:100px;}
16
- ul.dropdown ul li{display:block; text-align:left;}
17
- ul.dropdown ul li a{min-width:100px;}
18
- *html ul.dropdown ul li a{width:100px;}
19
 
20
  /** Right align fix */
21
  ul.dropdown-align-right li{ border-width: 0px 0px 0px 1px; }
@@ -26,10 +29,11 @@ ul.dropdown li.hover a, ul.dropdown li:hover a{ background: url('images/shiny-b
26
  ul.dropdown li.hover ul li a, ul.dropdown li:hover ul li a{ background: transparent; }
27
 
28
  /** Link colors */
29
- ul.dropdown a:link,
30
- ul.dropdown a:visited { color: #7dbbc6; text-decoration: none; }
31
- ul.dropdown a:hover { color: #7dbbc6; }
32
- ul.dropdown a:active { color: #fff; }
 
33
 
34
  /** Sub menus */
35
  ul.dropdown ul { margin:0px; padding:0px; background:#fff; border:1px solid #808080; }
@@ -57,4 +61,5 @@ li.current-menu-ancestor ul a,li.current-menu-ancestor ul a:visited, li.current-
57
  ul.dropdown-vertical{ min-width:160px; }
58
  ul.dropdown-vertical li { background:#000 url('images/shiny-black/menu_bg.jpg') repeat-x; height:30px; }
59
  ul.dropdown-vertical ul { border-bottom:0px; }
 
60
 
1
  @charset "UTF-8";
2
 
3
  /** Container */
4
+ .shailan-dropdown-menu .dropdown-horizontal-container, .shailan-dropdown-menu ul.dropdown-vertical>li { background:#000 url('images/shiny-black/menu_bg.jpg') repeat-x; height:31px; }
5
 
6
+ ul.dropdown{
7
+ background-color:transparent;
8
  border-width:0px;
9
+ padding:0px;
10
+ }
11
+ ul.dropdown li{ line-height:30px; }
12
+ ul.dropdown li ul li{ line-height:1.5em; }
13
+ ul.dropdown li a{ display:block; margin-left:25px; vertical-align:middle; text-align:center; text-decoration:none; padding:8px 25px 8px 0px; font:normal 11px Tahoma; text-decoration:none; }
14
 
15
  ul.dropdown li.hover, ul.dropdown li:hover { cursor: default; }
16
 
17
  ul.dropdown ul { border-bottom:1px solid #ddd; }
18
  *html ul.dropdown ul{width:100px;}
19
+ ul.dropdown ul li{ display:block; text-align:left; }
20
+ ul.dropdown ul li a{ min-width:100px; text-align:left; }
21
+ *html ul.dropdown ul li a{ width:100px; }
22
 
23
  /** Right align fix */
24
  ul.dropdown-align-right li{ border-width: 0px 0px 0px 1px; }
29
  ul.dropdown li.hover ul li a, ul.dropdown li:hover ul li a{ background: transparent; }
30
 
31
  /** Link colors */
32
+ ul.dropdown li a,
33
+ ul.dropdown li a:link,
34
+ ul.dropdown li a:visited { color: #7dbbc6; text-decoration: none; }
35
+ ul.dropdown li a:hover { color: #7dbbc6; }
36
+ ul.dropdown li a:active { color: #fff; }
37
 
38
  /** Sub menus */
39
  ul.dropdown ul { margin:0px; padding:0px; background:#fff; border:1px solid #808080; }
61
  ul.dropdown-vertical{ min-width:160px; }
62
  ul.dropdown-vertical li { background:#000 url('images/shiny-black/menu_bg.jpg') repeat-x; height:30px; }
63
  ul.dropdown-vertical ul { border-bottom:0px; }
64
+ ul.dropdown-vertical ul li { background:transparent; height: auto; }
65
 
themes/simple-blue.css CHANGED
@@ -1,9 +1,9 @@
1
  @charset "UTF-8";
2
 
3
  /** Container */
4
- .shailan-dropdown-menu { background: url(images/blue-gradient/menu_bg.png) top left no-repeat; height:40px;
5
- font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size:14px; margin-right:15px; }
6
- .dropdown-horizontal-container{ background:url(images/blue-gradient/menu_bg.png) top right no-repeat; height:40px; margin-right:-15px; }
7
 
8
  ul.dropdown{ padding:0px 0px 0px 20px;}
9
  ul.dropdown-align-right{ padding: 0px 20px 0px 0px; }
@@ -50,5 +50,5 @@ li.current-menu-ancestor ul a,li.current-menu-ancestor ul a:visited, li.current-
50
 
51
  /** Vertical menu support */
52
  ul.dropdown-vertical{ min-width:160px; }
53
- ul.dropdown-vertical li {border-bottom:1px solid #ddd;}
54
  ul.dropdown-vertical ul { border-bottom:0px; }
1
  @charset "UTF-8";
2
 
3
  /** Container */
4
+ .shailan-dropdown-menu .dropdown-horizontal-container, .shailan-dropdown-menu ul.dropdown-vertical>li { background: url(images/blue-gradient/menu_bg.png) -6px 0px no-repeat; height:40px;
5
+ font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size:14px; }
6
+ /* .dropdown-horizontal-container{ background:url(images/blue-gradient/menu_bg.png) top right no-repeat; height:40px; margin-left:15px; margin-right:-15px; } */
7
 
8
  ul.dropdown{ padding:0px 0px 0px 20px;}
9
  ul.dropdown-align-right{ padding: 0px 20px 0px 0px; }
50
 
51
  /** Vertical menu support */
52
  ul.dropdown-vertical{ min-width:160px; }
53
+ ul.dropdown-vertical li {border-bottom:1px solid #000;}
54
  ul.dropdown-vertical ul { border-bottom:0px; }
themes/simple.css CHANGED
@@ -1,11 +1,12 @@
1
  /** Container */
2
- .dropdown-horizontal-container{ width:100%; background-color:#efefef; }
3
 
4
  ul.dropdown li.hover, ul.dropdown li:hover { cursor: default; }
5
  ul.dropdown ul { border-bottom:1px solid #ddd; }
6
  ul.dropdown ul ul { top: 1px; left: 99%; }
7
  ul.dropdown-upward ul ul { /* bottom: 1px; */ }
8
  ul.dropdown li { border-style: solid; border-width: 0px 1px 0px 0px; border-color: #ddd; background-color: #f6f6f6; color: #000; text-align:center; }
 
9
 
10
  /** Right align fix */
11
  ul.dropdown-align-right li{ border-width: 0px 0px 0px 1px; }
@@ -15,7 +16,7 @@ ul.dropdown li.hover, ul.dropdown li:hover { background-color: #eaeaea; color: #
15
 
16
  /** Link colors */
17
  ul.dropdown a:link,
18
- ul.dropdown a:visited { color: #000; text-decoration: none; display:block; }
19
  ul.dropdown a:hover { color: #000; }
20
  ul.dropdown a:active { color: #ed008c; }
21
 
@@ -41,5 +42,13 @@ li.current-menu-ancestor ul a,li.current-menu-ancestor ul a:visited, li.current-
41
 
42
  /** Vertical menu support */
43
  ul.dropdown-vertical{ min-width:160px; }
44
- ul.dropdown-vertical li {border-bottom:1px solid #ddd;}
45
- ul.dropdown-vertical ul { border-bottom:0px; }
 
 
 
 
 
 
 
 
1
  /** Container */
2
+ div.dropdown-horizontal-container{ width:100%; background-color:#efefef; border-bottom:1px solid #ddd; }
3
 
4
  ul.dropdown li.hover, ul.dropdown li:hover { cursor: default; }
5
  ul.dropdown ul { border-bottom:1px solid #ddd; }
6
  ul.dropdown ul ul { top: 1px; left: 99%; }
7
  ul.dropdown-upward ul ul { /* bottom: 1px; */ }
8
  ul.dropdown li { border-style: solid; border-width: 0px 1px 0px 0px; border-color: #ddd; background-color: #f6f6f6; color: #000; text-align:center; }
9
+ ul.dropdown li a{ text-decoration: none; display:block; }
10
 
11
  /** Right align fix */
12
  ul.dropdown-align-right li{ border-width: 0px 0px 0px 1px; }
16
 
17
  /** Link colors */
18
  ul.dropdown a:link,
19
+ ul.dropdown a:visited { color: #000; }
20
  ul.dropdown a:hover { color: #000; }
21
  ul.dropdown a:active { color: #ed008c; }
22
 
42
 
43
  /** Vertical menu support */
44
  ul.dropdown-vertical{ min-width:160px; }
45
+ ul.dropdown-vertical li { border-bottom:1px solid #ddd; }
46
+ div.shailan-dropdown-menu ul.dropdown-vertical{
47
+ border-bottom:0px;
48
+ border-top: 1px solid #DDD;
49
+ border-right: 1px solid #DDD;
50
+ }
51
+ ul.dropdown-vertical ul{
52
+ border-bottom:0;
53
+ border-right: 1px solid #DDD;
54
+ }