From 2735ea8a2aef55ebb0a48b50d9a0e36cf3f63b94 Mon Sep 17 00:00:00 2001 From: Stamatis Katsaounis Date: Mon, 26 Nov 2018 11:25:29 +0200 Subject: Update tox to run htmllint and csslint JIRA: DOVETAIL-753 This patch adds a new tox environment to run htmllint and csslint. Furthermore, it fixes any leftover html and css errors. Change-Id: Ie3fda8d89b3d52851debe1a4271ffd0ac8fbee68 Signed-off-by: Stamatis Katsaounis --- .../static/swagger/css/hightlight.default.css | 135 --------------------- 3rd_party/static/swagger/css/screen.css | 2 +- 3rd_party/static/swagger/index.html | 14 +-- 3rd_party/static/swagger/o2c.html | 2 +- 4 files changed, 9 insertions(+), 144 deletions(-) delete mode 100644 3rd_party/static/swagger/css/hightlight.default.css (limited to '3rd_party/static/swagger') diff --git a/3rd_party/static/swagger/css/hightlight.default.css b/3rd_party/static/swagger/css/hightlight.default.css deleted file mode 100644 index e417fc1..0000000 --- a/3rd_party/static/swagger/css/hightlight.default.css +++ /dev/null @@ -1,135 +0,0 @@ -/* - -Original style from softwaremaniacs.org (c) Ivan Sagalaev - -*/ - -pre code { - display: block; padding: 0.5em; - background: #F0F0F0; -} - -pre code, -pre .subst, -pre .tag .title, -pre .lisp .title, -pre .clojure .built_in, -pre .nginx .title { - color: black; -} - -pre .string, -pre .title, -pre .constant, -pre .parent, -pre .tag .value, -pre .rules .value, -pre .rules .value .number, -pre .preprocessor, -pre .ruby .symbol, -pre .ruby .symbol .string, -pre .aggregate, -pre .template_tag, -pre .django .variable, -pre .smalltalk .class, -pre .addition, -pre .flow, -pre .stream, -pre .bash .variable, -pre .apache .tag, -pre .apache .cbracket, -pre .tex .command, -pre .tex .special, -pre .erlang_repl .function_or_atom, -pre .markdown .header { - color: #800; -} - -pre .comment, -pre .annotation, -pre .template_comment, -pre .diff .header, -pre .chunk, -pre .markdown .blockquote { - color: #888; -} - -pre .number, -pre .date, -pre .regexp, -pre .literal, -pre .smalltalk .symbol, -pre .smalltalk .char, -pre .go .constant, -pre .change, -pre .markdown .bullet, -pre .markdown .link_url { - color: #080; -} - -pre .label, -pre .javadoc, -pre .ruby .string, -pre .decorator, -pre .filter .argument, -pre .localvars, -pre .array, -pre .attr_selector, -pre .important, -pre .pseudo, -pre .pi, -pre .doctype, -pre .deletion, -pre .envvar, -pre .shebang, -pre .apache .sqbracket, -pre .nginx .built_in, -pre .tex .formula, -pre .erlang_repl .reserved, -pre .prompt, -pre .markdown .link_label, -pre .vhdl .attribute, -pre .clojure .attribute, -pre .coffeescript .property { - color: #88F -} - -pre .keyword, -pre .id, -pre .phpdoc, -pre .title, -pre .built_in, -pre .aggregate, -pre .css .tag, -pre .javadoctag, -pre .phpdoc, -pre .yardoctag, -pre .smalltalk .class, -pre .winutils, -pre .bash .variable, -pre .apache .tag, -pre .go .typename, -pre .tex .command, -pre .markdown .strong, -pre .request, -pre .status { - font-weight: bold; -} - -pre .markdown .emphasis { - font-style: italic; -} - -pre .nginx .built_in { - font-weight: normal; -} - -pre .coffeescript .javascript, -pre .javascript .xml, -pre .tex .formula, -pre .xml .javascript, -pre .xml .vbscript, -pre .xml .css, -pre .xml .cdata { - opacity: 0.5; -} diff --git a/3rd_party/static/swagger/css/screen.css b/3rd_party/static/swagger/css/screen.css index 2882b8d..1f22ecb 100644 --- a/3rd_party/static/swagger/css/screen.css +++ b/3rd_party/static/swagger/css/screen.css @@ -1035,7 +1035,7 @@ table { color: black; } .title { - font-style: bold; + font-weight: bold; } .secondary_form { display: none; diff --git a/3rd_party/static/swagger/index.html b/3rd_party/static/swagger/index.html index db209f4..521a375 100644 --- a/3rd_party/static/swagger/index.html +++ b/3rd_party/static/swagger/index.html @@ -2,9 +2,9 @@ Swagger UI - - - + + + @@ -67,13 +67,13 @@
- + Petstore
- + Wordnik
-
-
+
+
diff --git a/3rd_party/static/swagger/o2c.html b/3rd_party/static/swagger/o2c.html index d32d130..2f8a6a5 100644 --- a/3rd_party/static/swagger/o2c.html +++ b/3rd_party/static/swagger/o2c.html @@ -12,4 +12,4 @@ qp = qp ? JSON.parse('{"' + qp.replace(/&/g, '","').replace(/=/g,'":"') + '"}', ):{} window.opener.onOAuthComplete(qp); window.close(); - \ No newline at end of file + -- cgit 1.2.3-korg