testio-tailwind 0.8.7 → 1.0.0
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/README.md +38 -3
- package/index.html +42 -26
- package/package.json +1 -1
- package/src/assets/stylesheets/app.css +2 -1
- package/src/assets/stylesheets/components/buttons.css +3 -1
- package/src/assets/stylesheets/components/devices.css +1 -1
- package/src/assets/stylesheets/components/fonts/testio.eot +0 -0
- package/src/assets/stylesheets/components/fonts/testio.svg +2 -0
- package/src/assets/stylesheets/components/fonts/testio.ttf +0 -0
- package/src/assets/stylesheets/components/fonts/testio.woff +0 -0
- package/src/assets/stylesheets/components/fonts/testio.woff2 +0 -0
- package/src/assets/stylesheets/components/iconfont.css +7 -1
- package/src/assets/stylesheets/components/markdown_trix_styles.css +4 -4
- package/src/assets/stylesheets/components/modals.css +0 -7
- package/src/assets/stylesheets/components/tags.css +16 -2
- package/src/assets/stylesheets/postcss.config.js +9 -1
- package/src/assets/stylesheets/tailwind.config.js +0 -3
- package/src/index.pug +37 -8
- package/src/pages/buttons/block.haml +1 -1
- package/src/pages/buttons/buttons-sm.haml +1 -1
- package/src/pages/buttons/buttons.haml +1 -1
- package/src/pages/buttons/buttons_input.haml +1 -1
- package/src/pages/buttons/square-buttons.haml +1 -1
- package/src/pages/ci.haml +35 -0
- package/src/pages/components/tags.haml +51 -0
- package/src/pages/typography/trix_styles.haml +7 -7
- package/src/static/app.compiled.css +12124 -12035
- package/src/static/app.compiled.css.map +1 -1
- package/src/pages/ci.pug +0 -8
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
p {
|
|
29
|
-
@apply mb-xs;
|
|
29
|
+
@apply mb-xs leading-7;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
em {
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
ol > li {
|
|
144
|
-
@apply mb-md;
|
|
144
|
+
@apply mb-md leading-6;
|
|
145
145
|
counter-increment: list-counter;
|
|
146
146
|
position: relative;
|
|
147
147
|
padding-left: 40px;
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
ol > li::before {
|
|
151
151
|
@apply absolute block w-spacing h-spacing pt-xxs left-0 overflow-visible text-center bg-gray-lighter;
|
|
152
152
|
content: counter(list-counter);
|
|
153
|
-
top: -
|
|
153
|
+
top: -2px;
|
|
154
154
|
font-size: 18px;
|
|
155
155
|
line-height: 1;
|
|
156
156
|
border-radius: 50%;
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
|
|
187
187
|
ol ol > li::before, ul ol > li::before {
|
|
188
188
|
@apply w-md h-md text-base font-medium;
|
|
189
|
-
top:
|
|
189
|
+
top: 2px;
|
|
190
190
|
padding-top: 2px;
|
|
191
191
|
line-height: 1.2;
|
|
192
192
|
}
|
|
@@ -81,13 +81,6 @@
|
|
|
81
81
|
opacity: 0.25;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
.btn.disabled,
|
|
85
|
-
:disabled.btn {
|
|
86
|
-
@apply bg-transparent text-disabled;
|
|
87
|
-
background-image: url("/assets/images/btn-disabled-petrol.png");
|
|
88
|
-
background-repeat: repeat;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
84
|
/* prevent autoclosing when clicking on fade bg */
|
|
92
85
|
|
|
93
86
|
.modal-wrapper[open].fade-close-disabled .modal-trigger::before {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.tag .icon {
|
|
16
|
-
@apply text-xxs h-icon-xxs;
|
|
16
|
+
@apply text-icon-xxs h-icon-xxs;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.tag.sm {
|
|
@@ -26,4 +26,18 @@
|
|
|
26
26
|
|
|
27
27
|
.tag.teamleader-verified {
|
|
28
28
|
@apply text-white bg-gray-dark;
|
|
29
|
-
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.tag.popover-tag {
|
|
32
|
+
@apply text-base h-auto hover:text-white hover:bg-link-hover cursor-pointer;
|
|
33
|
+
padding-top: 4px;
|
|
34
|
+
padding-bottom: 4px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.tag.popover-tag .icon {
|
|
38
|
+
@apply h-icon-xs mr-icon-spacing text-icon-xs;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.tag.popover-tag:hover .icon {
|
|
42
|
+
@apply text-white;
|
|
43
|
+
}
|
|
@@ -1,8 +1,16 @@
|
|
|
1
|
+
const tailwindConfig = require('./tailwind.config');
|
|
2
|
+
|
|
1
3
|
module.exports = {
|
|
2
4
|
plugins: [
|
|
3
5
|
require('postcss-import'),
|
|
4
6
|
require('tailwindcss/nesting'),
|
|
5
|
-
require('tailwindcss')(
|
|
7
|
+
require('tailwindcss')({
|
|
8
|
+
content: [
|
|
9
|
+
'./src/**/*.{html,js,haml,pug,njk}',
|
|
10
|
+
],
|
|
11
|
+
theme: tailwindConfig.theme,
|
|
12
|
+
plugins: tailwindConfig.plugins,
|
|
13
|
+
}),
|
|
6
14
|
require('postcss-simple-vars')(
|
|
7
15
|
{
|
|
8
16
|
variables: {
|
package/src/index.pug
CHANGED
|
@@ -18,14 +18,43 @@ main.main-content.main-content-padding.flex.flex-col.justify-start.items-center
|
|
|
18
18
|
li PostCSS
|
|
19
19
|
.section-header
|
|
20
20
|
h3.section-title Integration
|
|
21
|
-
.trix-content
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
21
|
+
.trix-content.max-w-paragraph
|
|
22
|
+
ol
|
|
23
|
+
li
|
|
24
|
+
| Import
|
|
25
|
+
code app.css
|
|
26
|
+
| to get all relevant modules and files.
|
|
27
|
+
li Use the following PostCss configuration in your
|
|
28
|
+
code postcss.config.js
|
|
29
|
+
| file:
|
|
30
|
+
pre.mt-xs
|
|
31
|
+
code.language-js
|
|
32
|
+
| const tailwindConfig = require('PATH_TO_TAILWINDCONFIG');
|
|
33
|
+
|
|
|
34
|
+
| module.exports = {
|
|
35
|
+
| plugins: [
|
|
36
|
+
| require('postcss-import'),
|
|
37
|
+
| require('tailwindcss/nesting'),
|
|
38
|
+
| require('tailwindcss')({
|
|
39
|
+
| content: [
|
|
40
|
+
| './YOUR_PATH_HERE/**/*.{html,js,haml,pug,njk}',
|
|
41
|
+
| ],
|
|
42
|
+
| theme: tailwindConfig.theme,
|
|
43
|
+
| plugins: tailwindConfig.plugins,
|
|
44
|
+
| }),
|
|
45
|
+
| require('autoprefixer')
|
|
46
|
+
| ]
|
|
47
|
+
| }
|
|
48
|
+
li Change the path to the tailwind.config.js file from the package.
|
|
49
|
+
pre.mt-xs
|
|
50
|
+
code.language-js
|
|
51
|
+
| const tailwindConfig = require('PATH_TO_TAILWINDCONFIG');
|
|
52
|
+
li Add all paths to your layouts and components in the content block. Otherwise TailWind will not generate your required classes.
|
|
53
|
+
pre.mt-xs
|
|
54
|
+
code.language-js
|
|
55
|
+
| content: [
|
|
56
|
+
| './YOUR_PATH_HERE/**/*.{html,js,haml,pug,njk}',
|
|
57
|
+
| ],
|
|
29
58
|
.section-header
|
|
30
59
|
h3.section-title Simple start
|
|
31
60
|
p.max-w-paragraph.mb-heading To get started without any customization just download the current compiled CSS below and implement your components with the provided code.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: base
|
|
3
|
+
permalink: "ci"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
%main.main-content.main-content-padding
|
|
7
|
+
%h1.mb-heading-lg Corporate identity
|
|
8
|
+
%section.section
|
|
9
|
+
.grid.gap-10.grid-cols-2{class:"xl:grid-cols-3 2xl:grid-cols-6"}
|
|
10
|
+
%a.block{href:"/assets/images/logo-testio/testio_horizontal_black.svg"}
|
|
11
|
+
.flex.justify-center.bg-gray.p-md
|
|
12
|
+
%img.h-xl{src:"/assets/images/logo-testio/testio_horizontal_black.svg"}
|
|
13
|
+
.text-xs.mt-2 horizontal black
|
|
14
|
+
%a.block{href:"/assets/images/logo-testio/testio_horizontal_white.svg"}
|
|
15
|
+
.flex.justify-center.bg-gray.p-md
|
|
16
|
+
%img.h-xl{src:"/assets/images/logo-testio/testio_horizontal_white.svg"}
|
|
17
|
+
.text-xs.mt-2 horizontal white
|
|
18
|
+
%a.block{href:"/assets/images/logo-testio/testio_horizontal_purpleteal_white.svg"}
|
|
19
|
+
.flex.justify-center.bg-gray.p-md
|
|
20
|
+
%img.h-xl{src:"/assets/images/logo-testio/testio_horizontal_purpleteal_black.svg"}
|
|
21
|
+
.text-xs.mt-2 horizontal purple teal black
|
|
22
|
+
%a.block{href:"/assets/images/logo-testio/testio_horizontal_purpleteal_black.svg"}
|
|
23
|
+
.flex.justify-center.bg-gray.p-md
|
|
24
|
+
%img.h-xl{src:"/assets/images/logo-testio/testio_horizontal_purpleteal_white.svg"}
|
|
25
|
+
.text-xs.mt-2 horizontal purple teal white
|
|
26
|
+
%a.block{href:"/assets/images/logo-testio/testio_horizontal_tealpurple_white.svg"}
|
|
27
|
+
.flex.justify-center.bg-gray.p-md
|
|
28
|
+
%img.h-xl{src:"/assets/images/logo-testio/testio_horizontal_tealpurple_black.svg"}
|
|
29
|
+
.text-xs.mt-2 horizontal teal purple black
|
|
30
|
+
%a.block{href:"/assets/images/logo-testio/testio_horizontal_tealpurple_black.svg"}
|
|
31
|
+
.flex.justify-center.bg-gray.p-md
|
|
32
|
+
%img.h-xl{src:"/assets/images/logo-testio/testio_horizontal_tealpurple_white.svg"}
|
|
33
|
+
.text-xs.mt-2 horizontal teal purple white
|
|
34
|
+
|
|
35
|
+
|
|
@@ -10,3 +10,54 @@ title: Tags
|
|
|
10
10
|
.tag.teamleader-verified
|
|
11
11
|
.icon.icon-verify-check.mr-xxs
|
|
12
12
|
TL
|
|
13
|
+
.list-tags.mt-xs
|
|
14
|
+
%details.popover-wrapper
|
|
15
|
+
%summary
|
|
16
|
+
.tag.popover-tag
|
|
17
|
+
.icon.icon-clock
|
|
18
|
+
Popover-tag
|
|
19
|
+
.popover-menu.info
|
|
20
|
+
.popover-title Popover title
|
|
21
|
+
.popover-content Popover content Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
|
|
22
|
+
.popover-actions
|
|
23
|
+
.btn.btn-sm.btn-inverted Action
|
|
24
|
+
%details.popover-wrapper
|
|
25
|
+
%summary
|
|
26
|
+
.tag.popover-tag.bg-gray-lighter
|
|
27
|
+
.icon.icon-check-thick-centered.text-success
|
|
28
|
+
Popover-tag
|
|
29
|
+
.popover-menu.info
|
|
30
|
+
.popover-title Popover title
|
|
31
|
+
.popover-content Popover content Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
|
|
32
|
+
.popover-actions
|
|
33
|
+
.btn.btn-sm.btn-inverted Action
|
|
34
|
+
%details.popover-wrapper
|
|
35
|
+
%summary
|
|
36
|
+
.tag.popover-tag.bg-info.text-white
|
|
37
|
+
.icon.icon-exclamation-circle-filled
|
|
38
|
+
Popover-tag
|
|
39
|
+
.popover-menu.info
|
|
40
|
+
.popover-title Popover title
|
|
41
|
+
.popover-content Popover content Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
|
|
42
|
+
.popover-actions
|
|
43
|
+
.btn.btn-sm.btn-inverted Action
|
|
44
|
+
%details.popover-wrapper
|
|
45
|
+
%summary
|
|
46
|
+
.tag.popover-tag.bg-black.text-white
|
|
47
|
+
.icon.icon-blocked
|
|
48
|
+
Popover-tag
|
|
49
|
+
.popover-menu.info
|
|
50
|
+
.popover-title Popover title
|
|
51
|
+
.popover-content Popover content Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
|
|
52
|
+
.popover-actions
|
|
53
|
+
.btn.btn-sm.btn-inverted Action
|
|
54
|
+
%details.popover-wrapper
|
|
55
|
+
%summary
|
|
56
|
+
.tag.popover-tag.bg-danger.text-white
|
|
57
|
+
.icon.icon-cancelled
|
|
58
|
+
Popover-tag
|
|
59
|
+
.popover-menu.info
|
|
60
|
+
.popover-title Popover title
|
|
61
|
+
.popover-content Popover content Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
|
|
62
|
+
.popover-actions
|
|
63
|
+
.btn.btn-sm.btn-inverted Action
|
|
@@ -51,18 +51,18 @@ title: Trix content styles
|
|
|
51
51
|
%li Unordered list item
|
|
52
52
|
%li Unordered list item with much more text and some serious lorem ipsum
|
|
53
53
|
%li
|
|
54
|
-
|
|
54
|
+
Nesting lists is never a good idea, but should look nice anyway.
|
|
55
55
|
%ul
|
|
56
56
|
%li Unordered nested list item
|
|
57
57
|
%li Unordered nested list item with much more text and some serious lorem ipsum
|
|
58
58
|
%li
|
|
59
|
-
|
|
59
|
+
Another level of nesting because why be constrained by reason?
|
|
60
60
|
%ul
|
|
61
61
|
%li Unordered nested list item
|
|
62
62
|
%li Unordered nested list item with much more text and some serious lorem ipsum
|
|
63
63
|
%li Another nested unordered list item
|
|
64
64
|
%li
|
|
65
|
-
|
|
65
|
+
Let's nest an ordered OL just for fun
|
|
66
66
|
%ol
|
|
67
67
|
%li Ordered nested list item
|
|
68
68
|
%li Ordered nested list item with much more text and some serious lorem ipsum
|
|
@@ -76,23 +76,23 @@ title: Trix content styles
|
|
|
76
76
|
%li Ordered list item
|
|
77
77
|
%li Ordered list item with much more text and some serious lorem ipsum
|
|
78
78
|
%li
|
|
79
|
-
|
|
79
|
+
Nobody is save from nesting lists!
|
|
80
80
|
%ol
|
|
81
81
|
%li Ordered nested list item
|
|
82
82
|
%li Ordered nested list item with much more text and some serious lorem ipsum
|
|
83
83
|
%li
|
|
84
|
-
|
|
84
|
+
Won't ever stop nesting!
|
|
85
85
|
%ol
|
|
86
86
|
%li Ordered nested list item
|
|
87
87
|
%li Ordered nested list item with much more text and some serious lorem ipsum
|
|
88
88
|
%li Another nested Ordered list item
|
|
89
89
|
%li
|
|
90
|
-
|
|
90
|
+
Nesting is fun, so let's ignore reason and put in more sublists
|
|
91
91
|
%ul
|
|
92
92
|
%li Unordered nested list item
|
|
93
93
|
%li Unordered nested list item with much more text and some serious lorem ipsum
|
|
94
94
|
%li
|
|
95
|
-
|
|
95
|
+
Multiverse nesting fun!
|
|
96
96
|
%ul
|
|
97
97
|
%li Unordered nested list item
|
|
98
98
|
%li Unordered nested list item with much more text and some serious lorem ipsum
|