Dropdown Menu Widget - Version 0.3

Version Description

  • Fixed problems about styling. Now you can change dropdown menu style from the options page.
Download this release

Release Info

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

Version 0.3

Files changed (84) hide show
  1. dropdown.css +67 -0
  2. dropdown.limited.css +49 -0
  3. dropdown.linear.css +36 -0
  4. dropdown.min.css +60 -0
  5. dropdown.upward.css +28 -0
  6. dropdown.vertical.css +32 -0
  7. dropdown.vertical.rtl.css +32 -0
  8. images/Thumbs.db +0 -0
  9. images/dropdown_pane.png +0 -0
  10. images/dropdown_pane_8bit.png +0 -0
  11. images/favicon.ico +0 -0
  12. images/grad1.png +0 -0
  13. images/icon.png +0 -0
  14. readme.txt +43 -0
  15. screenshot-1.png +0 -0
  16. shailan.DropDownMenu.php +212 -0
  17. shailan.DropdownStyles.css +69 -0
  18. shailan.DropdownStyles1.css +154 -0
  19. themes/_template/default.css +109 -0
  20. themes/adobe.com/default.advanced.css +68 -0
  21. themes/adobe.com/default.css +139 -0
  22. themes/adobe.com/images/dropdown_pane.png +0 -0
  23. themes/adobe.com/images/dropdown_pane_8bit.png +0 -0
  24. themes/adobe.com/images/favicon.ico +0 -0
  25. themes/adobe.com/images/grad1.png +0 -0
  26. themes/adobe.com/images/icon.png +0 -0
  27. themes/default/default.advanced.css +65 -0
  28. themes/default/default.css +106 -0
  29. themes/default/default.linear.css +58 -0
  30. themes/default/default.ultimate.css +168 -0
  31. themes/default/default.ultimate.linear.css +119 -0
  32. themes/default/images/grad1.png +0 -0
  33. themes/default/images/grad2.png +0 -0
  34. themes/default/images/nav-arrow-down-white.png +0 -0
  35. themes/default/images/nav-arrow-down.png +0 -0
  36. themes/default/images/nav-arrow-left-white.png +0 -0
  37. themes/default/images/nav-arrow-left.png +0 -0
  38. themes/default/images/nav-arrow-right-white.png +0 -0
  39. themes/default/images/nav-arrow-right.png +0 -0
  40. themes/default/images/nav-arrow-top-white.png +0 -0
  41. themes/default/images/nav-arrow-top.png +0 -0
  42. themes/default/images/pattern1.png +0 -0
  43. themes/flickr.com/default.css +140 -0
  44. themes/flickr.com/default.ultimate.css +237 -0
  45. themes/flickr.com/default.ultimate.linear.css +62 -0
  46. themes/flickr.com/default.ultimate.upward.css +71 -0
  47. themes/flickr.com/images/Thumbs.db +0 -0
  48. themes/flickr.com/images/favicon.ico +0 -0
  49. themes/flickr.com/images/icon.png +0 -0
  50. themes/flickr.com/images/nav-arrow-down-on.png +0 -0
  51. themes/flickr.com/images/nav-arrow-down-open.png +0 -0
  52. themes/flickr.com/images/nav-arrow-down.png +0 -0
  53. themes/flickr.com/images/nav-arrow-left-on.png +0 -0
  54. themes/flickr.com/images/nav-arrow-left-open.png +0 -0
  55. themes/flickr.com/images/nav-arrow-left.png +0 -0
  56. themes/flickr.com/images/nav-arrow-right-on.png +0 -0
  57. themes/flickr.com/images/nav-arrow-right-open.png +0 -0
  58. themes/flickr.com/images/nav-arrow-right.png +0 -0
  59. themes/flickr.com/images/nav-arrow-up-on.png +0 -0
  60. themes/flickr.com/images/nav-arrow-up-open.png +0 -0
  61. themes/flickr.com/images/nav-arrow-up.png +0 -0
  62. themes/flickr.com/images/pattern1.png +0 -0
  63. themes/flickr.com/images/pattern2.png +0 -0
  64. themes/flickr.com/images/pattern3.png +0 -0
  65. themes/mtv.com/default.advanced.css +120 -0
  66. themes/mtv.com/default.css +177 -0
  67. themes/mtv.com/default.ultimate.css +133 -0
  68. themes/mtv.com/images/Thumbs.db +0 -0
  69. themes/mtv.com/images/comnav-arrowon.png +0 -0
  70. themes/mtv.com/images/comnav-arrowover.png +0 -0
  71. themes/mtv.com/images/comnav-arrowover2.png +0 -0
  72. themes/mtv.com/images/favicon.ico +0 -0
  73. themes/mtv.com/images/grad1.png +0 -0
  74. themes/mtv.com/images/icon.png +0 -0
  75. themes/mtv.com/images/nav-arrow-right.png +0 -0
  76. themes/mtv.com/images/nav-arrow-right2.png +0 -0
  77. themes/mtv.com/images/nav-sub-press.png +0 -0
  78. themes/nvidia.com/default.advanced.css +81 -0
  79. themes/nvidia.com/default.css +114 -0
  80. themes/nvidia.com/images/Thumbs.db +0 -0
  81. themes/nvidia.com/images/favicon.ico +0 -0
  82. themes/nvidia.com/images/grad1.png +0 -0
  83. themes/nvidia.com/images/icon.png +0 -0
  84. themes/simple.css +110 -0
