Admin Menu Tree Page View - Version 2.6.6

Version Description

  • CSS fixes for new admin theme in WordPress 3.8. Thanks to Amrico Cruces for making most of the the nice changes.
Download this release

Release Info

Developer eskapism
Plugin Icon wp plugin Admin Menu Tree Page View
Version 2.6.6
Comparing to
See all releases

Code changes from version 2.6.5 to 2.6.6

css/page-small-minus.gif CHANGED
Binary file
css/page-small-plus.gif CHANGED
Binary file
css/page-small.gif CHANGED
Binary file
css/styles.css CHANGED
@@ -1,8 +1,6 @@
1
 
2
  #adminmenu li ul.admin-menu-tree-page-tree ul li a {
3
  background-image: none !important;
4
- border-left-width: 1px;
5
- border-left-style: solid;
6
  padding-left: 19px;
7
  }
8
  #adminmenu li.wp-has-current-submenu ul.admin-menu-tree-page-tree {
@@ -34,15 +32,10 @@ li.toplevel_page_admin-menu-tree-page-tree_main .wp-submenu a {
34
  }
35
 
36
  #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li div > a {
37
- border-left-width: 0px;
38
- border-left-style: solid;
39
- border-right-width: 0px;
40
- border-right-style: solid;
41
  background: transparent url(page-small.gif) no-repeat 7px 2px !important;
42
  padding-left: 19px;
43
  padding-right: 8px;
44
- border-bottom: 1px solid transparent;
45
- border-top: 1px solid transparent;
46
  }
47
  .js.folded #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li div > a {
48
  padding-left: 19px;
@@ -53,22 +46,13 @@ li.toplevel_page_admin-menu-tree-page-tree_main .wp-submenu a {
53
  overflow: visible !important;
54
  }
55
 
56
- #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li a:hover {
57
- background-color: #eaf2fa !important;
58
- /*
59
- border-bottom: 1px solid #ccc;
60
- border-top: 1px solid #ccc;
61
- */
62
- /* box-shadow: 2px 2px 2px #DDDDDD; */
63
- }
64
-
65
  #adminmenu li.wp-has-current-submenu ul.admin-menu-tree-page-tree li a {
66
  border-left-width: 0;
67
  border-right-width: 0;
68
  }
69
 
70
  #adminmenu li ul.admin-menu-tree-page-tree li a {
71
- font-size: 10px;
72
  line-height: 11px;
73
  padding-top: 2px;
74
  }
@@ -87,6 +71,8 @@ border-bottom: 1px solid #ccc;
87
  padding: 2px;
88
  }
89
 
 
 
90
  #adminmenu li ul.admin-menu-tree-page-tree a:hover .admin-menu-tree-page-view-edit {
91
  /* disabled to support new edit popup */
92
  /* display: block; */
@@ -116,12 +102,9 @@ li.admin-menu-tree-page-filter
116
  text-transform: uppercase;
117
  color: #666;
118
  font-size: 9px;
119
- margin: 0 0 0 0 !important;
120
  padding-left: 6px !important;
121
- border-left-style: solid;
122
- border-left-width: 0px;
123
- border-right-style: solid;
124
- border-right-width: 0px;
125
  }
126
  span.admin-menu-tree-page-tree_headline {
127
  position: relative;
@@ -139,15 +122,17 @@ span.admin-menu-tree-page-tree_headline {
139
  #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul {
140
  border-bottom: none;
141
  }
142
- #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li a,
143
- #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li a:hover
144
- {
145
  padding-left: 27px;
146
  padding-right: 8px;
147
  background-position: 15px 2px !important;
148
  font-weight: normal;
 
 
 
149
  color: #21759B;
150
  }
 
151
  .js.folded #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li a {
152
  padding-left: 27px;
153
  }
@@ -178,16 +163,24 @@ span.admin-menu-tree-page-tree_headline {
178
  padding-left: 47px;
179
  }
180
 
181
- /* make them bold too */
182
  #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li.current a,
183
- #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li.current a:hover
 
184
  {
185
  font-weight: bold;
186
- color: black;
187
  }
 
 
 
 
 
 
 
 
 
188
  #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li.current li a,
189
- #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li.current li a:hover
190
- {
191
  font-weight: normal;
192
  }
193
 
@@ -267,10 +260,12 @@ span.admin-menu-tree-page-tree_headline {
267
  }
268
 
269
  #adminmenu .admin-menu-tree-page-filter input {
270
- width: 125px;
271
  font-size: 10px;
272
  line-height: 1em;
273
  padding: 2px;
 
 
274
  -webkit-user-select: text;
275
  -moz-user-select: text;
276
  -khtml-user-select: text;
