feat: Added TestStudio CSS theme

This commit is contained in:
imtodor 2018-12-18 15:54:46 +02:00
Родитель 6cdc77debe
Коммит 65ba58fb7e
5 изменённых файлов: 44 добавлений и 2 удалений

Просмотреть файл

@ -0,0 +1,14 @@
// https://github.com/rails/sass-rails/issues/363
@import "theme/teststudio-theme.scss";
@import "docs.scss";
@import "bootstrap-custom";
@import "icon-font";
@import "styles.scss";
@import "codemirror/codemirror.scss";
@import "codemirror/theme.scss";
@import "sdk-browser.scss";

Просмотреть файл

@ -0,0 +1,26 @@
$accent: #ee8400;
$accent-solid: #3f5366;
$text-active-color: #4b4e52;
$code-background-color: rgba(238, 132, 0, 0.8);
$link-color: #2489d8;
$link-hover-color: #ee8400;
$link-background-color: #f2f8ff;
$navigation-link-color: #696b6e;
$try-now: #E74B3C;
$try-now-hover: #E53321;
$font-heading: "Roboto", Helvetica, Arial, sans-serif;
$font-regular: "Roboto", Helvetica, Arial, sans-serif;
$font-light: $font-regular;
$font-medium: $font-regular;
$font-code: Consolas, Menlo, "Ubuntu Mono", monospace;
$footer-bg: #1b1e24;
$env-develop-bg: $accent;
$tip-bg: #e4f1df;
$important-bg: #f9edc6;
$caution-bg: #f7e1df;

Просмотреть файл

@ -12,3 +12,5 @@
"Telerik UI for ASP.NET MVC": 982
"Progress Telerik Fiddler": 1392
"Progress Telerik Fiddler Everywhere": 1892
"Progress Test Studio for APIs": 1720
"Progress Test Studio Dev": 1846

Просмотреть файл

@ -18,7 +18,7 @@
<link rel="stylesheet" href="https://d6vtbcy3ong79.cloudfront.net/telerik-navigation/1.0.28/css/index.min.css" />
<link rel="stylesheet" href="https://d6vtbcy3ong79.cloudfront.net/fonts/1.1.5/css/metric.min.css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Mono|Roboto:300,400,500,700" />
{% if site.main_theme == "kendo" %}{% stylesheet "bundle-kendo" %}{% else %}{% stylesheet "bundle" %}{% endif %}
{% if site.main_theme %}{% stylesheet "bundle-{{ site.main_theme }}" %}{% else %}{% stylesheet "bundle" %}{% endif %}
{% if site.enable_dojo == true %}
{% stylesheet "dojo" %}
{% endif %}

Просмотреть файл

@ -32,7 +32,7 @@ layout: default
<article>
{% endif %}
{% if page.res_type == 'kb' and page.kb_portal_root != true and page.title %}
{% if page.res_type == 'kb' and page.kb_portal_root != true and page.title and site.has_kb_portal == true %}
<h1>{{ page.title }}</h1>
{% endif %}
{{ content }}