testio-tailwind 2.2.1 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eleventy.js +4 -5
- package/package.json +8 -7
- package/src/_includes/header.njk +14 -2
- package/src/_includes/page-with-sidebar-nocode.njk +5 -3
- package/src/_includes/page-with-sidebar.njk +12 -10
- package/src/assets/scripts/modules/echarts_gauge.js +2 -1
- package/src/assets/stylesheets/app.css +3 -0
- package/src/assets/stylesheets/components/actionbar.css +1 -1
- package/src/assets/stylesheets/components/badges.css +56 -0
- package/src/assets/stylesheets/components/banner_card.css +1 -1
- package/src/assets/stylesheets/components/buttons.css +4 -4
- package/src/assets/stylesheets/components/cards.css +5 -61
- package/src/assets/stylesheets/components/chat.css +11 -11
- package/src/assets/stylesheets/components/checkboxes_radiobuttons.css +6 -11
- package/src/assets/stylesheets/components/customer/customer_productcards.css +5 -5
- package/src/assets/stylesheets/components/devices.css +4 -4
- package/src/assets/stylesheets/components/dropdown.css +2 -25
- package/src/assets/stylesheets/components/form_card.css +1 -1
- package/src/assets/stylesheets/components/forms.css +2 -2
- package/src/assets/stylesheets/components/layout.css +1 -1
- package/src/assets/stylesheets/components/list_item.css +9 -9
- package/src/assets/stylesheets/components/metasidebar.css +2 -1
- package/src/assets/stylesheets/components/notifications.css +1 -0
- package/src/assets/stylesheets/components/popover.css +15 -113
- package/src/assets/stylesheets/components/resultmodule.css +1 -1
- package/src/assets/stylesheets/components/scrollbars.css +8 -0
- package/src/assets/stylesheets/components/sidebar.css +3 -2
- package/src/assets/stylesheets/components/tables.css +4 -4
- package/src/assets/stylesheets/components/tabs.css +5 -8
- package/src/assets/stylesheets/components/tags.css +1 -1
- package/src/assets/stylesheets/components/task_issue_item.css +1 -1
- package/src/assets/stylesheets/components/test_header.css +1 -0
- package/src/assets/stylesheets/components/test_item.css +2 -2
- package/src/assets/stylesheets/components/tester/tester_cards.css +1 -1
- package/src/assets/stylesheets/components/tom_select.css +3 -3
- package/src/assets/stylesheets/components/trix_editor.css +2 -1
- package/src/assets/stylesheets/components/user_item.css +1 -1
- package/src/assets/stylesheets/tailwind_config.css +17 -10
- package/src/assets/stylesheets/tailwind_theme_dark.css +22 -0
- package/src/pages/buttons/block.haml +29 -32
- package/src/pages/buttons/buttons-round.haml +2 -2
- package/src/pages/buttons/buttons-sm.haml +2 -2
- package/src/pages/buttons/buttons.haml +2 -2
- package/src/pages/buttons/buttons_input.haml +2 -2
- package/src/pages/buttons/square-buttons.haml +2 -2
- package/src/pages/charts/area.haml +2 -2
- package/src/pages/charts/bar_horizontal.haml +2 -2
- package/src/pages/charts/bar_vertical.haml +6 -6
- package/src/pages/charts/donut.haml +3 -3
- package/src/pages/charts/gauge.haml +3 -3
- package/src/pages/examples/layout-actionbar.haml +1 -1
- package/src/pages/examples/layout-basic.haml +1 -1
- package/src/pages/examples/layout-sidebar.haml +1 -1
- package/src/pages/forms/form_grid.haml +17 -0
- package/src/pages/forms/form_grid_narrow.haml +7 -7
- package/src/pages/layout/app_layout.haml +1 -1
- package/src/pages/layout/margins.haml +8 -8
- package/src/pages/layout/max_width.haml +1 -1
- package/src/pages/layout/paddings.haml +8 -8
- package/src/pages/forms/form-grid.haml +0 -17
package/.eleventy.js
CHANGED
|
@@ -6,11 +6,10 @@ const markdownIt = require('./utils/markdown.js');
|
|
|
6
6
|
module.exports = function (eleventyConfig) {
|
|
7
7
|
// Folders to copy to build dir (See. 1.1)
|
|
8
8
|
eleventyConfig.addPassthroughCopy({
|
|
9
|
-
"src/static/site.webmanifest": "
|
|
10
|
-
"src/static/*": "static",
|
|
11
|
-
"src/assets/fonts/*": "assets/fonts",
|
|
9
|
+
"src/static/site.webmanifest": "./",
|
|
10
|
+
"src/static/*": "static",
|
|
12
11
|
"src/static/downloads/*": "downloads",
|
|
13
|
-
"src/assets/images
|
|
12
|
+
"src/assets/images": "assets/images"
|
|
14
13
|
})
|
|
15
14
|
|
|
16
15
|
// Filters
|
|
@@ -45,7 +44,7 @@ module.exports = function (eleventyConfig) {
|
|
|
45
44
|
includes: "_includes",
|
|
46
45
|
layouts: "_layouts"
|
|
47
46
|
},
|
|
48
|
-
templateFormats: ["html", "md", "njk", "pug", "haml"
|
|
47
|
+
templateFormats: ["html", "md", "njk", "pug", "haml"],
|
|
49
48
|
htmlTemplateEngine: "njk",
|
|
50
49
|
|
|
51
50
|
// 1.1 Enable eleventy to pass dirs specified above
|
package/package.json
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "testio-tailwind",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "Tailwind based design system for Test IO",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "del dist --force",
|
|
7
|
+
"create-dist": "mkdirp dist",
|
|
8
|
+
"create-static": "mkdirp dist/static",
|
|
7
9
|
"dev:11ty": "eleventy --serve --watch",
|
|
8
|
-
"dev:tailwind": "npx @tailwindcss/cli -i ./src/assets/stylesheets/app.css -o dist/static/app.compiled.css --watch",
|
|
9
10
|
"dev:scripts": "webpack --watch --config webpack.config.js",
|
|
10
|
-
"
|
|
11
|
+
"dev:tailwind": "npx @tailwindcss/cli -i ./src/assets/stylesheets/app.css -o dist/static/app.compiled.css --watch",
|
|
11
12
|
"build:11ty": "eleventy",
|
|
12
|
-
"build:
|
|
13
|
+
"build:tailwind": "npx @tailwindcss/cli -i ./src/assets/stylesheets/app.css -o dist/static/app.compiled.css --minify",
|
|
14
|
+
"build:scripts": "webpack --config webpack.config.js --mode production ",
|
|
13
15
|
"build:icon-page": "node icon-classes-extractor.js",
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"build": "cross-env run-s clean build:* --print-label"
|
|
16
|
+
"start": "run-s clean create-dist && cross-env run-p dev:* --print-label",
|
|
17
|
+
"build": "cross-env run-s clean create-dist create-static build:* --print-label"
|
|
17
18
|
},
|
|
18
19
|
"author": "test IO",
|
|
19
20
|
"license": "",
|
package/src/_includes/header.njk
CHANGED
|
@@ -31,8 +31,6 @@
|
|
|
31
31
|
</details>
|
|
32
32
|
</div>
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
<!-- Mobile menu button-->
|
|
36
34
|
<details class="mobile-links">
|
|
37
35
|
<summary class="mobile-menu-btn"><div class="navlink"><span class="sr-only">Open main menu</span><!-- Icon when menu is closed.--><span class="icon icon-menu" aria-hidden="true"></span></div></summary>
|
|
38
36
|
<div class="mobile-menu sidebar">
|
|
@@ -62,4 +60,18 @@
|
|
|
62
60
|
</div>
|
|
63
61
|
</details>
|
|
64
62
|
|
|
63
|
+
<div class="navlinks right">
|
|
64
|
+
<button onclick="(() => document.body.classList.toggle('dark'))()"
|
|
65
|
+
class="navlink">
|
|
66
|
+
<svg class="w-icon h-icon fill-purple hidden dark:block" fill="currentColor" viewBox="0 0 20 20">
|
|
67
|
+
<path d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"></path>
|
|
68
|
+
</svg>
|
|
69
|
+
<svg class="w-icon h-icon fill-purple block dark:hidden" fill="currentColor" viewBox="0 0 20 20">
|
|
70
|
+
<path
|
|
71
|
+
d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z"
|
|
72
|
+
fill-rule="evenodd" clip-rule="evenodd"></path>
|
|
73
|
+
</svg>
|
|
74
|
+
</button>
|
|
75
|
+
</div>
|
|
76
|
+
|
|
65
77
|
</header>
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
<nav class="sidebar manager">
|
|
3
3
|
<div class="navlinks">
|
|
4
|
-
|
|
4
|
+
{% set sortedSections = collection | sort(attribute='data.title') %}
|
|
5
|
+
{% for section in sortedSections %}
|
|
5
6
|
<a class="navlink" href="#{{ section.data.title }}">{{ section.data.title }}</a>
|
|
6
7
|
{% endfor %}
|
|
7
8
|
</div>
|
|
@@ -12,11 +13,12 @@
|
|
|
12
13
|
|
|
13
14
|
{% for item in navigation.items %}
|
|
14
15
|
{% if page.url == item.url %}
|
|
15
|
-
<h1>{{ item.text }}</h1>
|
|
16
|
+
<h1 class="mb-heading">{{ item.text }}</h1>
|
|
16
17
|
{% endif %}
|
|
17
18
|
{% endfor %}
|
|
18
19
|
|
|
19
|
-
{
|
|
20
|
+
{% set sortedSections = collection | sort(attribute='data.title') %}
|
|
21
|
+
{% for section in sortedSections %}
|
|
20
22
|
<section class="section" id="{{ section.data.title }}">
|
|
21
23
|
<div class="section-header">
|
|
22
24
|
<h4 class="section-title">{{ section.data.title }}</h2>
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
|
|
2
2
|
<nav class="sidebar manager">
|
|
3
3
|
<div class="navlinks">
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
{% set sortedSections = collection | sort(attribute='data.title') %}
|
|
5
|
+
{% for section in sortedSections %}
|
|
6
|
+
<a class="navlink" href="#{{ section.data.title }}">{{ section.data.title }}</a>
|
|
7
|
+
{% endfor %}
|
|
7
8
|
</div>
|
|
8
9
|
</nav>
|
|
9
10
|
|
|
@@ -12,11 +13,12 @@
|
|
|
12
13
|
|
|
13
14
|
{% for item in navigation.items %}
|
|
14
15
|
{% if page.url == item.url %}
|
|
15
|
-
<h1>{{ item.text }}</h1>
|
|
16
|
+
<h1 class="mb-heading">{{ item.text }}</h1>
|
|
16
17
|
{% endif %}
|
|
17
18
|
{% endfor %}
|
|
18
19
|
|
|
19
|
-
{
|
|
20
|
+
{% set sortedSections = collection | sort(attribute='data.title') %}
|
|
21
|
+
{% for section in sortedSections %}
|
|
20
22
|
<section class="section" id="{{ section.data.title }}">
|
|
21
23
|
<div class="section-header">
|
|
22
24
|
<h4 class="section-title">{{ section.data.title }}</h2>
|
|
@@ -30,12 +32,11 @@
|
|
|
30
32
|
{{ section.templateContent | safe }}
|
|
31
33
|
|
|
32
34
|
<details class="mt-3">
|
|
33
|
-
<summary class="btn btn-sm btn-
|
|
34
|
-
|
|
35
|
-
<span>Show source</span>
|
|
35
|
+
<summary class="btn btn-sm btn-secondary inline-block cursor-pointer mb-2">
|
|
36
|
+
Show source
|
|
36
37
|
</summary>
|
|
37
|
-
<div class="
|
|
38
|
-
<pre><code class="
|
|
38
|
+
<div class="prose max-w-none bg-gray-light p-2 rounded mb-1">
|
|
39
|
+
<pre><code class="html-preview">{{ section.templateContent | trim }}</code></pre>
|
|
39
40
|
</div>
|
|
40
41
|
</details>
|
|
41
42
|
</section>
|
|
@@ -44,3 +45,4 @@
|
|
|
44
45
|
</main>
|
|
45
46
|
|
|
46
47
|
|
|
48
|
+
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
@import "tailwindcss";
|
|
6
6
|
@import './tailwind_config.css';
|
|
7
|
+
@import './tailwind_theme_dark.css';
|
|
7
8
|
@import './tailwind_custom_utilities.css';
|
|
8
9
|
|
|
9
10
|
@import './components/reset.css' layer(base);
|
|
@@ -15,6 +16,7 @@
|
|
|
15
16
|
|
|
16
17
|
@import './components/actionbar.css' layer(components);
|
|
17
18
|
@import './components/buttons.css' layer(components);
|
|
19
|
+
@import './components/badges.css' layer(components);
|
|
18
20
|
@import './components/cards.css' layer(components);
|
|
19
21
|
@import './components/header.css' layer(components);
|
|
20
22
|
@import './components/layout.css' layer(components);
|
|
@@ -65,6 +67,7 @@
|
|
|
65
67
|
@import './components/select.css' layer(components);
|
|
66
68
|
@import './components/test_header.css' layer(components);
|
|
67
69
|
@import './components/ratingscale.css' layer(components);
|
|
70
|
+
@import './components/scrollbars.css' layer(components);
|
|
68
71
|
|
|
69
72
|
@import './components/customer/customer_header.css' layer(components);
|
|
70
73
|
@import './components/customer/customer_sidebar.css' layer(components);
|
|
@@ -13,7 +13,7 @@ footer.actionbar,
|
|
|
13
13
|
footer.actionbar .btn-primary,
|
|
14
14
|
.splitview-list-actionbar .btn-primary,
|
|
15
15
|
.splitview-details-actionbar .btn-primary {
|
|
16
|
-
@apply text-primary bg-white border-white hover:text-white hover:bg-link-hover hover:border-link-hover;
|
|
16
|
+
@apply text-primary dark:text-appbody bg-white border-white hover:text-white hover:bg-link-hover hover:border-link-hover;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
footer.actionbar .btn-secondary,
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/*/// Card badges ///*/
|
|
2
|
+
|
|
3
|
+
.card .card-badge {
|
|
4
|
+
@apply absolute top-0 right-0 overflow-hidden;
|
|
5
|
+
width: 65px;
|
|
6
|
+
height: 65px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.card .card-badge::before {
|
|
10
|
+
@apply absolute block bg-gray-darker;
|
|
11
|
+
content: "";
|
|
12
|
+
transform: rotate(45deg);
|
|
13
|
+
width: 100px;
|
|
14
|
+
height: 25px;
|
|
15
|
+
right: -25px;
|
|
16
|
+
top: 10px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.card .card-badge::after {
|
|
20
|
+
@apply absolute inline-block w-icon-xs h-icon-xs bg-white;
|
|
21
|
+
content: "";
|
|
22
|
+
right: 14px;
|
|
23
|
+
top: 17px;
|
|
24
|
+
mask-image: url("/assets/images/icons/exclamation-circle-filled.svg");
|
|
25
|
+
mask-repeat: no-repeat;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.card .card-badge.success {
|
|
29
|
+
&::before {
|
|
30
|
+
@apply bg-success;
|
|
31
|
+
}
|
|
32
|
+
&::after {
|
|
33
|
+
mask-image: url("/assets/images/icons/check-thick.svg");
|
|
34
|
+
right: 16px;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.card .card-badge.danger,
|
|
39
|
+
.card .card-badge.high-priority {
|
|
40
|
+
&::before {
|
|
41
|
+
@apply bg-danger;
|
|
42
|
+
}
|
|
43
|
+
&::after {
|
|
44
|
+
mask-image: url("/assets/images/icons/exclamation-circle-filled.svg");
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.card .card-badge.info,
|
|
49
|
+
.card .card-badge.opportunity {
|
|
50
|
+
&::before {
|
|
51
|
+
@apply bg-info;
|
|
52
|
+
}
|
|
53
|
+
&::after {
|
|
54
|
+
mask-image: url("/assets/images/icons/exclamation-circle-filled.svg");
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -16,7 +16,7 @@ input[type="submit"].btn {
|
|
|
16
16
|
.btn-primary,
|
|
17
17
|
input.btn-primary,
|
|
18
18
|
input[type="submit"].btn-primary {
|
|
19
|
-
@apply text-
|
|
19
|
+
@apply text-appbody bg-primary;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.btn-secondary,
|
|
@@ -83,10 +83,10 @@ input[type="submit"].btn-success {
|
|
|
83
83
|
input[type="submit"].btn-inverted,
|
|
84
84
|
.btn-primary-inverted,
|
|
85
85
|
input[type="submit"].btn-primary-inverted {
|
|
86
|
-
@apply text-primary bg-white;
|
|
86
|
+
@apply text-primary bg-white dark:text-appbody;
|
|
87
87
|
|
|
88
88
|
.icon {
|
|
89
|
-
@apply text-primary;
|
|
89
|
+
@apply text-primary dark:text-appbody;
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
|
|
@@ -172,7 +172,7 @@ input[type="submit"].btn[disabled],
|
|
|
172
172
|
input.btn[disabled],
|
|
173
173
|
input.btn-sm[disabled],
|
|
174
174
|
input.btn-lg[disabled] {
|
|
175
|
-
@apply text-disabled border border-
|
|
175
|
+
@apply text-disabled border border-bordercolor bg-pattern-disabled-bright bg-transparent hover:bg-transparent hover:text-disabled hover:border-bordercolor shadow-none cursor-not-allowed dark:bg-pattern-disabled-dark dark:border-bordercolor;
|
|
176
176
|
|
|
177
177
|
&:hover .icon,
|
|
178
178
|
&:focus .icon,
|
|
@@ -122,11 +122,11 @@
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
.card-footer .btn {
|
|
125
|
-
@apply m-0 px-sm rounded-none border-l border-
|
|
125
|
+
@apply m-0 px-sm rounded-none border-l border-appbody first:border-l-0 first:rounded-bl last:rounded-br;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
.card-footer .dropdown-actions .btn {
|
|
129
|
-
@apply border-l border-
|
|
129
|
+
@apply border-l border-appbody rounded-bl-none;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
.card-footer .btn-primary {
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
.card-footer .btn-secondary {
|
|
137
|
-
@apply flex-1 text-
|
|
137
|
+
@apply flex-1 text-appbody bg-primary hover:bg-link-hover border-t-0 border-r-0 border-b-0;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
.card-footer .btn-square {
|
|
@@ -142,11 +142,11 @@
|
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
.card-icon-header {
|
|
145
|
-
@apply h-lg mb-xs text-center border-b border-bordercolor;
|
|
145
|
+
@apply h-lg mb-xs text-center border-b border-gray-light dark:border-bordercolor;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
.card-icon-header .icon {
|
|
149
|
-
@apply absolute h-icon-lg top-spacing px-xs text-icon-lg;
|
|
149
|
+
@apply absolute h-icon-lg top-spacing px-xs text-icon-lg bg-card;
|
|
150
150
|
left: 50%;
|
|
151
151
|
transform: translateX(-50%);
|
|
152
152
|
}
|
|
@@ -156,59 +156,3 @@
|
|
|
156
156
|
z-index: 1;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
/*/// Card badges ///*/
|
|
160
|
-
|
|
161
|
-
.card .card-badge {
|
|
162
|
-
@apply absolute top-0 right-0 overflow-hidden;
|
|
163
|
-
width: 65px;
|
|
164
|
-
height: 65px;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.card .card-badge::before {
|
|
168
|
-
@apply absolute block bg-gray-darker;
|
|
169
|
-
content: "";
|
|
170
|
-
transform: rotate(45deg);
|
|
171
|
-
width: 100px;
|
|
172
|
-
height: 25px;
|
|
173
|
-
right: -25px;
|
|
174
|
-
top: 10px;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.card .card-badge::after {
|
|
178
|
-
@apply absolute inline-block w-icon-xs h-icon-xs bg-white;
|
|
179
|
-
content: "";
|
|
180
|
-
right: 14px;
|
|
181
|
-
top: 17px;
|
|
182
|
-
mask-image: url("/assets/images/icons/exclamation-circle-filled.svg");
|
|
183
|
-
mask-repeat: no-repeat;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.card .card-badge.success {
|
|
187
|
-
&::before {
|
|
188
|
-
@apply bg-success;
|
|
189
|
-
}
|
|
190
|
-
&::after {
|
|
191
|
-
mask-image: url("/assets/images/icons/check-thick.svg");
|
|
192
|
-
right: 16px;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.card .card-badge.danger,
|
|
197
|
-
.card .card-badge.high-priority {
|
|
198
|
-
&::before {
|
|
199
|
-
@apply bg-danger;
|
|
200
|
-
}
|
|
201
|
-
&::after {
|
|
202
|
-
mask-image: url("/assets/images/icons/exclamation-circle-filled.svg");
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.card .card-badge.info,
|
|
207
|
-
.card .card-badge.opportunity {
|
|
208
|
-
&::before {
|
|
209
|
-
@apply bg-info;
|
|
210
|
-
}
|
|
211
|
-
&::after {
|
|
212
|
-
mask-image: url("/assets/images/icons/exclamation-circle-filled.svg");
|
|
213
|
-
}
|
|
214
|
-
}
|
|
@@ -30,7 +30,7 @@ img.chat-avatar {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.chat-message {
|
|
33
|
-
@apply p-xs rounded bg-gray-
|
|
33
|
+
@apply p-xs rounded bg-card dark:bg-gray-800;
|
|
34
34
|
grid-area: chat-message;
|
|
35
35
|
min-width: 0;
|
|
36
36
|
}
|
|
@@ -121,7 +121,7 @@ img.chat-avatar {
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
.chat-message-item.your-message .chat-message {
|
|
124
|
-
@apply text-white bg-primary;
|
|
124
|
+
@apply text-white bg-primary dark:bg-gray-600;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
.chat-message-item.your-message .chat-message-addons .btn {
|
|
@@ -171,13 +171,13 @@ img.chat-avatar {
|
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
.chat-window {
|
|
174
|
-
@apply w-spacing-5xl bg-petrol-800 rounded-t;
|
|
174
|
+
@apply w-spacing-5xl bg-petrol-800 dark:bg-gray-800 rounded-t-sm;
|
|
175
175
|
z-index: 10;
|
|
176
176
|
box-shadow: rgba(0,0,0,0.2) 0 0 10px 5px;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
.chat-window-header {
|
|
180
|
-
@apply flex flex-row justify-between items-center p-xxs pl-sm text-white border-b border-
|
|
180
|
+
@apply flex flex-row justify-between items-center p-xxs pl-sm text-white border-b border-appbody rounded-t select-none cursor-pointer;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
.chat-window-header a {
|
|
@@ -192,7 +192,7 @@ img.chat-avatar {
|
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
.chat-window[open] .chat-window-header {
|
|
195
|
-
@apply bg-primary;
|
|
195
|
+
@apply bg-primary dark:bg-gray-700;
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
.chat-message-counter {
|
|
@@ -226,18 +226,18 @@ img.chat-avatar {
|
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
.chat-window-actions {
|
|
229
|
-
@apply relative p-xs bg-primary;
|
|
229
|
+
@apply relative p-xs bg-primary dark:bg-gray-700;
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
.chat-window-actions .form-control {
|
|
233
|
-
@apply pr-lg;
|
|
233
|
+
@apply pr-lg rounded-sm;
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
.chat-window-actions .btn-send-message {
|
|
237
|
-
@apply absolute right-sm
|
|
238
|
-
|
|
237
|
+
@apply absolute right-sm rounded-sm;
|
|
238
|
+
bottom: 22px;
|
|
239
239
|
&::before {
|
|
240
|
-
@apply inline-block h-icon-sm w-icon bg-
|
|
240
|
+
@apply inline-block h-icon-sm w-icon bg-appbody;
|
|
241
241
|
content: "";
|
|
242
242
|
mask-image: url("/assets/images/icons/sendmessage.svg");
|
|
243
243
|
mask-repeat: no-repeat;
|
|
@@ -255,7 +255,7 @@ img.chat-avatar {
|
|
|
255
255
|
/*///// Floating chat input /////*/
|
|
256
256
|
|
|
257
257
|
.floating-chatinput {
|
|
258
|
-
@apply sticky left-0 right-spacing -bottom-body-padding-mobile sm:-bottom-body-padding-tablet xl:-bottom-body-padding-desktop w-full pt-xxs pb-body-padding-mobile sm:pb-body-padding-tablet bg-
|
|
258
|
+
@apply sticky left-0 right-spacing -bottom-body-padding-mobile sm:-bottom-body-padding-tablet xl:-bottom-body-padding-desktop w-full pt-xxs pb-body-padding-mobile sm:pb-body-padding-tablet bg-appbody;
|
|
259
259
|
z-index: 1;
|
|
260
260
|
}
|
|
261
261
|
|
|
@@ -10,24 +10,20 @@
|
|
|
10
10
|
|
|
11
11
|
.form-radio label,
|
|
12
12
|
.form-check label {
|
|
13
|
-
@apply relative ml-xs font-normal text-
|
|
13
|
+
@apply relative ml-xs font-normal text-appbody-textcolor;
|
|
14
14
|
padding-top: 0.25rem;
|
|
15
15
|
cursor: pointer;
|
|
16
16
|
&:hover, &:focus {
|
|
17
|
-
@apply text-
|
|
17
|
+
@apply text-link-hover;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.form-check input {
|
|
22
|
-
@apply rounded bg-transparent;
|
|
22
|
+
@apply h-btn-sm w-btn-sm border border-primary dark:border-appbody-textcolor rounded-sm bg-transparent;
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
flex-shrink: 0;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.form-check input {
|
|
28
|
-
@apply h-btn-sm w-btn-sm border border-primary rounded;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
27
|
.form-check.sm input {
|
|
32
28
|
@apply w-md h-md;
|
|
33
29
|
}
|
|
@@ -43,7 +39,7 @@
|
|
|
43
39
|
}
|
|
44
40
|
|
|
45
41
|
.form-check input[type=checkbox]:checked {
|
|
46
|
-
@apply text-white border-info bg-info overflow-hidden;
|
|
42
|
+
@apply text-white border-info bg-info dark:bg-purple overflow-hidden;
|
|
47
43
|
background-image: none;
|
|
48
44
|
|
|
49
45
|
&::after {
|
|
@@ -66,8 +62,7 @@
|
|
|
66
62
|
.form-check input:disabled,
|
|
67
63
|
.form-check input.disabled,
|
|
68
64
|
.form-check input.disabled[type=checkbox]:checked {
|
|
69
|
-
@apply border-disabled;
|
|
70
|
-
background-image: url("/assets/images/pattern-striped-bright.png");
|
|
65
|
+
@apply border-disabled bg-pattern-disabled-bright dark:bg-pattern-disabled-dark;
|
|
71
66
|
background-repeat: repeat;
|
|
72
67
|
background-color: transparent;
|
|
73
68
|
cursor: not-allowed;
|
|
@@ -128,7 +123,7 @@
|
|
|
128
123
|
|
|
129
124
|
|
|
130
125
|
.form-radio input {
|
|
131
|
-
@apply w-btn-sm h-btn-sm border border-primary;
|
|
126
|
+
@apply w-btn-sm h-btn-sm border border-primary dark:border-appbody-textcolor;
|
|
132
127
|
|
|
133
128
|
&:disabled {
|
|
134
129
|
@apply border-disabled;
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.product-card .card-header {
|
|
19
|
-
@apply flex flex-row pl-0 py-0
|
|
19
|
+
@apply flex flex-row pl-0 py-0 border-0;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.product-card .card-icon {
|
|
23
|
-
@apply flex justify-center items-center flex-shrink-0 w-xxl min-h-xxl bg-primary rounded-tl text-
|
|
23
|
+
@apply flex justify-center items-center flex-shrink-0 w-xxl min-h-xxl bg-primary rounded-tl text-appbody;
|
|
24
24
|
|
|
25
25
|
& .icon {
|
|
26
26
|
@apply text-icon-lg h-icon-lg;
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.product-card .card-title {
|
|
68
|
-
@apply mb-xxs p-0 text-
|
|
68
|
+
@apply mb-xxs p-0 text-appbody-textcolor overflow-hidden;
|
|
69
69
|
vertical-align: auto;
|
|
70
70
|
display: -webkit-box;
|
|
71
71
|
-webkit-box-orient: vertical;
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
.product-card .card-content {
|
|
87
|
-
@apply relative p-sm
|
|
87
|
+
@apply relative p-sm border-t border-appbody;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
.product-card .card-test-item {
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
/*/ Product sections */
|
|
118
118
|
|
|
119
119
|
.card-section {
|
|
120
|
-
@apply relative flex flex-col flex-shrink-0
|
|
120
|
+
@apply relative flex flex-col flex-shrink-0 border-t border-appbody;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
.card-section:last-child {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.clouddevice-info::before {
|
|
47
|
-
@apply inline-block bg-
|
|
47
|
+
@apply inline-block bg-appbody-textcolor h-icon mr-icon-spacing;
|
|
48
48
|
content: "";
|
|
49
49
|
mask-image: url("/assets/images/icons/logo-mobile-cloud.svg");
|
|
50
50
|
mask-repeat: no-repeat;
|
|
@@ -58,19 +58,19 @@
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.device-wrapper .device {
|
|
61
|
-
@apply p-sm m-0 text-
|
|
61
|
+
@apply p-sm m-0 text-appbody border-0 rounded-l bg-primary;
|
|
62
62
|
& .clouddevice-info::before {
|
|
63
63
|
@apply bg-white;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.device-wrapper .device-actions {
|
|
68
|
-
@apply flex flex-col flex-shrink-0 w-spacing ml-1px text-
|
|
68
|
+
@apply flex flex-col flex-shrink-0 w-spacing ml-1px text-appbody bg-primary rounded-r;
|
|
69
69
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
.device-wrapper .device-actions a {
|
|
73
|
-
@apply flex items-center justify-center flex-1 min-h-spacing text-
|
|
73
|
+
@apply flex items-center justify-center flex-1 min-h-spacing text-appbody border-t-1 first:border-t-0 rounded-none first:rounded-tr last:rounded-br border-appbody;
|
|
74
74
|
|
|
75
75
|
&:hover {
|
|
76
76
|
@apply bg-link-hover;
|
|
@@ -15,7 +15,7 @@ details.dropdown-actions[open] summary:after,
|
|
|
15
15
|
|
|
16
16
|
.popover-menu,
|
|
17
17
|
.dropdown-menu {
|
|
18
|
-
@apply flex-col overflow-hidden w-popover-width p-xxs bg-primary text-
|
|
18
|
+
@apply flex-col overflow-hidden w-popover-width p-xxs bg-primary text-appbody rounded;
|
|
19
19
|
box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -43,7 +43,7 @@ details.dropdown-actions[open].dropright .popover-menu,
|
|
|
43
43
|
|
|
44
44
|
.popover-menu .popover-action,
|
|
45
45
|
.dropdown-menu .dropdown-action {
|
|
46
|
-
@apply relative flex items-center justify-start mb-1px p-xs text-base text-
|
|
46
|
+
@apply relative flex items-center justify-start mb-1px p-xs text-base text-appbody rounded;
|
|
47
47
|
font-weight: 600;
|
|
48
48
|
line-height: 1.2;
|
|
49
49
|
|
|
@@ -67,26 +67,3 @@ details.dropdown-actions[open].dropright .popover-menu,
|
|
|
67
67
|
@apply mb-0;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
|
|
71
|
-
/*/// Info popover ///*/
|
|
72
|
-
|
|
73
|
-
.popover-menu.info,
|
|
74
|
-
.dropdown-menu.info {
|
|
75
|
-
@apply p-sm bg-petrol-800;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.popover-menu.info .popover-title,
|
|
79
|
-
.dropdown-menu.info .popover-title {
|
|
80
|
-
@apply text-base font-semibold mb-xxs;
|
|
81
|
-
line-height: 1.1;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.popover-menu.info .popover-content,
|
|
85
|
-
.dropdown-menu.info .popover-content {
|
|
86
|
-
@apply text-sm;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.popover-menu.info .popover-actions,
|
|
90
|
-
.dropdown-menu.info .popover-actions {
|
|
91
|
-
@apply mt-xs;
|
|
92
|
-
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
.form-control,
|
|
28
28
|
.form-control-static {
|
|
29
|
-
@apply h-btn w-full px-sm py-xxs text-base border border-bordercolor rounded;
|
|
29
|
+
@apply h-btn w-full px-sm py-xxs text-base border border-bordercolor rounded dark:bg-card;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.form-check .field_with_errors input[type="checkbox"],
|
|
@@ -80,7 +80,7 @@ textarea.form-control {
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.form-control::placeholder {
|
|
83
|
-
@apply text-
|
|
83
|
+
@apply text-placeholder italic;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
.form-control:disabled,
|