dropdown.css ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * Horizontal CSS Drop-Down Menu Module
5
+ *
6
+ * @file dropdown.css
7
+ * @package Dropdown
8
+ * @version 0.7.1
9
+ * @type Transitional
10
+ * @stacks 597-599
11
+ * @browsers Windows: IE6+, Opera7+, Firefox1+
12
+ * Mac OS: Safari2+, Firefox2+
13
+ *
14
+ * @link http://www.lwis.net/
15
+ * @copyright 2006-2008 Live Web Institute. All Rights Reserved.
16
+ *
17
+ */
18
+
19
+ ul.dropdown,
20
+ ul.dropdown li,
21
+ ul.dropdown ul {
22
+ list-style: none;
23
+ margin: 0;
24
+ padding: 0;
25
+ }
26
+
27
+ ul.dropdown {
28
+ position: relative;
29
+ z-index: 597;
30
+ float: left;
31
+ }
32
+
33
+ ul.dropdown li {
34
+ float: left;
35
+ line-height: 1.3em;
36
+ vertical-align: middle;
37
+ zoom: 1;
38
+ }
39
+
40
+ ul.dropdown li.hover,
41
+ ul.dropdown li:hover {
42
+ position: relative;
43
+ z-index: 599;
44
+ cursor: default;
45
+ }
46
+
47
+ ul.dropdown ul {
48
+ visibility: hidden;
49
+ position: absolute;
50
+ top: 100%;
51
+ left: 0;
52
+ z-index: 598;
53
+ width: 100%;
54
+ }
55
+
56
+ ul.dropdown ul li {
57
+ float: none;
58
+ }
59
+
60
+ ul.dropdown ul ul {
61
+ top: 1px;
62
+ left: 99%;
63
+ }
64
+
65
+ ul.dropdown li:hover > ul {
66
+ visibility: visible;
67
+ }
dropdown.limited.css ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * Horizontal Limited CSS Drop-Down Menu Component
5
+ *
6
+ * @file dropdown.limited.css
7
+ * @package Dropdown
8
+ * @version 0.1.1
9
+ * @type Transitional
10
+ * @requires dropdown.css
11
+ * @browsers Windows: IE5+, Opera7+, Firefox1+
12
+ * Mac OS: Safari2+, Firefox2+
13
+ *
14
+ * @link http://www.lwis.net/
15
+ * @copyright 2006-2008 Live Web Institute. All Rights Reserved.
16
+ *
17
+ */
18
+
19
+ @import "dropdown.css";
20
+
21
+ * html ul.dropdown li {
22
+ height: 1px;
23
+ }
24
+
25
+ ul.dropdown ul li,
26
+ ul.dropdown-vertical {
27
+ margin-left: -16px;
28
+ mar\gin-left: 0;
29
+ }
30
+
31
+ ul.dropdown ul,
32
+ ul.dropdown li:hover ul ul,
33
+ ul.dropdown li:hover ul ul ul,
34
+ ul.dropdown li:hover ul ul ul ul,
35
+ ul.dropdown li:hover ul ul ul ul ul {
36
+ visibility: hidden;
37
+ }
38
+
39
+ ul.dropdown li:hover ul,
40
+ ul.dropdown ul li:hover ul,
41
+ ul.dropdown ul ul li:hover ul,
42
+ ul.dropdown ul ul ul li:hover ul,
43
+ ul.dropdown ul ul ul ul li:hover ul {
44
+ visibility: visible;
45
+ }
46
+
47
+ ul.dropdown ul ul ul ul ul ul {
48
+ visibility: hidden !important;
49
+ }
dropdown.linear.css ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * Horizontal Linear CSS Drop-Down Menu Component
5
+ *
6
+ * @file dropdown.linear.css
7
+ * @package Dropdown
8
+ * @version 0.1
9
+ * @type Transitional
10
+ * @requires dropdown.css
11
+ * @browsers Windows: IE6+, Opera7+, Firefox1+
12
+ * Mac OS: Safari2+, Firefox2+
13
+ *
14
+ * @link http://www.lwis.net/
15
+ * @copyright 2006-2008 Live Web Institute. All Rights Reserved.
16
+ *
17
+ */
18
+
19
+ @import "dropdown.css";
20
+
21
+ ul.dropdown-linear {
22
+ width: 100%;
23
+ }
24
+
25
+ ul.dropdown-linear ul li {
26
+ float: left;
27
+ }
28
+
29
+ ul.dropdown-linear li.hover,
30
+ ul.dropdown-linear li:hover {
31
+ position: static;
32
+ }
33
+
34
+ ul.dropdown-linear ul ul {
35
+ display: none !important;
36
+ }
dropdown.min.css ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * Minimal Horizontal CSS Drop-Down Menu Module
5
+ *
6
+ * @file dropdown.min.css
7
+ * @package Dropdown
8
+ * @version 0.7.1
9
+ * @type Transitional
10
+ * @requires reset.css
11
+ * @stacks 597-599
12
+ * @browsers Windows: IE6+, Opera7+, Firefox1+
13
+ * Mac OS: Safari2+, Firefox2+
14
+ *
15
+ * @link http://www.lwis.net/
16
+ * @copyright 2006-2008 Live Web Institute. All Rights Reserved.
17
+ *
18
+ */
19
+
20
+ ul.dropdown {
21
+ position: relative;
22
+ z-index: 597;
23
+ float: left;
24
+ }
25
+
26
+ ul.dropdown li {
27
+ float: left;
28
+ line-height: 1.3em;
29
+ vertical-align: middle;
30
+ zoom: 1;
31
+ }
32
+
33
+ ul.dropdown li.hover,
34
+ ul.dropdown li:hover {
35
+ position: relative;
36
+ z-index: 599;
37
+ cursor: default;
38
+ }
39
+
40
+ ul.dropdown ul {
41
+ visibility: hidden;
42
+ position: absolute;
43
+ top: 100%;
44
+ left: 0;
45
+ z-index: 598;
46
+ width: 100%;
47
+ }
48
+
49
+ ul.dropdown ul li {
50
+ float: none;
51
+ }
52
+
53
+ ul.dropdown ul ul {
54
+ top: 1px;
55
+ left: 99%;
56
+ }
57
+
58
+ ul.dropdown li:hover > ul {
59
+ visibility: visible;
60
+ }
dropdown.upward.css ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * Horizontal Upward CSS Drop-Down Menu Component
5
+ *
6
+ * @file dropdown.upward.css
7
+ * @package Dropdown
8
+ * @version 0.1
9
+ * @type Transitional
10
+ * @requires dropdown.upward.css
11
+ * @browsers Windows: IE5+, Opera7+, Firefox1+
12
+ * Mac OS: Safari2+, Firefox2+
13
+ *
14
+ * @link http://www.lwis.net/
15
+ * @copyright 2006-2008 Live Web Institute. All Rights Reserved.
16
+ *
17
+ */
18
+
19
+ @import "dropdown.css";
20
+
21
+ ul.dropdown-upward ul {
22
+ top: auto !important;
23
+ bottom: 100%;
24
+ }
25
+
26
+ ul.dropdown-upward ul ul {
27
+ bottom: 1px;
28
+ }
dropdown.vertical.css ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * Vertical Left-to-Right Direction CSS Drop-Down Menu Component
5
+ *
6
+ * @file dropdown.vertical.css
7
+ * @package Dropdown
8
+ * @version 0.3
9
+ * @type Transitional
10
+ * @requires dropdown.css
11
+ * @browsers Windows: IE5+, Opera7+, Firefox1+
12
+ * Mac OS: Safari2+, Firefox2+
13
+ *
14
+ * @link http://www.lwis.net/
15
+ * @copyright 2006-2008 Live Web Institute. All Rights Reserved.
16
+ *
17
+ */
18
+
19
+ @import "dropdown.css";
20
+
21
+ ul.dropdown-vertical {
22
+ width: 200px;
23
+ }
24
+
25
+ ul.dropdown-vertical ul {
26
+ top: 1px;
27
+ left: 99%;
28
+ }
29
+
30
+ ul.dropdown-vertical li {
31
+ float: none;
32
+ }
dropdown.vertical.rtl.css ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * Vertical Right-to-Left Direction CSS Drop-Down Menu Component
5
+ *
6
+ * @file dropdown.vertical.rtl.css
7
+ * @package Dropdown
8
+ * @version 0.2
9
+ * @type Transitional
10
+ * @requires dropdown.vertical.css
11
+ * @browsers Windows: IE5+, Opera7+, Firefox1+
12
+ * Mac OS: Safari2+, Firefox2+
13
+ *
14
+ * @link http://www.lwis.net/
15
+ * @copyright 2006-2008 Live Web Institute. All Rights Reserved.
16
+ *
17
+ */
18
+
19
+ @import "dropdown.vertical.css";
20
+
21
+ ul.dropdown-vertical-rtl {
22
+ float: right;
23
+ }
24
+
25
+ ul.dropdown-vertical-rtl ul {
26
+ left: auto !important;
27
+ right: 99%;
28
+ }
29
+
30
+ ul.dropdown-vertical-rtl li {
31
+ text-align: right;
32
+ }
images/Thumbs.db ADDED
Binary file
images/dropdown_pane.png ADDED
Binary file
images/dropdown_pane_8bit.png ADDED
Binary file
images/favicon.ico ADDED
Binary file
images/grad1.png ADDED
Binary file
images/icon.png ADDED
Binary file
readme.txt ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Plugin Name ===
2
+ Contributors: mattsay
3
+ Donate link: http://shailan.com/donate
4
+ Tags: css, dropdown, menu, widget, pages, categories
5
+ Requires at least: 2.5
6
+ Tested up to: 2.8.6
7
+ Stable tag: 0.3
8
+
9
+ This widget adds a beatiful, CSS only dropdown menu of pages OR categories of your blog.
10
+
11
+ == Description ==
12
+
13
+ Dropdown Menu widget adds a beautiful, CSS only dropdown menu, listing pages OR categories of your blog. It supports multiple instances. You can select a theme for your widget from the Dropdown Menu Settings page. If you don't like ready-made templates you can create your own theme for the menus using CSS. Hope you like it.
14
+
15
+ == Installation ==
16
+
17
+ 1. Upload `shailan.DropdownMenu` folder to your `/wp-content/plugins/` directory
18
+ 1. Activate the plugin through the 'Plugins' menu in WordPress
19
+ 1. Go to Appearance -> Widgets to add this widget to one of your sidebars
20
+
21
+ == Frequently Asked Questions ==
22
+
23
+ = I added this widget but it looks all weird! =
24
+
25
+ This widget is intented for *wide header widget areas*, not regular sidebars. You can add a sidebar to your theme or you can get a *all-widget* theme from [shailan.com](http://shailan.com).
26
+
27
+ == Screenshots ==
28
+
29
+ 1. A preview of the widget in action.
30
+
31
+ == Changelog ==
32
+
33
+ = 0.3 =
34
+ * Fixed problems about styling. Now you can change dropdown menu style from the options page.
35
+
36
+ = 0.2 =
37
+ * First public release.
38
+ * Added login and register button options.
39
+
40
+ == TODO ==
41
+
42
+ * Add option to select vertical/linear.
43
+ * Add some more themes.
screenshot-1.png ADDED
Binary file
shailan.DropDownMenu.php ADDED
@@ -0,0 +1,212 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: Shailan 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 and categories. This widget is best used in <a href="http://shailan.com">Shailan.com</a> themes. You can find more widgets, plugins and themes at <a href="http://shailan.com">shailan.com</a>.
6
+ Version: 0.3
7
+ Author: Matt Say
8
+ Author URI: http://shailan.com
9
+ */
10
+
11
+ define('SHAILAN_DM_VERSION','0.3');
12
+ define('SHAILAN_DM_TITLE', 'Dropdown Menu');
13
+ define('SHAILAN_DM_URL', '/dropdown-menu-widget/');
14
+
15
+ /**
16
+ * Shailan Dropdown Widget Class
17
+ */
18
+ class shailan_DropdownWidget extends WP_Widget {
19
+ /** constructor */
20
+ function shailan_DropdownWidget() {
21
+ $widget_ops = array('classname' => 'shailan_DropdownWidget', 'description' => __( 'Dropdown page/category menu' ) );
22
+ $this->WP_Widget('dropdown-menu', __('Dropdown Menu'), $widget_ops);
23
+ $this->alt_option_name = 'widget_dropdown_menu';
24
+
25
+ if ( is_active_widget(false, false, $this->id_base) )
26
+ add_action( 'wp_head', array(&$this, 'styles') );
27
+ }
28
+
29
+ // Add settings page
30
+ function adminMenu(){
31
+ if (function_exists('add_options_page')) {
32
+ add_options_page('Settings for Dropdown Menu by Shailan' , 'Dropdown Menu', 9, 'dropdown-menu', array('shailan_DropdownWidget', 'getOptionsPage'));
33
+ }
34
+ }
35
+
36
+ function getOptionsPage(){
37
+ // Option names
38
+ $theme_name = 'theme';
39
+
40
+ // Read options
41
+ $theme = get_option($theme_name);
42
+
43
+
44
+
45
+ if(wp_verify_nonce($_POST['_wpnonce'])){ // Form submitted. Save settings.
46
+
47
+ $theme = $_POST[$theme_name]; //get_option('theme');
48
+
49
+ update_option('theme', $theme);
50
+
51
+ ?>
52
+ <div class="updated"><p><strong><?php _e('Options saved.', 'shailanDropdownMenu_domain'); ?></strong></p></div>
53
+
54
+ <?php
55
+ }
56
+
57
+ $themes = array(
58
+ 'None'=>'NONE',
59
+ 'Simple White'=>'simple',
60
+ 'Flickr theme'=>'flickr.com/default',
61
+ 'Nvidia theme'=>'nvidia.com/default.advanced',
62
+ 'Adobe theme'=>'adobe.com/default.advanced',
63
+ 'MTV theme'=>'mtv.com/default.advanced'
64
+ );
65
+
66
+ ?>
67
+
68
+ <div class="wrap">
69
+ <h2><?php echo esc_html( SHAILAN_DM_TITLE . ' ' . SHAILAN_DM_VERSION ); ?></h2>
70
+
71
+ <p>Dropdown menu creates a beautiful CSS only dropdown menu from your wordpress pages or categories. You can customize dropdown menu theme and settings here: </p>
72
+
73
+ <form method="post" action="">
74
+
75
+ <?php wp_nonce_field(); ?>
76
+
77
+ <table class="form-table">
78
+ <tr valign="top">
79
+ <th scope="row"><label for="theme"><?php _e('Dropdown menu theme') ?></label></th>
80
+ <td><select name="theme" id="theme">
81
+
82
+ <?php foreach($themes as $name=>$path){
83
+ $selected = ($theme == $path ? 'selected' : '');
84
+ echo '<option value="'.$path.'" '.$selected.'>'.$name.'</option>';
85
+ } ?>
86
+
87
+ </select><span class="description"><?php _e('You can choose a theme for your dropdown menu here.') ?></span></td>
88
+ </tr>
89
+
90
+ </table>
91
+
92
+ <p>NOTE : Onscreen theme edit will be available soon. Be sure to check <a href="http://shailan.com">shailan.com</a> regularly for updates.</p>
93
+ </div>
94
+ <p class="submit">
95
+ <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
96
+ </p>
97
+ <p>Visit <a href="http://shailan.com">shailan.com</a> for more wordpress themes, plugins and widgets.</p>
98
+ </form>
99
+ <p>
100
+ <a href="http://shailan.com/wordpress/plugins/dropdown-menu">Dropdown Menu <?php echo SHAILAN_DM_VERSION; ?></a> by <a href="http://shailan.com">shailan</a></a> &copy; 2009
101
+ </p>
102
+ </div> <?php
103
+
104
+ }
105
+
106
+ /** @see WP_Widget::widget */
107
+ function widget($args, $instance) {
108
+ extract( $args );
109
+ $title = apply_filters('widget_title', $instance['title']);
110
+ $type = $instance['type'];
111
+ $exclude = $instance['exclude'];
112
+ $inline_style = $instance['style'];
113
+ $login = (bool) $instance['login'];
114
+ $admin = (bool) $instance['admin'];
115
+
116
+ ?>
117
+ <?php echo $before_widget; ?>
118
+ <?php /*if ( $title )
119
+ echo $before_title . $title . $after_title;*/ // Title is disabled for this widget
120
+ ?>
121
+
122
+ <?php if($type == 'Pages'){ ?>
123
+ <div id="shailan-dropdown-menu-<?php echo $this->number; ?>" style="<?php echo $inline_style; ?>">
124
+ <div>
125
+ <table cellpadding="0" cellspacing="0">
126
+ <td>
127
+ <ul class="dropdown dropdown-horizontal dropdown-upward">
128
+
129
+ <li class="<?php if ( is_front_page() && !is_paged() ): ?>current_page_item<?php else: ?>page_item<?php endif; ?> blogtab"><a href="<?php echo get_option('home'); ?>/"><?php _e('Home'); ?></a></li>
130
+ <?php wp_list_pages('sort_column=menu_order&depth=4&title_li=&exclude='.$exclude); ?>
131
+ <?php if($admin){ wp_register('<li class="admintab">','</li>'); } if($login){ ?><li class="page_item"><?php wp_loginout(); ?></a> <?php } ?>
132
+ </ul></td>
133
+ </table>
134
+ </div>
135
+ </div>
136
+ <?php } else { ?>
137
+ <div id="shailan-dropdown-menu<?php echo $this->number; ?>" style="background:<?php echo $background; ?>; <?php echo $additional_styles ?>">
138
+ <div>
139
+ <table cellpadding="0" cellspacing="0">
140
+ <td>
141
+ <ul class="dropdown dropdown-horizontal dropdown-upward">
142
+ <?php wp_list_categories('order_by=name&depth=4&title_li=&exclude='.$exclude); ?>
143
+ </ul></td>
144
+ </table>
145
+ </div>
146
+ </div>
147
+ <?php } ?>
148
+
149
+ <?php echo $after_widget; ?>
150
+ <?php
151
+ }
152
+
153
+ /** @see WP_Widget::update */
154
+ function update($new_instance, $old_instance) {
155
+ return $new_instance;
156
+ }
157
+
158
+ /** @see WP_Widget::form */
159
+ function form($instance) {
160
+ $title = esc_attr($instance['title']);
161
+ $type = $instance['type'];
162
+ $exclude = $instance['exclude'];
163
+ $inline_style = $instance['style'];
164
+ $login = (bool) $instance['login'];
165
+ $admin = (bool) $instance['admin'];
166
+
167
+ ?>
168
+ <p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title (won\'t be shown):'); ?> <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $title; ?>" /></label></p>
169
+
170
+ <p><label for="<?php echo $this->get_field_id('type'); ?>"><?php _e('Type:'); ?><input type="radio" id="<?php echo $this->get_field_id('type'); ?>" name="<?php echo $this->get_field_name('type'); ?>" value="Pages" <?php if($type=='Pages'){ echo 'checked="checked"'; } ?> /><?php _e('Pages'); ?> <input type="radio" id="<?php echo $this->get_field_id('type'); ?>" name="<?php echo $this->get_field_name('type'); ?>" value="Categories" <?php if($type=='Categories'){ echo 'checked="checked"'; } ?>/><?php _e('Categories'); ?></label></p>
171
+
172
+ <p><label for="<?php echo $this->get_field_id('exclude'); ?>"><?php _e('Exclude:'); ?> <input class="widefat" id="<?php echo $this->get_field_id('exclude'); ?>" name="<?php echo $this->get_field_name('exclude'); ?>" type="text" value="<?php echo $exclude; ?>" /></label></p>
173
+
174
+ <p>
175
+ <input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id('login'); ?>" name="<?php echo $this->get_field_name('login'); ?>"<?php checked( $login ); ?> />
176
+ <label for="<?php echo $this->get_field_id('login'); ?>"><?php _e( 'Add login/logout' ); ?></label><br />
177
+ <input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id('admin'); ?>" name="<?php echo $this->get_field_name('admin'); ?>"<?php checked( $admin ); ?> />
178
+ <label for="<?php echo $this->get_field_id('admin'); ?>"><?php _e( 'Add Register/Site Admin' ); ?></label>
179
+ </p>
180
+
181
+ <p><label for="<?php echo $this->get_field_id('style'); ?>"><?php _e('Inline Style:'); ?> <input class="widefat" id="<?php echo $this->get_field_id('style'); ?>" name="<?php echo $this->get_field_name('style'); ?>" type="text" value="<?php echo $inline_style; ?>" /></label></p>
182
+
183
+
184
+ <div class="widget-control-actions alignright">
185
+ <p><a href="options-general.php?page=dropdown-menu">Menu Style</a> | <a href="http://shailan.com/wordpress/plugins/dropdown-menu">Visit plugin site</a></p>
186
+ </div>
187
+
188
+ <?php
189
+ }
190
+
191
+ function styles($instance){
192
+ $theme = get_option('theme');
193
+
194
+ $font_family = '"Segoe UI",Calibri,"Myriad Pro",Myriad,"Trebuchet MS",Helvetica,Arial,sans-serif';
195
+ $font_size = '12px';
196
+
197
+ echo '<link rel="stylesheet" href="'.WP_PLUGIN_URL.'/'.SHAILAN_DM_URL.'/shailan.DropdownStyles.css" type="text/css">';
198
+ //echo '<link rel="stylesheet" href="'.WP_PLUGIN_URL.'/shailan.DropDownMenu/dropdown.limited.css" type="text/css">';
199
+
200
+ if($theme!='NONE'){
201
+ echo '<link rel="stylesheet" href="'.WP_PLUGIN_URL.'/'.SHAILAN_DM_URL.'/themes/'.$theme.'.css" type="text/css">';
202
+ }
203
+ echo '<style type="text/css" media="all">';
204
+ echo ' ul.dropdown {font-family: '.$font_family.' font-size:'.$font_size.'; }';
205
+ echo '</style>';
206
+ }
207
+
208
+ } // class shailan_DropdownWidget
209
+
210
+ // register widget
211
+ add_action('widgets_init', create_function('', 'return register_widget("shailan_DropdownWidget");'));
212
+ add_action('admin_menu', array('shailan_DropdownWidget', 'adminMenu'));
shailan.DropdownStyles.css ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * Horizontal CSS Drop-Down Menu Module
5
+ *
6
+ * @file dropdown.css
7
+ * @package Dropdown
8
+ * @version 0.7.1
9
+ * @type Transitional
10
+ * @stacks 597-599
11
+ * @browsers Windows: IE6+, Opera7+, Firefox1+
12
+ * Mac OS: Safari2+, Firefox2+
13
+ *
14
+ * @link http://www.lwis.net/
15
+ * @copyright 2006-2008 Live Web Institute. All Rights Reserved.
16
+ *
17
+ */
18
+
19
+ ul.dropdown,
20
+ ul.dropdown li,
21
+ ul.dropdown ul {
22
+ list-style: none;
23
+ margin: 0;
24
+ padding: 0;
25
+ }
26
+
27
+ ul.dropdown {
28
+ position: relative;
29
+ z-index: 597;
30
+ float: left;
31
+ }
32
+
33
+ ul.dropdown li {
34
+ float: left;
35
+ line-height: 1.3em;
36
+ vertical-align: middle;
37
+ zoom: 1;
38
+ }
39
+
40
+ ul.dropdown li.hover,
41
+ ul.dropdown li:hover {
42
+ position: relative;
43
+ z-index: 599;
44
+ cursor: default;
45
+ }
46
+
47
+ ul.dropdown ul {
48
+ visibility: hidden;
49
+ position: absolute;
50
+ top: 100%;
51
+ left: 0;
52
+ z-index: 598;
53
+ /* width: 100%; */
54
+ }
55
+
56
+ ul.dropdown ul li {
57
+ float: none;
58
+ }
59
+
60
+ ul.dropdown ul ul {
61
+ top: 1px;
62
+ left: 99%;
63
+ }
64
+
65
+ ul.dropdown li:hover > ul {
66
+ visibility: visible;
67
+ }
68
+
69
+
shailan.DropdownStyles1.css ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Horizontal Upward CSS Drop-Down Menu Component
3
+ *
4
+ * @file dropdown.upward.css
5
+ * @package Dropdown
6
+ * @version 0.1
7
+ * @type Transitional
8
+ * @requires dropdown.upward.css
9
+ * @browsers Windows: IE5+, Opera7+, Firefox1+
10
+ * Mac OS: Safari2+, Firefox2+
11
+ *
12
+ * @link http://www.lwis.net/
13
+ * @copyright 2006-2008 Live Web Institute. All Rights Reserved.
14
+ *
15
+ */
16
+ ul.dropdown,
17
+ ul.dropdown li,
18
+ ul.dropdown ul {
19
+ list-style: none;
20
+ margin: 0;
21
+ padding: 0;
22
+ }
23
+ ul.dropdown {
24
+ position: relative;
25
+ bottom: 0px;
26
+ z-index: 97;
27
+ float: left;
28
+ }
29
+ ul.dropdown li {
30
+ float: left;
31
+ line-height: 1.3em;
32
+ vertical-align: middle;
33
+ zoom: 1;
34
+ }
35
+ ul.dropdown li.hover,
36
+ ul.dropdown li:hover {
37
+ position: relative;
38
+ z-index: 98;
39
+ cursor: default;
40
+ }
41
+ ul.dropdown ul {
42
+ visibility: hidden;
43
+ position: absolute;
44
+ top: 100%;
45
+ left: 0;
46
+ z-index: 598;
47
+ width: 100%;
48
+ border-bottom:1px solid #000;
49
+ }
50
+ ul.dropdown ul li {
51
+ float: none;
52
+ }
53
+ ul.dropdown ul ul {
54
+ top: 1px;
55
+ left: 99%;
56
+ }
57
+ ul.dropdown li:hover > ul {
58
+ visibility: visible;
59
+ }
60
+ ul.dropdown-upward ul {
61
+ top: auto !important;
62
+ bottom: 100%;
63
+ }
64
+ ul.dropdown-upward ul ul {
65
+ bottom: 1px;
66
+ }
67
+ /**
68
+ * Default CSS Drop-Down Menu Theme
69
+ *
70
+ * @file default.css
71
+ * @name Default
72
+ * @version 0.1
73
+ * @type transitional
74
+ * @browsers Windows: IE5+, Opera7+, Firefox1+
75
+ * Mac OS: Safari2+, Firefox2+
76
+ *
77
+ * @link http://www.lwis.net/
78
+ * @copyright 2008 Live Web Institute. All Rights Reserved.
79
+ *
80
+ * Module Classes: *.dir {} *.on {} *.open {} li.hover {} li.first {} li.last {}
81
+ * Expected directory tag - li
82
+ *
83
+ */
84
+ /*-------------------------------------------------/
85
+ * @section Base Drop-Down Styling
86
+ * @structure ul (unordered list)
87
+ * ul li (list item)
88
+ * ul li a (links)
89
+ * /*\.class|(li|a):hover/
90
+ * @level sep ul
91
+ */
92
+ ul.dropdown {
93
+ width:100%;
94
+ }
95
+ ul.dropdown li {
96
+ padding: 7px 20px;
97
+ background-color: #fff;
98
+ }
99
+ ul.dropdown li.hover,
100
+ ul.dropdown li:hover {
101
+ background-color: #eee;
102
+ color: #000;
103
+ }
104
+ ul.dropdown a:link,
105
+ ul.dropdown a:visited { color: #000; text-decoration: none; display:block; width:90%; }
106
+ ul.dropdown a:hover { color: #000; }
107
+ ul.dropdown a:active { color: #ed008c; }
108
+ /* -- level mark -- */
109
+ ul.dropdown ul {
110
+ margin-top: 0px;
111
+ margin-left:-1px;
112
+ }
113
+ ul.dropdown ul li {
114
+ text-align: left;
115
+ font-size:0.8em;
116
+ border-left:1px solid #000;
117
+ }
118
+ /*-------------------------------------------------/
119
+ * @section Support Class `dir`
120
+ * @level sep ul, .class
121
+ */
122
+ ul.dropdown *.dir {
123
+ padding-right: 20px;
124
+ background-image: url(images/nav-arrow-down.png);
125
+ background-position: 100% 50%;
126
+ background-repeat: no-repeat;
127
+ }
128
+ /* -- Components override -- */
129
+ ul.dropdown-horizontal ul *.dir {
130
+ padding-right: 15px;
131
+ background-image: url(images/nav-arrow-right.png);
132
+ background-position: 100% 50%;
133
+ background-repeat: no-repeat;
134
+ }
135
+ ul.dropdown-upward *.dir {
136
+ background-image: url(images/nav-arrow-top.png);
137
+ }
138
+ ul.dropdown-vertical *.dir,
139
+ ul.dropdown-upward ul *.dir {
140
+ background-image: url(images/nav-arrow-right.png);
141
+ }
142
+ ul.dropdown-vertical-rtl *.dir {
143
+ padding-right: 10px;
144
+ padding-left: 15px;
145
+ background-image: url(images/nav-arrow-left.png);
146
+ background-position: 0 50%;
147
+ }
148
+ li.current_page_item a { color: #ed008c; }
149
+ li.current_page_item a:link, li.current_page_item a:visited { color: #ed008c; }
150
+ li.current_page_item ul a, li.current_page_item ul a:visited, li.current_page_item ul a:link { color: #000; }
151
+ li.current_page_ancestor a,li.current_page_ancestor a:visited, li.current_page_ancestor a:link {text-decoration:underline;}
152
+ li.current_page_ancestor ul a, li.current_page_ancestor ul a:visited, li.current_page_ancestor ul a:link {text-decoration:none;}
153
+
154
+ .widget_shailan_dropdownwidget{background:#fff; border-top:1px solid #000; border-bottom:1px solid #000; margin:2px 0px 2px 0px;}
themes/_template/default.css ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * Default CSS Drop-Down Menu Theme
5
+ *
6
+ * @file default.css
7
+ * @name Default
8
+ * @version 0.1
9
+ * @type transitional
10
+ * @browsers Windows: IE5+, 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
+ @import "helper.css";
22
+
23
+
24
+ /*-------------------------------------------------/
25
+ * @section Base Drop-Down Styling
26
+ * @structure ul (unordered list)
27
+ * ul li (list item)
28
+ * ul li a (links)
29
+ * /*\.class|(li|a):hover/
30
+ * @level sep ul
31
+ */
32
+
33
+
34
+ ul.dropdown {
35
+ font-weight: bold;
36
+ }
37
+
38
+ ul.dropdown li {
39
+ padding: 7px 10px;
40
+ border-style: solid;
41
+ border-width: 1px 1px 1px 0;
42
+ border-color: #fff #d9d9d9 #d9d9d9;
43
+ background-color: #f6f6f6;
44
+ color: #000;
45
+ }
46
+
47
+ ul.dropdown li.hover,
48
+ ul.dropdown li:hover {
49
+ background-color: #eee;
50
+ color: #000;
51
+ }
52
+
53
+ ul.dropdown a:link,
54
+ ul.dropdown a:visited { color: #000; text-decoration: none; }
55
+ ul.dropdown a:hover { color: #000; }
56
+ ul.dropdown a:active { color: #ffa500; }
57
+
58
+
59
+ /* -- level mark -- */
60
+
61
+ ul.dropdown ul {
62
+ width: 150px;
63
+ margin-top: 1px;
64
+ }
65
+
66
+ ul.dropdown ul li {
67
+ font-weight: normal;
68
+ }
69
+
70
+
71
+
72
+ /*-------------------------------------------------/
73
+ * @section Support Class `dir`
74
+ * @level sep ul, .class
75
+ */
76
+
77
+
78
+ ul.dropdown *.dir {
79
+ padding-right: 20px;
80
+ background-image: url(images/nav-arrow-down.png);
81
+ background-position: 100% 50%;
82
+ background-repeat: no-repeat;
83
+ }
84
+
85
+
86
+ /* -- Components override -- */
87
+
88
+ ul.dropdown-horizontal ul *.dir {
89
+ padding-right: 15px;
90
+ background-image: url(images/nav-arrow-right.png);
91
+ background-position: 100% 50%;
92
+ background-repeat: no-repeat;
93
+ }
94
+
95
+ ul.dropdown-upward *.dir {
96
+ background-image: url(images/nav-arrow-top.png);
97
+ }
98
+
99
+ ul.dropdown-vertical *.dir,
100
+ ul.dropdown-upward ul *.dir {
101
+ background-image: url(images/nav-arrow-right.png);
102
+ }
103
+
104
+ ul.dropdown-vertical-rtl *.dir {
105
+ padding-right: 10px;
106
+ padding-left: 15px;
107
+ background-image: url(images/nav-arrow-left.png);
108
+ background-position: 0 50%;
109
+ }
themes/adobe.com/default.advanced.css ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * Abobe Advanced CSS Drop-Down Menu Theme
5
+ *
6
+ * @file default.advanced.css
7
+ * @name Adobe
8
+ * @version 0.1
9
+ * @type transitional
10
+ * @browsers Windows: IE5+, 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
+ */
17
+
18
+ @import "default.css";
19
+
20
+
21
+ ul.dropdown li a { /* Moved from 'custom' section */
22
+ display: block;
23
+ padding: 7px 12px;
24
+ }
25
+
26
+
27
+ /* ------------- Override default */
28
+
29
+ ul.dropdown li {
30
+ padding: 0;
31
+ }
32
+
33
+
34
+ /* ------------- Reinitiate default: post-override activities */
35
+
36
+ ul.dropdown li.dir {
37
+ padding: 7px 20px 7px 12px;
38
+ }
39
+
40
+ ul.dropdown ul li.dir {
41
+ padding-right: 15px;
42
+ }
43
+
44
+
45
+ /* ------------- Custom */
46
+
47
+ ul.dropdown li {
48
+
49
+ }
50
+
51
+
52
+ /* Especially for IE6 or lower */
53
+
54
+ ul.dropdown ul a {
55
+ padding: 4px 5px 4px 12px;
56
+ /*width: 139px;*/
57
+ }
58
+
59
+ ul.dropdown ul a:hover {
60
+ padding: 3px 5px 3px 11px;
61
+ border: solid 1px #ddd;
62
+ background-color: #eee;
63
+ font-weight: bold;
64
+ }
65
+
66
+ ul.dropdown ul a.dir {
67
+ /*width: 129px;*/
68
+ }
themes/adobe.com/default.css ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * Adobe CSS Drop-Down Menu Theme
5
+ *
6
+ * @file default.css
7
+ * @name Adobe
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
+ * @section Base Drop-Down Styling
24
+ * @structure ul (unordered list)
25
+ * ul li (list item)
26
+ * ul li a (links)
27
+ * *(.class|:hover)
28
+ * @level sep ul
29
+ */
30
+
31
+
32
+ /* ----- ALL LEVELS (incl. first) */
33
+
34
+ ul.dropdown {
35
+ font: bold 12px Arial, Helvetica, sans-serif;
36
+ }
37
+
38
+ ul.dropdown li {
39
+ padding: 7px 12px;
40
+ background-color: #000;
41
+ color: #fff;
42
+ }
43
+
44
+ ul.dropdown li.hover,
45
+ ul.dropdown li:hover {
46
+ background-color: #222;
47
+ }
48
+
49
+ ul.dropdown a:link,
50
+ ul.dropdown a:visited { color: #fff; text-decoration: none; }
51
+ ul.dropdown a:hover { color: #fff; text-decoration: underline; }
52
+ ul.dropdown a:active { color: #fff; }
53
+
54
+
55
+ /* ----- END LEVEL */
56
+
57
+
58
+ /* ----- NON-FIRST LEVEL */
59
+
60
+ ul.dropdown ul {
61
+ margin-left: -6px;
62
+ width: 170px;
63
+ padding-bottom: 9px;
64
+ background: url(images/dropdown_pane.png) 0 100% no-repeat;
65
+ color: #000;
66
+ font-size: 11px;
67
+ font-weight: normal;
68
+ }
69
+
70
+ ul.dropdown ul li {
71
+ background-color: transparent;
72
+ color: #000;
73
+ }
74
+
75
+ ul.dropdown ul li.hover,
76
+ ul.dropdown ul li:hover {
77
+ background-color: transparent;
78
+ }
79
+
80
+ ul.dropdown ul li.empty {
81
+ padding: 12px 12px 7px !important;
82
+ font-weight: bold;
83
+ }
84
+
85
+ ul.dropdown ul a:link,
86
+ ul.dropdown ul a:visited { color: #000; }
87
+ ul.dropdown ul a:hover { color: #000; text-decoration: none; }
88
+ ul.dropdown ul a:active { color: #000; }
89
+
90
+ ul.dropdown ul ul {
91
+ display: none;
92
+ }
93
+
94
+ ul.dropdown ul ul li {}
95
+
96
+ /* ----- END LEVEL */
97
+
98
+
99
+
100
+ /*------------------------------------------------------------------------------------------------------/
101
+ * @section Support Class 'dir'
102
+ * @level sep ul, .class
103
+ */
104
+
105
+
106
+ /* ----- ALL LEVELS (incl. first) */
107
+
108
+ ul.dropdown *.dir {
109
+ padding-right: 12px;
110
+ background-image: none;
111
+ background-position: 100% 50%;
112
+ background-repeat: no-repeat;
113
+ }
114
+
115
+ /* ----- END LEVEL */
116
+
117
+
118
+
119
+
120
+ /* Components override */
121
+
122
+ ul.dropdown-horizontal ul *.dir {
123
+ padding-right: 15px;
124
+ background-image: url(images/nav-arrow-right.png);
125
+ background-position: 100% 50%;
126
+ background-repeat: no-repeat;
127
+ }
128
+
129
+ ul.dropdown-vertical *.dir {
130
+ background-image: url(images/nav-arrow-right.png);
131
+ }
132
+
133
+ ul.dropdown-vertical-rtl *.dir {
134
+ padding-right: 15px;
135
+ background-image: url(images/nav-arrow-left.png);
136
+ background-position: 0 50%;
137
+ }
138
+
139
+ .shailan_DropdownWidget{background-color:#000;}
themes/adobe.com/images/dropdown_pane.png ADDED
Binary file
themes/adobe.com/images/dropdown_pane_8bit.png ADDED
Binary file
themes/adobe.com/images/favicon.ico ADDED
Binary file
themes/adobe.com/images/grad1.png ADDED
Binary file
themes/adobe.com/images/icon.png ADDED
Binary file
themes/default/default.advanced.css ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * Default Advanced CSS Drop-Down Menu Theme
5
+ *
6
+ * @file default.advanced.css
7
+ * @name Default
8
+ * @version 0.1
9
+ * @type transitional
10
+ * @browsers Windows: IE5+, 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
+ */
17
+
18
+ @import "default.css";
19
+
20
+
21
+ /*-------------------------------------------------/
22
+ * @section Base Style Extension
23
+ */
24
+
25
+ ul.dropdown li a {
26
+ display: block;
27
+ padding: 7px 10px;
28
+ }
29
+
30
+
31
+ /*-------------------------------------------------/
32
+ * @section Base Style Override
33
+ */
34
+
35
+ ul.dropdown li {
36
+ padding: 0;
37
+ }
38
+
39
+
40
+ /*-------------------------------------------------/
41
+ * @section Base Style Reinitiate: post-override activities
42
+ */
43
+
44
+ ul.dropdown li.dir {
45
+ padding: 7px 20px 7px 10px;
46
+ }
47
+
48
+ ul.dropdown ul li.dir {
49
+ padding-right: 15px;
50
+ }
51
+
52
+
53
+ /*-------------------------------------------------/
54
+ * @section Custom
55
+ */
56
+
57
+ ul.dropdown ul a {
58
+ width: 129px;
59
+ }
60
+
61
+ ul.dropdown ul a:hover {}
62
+
63
+ ul.dropdown ul a.dir {
64
+ width: 124px;
65
+ }
themes/default/default.css ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * Default CSS Drop-Down Menu Theme
5
+ *
6
+ * @file default.css
7
+ * @name Default
8
+ * @version 0.1
9
+ * @type transitional
10
+ * @browsers Windows: IE5+, 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
+ * @section Base Drop-Down Styling
23
+ * @structure ul (unordered list)
24
+ * ul li (list item)
25
+ * ul li a (links)
26
+ * /*\.class|(li|a):hover/
27
+ * @level sep ul
28
+ */
29
+
30
+
31
+ ul.dropdown {
32
+ font-weight: bold;
33
+ }
34
+
35
+ ul.dropdown li {
36
+ padding: 7px 10px;
37
+ border-style: solid;
38
+ border-width: 1px 1px 1px 0;
39
+ border-color: #fff #d9d9d9 #d9d9d9;
40
+ background-color: #f6f6f6;
41
+ color: #000;
42
+ }
43
+
44
+ ul.dropdown li.hover,
45
+ ul.dropdown li:hover {
46
+ background-color: #eee;
47
+ color: #000;
48
+ }
49
+
50
+ ul.dropdown a:link,
51
+ ul.dropdown a:visited { color: #000; text-decoration: none; }
52
+ ul.dropdown a:hover { color: #000; }
53
+ ul.dropdown a:active { color: #ffa500; }
54
+
55
+
56
+ /* -- level mark -- */
57
+
58
+ ul.dropdown ul {
59
+ width: 150px;
60
+ margin-top: 1px;
61
+ }
62
+
63
+ ul.dropdown ul li {
64
+ font-weight: normal;
65
+ }
66
+
67
+
68
+
69
+ /*-------------------------------------------------/
70
+ * @section Support Class `dir`
71
+ * @level sep ul, .class
72
+ */
73
+
74
+
75
+ ul.dropdown *.dir {
76
+ padding-right: 20px;
77
+ background-image: url(images/nav-arrow-down.png);
78
+ background-position: 100% 50%;
79
+ background-repeat: no-repeat;
80
+ }
81
+
82
+
83
+ /* -- Components override -- */
84
+
85
+ ul.dropdown-horizontal ul *.dir {
86
+ padding-right: 15px;
87
+ background-image: url(images/nav-arrow-right.png);
88
+ background-position: 100% 50%;
89
+ background-repeat: no-repeat;
90
+ }
91
+
92
+ ul.dropdown-upward *.dir {
93
+ background-image: url(images/nav-arrow-top.png);
94
+ }
95
+
96
+ ul.dropdown-vertical *.dir,
97
+ ul.dropdown-upward ul *.dir {
98
+ background-image: url(images/nav-arrow-right.png);
99
+ }
100
+
101
+ ul.dropdown-vertical-rtl *.dir {
102
+ padding-right: 10px;
103
+ padding-left: 15px;
104
+ background-image: url(images/nav-arrow-left.png);
105
+ background-position: 0 50%;
106
+ }
themes/default/default.linear.css ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * Default Linear CSS Drop-Down Menu Theme
5
+ *
6
+ * @file default.linear.css
7
+ * @name Default
8
+ * @version 0.1
9
+ * @type transitional
10
+ * @browsers Windows: IE5+, 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
+ */
17
+
18
+ @import "default.css";
19
+
20
+
21
+ ul.dropdown {
22
+ width: 760px;
23
+ background-color: #eee;
24
+ border-bottom: solid 1px #ccc;
25
+ }
26
+
27
+ ul.dropdown li {
28
+ border: none;
29
+ background-color: #eee;
30
+ }
31
+
32
+ ul.dropdown li.hover,
33
+ ul.dropdown li:hover {
34
+ background-color: #f6f6f6;
35
+ color: #000;
36
+ }
37
+
38
+ ul.dropdown ul {
39
+ width: 760px;
40
+ margin-top: 0;
41
+ border-top: solid 1px #ccc;
42
+ background-color: #f6f6f6;
43
+ }
44
+
45
+ ul.dropdown ul li {
46
+ background-color: #f6f6f6;
47
+ }
48
+
49
+ ul.dropdown ul li.hover {
50
+ margin: 0;
51
+ border: none;
52
+ }
53
+
54
+
55
+ ul.dropdown ul *.dir {
56
+ padding-right: 7px;
57
+ background-image: none;
58
+ }
themes/default/default.ultimate.css ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * Default Ultimate Linear CSS Drop-Down Menu Theme
5
+ *
6
+ * @file default.ultimate.css
7
+ * @name Default
8
+ * @version 0.1
9
+ * @type transitional
10
+ * @browsers Windows: IE5+, 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
+ */
17
+
18
+ @import "default.css";
19
+
20
+
21
+ /*-------------------------------------------------/
22
+ * @section Base Style Extension
23
+ */
24
+
25
+ ul.dropdown a,
26
+ ul.dropdown span {
27
+ display: block;
28
+ padding: 7px 10px;
29
+ }
30
+
31
+
32
+
33
+ /*-------------------------------------------------/
34
+ * @section Base Style Override
35
+ */
36
+
37
+ ul.dropdown li {
38
+ padding: 0;
39
+ border: none;
40
+ }
41
+
42
+ ul.dropdown ul a,
43
+ ul.dropdown ul span {
44
+ padding: 8px;
45
+ }
46
+
47
+
48
+
49
+ /*-------------------------------------------------/
50
+ * @section Base Style Reinitiate: post-override activities
51
+ */
52
+
53
+
54
+
55
+
56
+
57
+ /*-------------------------------------------------/
58
+ * @section Custom Styles
59
+ */
60
+
61
+ ul.dropdown li {
62
+ }
63
+
64
+ ul.dropdown li.hover,
65
+ ul.dropdown li:hover {
66
+ background: url(images/grad2.png) 0 100% repeat-x;
67
+ color: #000;
68
+ }
69
+
70
+ ul.dropdown li a:active {
71
+ background: url(images/grad1.png) repeat-x;
72
+ }
73
+
74
+
75
+ /* Non-first level */
76
+
77
+ ul.dropdown ul {
78
+ margin-top: 0;
79
+ }
80
+
81
+ ul.dropdown ul li {
82
+ }
83
+
84
+ ul.dropdown ul li.hover,
85
+ ul.dropdown ul li:hover {
86
+ }
87
+
88
+
89
+
90
+ /* Mixed */
91
+
92
+ ul.dropdown li a,
93
+ ul.dropdown *.dir {
94
+ border-style: solid;
95
+ border-width: 1px 1px 1px 0;
96
+ border-color: #fff #d9d9d9 #d9d9d9;
97
+ }
98
+
99
+
100
+
101
+ /*-------------------------------------------------/
102
+ * @section Support Class `open` Usage
103
+ * @source js, artificial
104
+ *
105
+ */
106
+
107
+ ul.dropdown li.hover *.open {
108
+ border-style: solid;
109
+ border-width: 1px 1px 1px 0;
110
+ border-color: #ffa500 #d9d9d9 #d9d9d9;
111
+ background-color: #fff;
112
+ color: #000;
113
+ }
114
+
115
+ ul.dropdown ul li.hover *.open,
116
+ ul.dropdown-vertical li.hover *.open {
117
+ padding-left: 15px;
118
+ border-top-color: #fff;
119
+ border-left: solid 1px #ffa500;
120
+ }
121
+
122
+ ul.dropdown-vertical-rtl li.hover *.open {
123
+ padding-right: 15px;
124
+ border-right-color: #ffa500;
125
+ border-left: none;
126
+ }
127
+
128
+ ul.dropdown-upward li.hover *.open {
129
+ border-top-color: #fff;
130
+ border-bottom-color: #ffa500;
131
+ }
132
+
133
+ ul.dropdown-upward ul li.hover *.open {
134
+ border-bottom-color: #d9d9d9;
135
+ }
136
+
137
+
138
+ /* CSS2 clone */
139
+
140
+ ul.dropdown li:hover > *.dir {
141
+ border-style: solid;
142
+ border-width: 1px 1px 1px 0;
143
+ border-color: #ffa500 #d9d9d9 #d9d9d9;
144
+ background-color: #fff;
145
+ color: #000;
146
+ }
147
+
148
+ ul.dropdown ul li:hover > *.dir,
149
+ ul.dropdown-vertical li:hover > *.dir {
150
+ padding-left: 15px;
151
+ border-top-color: #fff;
152
+ border-left: solid 1px #ffa500;
153
+ }
154
+
155
+ ul.dropdown-vertical-rtl li:hover > *.dir {
156
+ padding-right: 15px;
157
+ border-right-color: #ffa500;
158
+ border-left: none;
159
+ }
160
+
161
+ ul.dropdown-upward li:hover > *.dir {
162
+ border-top-color: #fff;
163
+ border-bottom-color: #ffa500;
164
+ }
165
+
166
+ ul.dropdown-upward ul li:hover > *.dir {
167
+ border-bottom-color: #d9d9d9;
168
+ }
themes/default/default.ultimate.linear.css ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * Default Ultimate CSS Drop-Down Menu Theme
5
+ *
6
+ * @file default.linear.css
7
+ * @name Default
8
+ * @version 0.1
9
+ * @type transitional
10
+ * @browsers Windows: IE5+, 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
+ */
17
+
18
+ @import "default.ultimate.css";
19
+
20
+
21
+ ul.dropdown {
22
+ width: 760px;
23
+ background: url(images/grad2.png) 0 100% repeat-x;
24
+ border-bottom: solid 1px #ccc;
25
+ }
26
+
27
+ ul.dropdown li,
28
+ ul.dropdown li a {
29
+ border: none;
30
+ background: url(images/grad2.png) 0 100% repeat-x;
31
+ }
32
+
33
+ ul.dropdown li.hover,
34
+ ul.dropdown li:hover {
35
+ background: #f6f6f6;
36
+ color: #000;
37
+ }
38
+
39
+ ul.dropdown li a:active {
40
+ background: none;
41
+ }
42
+
43
+ ul.dropdown ul {
44
+ width: 760px;
45
+ margin-top: -1px;
46
+ border-top: solid 1px #ccc;
47
+ background-color: #f6f6f6;
48
+ }
49
+
50
+ ul.dropdown ul li,
51
+ ul.dropdown ul li a,
52
+ ul.dropdown ul *.dir {
53
+ background: transparent;
54
+ }
55
+
56
+ ul.dropdown ul li.hover {
57
+ margin: 0;
58
+ border: none;
59
+ }
60
+
61
+ ul.dropdown ul li a:hover {
62
+ background-color: #f6f6f6;
63
+ }
64
+
65
+
66
+
67
+
68
+
69
+
70
+ ul.dropdown *.dir {
71
+ border: none;
72
+ }
73
+
74
+ ul.dropdown ul *.dir {
75
+ padding-right: 7px;
76
+ background: none;
77
+ }
78
+
79
+
80
+
81
+
82
+ ul.dropdown li.hover *.open {
83
+ position: relative;
84
+ z-index: 600;
85
+ float: left;
86
+ margin: -1px -1px 0;
87
+ border-width: 1px;
88
+ border-color: #ffa500 #ccc #f6f6f6;
89
+ background-color: #f6f6f6;
90
+ }
91
+
92
+ ul.dropdown ul li.hover *.open {
93
+ position: static;
94
+ margin: 0;
95
+ padding-left: 8px;
96
+ border: none;
97
+ background-color: transparent;
98
+ }
99
+
100
+
101
+ /* CSS 2 Clone */
102
+
103
+ ul.dropdown li:hover > *.dir {
104
+ position: relative;
105
+ z-index: 600;
106
+ float: left;
107
+ margin: -1px -1px 0;
108
+ border-width: 1px;
109
+ border-color: #ffa500 #ccc #f6f6f6;
110
+ background-color: #f6f6f6;
111
+ }
112
+
113
+ ul.dropdown ul li:hover > *.dir {
114
+ position: static;
115
+ margin: 0;
116
+ padding-left: 8px;
117
+ border: none;
118
+ background-color: transparent;
119
+ }
themes/default/images/grad1.png ADDED
Binary file
themes/default/images/grad2.png ADDED
Binary file
themes/default/images/nav-arrow-down-white.png ADDED
Binary file
themes/default/images/nav-arrow-down.png ADDED
Binary file
themes/default/images/nav-arrow-left-white.png ADDED
Binary file
themes/default/images/nav-arrow-left.png ADDED
Binary file
themes/default/images/nav-arrow-right-white.png ADDED
Binary file
themes/default/images/nav-arrow-right.png ADDED
Binary file
themes/default/images/nav-arrow-top-white.png ADDED
Binary file
themes/default/images/nav-arrow-top.png ADDED
Binary file
themes/default/images/pattern1.png ADDED
Binary file
themes/flickr.com/default.css ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * Flickr CSS Drop-Down Menu Theme
5
+ *
6
+ * @file default.css
7
+ * @name Flickr
8
+ * @version beta
9
+ * @type transitional
10
+ * @browsers Windows: IE5+, 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
+ */
17
+
18
+
19
+
20
+ /*-------------------------------------------------/
21
+ * @section Base Drop-Down Styling
22
+ * @structure ul (unordered list)
23
+ * ul li (list item)
24
+ * ul li a (links)
25
+ * /*\.class|(li|a):hover/
26
+ * @level sep ul
27
+ */
28
+
29
+
30
+ ul.dropdown {
31
+ padding-bottom: 1px;
32
+ background: url(images/pattern1.png) 0 100% repeat-x;
33
+ font: bold 13px/normal Arial, Helvetica, sans-serif;
34
+ }
35
+
36
+ ul.dropdown li {
37
+ padding: 4px 6px;
38
+ color: #0063dc;
39
+ }
40
+
41
+ ul.dropdown li.divider {
42
+ border-top: solid 1px #e5e5e5;
43
+ }
44
+
45
+ ul.dropdown li.hover,
46
+ ul.dropdown li:hover {
47
+ color: #0063dc;
48
+ }
49
+
50
+ ul.dropdown a:link,
51
+ ul.dropdown a:visited { color: #0063dc; text-decoration: none; }
52
+ ul.dropdown a:hover { color: #0063dc; text-decoration: underline; }
53
+ ul.dropdown a:active { color: #ff0084; }
54
+
55
+
56
+ /* -- level mark -- */
57
+
58
+ ul.dropdown ul {
59
+ width: 150px;
60
+ padding: 3px 6px;
61
+ border-style: solid;
62
+ border-width: 1px;
63
+ border-color: #f0f0f0 #666 #666 #f0f0f0;
64
+ background-color: #fff;
65
+ font-weight: normal;
66
+ font-size: 11px;
67
+ }
68
+
69
+ ul.dropdown ul li {
70
+ }
71
+
72
+
73
+
74
+ /*-------------------------------------------------/
75
+ * @section Support Class `dir`
76
+ * @level sep ul, .class
77
+ */
78
+
79
+
80
+ ul.dropdown *.dir {
81
+ padding-right: 25px;
82
+ background-image: url(images/nav-arrow-down.png);
83
+ background-position: 95% 50%;
84
+ background-repeat: no-repeat;
85
+ }
86
+
87
+
88
+ /* -- Components override -- */
89
+
90
+ ul.dropdown-vertical ul {
91
+ top: 0;
92
+ left: 100%;
93
+ }
94
+
95
+ ul.dropdown-vertical-rtl ul {
96
+ right: 100%;
97
+ }
98
+
99
+ ul.dropdown-horizontal,
100
+ ul.dropdown-linear,
101
+ ul.dropdown-upward {
102
+ width: 100%;
103
+ }
104
+
105
+ ul.dropdown-horizontal ul *.dir {
106
+ padding-right: 25px;
107
+ background-image: url(images/nav-arrow-right.png);
108
+ background-position: 100% 50%;
109
+ background-repeat: no-repeat;
110
+ }
111
+
112
+ ul.dropdown-upward *.dir {
113
+ background-image: url(images/nav-arrow-up.png);
114
+ }
115
+
116
+ ul.dropdown-vertical *.dir {
117
+ background-image: url(images/nav-arrow-right.png);
118
+ background-position: 180px 50%;
119
+ }
120
+
121
+ ul.dropdown-vertical ul *.dir,
122
+ ul.dropdown-upward ul *.dir {
123
+ background-image: url(images/nav-arrow-right.png);
124
+ background-position: 100% 50%;
125
+ }
126
+
127
+ ul.dropdown-vertical-rtl *.dir {
128
+ padding-right: 6px;
129
+ padding-left: 25px;
130
+ background-image: url(images/nav-arrow-left.png);
131
+ background-position: 5px 50%;
132
+ }
133
+
134
+ ul.dropdown-vertical-rtl ul *.dir {
135
+ padding-right: 0;
136
+ background-image: url(images/nav-arrow-left.png);
137
+ background-position: 0 50%;
138
+ }
139
+
140
+ .shailan_DropdownWidget{background-color:#FFF;}
themes/flickr.com/default.ultimate.css ADDED
@@ -0,0 +1,237 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * Flickr Ultimate CSS Drop-Down Menu Theme
5
+ *
6
+ * @file default.ultimate.css
7
+ * @name Flickr
8
+ * @version beta
9
+ * @type transitional
10
+ * @browsers Windows: IE5+, 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
+ */
17
+
18
+ @import "default.css";
19
+
20
+
21
+ /*-------------------------------------------------/
22
+ * @section Base Style Extension
23
+ */
24
+
25
+ ul.dropdown a,
26
+ ul.dropdown span {
27
+ display: block;
28
+ padding: 4px 6px;
29
+ }
30
+
31
+ ul.dropdown ul a,
32
+ ul.dropdown ul span {
33
+ padding: 4px 0;
34
+ }
35
+
36
+
37
+ /*-------------------------------------------------/
38
+ * @section Base Style Override
39
+ */
40
+
41
+ ul.dropdown li {
42
+ padding: 0;
43
+ border: none;
44
+ }
45
+
46
+
47
+ /*-------------------------------------------------/
48
+ * @section Custom Styles
49
+ */
50
+
51
+ ul.dropdown li a,
52
+ ul.dropdown *.dir {
53
+ border-style: solid;
54
+ border-width: 1px 1px 0;
55
+ border-color: #fff;
56
+ }
57
+
58
+ ul.dropdown ul li a,
59
+ ul.dropdown ul *.dir {
60
+ border: none;
61
+ }
62
+
63
+
64
+ ul.dropdown-vertical li a,
65
+ ul.dropdown-vertical *.dir {
66
+ border-width: 1px 0 1px 1px;
67
+ }
68
+
69
+ ul.dropdown-vertical-rtl li a,
70
+ ul.dropdown-vertical-rtl *.dir {
71
+ border-width: 1px 1px 1px 0;
72
+ }
73
+
74
+
75
+ /*-------------------------------------------------/
76
+ * @section Support Class `open` Usage
77
+ * @source js, artificial
78
+ *
79
+ */
80
+
81
+ ul.dropdown li.hover *.open {
82
+ position: relative;
83
+ z-index: 600;
84
+ margin: -1px 0;
85
+ padding-top: 5px;
86
+ padding-bottom: 5px;
87
+ border-color: #f0f0f0 #666 #666 #f0f0f0;
88
+ background-color: #fff;
89
+ background-image: url(images/nav-arrow-down-open.png);
90
+ color: #0063dc;
91
+ zoom: 1;
92
+ }
93
+
94
+ ul.dropdown-horizontal li.hover *.open,
95
+ ul.dropdown-upward li.hover *.open,
96
+ ul.dropdown-linear li.hover *.open {
97
+ float: left;
98
+ zoom: none;
99
+ }
100
+
101
+ ul.dropdown-vertical li.hover *.open {
102
+ margin: 0 -1px;
103
+ padding-top: 4px;
104
+ padding-bottom: 4px;
105
+ padding-left: 7px;
106
+ }
107
+
108
+ ul.dropdown-vertical-rtl li.hover *.open {
109
+ padding-right: 7px;
110
+ }
111
+
112
+ ul.dropdown-vertical ul li.hover *.open {
113
+ padding-right: 0;
114
+ padding-left: 0;
115
+ }
116
+
117
+ ul.dropdown ul li.hover *.open {
118
+ position: static;
119
+ z-index: 0;
120
+ float: none;
121
+ margin: 0;
122
+ padding-top: 4px;
123
+ padding-bottom: 4px;
124
+ border: none;
125
+ }
126
+
127
+ ul.dropdown ul li.hover *.open,
128
+ ul.dropdown-vertical li.hover *.open {
129
+ background-image: url(images/nav-arrow-right-open.png);
130
+ }
131
+
132
+ ul.dropdown-vertical-rtl li.hover *.open,
133
+ ul.dropdown-vertical-rtl ul li.hover *.open {
134
+ background-image: url(images/nav-arrow-left-open.png);
135
+ }
136
+
137
+ ul.dropdown-upward li.hover *.open {
138
+ background-image: url(images/nav-arrow-up-open.png);
139
+ }
140
+
141
+ ul.dropdown-upward ul li.hover *.open {
142
+ background-image: url(images/nav-arrow-right-open.png);
143
+ }
144
+
145
+
146
+
147
+
148
+
149
+ ul.dropdown a.dir:hover {
150
+ background-image: url(images/nav-arrow-down-on.png) !important;
151
+ }
152
+
153
+ ul.dropdown-upward a.dir:hover {
154
+ background-image: url(images/nav-arrow-up-on.png) !important;
155
+ }
156
+
157
+ ul.dropdown ul a.dir:hover,
158
+ ul.dropdown-vertical a.dir:hover {
159
+ background-image: url(images/nav-arrow-right-on.png) !important;
160
+ }
161
+
162
+ ul.dropdown-vertical-rtl a.dir:hover,
163
+ ul.dropdown-vertical-rtl ul a.dir:hover {
164
+ background-image: url(images/nav-arrow-left-on.png) !important;
165
+ }
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+ /* CSS2 clone */
174
+
175
+ ul.dropdown li:hover > *.dir {
176
+ position: relative;
177
+ z-index: 600;
178
+ margin: -1px 0;
179
+ padding-top: 5px;
180
+ padding-bottom: 5px;
181
+ border-color: #f0f0f0 #666 #666 #f0f0f0;
182
+ background-color: #fff;
183
+ background-image: url(images/nav-arrow-down-open.png);
184
+ color: #0063dc;
185
+ zoom: 1;
186
+ }
187
+
188
+ ul.dropdown-horizontal li:hover > *.dir,
189
+ ul.dropdown-upward li:hover > *.dir,
190
+ ul.dropdown-linear li:hover > *.dir {
191
+ float: left;
192
+ zoom: none;
193
+ }
194
+
195
+ ul.dropdown-vertical li:hover > *.dir {
196
+ margin: 0 -1px;
197
+ padding-top: 4px;
198
+ padding-bottom: 4px;
199
+ padding-left: 7px;
200
+ }
201
+
202
+ ul.dropdown-vertical-rtl li:hover > *.dir {
203
+ padding-right: 7px;
204
+ }
205
+
206
+ ul.dropdown-vertical ul li:hover > *.dir {
207
+ padding-right: 0;
208
+ padding-left: 0;
209
+ }
210
+
211
+ ul.dropdown ul li:hover > *.dir {
212
+ position: static;
213
+ z-index: 0;
214
+ float: none;
215
+ margin: 0;
216
+ padding-top: 4px;
217
+ padding-bottom: 4px;
218
+ border: none;
219
+ }
220
+
221
+ ul.dropdown ul li:hover > *.dir,
222
+ ul.dropdown-vertical li:hover > *.dir {
223
+ background-image: url(images/nav-arrow-right-open.png);
224
+ }
225
+
226
+ ul.dropdown-vertical-rtl li:hover > *.dir,
227
+ ul.dropdown-vertical-rtl ul li:hover > *.dir {
228
+ background-image: url(images/nav-arrow-left-open.png);
229
+ }
230
+
231
+ ul.dropdown-upward li:hover > *.dir {
232
+ background-image: url(images/nav-arrow-up-open.png);
233
+ }
234
+
235
+ ul.dropdown-upward ul li:hover > *.dir {
236
+ background-image: url(images/nav-arrow-right-open.png);
237
+ }
themes/flickr.com/default.ultimate.linear.css ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * Flickr Ultimate Linear CSS Drop-Down Menu Theme
5
+ *
6
+ * @file default.ultimate.linear.css
7
+ * @name Flickr
8
+ * @version beta
9
+ * @type transitional
10
+ * @browsers Windows: IE5+, 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
+ */
17
+
18
+ @import "default.ultimate.css";
19
+
20
+
21
+ ul.dropdown {
22
+ width: 100%;
23
+ }
24
+
25
+ ul.dropdown li.divider {
26
+ border: none;
27
+ }
28
+
29
+ ul.dropdown ul {
30
+ width: 100%;
31
+ margin-top: -1px;
32
+ padding: 3px 0;
33
+ }
34
+
35
+ * html ul.dropdown ul {
36
+ margin-top: 0;
37
+ width: 760px;
38
+ }
39
+
40
+ ul.dropdown ul li {
41
+ background: url(images/pattern2.png) 100% 0 repeat-y;
42
+ }
43
+
44
+ ul.dropdown ul li.last {
45
+ background: none;
46
+ }
47
+
48
+ ul.dropdown ul a {
49
+ padding: 4px 6px !important;
50
+ }
51
+
52
+
53
+
54
+ ul.dropdown ul *.dir,
55
+ ul.dropdown ul a.dir:hover {
56
+ padding-right: 0;
57
+ background: none !important;
58
+ }
59
+
60
+ ul.dropdown ul span.dir {
61
+ display: none; /* to-do: consider moving to abstract */
62
+ }
themes/flickr.com/default.ultimate.upward.css ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * Flickr Ultimate Upward CSS Drop-Down Menu Theme
5
+ *
6
+ * @file default.ultimate.upward.css
7
+ * @name Flickr
8
+ * @version beta
9
+ * @type transitional
10
+ * @browsers Windows: IE5+, 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
+ */
17
+
18
+ @import "default.ultimate.css";
19
+
20
+ ul.dropdown {
21
+ padding: 1px 0 0;
22
+ background-position: 0 0;
23
+ }
24
+
25
+ ul.dropdown li.divider {
26
+ border-top: none;
27
+ border-bottom: solid 1px #e5e5e5;
28
+ }
29
+
30
+ ul.dropdown ul {
31
+ border-color: #666 #666 #f0f0f0 #f0f0f0;
32
+ }
33
+
34
+
35
+
36
+
37
+ /* Mixed */
38
+
39
+ ul.dropdown li a,
40
+ ul.dropdown *.dir {
41
+ border-width: 0 1px 1px;
42
+ }
43
+
44
+
45
+
46
+ ul.dropdown li.hover *.open {
47
+ margin: -1px 0 0;
48
+ padding-top: 5px;
49
+ padding-bottom: 5px;
50
+ border-color: #f0f0f0 #666 #f0f0f0 #f0f0f0;
51
+ }
52
+
53
+ ul.dropdown ul li.hover *.open {
54
+ padding-top: 4px;
55
+ border: none;
56
+ }
57
+
58
+
59
+ /* CSS2 clone */
60
+
61
+ ul.dropdown li:hover > *.dir {
62
+ margin: -1px 0 0;
63
+ padding-top: 5px;
64
+ padding-bottom: 5px;
65
+ border-color: #f0f0f0 #666 #f0f0f0 #f0f0f0;
66
+ }
67
+
68
+ ul.dropdown ul li:hover > *.dir {
69
+ padding-top: 4px;
70
+ border: none;
71
+ }
themes/flickr.com/images/Thumbs.db ADDED
Binary file
themes/flickr.com/images/favicon.ico ADDED
Binary file
themes/flickr.com/images/icon.png ADDED
Binary file
themes/flickr.com/images/nav-arrow-down-on.png ADDED
Binary file
themes/flickr.com/images/nav-arrow-down-open.png ADDED
Binary file
themes/flickr.com/images/nav-arrow-down.png ADDED
Binary file
themes/flickr.com/images/nav-arrow-left-on.png ADDED
Binary file
themes/flickr.com/images/nav-arrow-left-open.png ADDED
Binary file
themes/flickr.com/images/nav-arrow-left.png ADDED
Binary file
themes/flickr.com/images/nav-arrow-right-on.png ADDED
Binary file
themes/flickr.com/images/nav-arrow-right-open.png ADDED
Binary file
themes/flickr.com/images/nav-arrow-right.png ADDED
Binary file
themes/flickr.com/images/nav-arrow-up-on.png ADDED
Binary file
themes/flickr.com/images/nav-arrow-up-open.png ADDED
Binary file
themes/flickr.com/images/nav-arrow-up.png ADDED
Binary file
themes/flickr.com/images/pattern1.png ADDED
Binary file
themes/flickr.com/images/pattern2.png ADDED
Binary file
themes/flickr.com/images/pattern3.png ADDED
Binary file
themes/mtv.com/default.advanced.css ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * MTV.com Advanced CSS Drop-Down Menu Theme
5
+ *
6
+ * @file default.advanced.css
7
+ * @name MTV.com
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
+ */
17
+
18
+ @import "default.css";
19
+
20
+
21
+
22
+
23
+ ul.dropdown li a {
24
+ display: block;
25
+ padding: 5px 30px;
26
+ }
27
+
28
+
29
+ /* ------------- Override default */
30
+
31
+ ul.dropdown li {
32
+ padding: 0;
33
+ }
34
+
35
+ ul.dropdown ul a { /* POI, proposal: override abstract a */
36
+ padding: 8px;
37
+ }
38
+
39
+
40
+ /* ------------- Reinitiate default: post-override activities */
41
+
42
+ ul.dropdown *.dir { /* POI */
43
+ padding: 5px 30px;
44
+ }
45
+
46
+ ul.dropdown ul *.dir {
47
+ padding: 8px 30px 8px 8px;
48
+ }
49
+
50
+
51
+ /* ------------- Custom */
52
+
53
+ ul.dropdown li {
54
+
55
+ }
56
+
57
+ /* Especially for IE6 or lower */
58
+
59
+ ul.dropdown ul a {
60
+ /*width: 139px;*/
61
+ }
62
+
63
+ ul.dropdown ul *.dir {
64
+ /*width: 129px;*/
65
+ }
66
+
67
+
68
+ ul.dropdown ul li.dir ul { /* POI, proposal */
69
+ margin-top: -1px ;
70
+ margin-left: 1px;
71
+ }
72
+
73
+
74
+
75
+ /* Roll-overs: li level */
76
+
77
+ /* First-level abstract */
78
+ ul.dropdown li.hover,
79
+ ul.dropdown li:hover {
80
+ border-top-color: #5b5b5b;
81
+ background-color: #3d3d3d;
82
+ }
83
+
84
+ /* Non-first-level abstract */
85
+ ul.dropdown ul li.hover,
86
+ ul.dropdown ul li:hover {
87
+ background: #4c4c4c url(images/comnav-arrowover.png) 100% 50% no-repeat;
88
+ }
89
+
90
+ ul.dropdown ul ul li.hover,
91
+ ul.dropdown ul ul li:hover {
92
+ background: #595959 url(images/comnav-arrowover2.png) 100% 50% no-repeat;
93
+ }
94
+
95
+
96
+
97
+
98
+ /* Proposals for Open */
99
+
100
+ ul.dropdown ul a.open,
101
+ ul.dropdown ul li:hover > a.dir {
102
+ border-top-color: #5b5b5b;
103
+ background-image: url(images/comnav-arrowover.png);
104
+ }
105
+
106
+ ul.dropdown ul ul a.open,
107
+ ul.dropdown ul ul li:hover > a.dir { /* ? merge with ul.dropdown ul a.dir:hover */
108
+ border-top-color: #595959;
109
+ background: #595959 url(images/comnav-arrowover2.png) 100% 50% no-repeat;
110
+ color: #fff;
111
+ }
112
+
113
+ /* Override UPPER TWO definitions */
114
+ ul.dropdown ul a.open:hover,
115
+ ul.dropdown ul li:hover > a.dir:hover { /* ? merge with ul.dropdown ul a.dir:hover */
116
+ background: #4698ca url(images/comnav-arrowon.png) 100% 50% no-repeat;
117
+ color: #fff;
118
+ }
119
+
120
+
themes/mtv.com/default.css ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
77
+
78
+ ul.dropdown li {
79
+ background-color: #333;
80
+ color: #fff;
81
+ }
82
+
83
+ ul.dropdown li.hover,
84
+ ul.dropdown li:hover {
85
+ }
86
+
87
+ /* Links */
88
+
89
+ ul.dropdown a:link,
90
+ ul.dropdown a:visited { color: #fff; text-decoration: none;}
91
+ ul.dropdown a:hover {
92
+ border-top-color: #5db1e0 !important;
93
+ border-left-color: #5db1e0;
94
+ background-color: #4498c7;
95
+ color: #fff;
96
+ }
97
+
98
+ ul.dropdown ul a.dir:hover { /* proposal */
99
+ background-color: #4698ca;
100
+ background-image: url(images/comnav-arrowon.png);
101
+ color: #fff;
102
+ }
103
+
104
+ ul.dropdown a:active {
105
+ background: #058acf url(images/nav-sub-press.png) 0 0 repeat-x !important;
106
+ color: #fff;
107
+ }
108
+
109
+
110
+ /* NON-FIRST LEVEL */
111
+
112
+ ul.dropdown ul {
113
+ left: auto;
114
+ right: 0;
115
+ width: 150px;
116
+ margin-top: -1px;
117
+ border-top: 1px solid #1a1a1a;
118
+ border-left: solid 1px #4c4c4c;
119
+ font: bold 11px/1em Tahoma, Geneva, Verdana, sans-serif;
120
+ }
121
+
122
+ ul.dropdown ul li {
123
+ background-color: #3a3a3a;
124
+ }
125
+
126
+ ul.dropdown ul ul {
127
+ top: 0;
128
+ right: auto;
129
+ left: 100%;
130
+ margin-top: 0;
131
+ border-top: none;
132
+ border-left: none;
133
+ font-weight: normal;
134
+ }
135
+
136
+ ul.dropdown ul ul li {
137
+ background-color: #4c4c4c;
138
+ }
139
+
140
+ ul.dropdown ul ul ul li {
141
+ background-color: #595959;
142
+ }
143
+
144
+
145
+
146
+ /* Mixed */
147
+
148
+ ul.dropdown li a,
149
+ ul.dropdown *.dir {
150
+ border-style: solid;
151
+ border-width: 1px;
152
+ border-color: #404040 #1a1a1a #1a1a1a #505050;
153
+ }
154
+
155
+ ul.dropdown ul li a,
156
+ ul.dropdown ul *.dir { border-color: #4a4a4a #242424 #242424; border-left: none; }
157
+
158
+ ul.dropdown ul ul li a,
159
+ ul.dropdown ul ul *.dir { border-color: #595959 #333 #333; }
160
+
161
+ ul.dropdown ul ul ul li a,
162
+ ul.dropdown ul ul ul *.dir { border-color: #767676 #404040 #404040; }
163
+
164
+
165
+
166
+ /* Custom elements */
167
+
168
+ #n-movies { width: 250px; text-align: center; }
169
+ #n-movies ul { right: auto; left: 0; width: 249px; text-align: left; }
170
+ #n-movies ul ul { left: 249px; width: 150px; }
171
+ #n-movies ul a { width: 232px; }
172
+ #n-movies ul a.dir { width: 210px; }
173
+ #n-movies ul ul a { width: 133px; }
174
+ #n-movies ul ul a.dir { width: 111px; }
175
+ #n-movies ul ul ul { left: 100%; }
176
+
177
+ .shailan_DropdownWidget{background-color:#000;}
themes/mtv.com/default.ultimate.css ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * MTV.com Ultimate Linear CSS Drop-Down Menu Theme
5
+ *
6
+ * @file default.ultimate.css
7
+ * @name MTV.com
8
+ * @version 0.1
9
+ * @type transitional
10
+ * @browsers Windows: IE5+, 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
+ */
17
+
18
+ @import "default.css";
19
+
20
+
21
+ /*------------------------------------------------------------------------------------------------------/
22
+ * @section Base Style Extension
23
+ */
24
+
25
+ ul.dropdown a,
26
+ ul.dropdown span {
27
+ display: block;
28
+ padding: 5px 30px;
29
+ }
30
+
31
+
32
+
33
+ /*------------------------------------------------------------------------------------------------------/
34
+ * @section Base Style Override
35
+ */
36
+
37
+
38
+ ul.dropdown li {
39
+ padding: 0;
40
+ }
41
+
42
+ ul.dropdown ul a,
43
+ ul.dropdown ul span { /* POI, proposal: override abstract a, span */
44
+ padding: 8px;
45
+ }
46
+
47
+
48
+
49
+ /*------------------------------------------------------------------------------------------------------/
50
+ * @section Base Style Reinitiate: post-override activities
51
+ */
52
+
53
+
54
+ ul.dropdown *.dir { /* POI */
55
+ padding: 5px 30px;
56
+ }
57
+
58
+ ul.dropdown ul *.dir {
59
+ padding: 8px 30px 8px 8px;
60
+ }
61
+
62
+
63
+
64
+ /*------------------------------------------------------------------------------------------------------/
65
+ * @section Custom Styles
66
+ */
67
+
68
+
69
+ ul.dropdown ul a {
70
+ width: 133px;
71
+ }
72
+
73
+ ul.dropdown ul a.dir {
74
+ width: 111px;
75
+ }
76
+
77
+
78
+
79
+ /*------------------------------------------------------------------------------------------------------/
80
+ * @section Support Class `open` Usage
81
+ * @source js, artificial
82
+ *
83
+ */
84
+
85
+
86
+ ul.dropdown *.open {
87
+ background-color: #3d3d3d;
88
+ }
89
+ ul.dropdown ul *.open {
90
+ background-color: #4c4c4c;
91
+ background-image: url(images/comnav-arrowover.png);
92
+ color: #fff;
93
+ }
94
+ ul.dropdown ul ul *.open {
95
+ background-color: #595959;
96
+ background-image: url(images/comnav-arrowover2.png);
97
+ color: #fff;
98
+ }
99
+ /* Override UPPER TWO definitions */
100
+ ul.dropdown a.open:hover {
101
+ background-color: #4698ca;
102
+ color: #fff;
103
+ }
104
+ ul.dropdown ul a.open:hover {
105
+ background-image: url(images/comnav-arrowon.png);
106
+ color: #fff;
107
+ }
108
+
109
+
110
+ /* Clone in CSS 2 */
111
+
112
+ ul.dropdown li:hover > *.dir {
113
+ background-color: #3d3d3d;
114
+ }
115
+ ul.dropdown ul li:hover > *.dir {
116
+ background-color: #4c4c4c;
117
+ background-image: url(images/comnav-arrowover.png);
118
+ }
119
+ ul.dropdown ul ul li:hover > *.dir {
120
+ background-color: #595959;
121
+ background-image: url(images/comnav-arrowover2.png);
122
+ color: #fff;
123
+ }
124
+
125
+ /* Override UPPER TWO definitions */
126
+ ul.dropdown li:hover > a.dir:hover {
127
+ background-color: #4698ca;
128
+ color: #fff;
129
+ }
130
+ ul.dropdown ul li:hover > a.dir:hover {
131
+ background-image: url(images/comnav-arrowon.png);
132
+ color: #fff;
133
+ }
themes/mtv.com/images/Thumbs.db ADDED
Binary file
themes/mtv.com/images/comnav-arrowon.png ADDED
Binary file
themes/mtv.com/images/comnav-arrowover.png ADDED
Binary file
themes/mtv.com/images/comnav-arrowover2.png ADDED
Binary file
themes/mtv.com/images/favicon.ico ADDED
Binary file
themes/mtv.com/images/grad1.png ADDED
Binary file
themes/mtv.com/images/icon.png ADDED
Binary file
themes/mtv.com/images/nav-arrow-right.png ADDED
Binary file
themes/mtv.com/images/nav-arrow-right2.png ADDED
Binary file
themes/mtv.com/images/nav-sub-press.png ADDED
Binary file
themes/nvidia.com/default.advanced.css ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * NVIDIA Advanced CSS Drop-Down Menu Theme
5
+ *
6
+ * @file default.advanced.css
7
+ * @name NVIDIA
8
+ * @version 0.1
9
+ * @type transitional
10
+ * @browsers Windows: IE5+, 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
+ */
17
+
18
+ @import "default.css";
19
+
20
+
21
+ ul.dropdown li a {
22
+ display: block;
23
+ padding: 7px 14px;
24
+ }
25
+
26
+
27
+ /* ------------- Override default */
28
+
29
+ ul.dropdown li {
30
+ padding: 0;
31
+ }
32
+
33
+
34
+ /* ------------- Reinitiate default: post-override activities */
35
+
36
+ ul.dropdown li.dir {
37
+ padding: 7px 20px 7px 14px;
38
+ }
39
+
40
+ ul.dropdown ul li.dir {
41
+ padding-right: 15px;
42
+ }
43
+
44
+
45
+ /* ------------- Custom */
46
+
47
+ ul.dropdown li {
48
+
49
+ }
50
+
51
+ ul.dropdown ul a {
52
+ padding: 4px 5px 4px 14px;
53
+ width: 151px; /* Especially for IE */
54
+ }
55
+
56
+ ul.dropdown ul a:hover {
57
+ background-color: #76b900;
58
+ }
59
+
60
+ ul.dropdown a.open {
61
+ background-color: #2e2e2e;
62
+ color: #76b900;
63
+ }
64
+
65
+ ul.dropdown ul a.open {
66
+ background-color: #76b900;
67
+ color: #fff;
68
+ }
69
+
70
+
71
+ /* CSS 2.1 */
72
+
73
+ ul.dropdown li:hover > a.dir {
74
+ background-color: #2e2e2e;
75
+ color: #76b900;
76
+ }
77
+
78
+ ul.dropdown ul li:hover > a.dir {
79
+ background-color: #76b900;
80
+ color: #fff;
81
+ }
themes/nvidia.com/default.css ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /**
4
+ * NVIDIA CSS Drop-Down Menu Theme
5
+ *
6
+ * @file default.css
7
+ * @name NVIDIA
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
+ * @section Base Drop-Down Styling
23
+ * @structure ul (unordered list)
24
+ * ul li (list item)
25
+ * ul li a (links)
26
+ * *(.class|:hover)
27
+ * @level sep ul
28
+ */
29
+
30
+
31
+ /* ----- ALL LEVELS (incl. first) */
32
+
33
+ ul.dropdown {
34
+ font: normal 12px "Trebuchet MS", Arial, Helvetica, sans-serif;
35
+ text-transform: uppercase;
36
+ }
37
+
38
+ ul.dropdown li {
39
+ padding: 7px 0;
40
+ background-color: #000;
41
+ color: #fff;
42
+ line-height: normal;
43
+ }
44
+
45
+ ul.dropdown li.hover,
46
+ ul.dropdown li:hover {
47
+
48
+ }
49
+
50
+ ul.dropdown a:link,
51
+ ul.dropdown a:visited { color: #fff; text-decoration: none; }
52
+ ul.dropdown a:hover { color: #76b900; text-decoration: none; }
53
+ ul.dropdown a:active { color: #fff; }
54
+
55
+
56
+ /* ----- END LEVEL */
57
+
58
+
59
+ /* ----- NON-FIRST LEVEL */
60
+
61
+ ul.dropdown ul {
62
+ width: 170px;
63
+ background-color: #333;
64
+ color: #fff;
65
+ font-size: 11px;
66
+ text-transform: none;
67
+ filter: alpha(opacity=90);
68
+ -moz-opacity: .9;
69
+ KhtmlOpacity: .9;
70
+ opacity: .9;
71
+ }
72
+
73
+ ul.dropdown ul li {
74
+ background-color: transparent;
75
+ color: #000;
76
+ filter: none;
77
+ }
78
+
79
+ ul.dropdown ul li.hover,
80
+ ul.dropdown ul li:hover {
81
+ background-color: transparent;
82
+ }
83
+
84
+ ul.dropdown ul a:link,
85
+ ul.dropdown ul a:visited { color: #fff; }
86
+ ul.dropdown ul a:hover { color: #fff; text-decoration: none; }
87
+ ul.dropdown ul a:active { color: #fff; }
88
+
89
+
90
+ /* ----- END LEVEL */
91
+
92
+
93
+
94
+ /*------------------------------------------------------------------------------------------------------/
95
+ * @section Support Class 'dir'
96
+ * @level sep ul, .class
97
+ */
98
+
99
+
100
+ /* ----- ALL LEVELS (incl. first) */
101
+
102
+ ul.dropdown *.dir {
103
+ padding-right: 12px;
104
+ background-image: none;
105
+ background-position: 100% 50%;
106
+ background-repeat: no-repeat;
107
+ }
108
+
109
+ /* ----- END LEVEL */
110
+
111
+
112
+ /* Components override */
113
+
114
+ .shailan_DropdownWidget{background-color:#000;}
themes/nvidia.com/images/Thumbs.db ADDED
Binary file
themes/nvidia.com/images/favicon.ico ADDED
Binary file
themes/nvidia.com/images/grad1.png ADDED
Binary file
themes/nvidia.com/images/icon.png ADDED
Binary file
themes/simple.css ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+ /**
3
+ * Horizontal Upward CSS Drop-Down Menu Component
4
+ *
5
+ * @file dropdown.upward.css
6
+ * @package Dropdown
7
+ * @version 0.1
8
+ * @type Transitional
9
+ * @requires dropdown.upward.css
10
+ * @browsers Windows: IE5+, Opera7+, Firefox1+
11
+ * Mac OS: Safari2+, Firefox2+
12
+ *
13
+ * @link http://www.lwis.net/
14
+ * @copyright 2006-2008 Live Web Institute. All Rights Reserved.
15
+ *
16
+ */
17
+
18
+ ul.dropdown li {
19
+ line-height: 1.3em;
20
+ vertical-align: middle;
21
+ }
22
+ ul.dropdown li.hover,
23
+ ul.dropdown li:hover {
24
+ z-index: 98;
25
+ cursor: default;
26
+ }
27
+ ul.dropdown ul {
28
+ border-bottom:1px solid #ddd;
29
+ }
30
+
31
+ ul.dropdown ul ul {
32
+ top: 1px;
33
+ left: 99%;
34
+ }
35
+
36
+ ul.dropdown-upward ul ul {
37
+ /* bottom: 1px; */
38
+ }
39
+
40
+ ul.dropdown {
41
+ font-family:"Segoe UI",Calibri,"Myriad Pro",Myriad,"Trebuchet MS",Helvetica,Arial,sans-serif;
42
+ font-size:1.1em;
43
+ }
44
+ ul.dropdown li {
45
+ padding: 7px 20px;
46
+ border-style: solid;
47
+ border-width: 0px 1px 0px 0px;
48
+ border-color: #ddd;
49
+ background-color: #f6f6f6;
50
+ color: #000;
51
+ text-align:center;
52
+ }
53
+ ul.dropdown li.hover,
54
+ ul.dropdown li:hover {
55
+ background-color: #eee;
56
+ color: #000;
57
+ }
58
+ ul.dropdown a:link,
59
+ ul.dropdown a:visited { color: #000; text-decoration: none; display:block; }
60
+ ul.dropdown a:hover { color: #000; }
61
+ ul.dropdown a:active { color: #ed008c; }
62
+ /* -- level mark -- */
63
+ ul.dropdown ul {
64
+ margin-top: 0px;
65
+ margin-left:-1px;
66
+ border-top:1px solid #ddd;
67
+ border-bottom:1px solid #ddd;
68
+ }
69
+ ul.dropdown ul li {
70
+ /*font-weight: normal;*/
71
+ text-align: left;
72
+ border-left:1px solid #ddd;
73
+ }
74
+ /*-------------------------------------------------/
75
+ * @section Support Class `dir`
76
+ * @level sep ul, .class
77
+ */
78
+ ul.dropdown *.dir {
79
+ padding-right: 20px;
80
+ background-image: url(images/nav-arrow-down.png);
81
+ background-position: 100% 50%;
82
+ background-repeat: no-repeat;
83
+ }
84
+ /* -- Components override -- */
85
+ ul.dropdown-horizontal ul *.dir {
86
+ padding-right: 15px;
87
+ background-image: url(images/nav-arrow-right.png);
88
+ background-position: 100% 50%;
89
+ background-repeat: no-repeat;
90
+ }
91
+ ul.dropdown-upward *.dir {
92
+ background-image: url(images/nav-arrow-top.png);
93
+ }
94
+ ul.dropdown-vertical *.dir,
95
+ ul.dropdown-upward ul *.dir {
96
+ background-image: url(images/nav-arrow-right.png);
97
+ }
98
+ ul.dropdown-vertical-rtl *.dir {
99
+ padding-right: 10px;
100
+ padding-left: 15px;
101
+ background-image: url(images/nav-arrow-left.png);
102
+ background-position: 0 50%;
103
+ }
104
+ li.current_page_item a { color: #ed008c; }
105
+ li.current_page_item a:link, li.current_page_item a:visited { color: #ed008c; }
106
+ li.current_page_item ul a, li.current_page_item ul a:visited, li.current_page_item ul a:link { color: #000; }
107
+ li.current_page_ancestor a,li.current_page_ancestor a:visited, li.current_page_ancestor a:link {text-decoration:underline;}
108
+ li.current_page_ancestor ul a, li.current_page_ancestor ul a:visited, li.current_page_ancestor ul a:link {text-decoration:none;}
109
+
110
+ .shailan_DropdownWidget{background-color:#efefef; border-bottom:1px solid #ddd; border-top:1px solid #ddd;}