-
-
Save hinaloe/9321a3d0944557e378ce4c88d1595ad2 to your computer and use it in GitHub Desktop.
WordPressの管理画面の
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
/* large-item-and-color */ | |
#adminmenuback, #adminmenuwrap, #adminmenu, #adminmenu .wp-submenu { | |
background-color: #aaa; | |
width: 200px; | |
} | |
#wpcontent, #wpfooter { | |
margin-left: 200px; | |
} | |
#adminmenu a.menu-top { | |
padding: 10px | |
} | |
#adminmenu .wp-submenu { | |
left: 200px; | |
box-sizing: border-box; | |
} | |
#adminmenu .wp-submenu a,#adminmenu .wp-has-current-submenu ul > li > a { | |
padding: 12px; | |
} | |
#adminmenu a:hover, #adminmenu li.menu-top > a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-submenu a:focus { | |
color: #5E6B94; | |
} | |
#adminmenu .wp-not-current-submenu .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu { | |
min-width: 240px; | |
width: auto; | |
} | |
#adminmenu .wp-has-current-submenu .wp-submenu, .no-js li.wp-has-current-submenu:hover .wp-submenu, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu.sub-open, #adminmenu .wp-has-current-submenu.opensub .wp-submenu { | |
background-color: #6F6666; | |
} | |
#wpadminbar{ | |
background-color: #898D90; | |
} | |
/* swap menu icon&text */ | |
#adminmenu div.wp-menu-image { | |
float: right; | |
} | |
#adminmenu div.wp-menu-name { | |
padding-left: 9px; | |
} | |
/* radius-of-dashboard */ | |
.notice, .welcome-panel,.postbox { | |
border-radius: 10px; | |
} | |
/* Too Large Input */ | |
textarea, input, select,.wp-core-ui .button { | |
font-size: 20px; | |
padding: 6px 8px; | |
border-radius: 10px; | |
height: auto; | |
} | |
.wp-admin select { | |
height: 35px; | |
} | |
input[type=checkbox] { | |
border-radius: 0; | |
} | |
/* Flat Dashboard/table */ | |
.postbox, table.widefat { | |
-webkit-box-shadow: none; | |
box-shadow: none; | |
border: none; | |
} | |
html { | |
background-color: #fff; | |
} |
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
<?php | |
/* | |
Plugin Name: 私のAdminテーマ | |
Description: WordBench Kyoto 2016年4月号用に作ったけど何も考えずに書きすぎてただのカオスにしかならなかった | |
*/ | |
add_action('admin_enqueue_scripts',function(){ | |
wp_enqueue_style('my-admin-theme',plugins_url('admin-theme.css',__FILE__)); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment