-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- option to disable negative space/content padding
- removed button minimum width - removed 100% width from buttons on mobile - fixed columns in certain pages on mobile - fixed icons on plugin installation buttons - fixed profile page nav bar added by another plugin
- Loading branch information
1 parent
92fc3e2
commit a872e77
Showing
13 changed files
with
195 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!-- | ||
* negative_space.php | ||
* material-board | ||
* | ||
* Created by Fatih Balsoy on 25 Dec 2023 | ||
* Copyright © 2023 Fatih Balsoy. All rights reserved. | ||
--> | ||
|
||
<?php | ||
|
||
// If this file is called directly, abort. | ||
if (!defined('ABSPATH')) | ||
exit; | ||
|
||
$negative_space = get_option('fbwpmdp_negative_space'); | ||
?> | ||
|
||
<tr> | ||
<th scope='row'><?php esc_html_e('Content Padding', 'material-board') ?></th> | ||
<td> | ||
<input name="fbwpmdp_negative_space" type="checkbox" <?php checked($negative_space, 'on') ?> /> | ||
<br /><br /> | ||
<?php esc_html_e('Negative space can be beneficial for enhancing readability and improving overall visual appeal.', 'material-board') ?> | ||
</td> | ||
</tr> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
/* | ||
* large_app_bar_2_no_negative_space.scss | ||
* material-board | ||
* | ||
* Created by Fatih Balsoy on 25 Dec 2023 | ||
* Copyright © 2023 Fatih Balsoy. All rights reserved. | ||
*/ | ||
|
||
@import url('large_app_bar.css'); | ||
@import '../utilities/variables'; | ||
@import '../utilities/mixins'; | ||
|
||
// ADMIN MENU ON TOP | ||
|
||
div#adminmenumain { | ||
z-index: 2; | ||
position: absolute; | ||
top: -40px !important; | ||
} | ||
|
||
div#wp-toolbar { | ||
padding-left: calc($admin-menu-width + 15px) !important; | ||
padding-right: 15px !important; | ||
|
||
@include respond-to('large') { | ||
padding-left: $admin-menu-folded-width + 20px !important; | ||
padding-right: 20px !important; | ||
} | ||
|
||
@include respond-to('medium') { | ||
padding-left: inherit !important; | ||
padding-right: inherit !important; | ||
} | ||
} | ||
|
||
.folded #wpcontent>#wpadminbar>div#wp-toolbar { | ||
padding-left: $admin-menu-folded-width + 15px !important; | ||
padding-right: 15px !important; | ||
|
||
@include respond-to('large') { | ||
padding-left: inherit !important; | ||
padding-right: inherit !important; | ||
} | ||
} | ||
|
||
// #wpadminbar { | ||
|
||
// } | ||
|
||
.folded #wpadminbar { | ||
@include respond-to('large') { | ||
padding-left: $admin-menu-folded-width - 15px; | ||
} | ||
|
||
@include respond-to('medium') { | ||
padding-left: 0px; | ||
} | ||
} | ||
|
||
.folded #wpcontent, | ||
.folded #wpfooter { | ||
// TODO: resets when screen size is less than 960px | ||
margin-left: $admin-menu-folded-width; | ||
|
||
@include respond-to('medium') { | ||
margin-left: 0px; | ||
margin-right: 0px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* negative_space.scss | ||
* material-board | ||
* | ||
* Created by Fatih Balsoy on 25 Dec 2023 | ||
* Copyright © 2023 Fatih Balsoy. All rights reserved. | ||
*/ | ||
|
||
@import '../utilities/variables', '../utilities/mixins'; | ||
|
||
#wpcontent { | ||
/*margin-top: 48px;*/ | ||
margin-left: calc($content-padding + $admin-menu-width); | ||
margin-right: $content-padding; | ||
|
||
@include respond-to('large') { | ||
margin-right: inherit !important; | ||
} | ||
|
||
@include respond-to('medium') { | ||
margin-right: 0px !important; | ||
} | ||
} | ||
|
||
.folded #wpcontent, | ||
.folded #wpfooter { | ||
margin-left: calc($content-folded-padding + $admin-menu-folded-width); | ||
margin-right: $content-folded-padding !important; | ||
|
||
@include respond-to('medium') { | ||
margin-left: 0px; | ||
margin-right: 0px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* add_new.scss | ||
* material-board | ||
* | ||
* Created by Fatih Balsoy on 25 Dec 2023 | ||
* Copyright © 2023 Fatih Balsoy. All rights reserved. | ||
*/ | ||
|
||
a.install-now.button, | ||
a.update-now.button.aria-button-if-js, | ||
a.button.activate-now { | ||
padding-top: 1px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* profile.scss | ||
* material-board | ||
* | ||
* Created by Fatih Balsoy on 25 Dec 2023 | ||
* Copyright © 2023 Fatih Balsoy. All rights reserved. | ||
*/ | ||
|
||
div#profile-page.wrap form#your-profile #profile-nav { | ||
margin: 0px; | ||
margin-top: -25px; | ||
margin-left: -15px; | ||
width: 100%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters