From a00b279e9a5696497fa26fc2d8c57be545ab1cf0 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Wed, 30 Nov 2016 10:04:26 +0000 Subject: [PATCH] use prettify css from yarn --- src/css/index.js | 2 +- src/css/lib/prettify.css | 68 ---------------------------------------- 2 files changed, 1 insertion(+), 69 deletions(-) delete mode 100755 src/css/lib/prettify.css diff --git a/src/css/index.js b/src/css/index.js index d03b2fe3..be82c5cf 100644 --- a/src/css/index.js +++ b/src/css/index.js @@ -1,5 +1,5 @@ import './lib/bootstrap-colorpicker.css'; -import './lib/prettify.css'; +import 'google-code-prettify/src/prettify.css'; import 'bootstrap/less/bootstrap.less'; import './lib/bootstrap-switch.css'; import './lib/jquery.splitter.css'; diff --git a/src/css/lib/prettify.css b/src/css/lib/prettify.css deleted file mode 100755 index a57c2756..00000000 --- a/src/css/lib/prettify.css +++ /dev/null @@ -1,68 +0,0 @@ -/** @license -======================================================================== - StyleSheet for Google Code Prettify - Copyright (C) 2006 Google Inc. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -/* SPAN elements with the classes below are added by prettyprint. */ -.pln { color: #000 } /* plain text */ - -@media screen { - .str { color: #080 } /* string content */ - .kwd { color: #008 } /* a keyword */ - .com { color: #800 } /* a comment */ - .typ { color: #606 } /* a type name */ - .lit { color: #066 } /* a literal value */ - /* punctuation, lisp open bracket, lisp close bracket */ - .pun, .opn, .clo { color: #660 } - .tag { color: #008 } /* a markup tag name */ - .atn { color: #606 } /* a markup attribute name */ - .atv { color: #080 } /* a markup attribute value */ - .dec, .var { color: #606 } /* a declaration; a variable name */ - .fun { color: red } /* a function name */ -} - -/* Use higher contrast and text-weight for printable form. */ -@media print, projection { - .str { color: #060 } - .kwd { color: #006; font-weight: bold } - .com { color: #600; font-style: italic } - .typ { color: #404; font-weight: bold } - .lit { color: #044 } - .pun, .opn, .clo { color: #440 } - .tag { color: #006; font-weight: bold } - .atn { color: #404 } - .atv { color: #060 } -} - -/* Put a border around prettyprinted code snippets. */ -pre.prettyprint { padding: 2px; border: 1px solid #888 } - -/* Specify class=linenums on a pre to get line numbering */ -ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */ -li.L0, -li.L1, -li.L2, -li.L3, -li.L5, -li.L6, -li.L7, -li.L8 { list-style-type: none } -/* Alternate shading for lines */ -li.L1, -li.L3, -li.L5, -li.L7, -li.L9 { background: #eee }