@@ -365,16 +360,13 @@ ul.admin-menu-tree-page-tree span.child-count {
365
  border: 1px solid #ccc;
366
  border-left: none;
367
  padding: 10px;
368
- opacity: .5;
369
  font-weight: normal;
370
  border-radius: 0 3px 3px 3px;
371
  cursor: default;
372
- box-shadow: 2px 2px 2px #ddd;
373
  font-size: 12px;
374
  line-height: 1.3;
375
- background-color: #EAF2FA;
376
- background-image: -moz-linear-gradient(left , #d3dbe1, #EAF2FA 10px);
377
- background-image: -webkit-linear-gradient(left , #d3dbe1, #EAF2FA 5px);
378
  margin-top: -8px;
379
  color: #464646;
380
  }
@@ -521,12 +513,21 @@ ul.admin-menu-tree-page-tree span.child-count {
521
  border-top: 1px solid transparent !important;
522
  }
523
  .amtpv-linkwrap-hover {
524
- background-color: #EAF2FA;
525
- border-bottom: 1px solid #ccc;
526
- border-top: 1px solid #ccc;
 
 
 
 
 
527
  }
 
 
 
 
528
  .amtpv-editpopup-hover-hover {
529
- opacity: .9;
530
  }
531
 
532
  .amtpv-editpopup-addpages-submit {
@@ -607,7 +608,4 @@ ul.amtpv-editpopup-addpages-names-ul .ui-state-highlight {
607
  #adminmenuwrap #adminmenu #menu-pages .wp-submenu,
608
  #adminmenu .wp-submenu li {
609
  overflow: visible !important;
610
- }
611
-
612
-
613
-
1
 
2
  #adminmenu li ul.admin-menu-tree-page-tree ul li a {
3
  background-image: none !important;
 
 
4
  padding-left: 19px;
5
  }
6
  #adminmenu li.wp-has-current-submenu ul.admin-menu-tree-page-tree {
32
  }
33
 
34
  #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li div > a {
 
 
 
 
35
  background: transparent url(page-small.gif) no-repeat 7px 2px !important;
36
  padding-left: 19px;
37
  padding-right: 8px;
38
+ margin:1px 0;
 
39
  }
40
  .js.folded #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li div > a {
41
  padding-left: 19px;
46
  overflow: visible !important;
47
  }
48
 
 
 
 
 
 
 
 
 
 
49
  #adminmenu li.wp-has-current-submenu ul.admin-menu-tree-page-tree li a {
50
  border-left-width: 0;
51
  border-right-width: 0;
52
  }
53
 
54
  #adminmenu li ul.admin-menu-tree-page-tree li a {
55
+ font-size: 11px;
56
  line-height: 11px;
57
  padding-top: 2px;
58
  }
71
  padding: 2px;
72
  }
73
 
74
+
75
+
76
  #adminmenu li ul.admin-menu-tree-page-tree a:hover .admin-menu-tree-page-view-edit {
77
  /* disabled to support new edit popup */
78
  /* display: block; */
102
  text-transform: uppercase;
103
  color: #666;
104
  font-size: 9px;
105
+ margin: 0 !important;
106
  padding-left: 6px !important;
107
+ border:none;
 
 
 
108
  }
109
  span.admin-menu-tree-page-tree_headline {
110
  position: relative;
122
  #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul {
123
  border-bottom: none;
124
  }
125
+ #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li a {
 
 
126
  padding-left: 27px;
127
  padding-right: 8px;
128
  background-position: 15px 2px !important;
129
  font-weight: normal;
130
+ }
131
+
132
+ #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li a:hover {
133
  color: #21759B;
134
  }
135
+
136
  .js.folded #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li a {
137
  padding-left: 27px;
138
  }
163
  padding-left: 47px;
164
  }
165
 
166
+ /* when editing a page */
167
  #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li.current a,
168
+ #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li.current a:hover,
169
+ #adminmenu .wp-submenu ul.admin-menu-tree-page-tree li.current > div > div a
170
  {
171
  font-weight: bold;
 
172
  }
173
+
174
+ #adminmenu .wp-submenu ul.admin-menu-tree-page-tree li.current > div .amtpv-linkwrap:first-of-type {
175
+ background-color: #444;
176
+ }
177
+
178
+ #adminmenu .wp-submenu ul.admin-menu-tree-page-tree li.current a {
179
+ color: #bbb !important;
180
+ }
181
+
182
  #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li.current li a,
183
+ #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li.current li a:hover {
 
184
  font-weight: normal;
185
  }
186
 
260
  }
261
 
262
  #adminmenu .admin-menu-tree-page-filter input {
263
+ width: 145px;
264
  font-size: 10px;
265
  line-height: 1em;
266
  padding: 2px;
267
+ background: #f9f9f9;
268
+ border-radius: 2px;
269
  -webkit-user-select: text;
270
  -moz-user-select: text;
271
  -khtml-user-select: text;
360
  border: 1px solid #ccc;
361
  border-left: none;
362
  padding: 10px;
