Changeset 1385468
- Timestamp:
- 04/03/2016 06:33:42 AM (10 years ago)
- Location:
- material-admin-theme
- Files:
-
- 6 edited
- 1 copied
-
tags/1.3 (copied) (copied from material-admin-theme/trunk)
-
tags/1.3/css/material.css (modified) (3 diffs)
-
tags/1.3/material-admin-theme.php (modified) (1 diff)
-
tags/1.3/readme.txt (modified) (1 diff)
-
trunk/css/material.css (modified) (3 diffs)
-
trunk/material-admin-theme.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
material-admin-theme/tags/1.3/css/material.css
r1207903 r1385468 1 body 2 { 3 font-family: 'Raleway', 'Open Sans', sans-serif; 4 } 5 6 a{1 a, input, select { 2 transition: none !important; 3 } 4 5 a 6 { 7 7 color: #2980b9; 8 8 } … … 10 10 a:focus 11 11 { 12 -webkit-box-shadow:none;13 box-shadow: none !important 12 -webkit-box-shadow: none; 13 box-shadow: none !important; 14 14 } 15 15 16 16 input[type=number]::-webkit-inner-spin-button, 17 input[type=number]::-webkit-outer-spin-button { 18 -webkit-appearance: none; 19 margin: 0; } 20 21 input[type="button"] { 22 border-radius: 0 !important; } 23 24 ul, ol, dl { 25 margin-left: 0; 26 margin-bottom: 0; } 27 17 input[type=number]::-webkit-outer-spin-button 18 { 19 opacity: 1; 20 } 21 22 ul, 23 ol, 24 dl 25 { 26 margin-left: 0; 27 margin-bottom: 0; 28 } 28 29 29 30 /* admin menus */ 30 31 31 #adminmenu, #adminmenuback, #adminmenuwrap 32 { 33 background: #2c3e50; 34 } 35 36 #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, #adminmenu .wp-submenu, #adminmenu a.wp-has-current-submenu:focus+.wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu 37 { 38 background: #1A252F 39 } 40 41 #adminmenu div.wp-menu-image:before { 32 #adminmenu, 33 #adminmenuback, 34 #adminmenuwrap, 35 #adminmenu .wp-submenu 36 { 37 background: #2c3e50; 38 width: 200px; 39 } 40 #adminmenu .wp-submenu li.current { 41 border-bottom: 1px solid rgba(255,255,255,0.05) 42 } 43 #adminmenu .wp-submenu li.current, 44 #adminmenu .wp-submenu li:hover { 45 background-color: rgba(0,0,0,0.25) 46 } 47 48 #wpcontent, 49 #wpfooter 50 { 51 margin-left: 200px 52 } 53 54 #adminmenu .wp-submenu 55 { 56 left: 200px 57 } 58 59 #adminmenu a { 60 color: white; 61 } 62 #adminmenu div.wp-menu-name 63 { 64 font-weight: 300; 65 font-size: 14px; 66 } 67 68 #adminmenu .wp-has-current-submenu .wp-submenu, 69 #adminmenu .wp-has-current-submenu.opensub .wp-submenu, 70 #adminmenu .wp-submenu, 71 #adminmenu a.wp-has-current-submenu:focus+.wp-submenu, 72 .folded #adminmenu .wp-has-current-submenu .wp-submenu, 73 #wpadminbar .menupop .ab-sub-wrapper, #wpadminbar .shortlink-input 74 { 75 background: #1A252F; 76 background: rgba(26, 37, 47, 0.88); 77 } 78 79 #adminmenu div.wp-menu-image:before 80 { 42 81 color: #2c3e50; 43 text-shadow: -1px -1px 0 #ff6669, 1px -1px 0 #ff6669, -1px 1px 0 #ff6669, 1px 1px 0 #ff6669; 44 transition: none !important 45 } 46 47 #adminmenu li.menu-top:hover div.wp-menu-image:before, #adminmenu li.opensub>a.menu-top div.wp-menu-image:before { 82 text-shadow: -1px -1px 0 #59ABE3, 1px -1px 0 #59ABE3, -1px 1px 0 #59ABE3, 1px 1px 0 #59ABE3; 83 transition: none !important; 84 } 85 86 #adminmenu li.menu-top:hover, 87 #adminmenu li.opensub>a.menu-top, 88 #adminmenu li>a.menu-top:focus, 89 #adminmenu .wp-submenu a:focus, 90 #adminmenu .wp-submenu a:hover, 91 #adminmenu a:hover, 92 #adminmenu li.menu-top>a:focus 93 { 94 color: #fff !important 95 } 96 97 #adminmenu li.menu-top:hover div.wp-menu-image:before, 98 #adminmenu li.opensub>a.menu-top div.wp-menu-image:before, 99 #adminmenu li a:focus div.wp-menu-image:before, 100 #adminmenu li.opensub div.wp-menu-image:before, 101 #adminmenu li:hover div.wp-menu-image:before 102 { 103 color: white 104 } 105 106 #adminmenu li.current a.menu-top, 107 #adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, 108 #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, 109 .folded #adminmenu li.current.menu-top, 110 #adminmenu li.menu-top:hover, 111 #adminmenu li.opensub>a.menu-top, 112 #adminmenu li>a.menu-top:focus 113 { 48 114 color: #fff; 49 } 50 51 #adminmenu li.current a.menu-top, #adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, .folded #adminmenu li.current.menu-top { 52 color: #fff; 53 background: #e14d43; 54 } 55 56 #wpadminbar { 115 background: #4183D7; 116 } 117 118 #wpadminbar 119 { 57 120 color: #fff; 58 121 background: #2C3E50; … … 61 124 #wp-admin-bar-wp-logo 62 125 { 63 display: none 64 } 65 66 67 126 display: none 127 } 68 128 69 129 /* plugins */ 70 130 71 131 /* increase contrast */ 72 .plugins .active td, .plugins .active th, tr.active + tr.plugin-update-tr .plugin-update, #contextual-help-back, .contextual-help-tabs .active, .contextual-help-tabs .active a, .contextual-help-tabs .active a:hover, .theme-overlay .parent-theme { 73 background-color: #e3f4f9; 74 } 75 132 133 .plugins .active td, 134 .plugins .active th, 135 tr.active + tr.plugin-update-tr .plugin-update, 136 #contextual-help-back, 137 .contextual-help-tabs .active, 138 .contextual-help-tabs .active a, 139 .contextual-help-tabs .active a:hover, 140 .theme-overlay .parent-theme 141 { 142 background-color: #e3f4f9 143 } 144 145 .alternate, 146 .striped>tbody>:nth-child(even), 147 ul.striped>:nth-child(even) 148 { 149 background-color: #f0f0f0 150 } 151 152 .alternate, 153 .striped>tbody>:nth-child(odd), 154 ul.striped>:nth-child(odd) 155 { 156 background-color: #fff 157 } 76 158 77 159 /* dashboard */ 160 78 161 #rg_forms_dashboard 79 162 { 80 background-color: #728BC5; 163 background-color: #728BC5 81 164 } 82 165 83 166 #rg_forms_dashboard a 84 167 { 85 color: white168 color: white 86 169 } 87 170 88 171 #rg_forms_dashboard a:hover 89 172 { 90 color:white; 91 text-decoration: underline; 92 } 93 94 95 173 color: white; 174 text-decoration: underline; 175 } 96 176 97 177 /* form styles*/ 98 input, select 99 { 100 padding: 12px 101 } 178 179 /*input, 180 select, 181 input.code 182 { 183 padding: 12px 184 }*/ 185 186 input, input.small-text, select { 187 padding: 8px; 188 } 189 190 select:focus, 191 input[type=text]:focus, input[type=password]:focus, 192 input[type=email]:focus, input[type=number]:focus, 193 input[type=tel]:focus, input[type=url]:focus, input[type=search]:focus, 194 #titlediv #title:focus 195 { 196 box-shadow: none; 197 } 198 199 200 input[type=checkbox]:focus 201 { 202 box-shadow: none; 203 outline: none; 204 } 205 206 select 207 { 208 cursor: pointer; 209 } 210 211 212 .wp-admin select 213 { 214 height: 36px; 215 line-height: 36px; 216 } 217 102 218 103 219 .wrap .add-new-h2 104 220 { 105 background: #ff6669; 106 color: white; 107 } 108 109 .wrap .add-new-h2:active 110 { 111 background: #333 112 } 113 114 .wrap .add-new-h2:hover 115 { 116 background: #ddd 117 } 118 221 background: #ff6669; 222 color: white; 223 } 224 225 .wrap .add-new-h2:active 226 { 227 background: #333 228 } 229 230 .wrap .add-new-h2:hover 231 { 232 background: #ddd 233 } 234 235 .search-box input[name="s"], .tablenav .search-plugins input[name="s"], .tagsdiv .newtag 236 { 237 height: 36px 238 } 239 240 241 /* buttons */ 242 .wp-core-ui .button, .wp-core-ui .button-secondary 243 { 244 display: inline-block; 245 padding: 10px 20px; 246 color: #555; 247 text-align: center; 248 text-decoration: none; 249 border-radius: 4px; 250 background: white; 251 border: 1px solid #ddd; 252 cursor: pointer; 253 box-sizing: border-box; 254 box-shadow: none !important; 255 height: auto; 256 line-height: 1; 257 } 258 259 .wp-core-ui .button-primary 260 { 261 color: #FFF; 262 background-color: #33C3F0; 263 border-color: #33C3F0; 264 text-shadow: 1px 1px 0 rgba(0,0,0,0.05) 265 } 266 267 268 .wp-core-ui .welcome-panel .button.button-hero 269 { 270 padding: 12px 22px; 271 } 272 273 input#publish 274 { 275 border-radius: 150px; 276 } 277 278 /* Spacing 279 ============================================ 280 */ 281 282 .tablenav 283 { 284 height: auto; 285 } 286 287 /* Dashboards 288 ============================================ 289 */ 290 291 /*#dashboard_right_now 292 { 293 background: #68C3A3; 294 color: whitesmoke; 295 } 296 297 #dashboard_right_now h3, #dashboard_right_now a 298 { 299 color: #1A2F28; 300 } 301 302 #dashboard_right_now .hndle 303 { 304 border-bottom-color:#68C3A3 305 } 306 307 #dashboard-widgets a:hover 308 { 309 text-decoration: underline; 310 }*/ -
material-admin-theme/tags/1.3/material-admin-theme.php
r1230961 r1385468 12 12 13 13 function material_style() { 14 wp_enqueue_style('material-theme', plugins_url(' assets/material.css', __FILE__));14 wp_enqueue_style('material-theme', plugins_url('css/material.css', __FILE__)); 15 15 wp_enqueue_style('material-raleway', '//fonts.googleapis.com/css?family=Source+Sans+Pro:400,300,600,700'); 16 16 } -
material-admin-theme/tags/1.3/readme.txt
r1316758 r1385468 28 28 == Changelog == 29 29 30 = 1.3 = 31 * Fix input bugs in Appearance->Menus 32 * Revert back to Open Sans for faster page loads 33 * Reduce visual traction in submenus with slight background hover effect 34 30 35 = 1.2 = 31 36 * Improved accessibility -
material-admin-theme/trunk/css/material.css
r1207903 r1385468 1 body 2 { 3 font-family: 'Raleway', 'Open Sans', sans-serif; 4 } 5 6 a{1 a, input, select { 2 transition: none !important; 3 } 4 5 a 6 { 7 7 color: #2980b9; 8 8 } … … 10 10 a:focus 11 11 { 12 -webkit-box-shadow:none;13 box-shadow: none !important 12 -webkit-box-shadow: none; 13 box-shadow: none !important; 14 14 } 15 15 16 16 input[type=number]::-webkit-inner-spin-button, 17 input[type=number]::-webkit-outer-spin-button { 18 -webkit-appearance: none; 19 margin: 0; } 20 21 input[type="button"] { 22 border-radius: 0 !important; } 23 24 ul, ol, dl { 25 margin-left: 0; 26 margin-bottom: 0; } 27 17 input[type=number]::-webkit-outer-spin-button 18 { 19 opacity: 1; 20 } 21 22 ul, 23 ol, 24 dl 25 { 26 margin-left: 0; 27 margin-bottom: 0; 28 } 28 29 29 30 /* admin menus */ 30 31 31 #adminmenu, #adminmenuback, #adminmenuwrap 32 { 33 background: #2c3e50; 34 } 35 36 #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, #adminmenu .wp-submenu, #adminmenu a.wp-has-current-submenu:focus+.wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu 37 { 38 background: #1A252F 39 } 40 41 #adminmenu div.wp-menu-image:before { 32 #adminmenu, 33 #adminmenuback, 34 #adminmenuwrap, 35 #adminmenu .wp-submenu 36 { 37 background: #2c3e50; 38 width: 200px; 39 } 40 #adminmenu .wp-submenu li.current { 41 border-bottom: 1px solid rgba(255,255,255,0.05) 42 } 43 #adminmenu .wp-submenu li.current, 44 #adminmenu .wp-submenu li:hover { 45 background-color: rgba(0,0,0,0.25) 46 } 47 48 #wpcontent, 49 #wpfooter 50 { 51 margin-left: 200px 52 } 53 54 #adminmenu .wp-submenu 55 { 56 left: 200px 57 } 58 59 #adminmenu a { 60 color: white; 61 } 62 #adminmenu div.wp-menu-name 63 { 64 font-weight: 300; 65 font-size: 14px; 66 } 67 68 #adminmenu .wp-has-current-submenu .wp-submenu, 69 #adminmenu .wp-has-current-submenu.opensub .wp-submenu, 70 #adminmenu .wp-submenu, 71 #adminmenu a.wp-has-current-submenu:focus+.wp-submenu, 72 .folded #adminmenu .wp-has-current-submenu .wp-submenu, 73 #wpadminbar .menupop .ab-sub-wrapper, #wpadminbar .shortlink-input 74 { 75 background: #1A252F; 76 background: rgba(26, 37, 47, 0.88); 77 } 78 79 #adminmenu div.wp-menu-image:before 80 { 42 81 color: #2c3e50; 43 text-shadow: -1px -1px 0 #ff6669, 1px -1px 0 #ff6669, -1px 1px 0 #ff6669, 1px 1px 0 #ff6669; 44 transition: none !important 45 } 46 47 #adminmenu li.menu-top:hover div.wp-menu-image:before, #adminmenu li.opensub>a.menu-top div.wp-menu-image:before { 82 text-shadow: -1px -1px 0 #59ABE3, 1px -1px 0 #59ABE3, -1px 1px 0 #59ABE3, 1px 1px 0 #59ABE3; 83 transition: none !important; 84 } 85 86 #adminmenu li.menu-top:hover, 87 #adminmenu li.opensub>a.menu-top, 88 #adminmenu li>a.menu-top:focus, 89 #adminmenu .wp-submenu a:focus, 90 #adminmenu .wp-submenu a:hover, 91 #adminmenu a:hover, 92 #adminmenu li.menu-top>a:focus 93 { 94 color: #fff !important 95 } 96 97 #adminmenu li.menu-top:hover div.wp-menu-image:before, 98 #adminmenu li.opensub>a.menu-top div.wp-menu-image:before, 99 #adminmenu li a:focus div.wp-menu-image:before, 100 #adminmenu li.opensub div.wp-menu-image:before, 101 #adminmenu li:hover div.wp-menu-image:before 102 { 103 color: white 104 } 105 106 #adminmenu li.current a.menu-top, 107 #adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, 108 #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, 109 .folded #adminmenu li.current.menu-top, 110 #adminmenu li.menu-top:hover, 111 #adminmenu li.opensub>a.menu-top, 112 #adminmenu li>a.menu-top:focus 113 { 48 114 color: #fff; 49 } 50 51 #adminmenu li.current a.menu-top, #adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, .folded #adminmenu li.current.menu-top { 52 color: #fff; 53 background: #e14d43; 54 } 55 56 #wpadminbar { 115 background: #4183D7; 116 } 117 118 #wpadminbar 119 { 57 120 color: #fff; 58 121 background: #2C3E50; … … 61 124 #wp-admin-bar-wp-logo 62 125 { 63 display: none 64 } 65 66 67 126 display: none 127 } 68 128 69 129 /* plugins */ 70 130 71 131 /* increase contrast */ 72 .plugins .active td, .plugins .active th, tr.active + tr.plugin-update-tr .plugin-update, #contextual-help-back, .contextual-help-tabs .active, .contextual-help-tabs .active a, .contextual-help-tabs .active a:hover, .theme-overlay .parent-theme { 73 background-color: #e3f4f9; 74 } 75 132 133 .plugins .active td, 134 .plugins .active th, 135 tr.active + tr.plugin-update-tr .plugin-update, 136 #contextual-help-back, 137 .contextual-help-tabs .active, 138 .contextual-help-tabs .active a, 139 .contextual-help-tabs .active a:hover, 140 .theme-overlay .parent-theme 141 { 142 background-color: #e3f4f9 143 } 144 145 .alternate, 146 .striped>tbody>:nth-child(even), 147 ul.striped>:nth-child(even) 148 { 149 background-color: #f0f0f0 150 } 151 152 .alternate, 153 .striped>tbody>:nth-child(odd), 154 ul.striped>:nth-child(odd) 155 { 156 background-color: #fff 157 } 76 158 77 159 /* dashboard */ 160 78 161 #rg_forms_dashboard 79 162 { 80 background-color: #728BC5; 163 background-color: #728BC5 81 164 } 82 165 83 166 #rg_forms_dashboard a 84 167 { 85 color: white168 color: white 86 169 } 87 170 88 171 #rg_forms_dashboard a:hover 89 172 { 90 color:white; 91 text-decoration: underline; 92 } 93 94 95 173 color: white; 174 text-decoration: underline; 175 } 96 176 97 177 /* form styles*/ 98 input, select 99 { 100 padding: 12px 101 } 178 179 /*input, 180 select, 181 input.code 182 { 183 padding: 12px 184 }*/ 185 186 input, input.small-text, select { 187 padding: 8px; 188 } 189 190 select:focus, 191 input[type=text]:focus, input[type=password]:focus, 192 input[type=email]:focus, input[type=number]:focus, 193 input[type=tel]:focus, input[type=url]:focus, input[type=search]:focus, 194 #titlediv #title:focus 195 { 196 box-shadow: none; 197 } 198 199 200 input[type=checkbox]:focus 201 { 202 box-shadow: none; 203 outline: none; 204 } 205 206 select 207 { 208 cursor: pointer; 209 } 210 211 212 .wp-admin select 213 { 214 height: 36px; 215 line-height: 36px; 216 } 217 102 218 103 219 .wrap .add-new-h2 104 220 { 105 background: #ff6669; 106 color: white; 107 } 108 109 .wrap .add-new-h2:active 110 { 111 background: #333 112 } 113 114 .wrap .add-new-h2:hover 115 { 116 background: #ddd 117 } 118 221 background: #ff6669; 222 color: white; 223 } 224 225 .wrap .add-new-h2:active 226 { 227 background: #333 228 } 229 230 .wrap .add-new-h2:hover 231 { 232 background: #ddd 233 } 234 235 .search-box input[name="s"], .tablenav .search-plugins input[name="s"], .tagsdiv .newtag 236 { 237 height: 36px 238 } 239 240 241 /* buttons */ 242 .wp-core-ui .button, .wp-core-ui .button-secondary 243 { 244 display: inline-block; 245 padding: 10px 20px; 246 color: #555; 247 text-align: center; 248 text-decoration: none; 249 border-radius: 4px; 250 background: white; 251 border: 1px solid #ddd; 252 cursor: pointer; 253 box-sizing: border-box; 254 box-shadow: none !important; 255 height: auto; 256 line-height: 1; 257 } 258 259 .wp-core-ui .button-primary 260 { 261 color: #FFF; 262 background-color: #33C3F0; 263 border-color: #33C3F0; 264 text-shadow: 1px 1px 0 rgba(0,0,0,0.05) 265 } 266 267 268 .wp-core-ui .welcome-panel .button.button-hero 269 { 270 padding: 12px 22px; 271 } 272 273 input#publish 274 { 275 border-radius: 150px; 276 } 277 278 /* Spacing 279 ============================================ 280 */ 281 282 .tablenav 283 { 284 height: auto; 285 } 286 287 /* Dashboards 288 ============================================ 289 */ 290 291 /*#dashboard_right_now 292 { 293 background: #68C3A3; 294 color: whitesmoke; 295 } 296 297 #dashboard_right_now h3, #dashboard_right_now a 298 { 299 color: #1A2F28; 300 } 301 302 #dashboard_right_now .hndle 303 { 304 border-bottom-color:#68C3A3 305 } 306 307 #dashboard-widgets a:hover 308 { 309 text-decoration: underline; 310 }*/ -
material-admin-theme/trunk/material-admin-theme.php
r1230961 r1385468 12 12 13 13 function material_style() { 14 wp_enqueue_style('material-theme', plugins_url(' assets/material.css', __FILE__));14 wp_enqueue_style('material-theme', plugins_url('css/material.css', __FILE__)); 15 15 wp_enqueue_style('material-raleway', '//fonts.googleapis.com/css?family=Source+Sans+Pro:400,300,600,700'); 16 16 } -
material-admin-theme/trunk/readme.txt
r1316758 r1385468 28 28 == Changelog == 29 29 30 = 1.3 = 31 * Fix input bugs in Appearance->Menus 32 * Revert back to Open Sans for faster page loads 33 * Reduce visual traction in submenus with slight background hover effect 34 30 35 = 1.2 = 31 36 * Improved accessibility
Note: See TracChangeset
for help on using the changeset viewer.