removing admin.css since wp 3.2's html editor has a monospaced font now,
removing blank admin scripts.js, removing codemirror css (missed in previous commit where codemirror (which was inactive) was removed)
This commit is contained in:
@@ -1,4 +0,0 @@
|
|||||||
#editorcontainer #content {
|
|
||||||
font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
html {
|
|
||||||
cursor: text;
|
|
||||||
}
|
|
||||||
|
|
||||||
.editbox {
|
|
||||||
margin: .4em;
|
|
||||||
padding: 0;
|
|
||||||
font-family: monospace;
|
|
||||||
font-size: 10pt;
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre.code, .editbox {
|
|
||||||
color: #666;
|
|
||||||
}
|
|
||||||
|
|
||||||
.editbox p {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.css-at {
|
|
||||||
color: #708;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.css-unit {
|
|
||||||
color: #281;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.css-value {
|
|
||||||
color: #708;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.css-identifier {
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.css-selector {
|
|
||||||
color: #11B;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.css-important {
|
|
||||||
color: #00F;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.css-colorcode {
|
|
||||||
color: #299;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.css-comment {
|
|
||||||
color: #A70;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.css-string {
|
|
||||||
color: #A22;
|
|
||||||
}
|
|
||||||
@@ -1,158 +0,0 @@
|
|||||||
body {
|
|
||||||
font-family: Arial, sans-serif;
|
|
||||||
line-height: 1.5;
|
|
||||||
max-width: 64.3em;
|
|
||||||
margin: 3em auto;
|
|
||||||
padding: 0 1em;
|
|
||||||
}
|
|
||||||
body.droid {
|
|
||||||
font-family: Droid Sans, Arial, sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
letter-spacing: -3px;
|
|
||||||
font-size: 3.23em;
|
|
||||||
font-weight: bold;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
font-size: 1.23em;
|
|
||||||
font-weight: bold;
|
|
||||||
margin: .5em 0;
|
|
||||||
letter-spacing: -1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
font-size: 1em;
|
|
||||||
font-weight: bold;
|
|
||||||
margin: .4em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre {
|
|
||||||
font-family: Courier New, monospaced;
|
|
||||||
background-color: #eee;
|
|
||||||
-moz-border-radius: 6px;
|
|
||||||
-webkit-border-radius: 6px;
|
|
||||||
border-radius: 6px;
|
|
||||||
padding: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre.code {
|
|
||||||
margin: 0 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.grey {
|
|
||||||
font-size: 2em;
|
|
||||||
padding: .5em 1em;
|
|
||||||
line-height: 1.2em;
|
|
||||||
margin-top: .5em;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
img.logo {
|
|
||||||
position: absolute;
|
|
||||||
right: -25px;
|
|
||||||
bottom: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:link, a:visited, .quasilink {
|
|
||||||
color: #df0019;
|
|
||||||
cursor: pointer;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:hover, .quasilink:hover {
|
|
||||||
color: #800004;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 a:link, h1 a:visited, h1 a:hover {
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul {
|
|
||||||
margin: 0;
|
|
||||||
padding-left: 1.2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.download {
|
|
||||||
color: white;
|
|
||||||
background-color: #df0019;
|
|
||||||
width: 100%;
|
|
||||||
display: block;
|
|
||||||
text-align: center;
|
|
||||||
font-size: 1.23em;
|
|
||||||
font-weight: bold;
|
|
||||||
text-decoration: none;
|
|
||||||
-moz-border-radius: 6px;
|
|
||||||
-webkit-border-radius: 6px;
|
|
||||||
border-radius: 6px;
|
|
||||||
padding: .5em 0;
|
|
||||||
margin-bottom: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.download:hover {
|
|
||||||
background-color: #bb0010;
|
|
||||||
}
|
|
||||||
|
|
||||||
.rel {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.rel-note {
|
|
||||||
color: #777;
|
|
||||||
font-size: .9em;
|
|
||||||
margin-top: .1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.logo-braces {
|
|
||||||
color: #df0019;
|
|
||||||
position: relative;
|
|
||||||
top: -4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.blk {
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.left {
|
|
||||||
width: 37em;
|
|
||||||
padding-right: 6.53em;
|
|
||||||
padding-bottom: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.left1 {
|
|
||||||
width: 15.24em;
|
|
||||||
padding-right: 6.45em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.left2 {
|
|
||||||
width: 15.24em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.right {
|
|
||||||
width: 20.68em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.leftbig {
|
|
||||||
width: 42.44em;
|
|
||||||
padding-right: 6.53em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.rightsmall {
|
|
||||||
width: 15.24em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.clear:after {
|
|
||||||
visibility: hidden;
|
|
||||||
display: block;
|
|
||||||
font-size: 0;
|
|
||||||
content: " ";
|
|
||||||
clear: both;
|
|
||||||
height: 0;
|
|
||||||
}
|
|
||||||
.clear { display: inline-block; }
|
|
||||||
/* start commented backslash hack \*/
|
|
||||||
* html .clear { height: 1%; }
|
|
||||||
.clear { display: block; }
|
|
||||||
/* close commented backslash hack */
|
|
||||||
@@ -1,59 +0,0 @@
|
|||||||
html {
|
|
||||||
cursor: text;
|
|
||||||
}
|
|
||||||
|
|
||||||
.editbox {
|
|
||||||
margin: .4em;
|
|
||||||
padding: 0;
|
|
||||||
font-family: monospace;
|
|
||||||
font-size: 10pt;
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre.code, .editbox {
|
|
||||||
color: #666666;
|
|
||||||
}
|
|
||||||
|
|
||||||
.editbox p {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.js-punctuation {
|
|
||||||
color: #666666;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.js-operator {
|
|
||||||
color: #666666;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.js-keyword {
|
|
||||||
color: #770088;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.js-atom {
|
|
||||||
color: #228811;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.js-variable {
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.js-variabledef {
|
|
||||||
color: #0000FF;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.js-localvariable {
|
|
||||||
color: #004499;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.js-property {
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.js-comment {
|
|
||||||
color: #AA7700;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.js-string {
|
|
||||||
color: #AA2222;
|
|
||||||
}
|
|
||||||
@@ -1,43 +0,0 @@
|
|||||||
html {
|
|
||||||
cursor: text;
|
|
||||||
}
|
|
||||||
|
|
||||||
.editbox {
|
|
||||||
margin: .4em;
|
|
||||||
padding: 0;
|
|
||||||
font-family: monospace;
|
|
||||||
font-size: 10pt;
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
.editbox p {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.sp-keyword {
|
|
||||||
color: #708;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.sp-prefixed {
|
|
||||||
color: #5d1;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.sp-var {
|
|
||||||
color: #00c;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.sp-comment {
|
|
||||||
color: #a70;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.sp-literal {
|
|
||||||
color: #a22;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.sp-uri {
|
|
||||||
color: #292;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.sp-operator {
|
|
||||||
color: #088;
|
|
||||||
}
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
html {
|
|
||||||
cursor: text;
|
|
||||||
}
|
|
||||||
|
|
||||||
.editbox {
|
|
||||||
margin: .4em;
|
|
||||||
padding: 0;
|
|
||||||
font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
|
||||||
font-size: 14px;
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
.editbox p {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.xml-tagname {
|
|
||||||
color: #A0B;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.xml-attribute {
|
|
||||||
color: #281;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.xml-punctuation {
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.xml-attname {
|
|
||||||
color: #00F;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.xml-comment {
|
|
||||||
color: #A70;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.xml-cdata {
|
|
||||||
color: #48A;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.xml-processing {
|
|
||||||
color: #999;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.xml-entity {
|
|
||||||
color: #A22;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.xml-error {
|
|
||||||
color: #F00 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.xml-text {
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
jQuery.noConflict();
|
|
||||||
|
|
||||||
jQuery(document).ready(function(){
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
});
|
|
||||||
@@ -1,20 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
// admin CSS and JS
|
|
||||||
add_action('admin_init', 'roots_admin_init');
|
|
||||||
|
|
||||||
function roots_admin_init() {
|
|
||||||
$home_url = home_url();
|
|
||||||
$theme_name = next(explode('/themes/', get_template_directory()));
|
|
||||||
|
|
||||||
wp_register_style('roots_admin_css', "$home_url/wp-content/themes/$theme_name/inc/css/admin.css");
|
|
||||||
wp_enqueue_style('roots_admin_css');
|
|
||||||
|
|
||||||
wp_register_script('roots_admin_js', "$home_url/wp-content/themes/$theme_name/inc/js/scripts.js");
|
|
||||||
wp_enqueue_script('roots_admin_js');
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// check to see if the tagline is set to default
|
// check to see if the tagline is set to default
|
||||||
// show an admin notice to update if it hasn't been changed
|
// show an admin notice to update if it hasn't been changed
|
||||||
// you want to change this or remove it because it's used as the description in the RSS feed
|
// you want to change this or remove it because it's used as the description in the RSS feed
|
||||||
|
|||||||
Reference in New Issue
Block a user