Skip to content

Commit

Permalink
version 2.23.3
Browse files Browse the repository at this point in the history
آپدیت به ورژن جدید
  • Loading branch information
amin30000 committed Apr 2, 2024
1 parent 2743b9a commit 1e9b9fd
Show file tree
Hide file tree
Showing 232 changed files with 16,528 additions and 1,134 deletions.
14 changes: 14 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "yahnis-elsts/admin-menu-editor-pro",
"type": "project",
"authors": [
{
"name": "Yahnis Elsts",
"email": "[email protected]"
}
],
"require": {
"yahnis-elsts/ajax-wrapper": "dev-master",
"yahnis-elsts/plugin-update-checker": "dev-master"
}
}
111 changes: 111 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion css/_boxes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ $amePostboxShadow: 0 1px 1px rgba(0, 0, 0, 0.04);
border: 1px solid $borderColor;

.ws-ame-postbox-header {
$headerFontSize: 14px;

position: relative;
font-size: 14px;
font-size: $headerFontSize;
margin: 0;
line-height: 1.4;

Expand All @@ -30,6 +32,13 @@ $amePostboxShadow: 0 1px 1px rgba(0, 0, 0, 0.04);
text-overflow: ellipsis;
overflow: hidden;
}

.ws_tooltip_trigger {
.dashicons {
height: $headerFontSize;
line-height: $headerFontSize;
}
}
}

.ws-ame-postbox-toggle {
Expand Down
15 changes: 13 additions & 2 deletions css/menu-editor.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/menu-editor.css.map

Large diffs are not rendered by default.

21 changes: 19 additions & 2 deletions css/menu-editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,8 @@ to accommodate the drop-down button.
Toolbars
*************************************/

$toolbarZIndex: 5; //When sticky, appear above menu items.

.ws_toolbar {
display: block;

Expand All @@ -675,6 +677,12 @@ to accommodate the drop-down button.
width: 100%;
padding: 6px 6px 0 6px;
//height: 34px;

//Keep the toolbar visible when scrolling.
position: sticky;
top: var(--wp-admin--admin-bar--height, 32px);
background-color: white;
z-index: $toolbarZIndex;
}

.ws_button_container {
Expand Down Expand Up @@ -734,6 +742,11 @@ a.ws_button.ws_button_disabled:hover {
margin-right: 0;
}

.ws_is_sticky_toolbar {
border-bottom: 1px solid #ccc;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/************************************
Capability selector
*************************************/
Expand Down Expand Up @@ -814,6 +827,7 @@ $toolTabLeftMargin: 6px;
*************************************/

$iconFontColor: #85888c;
$iconSelectorZIndex: $toolbarZIndex + 1;

#ws_icon_selector {
border: 1px solid silver;
Expand All @@ -823,6 +837,8 @@ $iconFontColor: #85888c;
width: 216px;
padding: 4px 0 0 0;
position: absolute;

z-index: $iconSelectorZIndex;
}

#ws_icon_selector.ws_with_more_icons {
Expand Down Expand Up @@ -1888,7 +1904,7 @@ $userSelectionPanelPadding: 10px;
}

//And in other boxes.
.ws_ame_custom_postbox, .postbox {
.ws_ame_custom_postbox, .postbox, .ws-ame-postbox {
.ws_tooltip_trigger .dashicons {
font-size: 18px;
height: 18px;
Expand Down Expand Up @@ -2196,7 +2212,8 @@ span.description {
}

.wrap :target {
background-color: rgba(255, 230, 81, 0.7);
background-color: rgba(255, 245, 100, 0.7);
outline: 3px solid rgba(250, 220, 75, 0.7);
}

.test-wrap {
Expand Down
4 changes: 0 additions & 4 deletions css/style-modern-one.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/style-modern-one.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 0 additions & 9 deletions css/style-modern-one.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,6 @@ $mainContainerWidth: $itemWidth + $columnPadding * 2;
border: 1px solid $itemBorder;
padding: $headVerticalPadding 0 $headVerticalPadding $horizontalPadding;
}

.ws_flag_container {
//Hide low-importance flags. It's debatable (knowing which roles have custom permissions is useful
//when debugging configuration issues), but lets leave them hidden for now.
.ws_custom_actor_permissions_flag,
.ws_custom_flag {
display: none;
}
}
}

#ws_menu_editor.ws_is_actor_view input[type="checkbox"].ws_actor_access_checkbox {
Expand Down
4 changes: 3 additions & 1 deletion dist/admin-customizer.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/admin-customizer.bundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/customizable.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/customizable.bundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/menu-styler-ui.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/menu-styler-ui.bundle.js.map

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion extras.php
Original file line number Diff line number Diff line change
Expand Up @@ -2434,6 +2434,13 @@ public function filter_available_modules($modules) {
'isAlwaysActive' => true,
);

$modules['hide-others-posts'] = array(
'path' => AME_ROOT_DIR . '/extras/modules/hide-others-posts/hide-others-posts.php',
'className' => 'ameOtherUserPostHider',
'title' => 'Hide others\' posts',
'requiredPhpVersion' => '7.4',
);

if (defined('AME_CUSTOMIZABLE_DEV') && AME_CUSTOMIZABLE_DEV) {
$modules['sample-module'] = [
'path' => AME_ROOT_DIR . '/customizables/SampleModule.php',
Expand Down Expand Up @@ -2464,7 +2471,6 @@ public function filter_available_modules($modules) {

//Load the custom update checker (requires PHP 5)
if ( (version_compare(PHP_VERSION, '5.0.0', '>=')) && isset($wp_menu_editor) ){
require dirname(__FILE__) . '/plugin-updates/plugin-update-checker.php';
$ameProUpdateChecker = PucFactory::buildUpdateChecker(
'https://adminmenueditor.com/?get_metadata_for=admin-menu-editor-pro',
$wp_menu_editor->plugin_file, //Note: This variable is set in the framework constructor
Expand Down
3 changes: 2 additions & 1 deletion extras/ko-extensions.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion extras/ko-extensions.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 1e9b9fd

Please sign in to comment.