Created
February 20, 2016 19:34
-
-
Save ericorruption/f1b31edfe713f54f0943 to your computer and use it in GitHub Desktop.
Quick custom WP admin
This file contains hidden or 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
html { | |
} | |
a { | |
} | |
.wp-core-ui .button-primary { | |
} | |
.wrap { | |
// Page title action button | |
.add-new-h2, | |
.page-title-action { | |
&, &:active { | |
} | |
} | |
// Page title | |
h1 { | |
} | |
// Meta box title | |
h2 { | |
} | |
} | |
#wp-admin-bar-wp-logo, | |
#wpfooter { | |
display: none; | |
} |
This file contains hidden or 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
.login { | |
h1 a { | |
width: 263px; | |
height: 97px; | |
background: url(http://placehold.it/263x97); | |
margin-bottom: 40px; | |
} | |
form { | |
background: transparent; | |
} | |
.message { | |
} | |
#nav, | |
#backtoblog { | |
a { | |
} | |
} | |
} |
This file contains hidden or 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
#wpadminbar { | |
// links | |
a.ab-item, | |
> #wp-toolbar span.ab-label { | |
} | |
// submenu | |
.menupop .ab-sub-wrapper { | |
} | |
// links hover/focus | |
.quicklinks .menupop.hover ul li a:hover, | |
&.nojs .quicklinks .menupop:hover ul li a:hover{ | |
} | |
// icons | |
.ab-icon:before, | |
.ab-item:before { | |
} | |
// hover icons | |
li:hover { | |
.ab-icon:before, | |
.ab-item:before { | |
} | |
} | |
// focus icons | |
li .ab-item:focus:before, | |
li a:focus .ab-icon:before { | |
} | |
} |
This file contains hidden or 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
@import 'core'; | |
@import 'login'; | |
@import 'topbar'; | |
@import 'sidebar'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment