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.
@@ -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: -8px;
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: -1px;
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')('./src/assets/stylesheets/tailwind.config.js'),
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: {
@@ -1,7 +1,4 @@
1
1
  module.exports = {
2
- content: [
3
- './src/**/*.{html,js,haml,pug}',
4
- ],
5
2
  theme: {
6
3
  colors: {
7
4
  transparent: 'transparent',
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
- p.max-w-paragraph
23
- | Import
24
- code app.css
25
- | to get all relevant modules and files.
26
- | Be sure to use
27
- code tailwind.config.js
28
- | from the package to have all relevant variables ready to use. Otherwise you might get errors due to missing variables.
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.
@@ -28,7 +28,7 @@ tags: button
28
28
  %button.btn.btn-block{disabled: "disabled"} Disabled
29
29
 
30
30
  .col-sm-6
31
- .bg-dark.p-2
31
+ .bg-petrol.p-2
32
32
  %ul.list-vertical
33
33
  %li
34
34
  %button.btn.btn-block.btn-primary-inverted primary-inverted
@@ -30,7 +30,7 @@ tags: button
30
30
  %li
31
31
  %button.btn.btn-sm.btn-link{disabled: "disabled"} Link
32
32
 
33
- .bg-dark.p-2
33
+ .bg-petrol.p-2
34
34
  %ul.list-inline
35
35
  %li
36
36
  %button.btn.btn-sm.btn-primary-inverted primary-inverted
@@ -41,7 +41,7 @@ tags: button
41
41
  %li
42
42
  %button.btn{disabled: "disabled"} Disabled
43
43
 
44
- .bg-dark.p-2
44
+ .bg-petrol.p-2
45
45
  %ul.list-inline
46
46
  %li
47
47
  %button.btn.btn-primary-inverted primary-inverted
@@ -25,7 +25,7 @@ tags: button
25
25
  %li
26
26
  %input.btn{type:'submit', value:'Disabled', disabled:"true"}
27
27
 
28
- .bg-dark.p-2
28
+ .bg-petrol.p-2
29
29
  %ul.list-inline
30
30
  %li
31
31
  %input.btn.btn-primary-inverted{type:'submit', value:'primary-inverted'}
@@ -35,7 +35,7 @@ tags: button
35
35
  %button.btn.btn-primary.btn-square{disabled: "disabled"}
36
36
  .icon.icon-check-circle
37
37
 
38
- .bg-dark.p-2
38
+ .bg-petrol.p-2
39
39
  %ul.list-inline
40
40
  %li
41
41
  %button.btn.btn-primary-inverted.btn-square
@@ -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
- %p Nesting lists is never a good idea, but should look nice anyway.
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
- %p Another level of nesting because why be constrained by reason?
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
- %p Let's nest an ordered OL just for fun
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
- %p Nobody is save from nesting lists!
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
- %p Won't ever stop nesting!
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
- %p Nesting is fun, so let's ignore reason and put in more sublists
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
- %p Multiverse nesting fun!
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