363
+ opacity: .75;
364
  font-weight: normal;
365
  border-radius: 0 3px 3px 3px;
366
  cursor: default;
367
+ box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
368
  font-size: 12px;
369
  line-height: 1.3;
 
 
 
370
  margin-top: -8px;
371
  color: #464646;
372
  }
513
  border-top: 1px solid transparent !important;
514
  }
515
  .amtpv-linkwrap-hover {
516
+ background: rgba(0,0,0,.3);
517
+ }
518
+
519
+ .amtpv-editpopup-is-working {
520
+ background: rgba(46, 162, 204, .3);
521
+ }
522
+ .amtpv-editpopup-is-working > a {
523
+ color: #eee !important;
524
  }
525
+ /*
526
+ #adminmenu .wp-submenu a, .folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu a, .folded #adminmenu .wp-has-current-submenu .wp-submenu a
527
+ */
528
+
529
  .amtpv-editpopup-hover-hover {
530
+ opacity: 1;
531
  }
532
 
533
  .amtpv-editpopup-addpages-submit {
608
  #adminmenuwrap #adminmenu #menu-pages .wp-submenu,
609
  #adminmenu .wp-submenu li {
610
  overflow: visible !important;
611
+ }
 
 
 
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Admin Menu Tree Page View
4
  Plugin URI: http://eskapism.se/code-playground/admin-menu-tree-page-view/
5
  Description: Get a tree view of all your pages directly in the admin menu. Search, edit, view and add pages - all with just one click away!
6
- Version: 2.6.5
7
  Author: Pär Thernström
8
  Author URI: http://eskapism.se/
9
  License: GPL2
@@ -38,7 +38,7 @@ add_action('wp_ajax_admin_menu_tree_page_view_move_page', 'admin_menu_tree_page_
38
 
39
  function admin_menu_tree_page_view_admin_init() {
40
 
41
- define( "admin_menu_tree_page_view_VERSION", "2.6.5" );
42
  define( "admin_menu_tree_page_view_URL", WP_PLUGIN_URL . '/admin-menu-tree-page-view/' );
43
  define( "admin_menu_tree_page_view_DIR", WP_PLUGIN_DIR . '/admin-menu-tree-page-view/' );
44
 
@@ -586,4 +586,3 @@ function admin_menu_tree_page_view_move_page() {
586
 
587
  } // move post
588
 
589
-
3
  Plugin Name: Admin Menu Tree Page View
4
  Plugin URI: http://eskapism.se/code-playground/admin-menu-tree-page-view/
5
  Description: Get a tree view of all your pages directly in the admin menu. Search, edit, view and add pages - all with just one click away!
6
+ Version: 2.6.6
7
  Author: Pär Thernström
8
  Author URI: http://eskapism.se/
9
  License: GPL2
38
 
39
  function admin_menu_tree_page_view_admin_init() {
40
 
41
+ define( "admin_menu_tree_page_view_VERSION", "2.6.6" );
42
  define( "admin_menu_tree_page_view_URL", WP_PLUGIN_URL . '/admin-menu-tree-page-view/' );
43
  define( "admin_menu_tree_page_view_DIR", WP_PLUGIN_DIR . '/admin-menu-tree-page-view/' );
44
 
586
 
587
  } // move post
588
 
 
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: eskapism, MarsApril
3
  Donate link: http://eskapism.se/sida/donate/
4
  Tags: admin, page, pages, page tree, hierarchy, cms, tree, view, admin menu, menu, change order, drag and drop
5
- Requires at least: 3.0
6
- Tested up to: 3.5.1
7
- Stable tag: 2.6.5
8
 
9
  Get a tree view of all your pages directly in the admin menu. Search, edit, view, re-order/sort and add pages – all is just one click away!
10
 
@@ -50,6 +50,9 @@ Now the tree with the pages will be visible in the admin menu to the left.
50
 
51
  == Changelog ==
52
 
 
 
 
53
  = 2.6.5 =
54
  - Fixed a bug that caused errors when bulk editing posts
55
 
2
  Contributors: eskapism, MarsApril
3
  Donate link: http://eskapism.se/sida/donate/
4
  Tags: admin, page, pages, page tree, hierarchy, cms, tree, view, admin menu, menu, change order, drag and drop
5
+ Requires at least: 3.8
6
+ Tested up to: 3.8
7
+ Stable tag: 2.6.6
8
 
9
  Get a tree view of all your pages directly in the admin menu. Search, edit, view, re-order/sort and add pages – all is just one click away!
10
 
50
 
51
  == Changelog ==
52
 
53
+ = 2.6.6 =
54
+ - CSS fixes for new admin theme in WordPress 3.8. Thanks to Américo Cruces for making most of the the nice changes.
55
+
56
  = 2.6.5 =
57
  - Fixed a bug that caused errors when bulk editing posts
58