jekyll-rtd-theme 2.0.0.pre.beta → 2.0.0.pre.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +35 -22
- data/_includes/assets/defaults.liquid +69 -0
- data/_includes/assets/i18n.liquid +1 -0
- data/_includes/{reset → assets}/site_pages.liquid +0 -0
- data/_includes/{extend → assets}/tabs.liquid +0 -0
- data/_includes/{reset → assets}/workdir.liquid +0 -0
- data/_includes/{breadcrumbs.liquid → class/_breadcrumbs.liquid} +10 -4
- data/_includes/{footer.liquid → class/_footer.liquid} +14 -9
- data/_includes/{extend/toctree.liquid → class/_toctree.extend.liquid} +5 -5
- data/_includes/{toctree.liquid → class/_toctree.liquid} +4 -4
- data/_includes/class/addons-wrap.liquid +26 -0
- data/_includes/{addons → class/addons}/analytics.liquid +2 -2
- data/_includes/class/addons/github.liquid +21 -0
- data/_includes/class/content-wrap.liquid +20 -0
- data/_includes/class/sidebar-wrap.liquid +18 -0
- data/_includes/head/links.liquid +16 -0
- data/_includes/head/metadata.liquid +21 -0
- data/_includes/head/script.extension.liquid +24 -0
- data/_includes/head/script.liquid +16 -0
- data/_includes/head/script.schema.liquid +27 -0
- data/_includes/head/title.liquid +1 -0
- data/_includes/{extend/list.liquid → list.extend.liquid} +5 -5
- data/_includes/list.liquid +3 -3
- data/_includes/shortcodes/danger.liquid +8 -6
- data/_includes/shortcodes/note.liquid +8 -6
- data/_includes/shortcodes/tip.liquid +8 -6
- data/_includes/shortcodes/warning.liquid +8 -6
- data/_layouts/default.liquid +16 -184
- data/_layouts/plugins/extension.liquid +3 -1
- data/_sass/_icons.scss +4 -0
- data/_sass/_layout.scss +3 -4
- data/_sass/_variables.scss +11 -8
- data/_sass/class/admonition.scss +47 -0
- data/_sass/class/container.scss +1 -1
- data/_sass/class/markdown-body.scss +15 -7
- data/_sass/class/sidebar-wrap.scss +31 -20
- data/_sass/class/title.scss +0 -1
- data/_sass/theme.scss +8 -7
- data/assets/404.liquid +3 -1
- data/assets/css/theme.min.css +1 -1
- data/assets/js/mermaid.min.js +0 -1
- data/assets/js/theme.js +95 -18
- data/assets/js/theme.min.js +1 -1
- data/assets/pages.liquid +1 -1
- data/assets/search.liquid +5 -14
- data/assets/sitemap.liquid +1 -1
- data/assets/sw.caches.liquid +1 -1
- metadata +24 -15
- data/_includes/addons/github.liquid +0 -18
- data/_includes/reset/defaults.liquid +0 -54
- data/_includes/safe/shortcodes.liquid +0 -9
- data/assets/js/search.js +0 -90
@@ -0,0 +1,16 @@
|
|
1
|
+
<script>
|
2
|
+
window.ui = {
|
3
|
+
title: "{{ site.title }}",
|
4
|
+
lang: "{{ site.lang }}",
|
5
|
+
version: "{{ version }}",
|
6
|
+
baseurl: "{{ site.baseurl }}",
|
7
|
+
i18n: {
|
8
|
+
search_docs: "{{ __.search_docs | default: 'Search Docs' }}",
|
9
|
+
search_results: "{{ __.search_results | default: 'Search Results' }}",
|
10
|
+
search_results_found: "{{ __.search_results_found | default: 'Search finished, found # page(s) matching the search query.' }}",
|
11
|
+
search_results_not_found: "{{ __.search_results_not_found | default: 'Your search did not match any documents, please make sure that all characters are spelled correctly!' }}"
|
12
|
+
}
|
13
|
+
};
|
14
|
+
</script>
|
15
|
+
<script src="{{ cdn }}/assets/js/jquery.min.js"></script>
|
16
|
+
<script src="{{ cdn }}/assets/js/theme{% if site.debug.dist != false %}.min{% endif %}.js"></script>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<script type="application/ld+json">
|
2
|
+
{
|
3
|
+
"@context": "https://schema.org",
|
4
|
+
"@type": "Article",
|
5
|
+
"mainEntityOfPage": {
|
6
|
+
"@type": "WebPage",
|
7
|
+
"@id": "{{ schema_surl }}"
|
8
|
+
},
|
9
|
+
"headline": "{{ title }}",
|
10
|
+
"image": [{% for image in page.images %}"{{ image }}"{% unless forloop.last %},{% endunless %}{% endfor %}],
|
11
|
+
"author": {
|
12
|
+
"@type": "Person",
|
13
|
+
"name": "{{ author }}"
|
14
|
+
},
|
15
|
+
"datePublished": "{{ schema_date }}",
|
16
|
+
"dateModified": "{{ schema_modi }}",
|
17
|
+
"publisher": {
|
18
|
+
"@type": "{{ docs.owner.type }}",
|
19
|
+
"name": "{{ author }}",
|
20
|
+
"logo": {
|
21
|
+
"@type": "ImageObject",
|
22
|
+
"url": "{{ docs.owner.avatar_url }}"
|
23
|
+
}
|
24
|
+
},
|
25
|
+
"description": "{{ description }}"
|
26
|
+
}
|
27
|
+
</script>
|
@@ -0,0 +1 @@
|
|
1
|
+
<title>{{ title }}</title>
|
@@ -1,15 +1,15 @@
|
|
1
|
-
{%- include
|
2
|
-
{%- include
|
1
|
+
{%- include assets/site_pages.liquid -%}
|
2
|
+
{%- include assets/workdir.liquid -%}
|
3
3
|
|
4
4
|
{%- assign base = page.dir | append: "temp/" | split: "/" | size -%}
|
5
5
|
{%- assign size = workdir_level | minus: base -%}
|
6
6
|
{%- assign size_p1 = size | plus: 1 -%}
|
7
7
|
|
8
8
|
{%- assign dir = site_pages | where: "url", workdir | first %}
|
9
|
-
{% include
|
9
|
+
{% include assets/tabs.liquid size=size %}- [{{ dir.title | default: dir.url }}]({{ dir.url | relative_url }})
|
10
10
|
|
11
11
|
{%- for item in workdir_files %}
|
12
|
-
{% include
|
12
|
+
{% include assets/tabs.liquid size=size_p1 %}- [{{ item.title | default: item.url }}]({{ item.url | relative_url }})
|
13
13
|
{%- endfor -%}
|
14
14
|
|
15
|
-
{%- for workdir in workdir_dirs %}{% include
|
15
|
+
{%- for workdir in workdir_dirs %}{% include list.extend.liquid %}{% endfor -%}
|
data/_includes/list.liquid
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
{%- include
|
2
|
-
{%- include
|
1
|
+
{%- include assets/site_pages.liquid -%}
|
2
|
+
{%- include assets/workdir.liquid workdir=page.dir -%}
|
3
3
|
|
4
4
|
{%- for item in workdir_files %}
|
5
5
|
- [{{ item.title | default: item.url }}]({{ item.url | relative_url }})
|
6
6
|
{%- endfor -%}
|
7
7
|
|
8
8
|
{%- if include.all -%}
|
9
|
-
{%- for workdir in workdir_dirs %}{% include
|
9
|
+
{%- for workdir in workdir_dirs %}{% include list.extend.liquid %}{% endfor -%}
|
10
10
|
{%- endif -%}
|
@@ -1,7 +1,9 @@
|
|
1
|
-
<div class="admonition danger">
|
2
|
-
<
|
3
|
-
<i class="
|
4
|
-
|
5
|
-
</
|
6
|
-
|
1
|
+
<div class="admonition danger box-shadow mb-3">
|
2
|
+
<div class="title px-2 py-1">
|
3
|
+
<i class="fa fa-exclamation-circle"></i>
|
4
|
+
{{ __.danger | default: "Danger" }}
|
5
|
+
</div>
|
6
|
+
<div class="content p-2">
|
7
|
+
{{ codes | markdownify | strip_newlines -}}
|
8
|
+
</div>
|
7
9
|
</div>
|
@@ -1,7 +1,9 @@
|
|
1
|
-
<div class="admonition note">
|
2
|
-
<
|
3
|
-
<i class="
|
4
|
-
|
5
|
-
</
|
6
|
-
|
1
|
+
<div class="admonition note box-shadow mb-3">
|
2
|
+
<div class="title px-2 py-1">
|
3
|
+
<i class="fa fa-exclamation-circle"></i>
|
4
|
+
{{ __.note | default: "Note" }}
|
5
|
+
</div>
|
6
|
+
<div class="content p-2">
|
7
|
+
{{ codes | markdownify | strip_newlines -}}
|
8
|
+
</div>
|
7
9
|
</div>
|
@@ -1,7 +1,9 @@
|
|
1
|
-
<div class="admonition tip">
|
2
|
-
<
|
3
|
-
<i class="
|
4
|
-
|
5
|
-
</
|
6
|
-
|
1
|
+
<div class="admonition tip box-shadow mb-3">
|
2
|
+
<div class="title px-2 py-1">
|
3
|
+
<i class="fa fa-exclamation-circle"></i>
|
4
|
+
{{ __.tip | default: "Tip" }}
|
5
|
+
</div>
|
6
|
+
<div class="content p-2">
|
7
|
+
{{ codes | markdownify | strip_newlines -}}
|
8
|
+
</div>
|
7
9
|
</div>
|
@@ -1,7 +1,9 @@
|
|
1
|
-
<div class="admonition warning">
|
2
|
-
<
|
3
|
-
<i class="
|
4
|
-
|
5
|
-
</
|
6
|
-
|
1
|
+
<div class="admonition warning box-shadow mb-3">
|
2
|
+
<div class="title px-2 py-1">
|
3
|
+
<i class="fa fa-exclamation-circle"></i>
|
4
|
+
{{ __.warning | default: "Warning" }}
|
5
|
+
</div>
|
6
|
+
<div class="content p-2">
|
7
|
+
{{ codes | markdownify | strip_newlines -}}
|
8
|
+
</div>
|
7
9
|
</div>
|
data/_layouts/default.liquid
CHANGED
@@ -2,191 +2,23 @@
|
|
2
2
|
layout: plugins/compress
|
3
3
|
---
|
4
4
|
|
5
|
-
{%- include
|
5
|
+
{%- include assets/defaults.liquid -%}
|
6
6
|
|
7
7
|
<!DOCTYPE html>
|
8
8
|
<html lang="{{ site.lang }}">
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
<
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
<meta property="og:locale" content="{{ site.lang }}">
|
25
|
-
<meta property="og:url" content="{{ schema_surl }}">
|
26
|
-
<meta property="og:type" content="article">
|
27
|
-
<meta property="article:author" content="{{ site.github.owner_name }}">
|
28
|
-
<meta property="article:published_time" content="{{ schema_date }}">
|
29
|
-
<meta property="article:modified_time" content="{{ schema_modi }}">
|
30
|
-
<!-- meta-custom -->
|
31
|
-
{% for meta in site.meta -%}
|
32
|
-
<meta name="{{ meta.first }}" content="{{ meta.last }}">
|
33
|
-
{% endfor -%}
|
34
|
-
<!-- schema -->
|
35
|
-
<script type="application/ld+json">
|
36
|
-
{
|
37
|
-
"@context": "https://schema.org",
|
38
|
-
"@type": "Article",
|
39
|
-
"mainEntityOfPage": {
|
40
|
-
"@type": "WebPage",
|
41
|
-
"@id": "{{ schema_surl }}"
|
42
|
-
},
|
43
|
-
"headline": "{{ title | truncate: 110 }}",
|
44
|
-
"image": [{% for image in page.images %}"{{ image }}"{% unless forloop.last %},{% endunless %}{% endfor %}],
|
45
|
-
"author": {
|
46
|
-
"@type": "Person",
|
47
|
-
"name": "{{ site.github.owner_name }}"
|
48
|
-
},
|
49
|
-
"datePublished": "{{ schema_date }}",
|
50
|
-
"dateModified": "{{ schema_modi }}",
|
51
|
-
"publisher": {
|
52
|
-
"@type": "Organization",
|
53
|
-
"name": "RunDocs",
|
54
|
-
"logo": {
|
55
|
-
"@type": "ImageObject",
|
56
|
-
"url": "https://rundocs.io/logo.png"
|
57
|
-
}
|
58
|
-
},
|
59
|
-
"description": "{{ description }}"
|
60
|
-
}
|
61
|
-
</script>
|
62
|
-
<!-- link -->
|
63
|
-
<link rel="canonical" href="{{ schema_surl }}">
|
64
|
-
{% if prev %}<link rel="prev" href="{{ prev.url | absolute_url }}">{% endif %}
|
65
|
-
{% if next %}<link rel="next" href="{{ next.url | absolute_url }}">{% endif %}
|
66
|
-
<!-- theme -->
|
67
|
-
<link rel="stylesheet" href="{{ cdn }}/assets/css/theme{% if site.debug.dist != false %}.min{% endif %}.css">
|
68
|
-
<!-- icon -->
|
69
|
-
<link rel="icon" type="image/svg+xml" href="{{ site.baseurl }}/favicon.svg">
|
70
|
-
<!-- script -->
|
71
|
-
<script>
|
72
|
-
window.ui = {
|
73
|
-
baseurl: "{{ site.baseurl }}",
|
74
|
-
title: "{{ site.title }}",
|
75
|
-
admonition: {
|
76
|
-
note: "{{ __note }}",
|
77
|
-
tip: "{{ __tip }}",
|
78
|
-
warning: "{{ __warning }}",
|
79
|
-
danger: "{{ __danger }}"
|
80
|
-
},
|
81
|
-
lang: "{{ site.lang }}",
|
82
|
-
version: "{{ version }}"
|
83
|
-
};
|
84
|
-
</script>
|
85
|
-
<!-- script -->
|
86
|
-
<script src="{{ cdn }}/assets/js/jquery.min.js"></script>
|
87
|
-
<script src="{{ cdn }}/assets/js/theme{% if site.debug.dist != false %}.min{% endif %}.js"></script>
|
88
|
-
|
89
|
-
</head>
|
90
|
-
|
91
|
-
<body class="container">
|
92
|
-
<div class="sidebar-wrap overflow-hidden">
|
93
|
-
<div class="sidebar d-flex flex-column height-full overflow-y-scroll overflow-x-hidden">
|
94
|
-
<div class="header d-flex flex-column p-3 text-center">
|
95
|
-
<div class="title pb-1 no-underline">
|
96
|
-
<a class="h4 py-1 px-2 rounded-1" href="{{ site.baseurl }}/">
|
97
|
-
{% if site.logo %}
|
98
|
-
<img class="logo" src="{{ site.baseurl }}/{{ site.logo }}" alt="{{ site.title }}">
|
99
|
-
{% else %}
|
100
|
-
<i class="fa fa-home"></i> {{ site.title }}
|
101
|
-
{% endif %}
|
102
|
-
</a>
|
103
|
-
</div>
|
104
|
-
<span class="version text-gray">{{ site.github.latest_release.name }}</span>
|
105
|
-
<form class="search pt-2" action="{{ site.baseurl }}/search.html" method="get" autocomplete="off">
|
106
|
-
<input class="form-control input-block input-sm" type="text" name="q" placeholder="{{ site.data.translate.search_docs | default: 'Search docs' }}...">
|
107
|
-
</form>
|
108
|
-
</div>
|
109
|
-
<div class="toctree py-2" data-spy="affix" role="navigation" aria-label="main navigation">
|
110
|
-
{% include toctree.liquid %}
|
111
|
-
</div>
|
112
|
-
<div class="embed-wrap">
|
113
|
-
<div class="embed p-2 m-3 rounded-2 text-blue bg-white">
|
114
|
-
{{ site.embed }}
|
115
|
-
</div>
|
116
|
-
</div>
|
117
|
-
</div>
|
118
|
-
</div>
|
119
|
-
<div class="content-wrap">
|
120
|
-
<div class="header d-flex flex-justify-between p-2 hide-lg hide-xl" aria-label="top navigation">
|
121
|
-
<button id="toggle" class="btn-octicon p-2 m-0 text-white" type="button">
|
122
|
-
<i class="fa fa-bars"></i>
|
123
|
-
</button>
|
124
|
-
<div class="title flex-1 no-underline d-flex flex-justify-center">
|
125
|
-
<a class="h4 py-1 px-2 rounded-1" href="{{ site.baseurl }}/">{{ site.title }}</a>
|
126
|
-
</div>
|
127
|
-
</div>
|
128
|
-
<div class="content p-5">
|
129
|
-
{% include breadcrumbs.liquid %}
|
130
|
-
<hr>
|
131
|
-
<div role="main" itemscope="itemscope" itemtype="http://schema.org/Article">
|
132
|
-
<div class="markdown-body" itemprop="articleBody">
|
133
|
-
{{ content }}
|
134
|
-
</div>
|
135
|
-
</div>
|
136
|
-
{% include footer.liquid %}
|
137
|
-
</div>
|
138
|
-
</div>
|
139
|
-
<div class="addons-wrap d-flex flex-column overflow-y-auto">
|
140
|
-
<div class="status d-flex flex-justify-between p-2">
|
141
|
-
<div class="title p-1">
|
142
|
-
<i class="fa fa-book"></i> {{ site.title }}
|
143
|
-
</div>
|
144
|
-
<div class="branch p-1">
|
145
|
-
<span class="name">
|
146
|
-
{{ site.github.source.branch }}
|
147
|
-
</span>
|
148
|
-
<i class="fa fa-caret-down"></i>
|
149
|
-
</div>
|
150
|
-
</div>
|
151
|
-
<div class="addons d-flex flex-column height-full p-2 d-none">
|
152
|
-
{%- assign items = "github, analytics" | split: ", " -%}
|
153
|
-
{% for item in items -%}
|
154
|
-
{% include addons/{{ item }}.liquid %}
|
155
|
-
{% endfor -%}
|
156
|
-
<hr>
|
157
|
-
<div class="generator f6 pb-2">
|
158
|
-
Built with
|
159
|
-
<a href="https://github.com/rundocs/jekyll-rtd-theme" target="_blank" title="{% if site.remote_theme %}remote{% endif %} theme v{{ version }}">jekyll-rtd-theme</a>
|
160
|
-
provided by
|
161
|
-
<a href="https://rundocs.io" target="_blank">RunDocs</a>
|
162
|
-
</div>
|
163
|
-
</div>
|
164
|
-
</div>
|
165
|
-
|
166
|
-
{%- comment %} mermaid {% endcomment -%}
|
167
|
-
{%- if content contains '<code class="language-mermaid">' -%}
|
168
|
-
{%- if site.mermaid.custom -%}
|
169
|
-
<script src="{{ site.mermaid.custom }}"></script>
|
170
|
-
{%- else -%}
|
171
|
-
<script src="{{ cdn }}/assets/js/mermaid.min.js"></script>
|
172
|
-
{%- endif %}
|
173
|
-
<script>
|
174
|
-
mermaid.initialize({% if site.mermaid.initialize %}{{ site.mermaid.initialize | jsonify }}{% else %}{}{% endif %});
|
175
|
-
</script>
|
176
|
-
{%- endif %}
|
177
|
-
|
178
|
-
{% comment %} Google Analytics {% endcomment %}
|
179
|
-
{%- if site.google.gtag -%}
|
180
|
-
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google.gtag }}"></script>
|
181
|
-
<script>
|
182
|
-
window.dataLayer = window.dataLayer || [];
|
183
|
-
function gtag() {
|
184
|
-
dataLayer.push(arguments);
|
185
|
-
}
|
186
|
-
gtag("js", new Date());
|
187
|
-
gtag("config", "{{ site.google.gtag }}");
|
188
|
-
</script>
|
189
|
-
{%- endif -%}
|
190
|
-
</body>
|
191
|
-
|
9
|
+
<head>
|
10
|
+
{%- include head/metadata.liquid -%}
|
11
|
+
|
12
|
+
{%- include head/title.liquid -%}
|
13
|
+
{%- include head/links.liquid -%}
|
14
|
+
|
15
|
+
{%- include head/script.schema.liquid -%}
|
16
|
+
{%- include head/script.liquid -%}
|
17
|
+
{%- include head/script.extension.liquid -%}
|
18
|
+
</head>
|
19
|
+
<body class="container">
|
20
|
+
{%- include class/sidebar-wrap.liquid -%}
|
21
|
+
{%- include class/addons-wrap.liquid -%}
|
22
|
+
{%- include class/content-wrap.liquid -%}
|
23
|
+
</body>
|
192
24
|
</html>
|
data/_sass/_icons.scss
CHANGED
data/_sass/_layout.scss
CHANGED
@@ -34,7 +34,7 @@
|
|
34
34
|
}
|
35
35
|
}
|
36
36
|
|
37
|
-
@
|
37
|
+
@include breakpoint(md) {
|
38
38
|
.menu-md {
|
39
39
|
left: 0;
|
40
40
|
width: $theme-menu-width;
|
@@ -47,8 +47,7 @@
|
|
47
47
|
width: $theme-menu-width + 20px;
|
48
48
|
|
49
49
|
.header,
|
50
|
-
.toctree
|
51
|
-
.embed-wrap {
|
50
|
+
.toctree {
|
52
51
|
width: $theme-menu-width;
|
53
52
|
}
|
54
53
|
}
|
@@ -69,7 +68,7 @@
|
|
69
68
|
}
|
70
69
|
}
|
71
70
|
|
72
|
-
@
|
71
|
+
@include breakpoint(xl) {
|
73
72
|
.content-wrap {
|
74
73
|
max-width: $width-xl - $theme-menu-width;
|
75
74
|
}
|
data/_sass/_variables.scss
CHANGED
@@ -1,29 +1,32 @@
|
|
1
|
-
|
1
|
+
// fonts
|
2
2
|
$body-font: "Lato", sans-serif;
|
3
3
|
$mono-font: monospace;
|
4
4
|
$head-font: "Roboto-Slab", sans-serif;
|
5
5
|
|
6
|
-
|
6
|
+
// reset
|
7
7
|
$box-shadow-focus: none;
|
8
8
|
|
9
|
-
|
9
|
+
// theme color
|
10
10
|
$theme-blue: #2980b9;
|
11
|
-
$theme-red: #e74c3c;
|
11
|
+
$theme-red: #e74c3c; // code
|
12
|
+
$theme-offgreen: #1abc9c;
|
13
|
+
$theme-orange: #e67e22;
|
14
|
+
|
12
15
|
$theme-white: lighten($black, 99%);
|
13
16
|
$theme-black: lighten($black, 15%);
|
14
17
|
|
15
|
-
|
18
|
+
// theme link
|
16
19
|
$theme-link: $blue;
|
17
20
|
$theme-link-hover: lighten($blue, 10%);
|
18
21
|
$theme-link-visited: lighten($purple, 10%);
|
19
22
|
|
20
|
-
|
23
|
+
// theme code
|
21
24
|
|
22
|
-
|
25
|
+
// theme mask
|
23
26
|
$theme-mask-white: transparentize($theme-white, 0.9);
|
24
27
|
$theme-mask-black: transparentize($theme-black, 0.9);
|
25
28
|
|
26
|
-
|
29
|
+
// theme menu
|
27
30
|
$theme-menu-width: 300px;
|
28
31
|
$theme-menu-background: darken($theme-black, 10%);
|
29
32
|
$theme-menu-active-background: darken($theme-blue, 20%);
|
@@ -0,0 +1,47 @@
|
|
1
|
+
.admonition {
|
2
|
+
// fixed note
|
3
|
+
font-size: $h4-size;
|
4
|
+
|
5
|
+
// fixed
|
6
|
+
.content {
|
7
|
+
:first-child {
|
8
|
+
margin-top: 0;
|
9
|
+
}
|
10
|
+
|
11
|
+
:last-child {
|
12
|
+
margin-bottom: 0;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
&.note {
|
17
|
+
background-color: lighten($theme-blue, 50%);
|
18
|
+
|
19
|
+
.title {
|
20
|
+
background: lighten($theme-blue, 20%);
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
&.tip {
|
25
|
+
background-color: lighten($theme-offgreen, 50%);
|
26
|
+
|
27
|
+
.title {
|
28
|
+
background: lighten($theme-offgreen, 0%);
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
&.warning {
|
33
|
+
background-color: lighten($theme-orange, 40%);
|
34
|
+
|
35
|
+
.title {
|
36
|
+
background: lighten($theme-orange, 20%);
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
&.danger {
|
41
|
+
background-color: lighten($theme-red, 40%);
|
42
|
+
|
43
|
+
.title {
|
44
|
+
background: lighten($theme-red, 20%);
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|