testio-tailwind 3.19.0 → 3.20.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.
Files changed (34) hide show
  1. package/.nvmrc +1 -0
  2. package/CLAUDE_DESIGN_SYSTEM_REFERENCE.md +1978 -0
  3. package/package.json +1 -1
  4. package/src/_includes/page-with-sidebar-dark.njk +1 -1
  5. package/src/_includes/page-with-sidebar.njk +1 -1
  6. package/src/assets/fonts/testio.eot +0 -0
  7. package/src/assets/fonts/testio.svg +5 -2
  8. package/src/assets/fonts/testio.ttf +0 -0
  9. package/src/assets/fonts/testio.woff +0 -0
  10. package/src/assets/fonts/testio.woff2 +0 -0
  11. package/src/assets/stylesheets/app.css +1 -0
  12. package/src/assets/stylesheets/components/actionbar.css +4 -4
  13. package/src/assets/stylesheets/components/buttons.css +27 -18
  14. package/src/assets/stylesheets/components/checkboxes_radiobuttons.css +55 -37
  15. package/src/assets/stylesheets/components/designsystem/designsystem-styles.css +8 -0
  16. package/src/assets/stylesheets/components/drawer.css +9 -18
  17. package/src/assets/stylesheets/components/dropdown.css +2 -3
  18. package/src/assets/stylesheets/components/forms.css +6 -4
  19. package/src/assets/stylesheets/components/iconfont.css +20 -1
  20. package/src/assets/stylesheets/components/modals.css +9 -17
  21. package/src/assets/stylesheets/components/search.css +2 -2
  22. package/src/assets/stylesheets/components/tables.css +59 -5
  23. package/src/assets/stylesheets/components/typography.css +8 -0
  24. package/src/assets/stylesheets/components/url_collapsable.css +32 -0
  25. package/src/assets/stylesheets/plugin_themes/tom_select.css +6 -1
  26. package/src/assets/stylesheets/plugin_themes/trix_editor.css +1 -1
  27. package/src/assets/stylesheets/tailwind_theme_dark.css +2 -1
  28. package/src/pages/agenticqa/email.njk +1 -1
  29. package/src/pages/agenticqa/tables-formrow.haml +68 -0
  30. package/src/pages/agenticqa/tables-grid.haml +125 -0
  31. package/src/pages/agenticqa/url_collapsable.haml +17 -0
  32. package/src/pages/components/drawer_filter.haml +1 -1
  33. package/src/pages/components/modal_details.haml +8 -8
  34. package/src/pages/forms/radiobuttons.haml +32 -6
@@ -18,10 +18,7 @@
18
18
  }
19
19
 
20
20
  .modal-wrapper[open] .modal {
21
- @apply w-modal-md mt-spacing rounded bg-white dark:bg-gray-800;
22
- position: relative;
23
- display: flex;
24
- flex-direction: column;
21
+ @apply relative flex flex-col w-modal-md mt-spacing rounded bg-white dark:bg-gray-800 dark:shadow-xl dark:border-1 dark:border-bordercolor;
25
22
  height: auto;
26
23
  max-width: 100vw;
27
24
  pointer-events: all;
@@ -37,40 +34,35 @@
37
34
  }
38
35
 
39
36
  .modal-wrapper[open] .modal-header {
40
- display: flex;
41
- justify-content: space-between;
42
- align-items: start;
43
- padding: 0;
37
+ @apply flex justify-between items-start p-0;
44
38
  }
45
39
 
46
40
  .modal-wrapper[open] .modal-title {
47
- @apply p-spacing text-heading-3;
41
+ @apply p-spacing text-heading-3 dark:grow dark:text-center dark:pl-lg dark:pr-0;
48
42
  }
49
43
 
50
44
  .modal-wrapper[open] .modal-header .close-btn {
51
- @apply rounded-none rounded-tr cursor-pointer;
45
+ @apply rounded-none rounded-tr cursor-pointer dark:text-label-color dark:rounded dark:mt-xs dark:mr-xs;
52
46
  }
53
47
 
54
48
  .modal-wrapper[open] .modal-content {
55
- @apply p-spacing pt-0;
49
+ @apply p-spacing pt-0 dark:text-center;
56
50
  }
57
51
 
58
52
  .modal-wrapper[open] .modal-footer {
59
- @apply py-sm px-spacing bg-actionbar rounded-b;
60
- display: flex;
61
- justify-content: start;
53
+ @apply flex justify-start py-sm px-spacing bg-actionbar rounded-b dark:justify-center;
62
54
  }
63
55
 
64
56
  .modal-footer .btn {
65
- @apply mr-xs;
57
+ @apply mr-xs last:mr-0;
66
58
  }
67
59
 
68
60
  .modal-footer .btn-primary {
69
- @apply bg-white text-primary border-0 hover:bg-link-hover hover:border-link-hover hover:text-white dark:bg-primary dark:text-white;
61
+ @apply bg-white text-primary border-0 hover:bg-link-hover hover:border-link-hover hover:text-white dark:bg-primary dark:text-black;
70
62
  }
71
63
 
72
64
  .modal-footer .btn-secondary {
73
- @apply bg-transparent text-white border-white hover:bg-link-hover hover:border-link-hover hover:text-white;
65
+ @apply bg-transparent text-white border-white hover:bg-link-hover hover:border-link-hover hover:text-white dark:border-primary dark:text-primary;
74
66
  }
75
67
 
76
68
  .modal-footer .btn.disabled,
@@ -13,7 +13,7 @@
13
13
  }
14
14
 
15
15
  .form-search.inverted input {
16
- @apply text-white border-primary bg-transparent;
16
+ @apply text-white border-primary bg-transparent dark:border-bordercolor dark:bg-card focus:border-link-hover focus:outline-1 focus:outline-link-hover;
17
17
  }
18
18
 
19
19
  .form-search .btn-clear,
@@ -64,7 +64,7 @@
64
64
 
65
65
  .form-search.direct-input {
66
66
  &::before {
67
- @apply absolute inline-block w-icon h-icon top-xs left-xs bg-gray;
67
+ @apply absolute inline-block w-icon h-icon top-xs left-sm bg-gray;
68
68
  content: "";
69
69
  mask-image: url("/assets/images/icons/search.svg");
70
70
  mask-repeat: no-repeat;
@@ -169,6 +169,8 @@
169
169
  word-break: break-word;
170
170
  }
171
171
 
172
+ /*///// Cellstyle table /////*/
173
+
172
174
  td.action-cell,
173
175
  .table-cellstyle td.action-cell {
174
176
  @apply text-right min-w-auto space-x-1.5 whitespace-nowrap;
@@ -179,7 +181,8 @@ td.action-cell,
179
181
  border-collapse: separate;
180
182
  }
181
183
 
182
- .table-cellstyle th {
184
+ .table-cellstyle th
185
+ .table-cellstyle .th {
183
186
  @apply relative align-middle pl-2.5 pr-0.5 py-1 text-sm font-normal dark:text-base dark:uppercase;
184
187
  }
185
188
 
@@ -220,7 +223,8 @@ td.action-cell,
220
223
  mask-image: url("/assets/images/icons/check-thick.svg");
221
224
  }
222
225
 
223
- .table-cellstyle td {
226
+ .table-cellstyle td,
227
+ .table-cellstyle .td {
224
228
  @apply relative px-2.5 py-1.5 last:pr-3 min-w-cell min-h-11 align-top text-sm bg-card;
225
229
  }
226
230
 
@@ -320,16 +324,22 @@ td.action-cell,
320
324
 
321
325
  .table-grid thead,
322
326
  .table-grid tbody,
323
- .table-grid tr {
327
+ .table-grid tr,
328
+ .table-grid .thead,
329
+ .table-grid .tbody,
330
+ .table-grid .tr {
324
331
  display: contents;
325
332
  }
326
333
 
327
334
  .table-grid th,
328
- .table-grid td {
335
+ .table-grid td,
336
+ .table-grid .th,
337
+ .table-grid .td {
329
338
  @apply w-full h-full whitespace-normal;
330
339
  }
331
340
 
332
- .table-grid th {
341
+ .table-grid th,
342
+ .table-grid .th {
333
343
  @apply flex justify-start items-center min-h-8;
334
344
  }
335
345
 
@@ -337,6 +347,50 @@ td.action-cell,
337
347
  @apply flex-1;
338
348
  }
339
349
 
350
+
351
+ /*////// Table with Rowgroups, cells are visually merged, but rows are separated //////*/
352
+
353
+ .table-rowgroups {
354
+ @apply gap-0;
355
+ }
356
+
357
+ .table-rowgroups th,
358
+ .table-rowgroups .th {
359
+ @apply h-auto p-xs mb-xxs text-label-color dark:uppercase;
360
+ }
361
+
362
+ .table-rowgroups td,
363
+ .table-rowgroups .td {
364
+ @apply h-auto p-md mb-xxs bg-card text-label-color text-base;
365
+ }
366
+
367
+ .table-rowgroups td.checkbox-column,
368
+ .table-rowgroups .td.checkbox-column {
369
+ @apply pr-0;
370
+ }
371
+
372
+ .table-rowgroups td.action-column,
373
+ .table-rowgroups .td.action-column {
374
+ @apply flex flex-row justify-end pl-xs pt-xs;
375
+ }
376
+
377
+ .table-rowgroups .formrow .td {
378
+ @apply mb-0 lg:mb-xxs pb-0 last:pb-md;
379
+ }
380
+
381
+ .table-rowgroups .formrow .checkbox-column {
382
+ @apply mb-xxs;
383
+ }
384
+
385
+ .table-rowgroups .formrow .formrow-actions {
386
+ @apply flex flex-row lg:flex-col mb-xxs;
387
+ }
388
+
389
+ .formrow .formrow-actions .btn {
390
+ @apply mr-xs last:mr-0 lg:mb-xxs lg:last:mb-0;
391
+ }
392
+
393
+
340
394
  /*////// Selectable cells //////*/
341
395
 
342
396
  .table-cellstyle .cell-selectable {
@@ -48,6 +48,14 @@ a {
48
48
  @apply text-link font-semibold leading-5 hover:text-link-hover hover:underline cursor-pointer;
49
49
  }
50
50
 
51
+ a.white {
52
+ @apply text-white hover:text-link-hover;
53
+ }
54
+
55
+ a.black {
56
+ @apply text-black hover:text-link-hover;
57
+ }
58
+
51
59
  code {
52
60
  @apply font-mono not-italic text-sm;
53
61
  }
@@ -0,0 +1,32 @@
1
+ /*/// URL collapsable ///*/
2
+
3
+ .url-collapsable {
4
+ @apply relative;
5
+ }
6
+
7
+ .url-collapsable .trigger {
8
+ @apply text-white hover:text-link-hover cursor-pointer;
9
+ }
10
+
11
+ .url-collapsable .trigger .text-open {
12
+ @apply hidden;
13
+ }
14
+
15
+ .url-collapsable[open] .trigger {
16
+ @apply absolute bottom-0;
17
+ .text-open {
18
+ @apply block;
19
+ }
20
+ .text-closed {
21
+ @apply hidden;
22
+ }
23
+ }
24
+
25
+ .url-collapsable[open] {
26
+ @apply pb-md;
27
+ }
28
+
29
+ .url-collapsable p {
30
+ @apply mb-xs text-label-color;
31
+ word-break: break-all;
32
+ }
@@ -2,8 +2,9 @@
2
2
  /*///// Tom-Select theme https://tom-select.js.org /////*/
3
3
 
4
4
  .ts-control {
5
- @apply relative overflow-hidden flex w-full justify-start items-stretch min-h-btn py-xs pl-sm text-base rounded text-white dark:text-white;
5
+ @apply relative overflow-hidden flex w-full justify-start items-stretch min-h-btn py-xs pl-sm text-base rounded text-white border-0 dark:text-white;
6
6
  padding-right: 40px !important;
7
+ line-height: 1.4;
7
8
  }
8
9
 
9
10
  .ts-control input {
@@ -95,6 +96,10 @@
95
96
 
96
97
  /* Multi select item */
97
98
 
99
+ .ts-wrapper.multi.has-items .ts-control input {
100
+ @apply pt-xxs! pb-xxs!;
101
+ }
102
+
98
103
  .ts-wrapper.multi .ts-control div.item {
99
104
  @apply relative flex-row flex-grow-0 items-stretch mr-xs pl-xs pr-0 text-sm text-black bg-white dark:text-white dark:bg-gray-600 rounded;
100
105
  margin-top: 2px;
@@ -46,7 +46,7 @@ trix-toolbar .trix-button-row {
46
46
  }
47
47
 
48
48
  trix-toolbar .trix-button {
49
- @apply inline-flex justify-center items-center flex-shrink-0 w-btn-sm h-btn-sm min-w-btn-sm border-0 rounded-xs bg-transparent;
49
+ @apply inline-flex justify-center items-center flex-shrink-0 w-btn-sm h-btn-sm min-w-btn-sm border-0 rounded-xs bg-transparent dark:rounded-sm;
50
50
  font-size: 0; /* Fix for safari bug, we don't need to show any text in those buttons */
51
51
  &:hover,
52
52
  &:focus {
@@ -5,7 +5,7 @@
5
5
  --color-appbody: #181818;
6
6
  --color-appbody-textcolor: #f2f2f2;
7
7
  --color-header: #1d1d1d;
8
- --color-actionbar: #343A40;
8
+ --color-actionbar: #222222;
9
9
  --color-metasidebar: #262626;
10
10
  --color-primary: #78eac1;
11
11
  --color-link: #8988eb;
@@ -34,6 +34,7 @@
34
34
  --card-padding: 30px;
35
35
  --spacing-grid-gutter: 40px;
36
36
  --spacing-formgrid: 1.25rem;
37
+ --spacing-actionbar: 5rem;
37
38
 
38
39
  /*//// Fontsize ////*/
39
40
  --fontsize-card-header: 1.125rem;
@@ -10,7 +10,7 @@ title: Email Template
10
10
  <details class="mt-3">
11
11
  <summary class="btn btn-sm btn-gray">
12
12
  <span class="icon icon-format-code mr-icon-spacing"></span>
13
- <span>Show source</span>
13
+ <span>Show email source</span>
14
14
  </summary>
15
15
  <div class="ds-code-preview">
16
16
  <pre><code class="code html-preview">{{ section.templateContent | trim }}</code></pre>
@@ -0,0 +1,68 @@
1
+ ---
2
+ tags: ['agenticqa']
3
+ title: Tables - form row
4
+ ---
5
+
6
+ .table-grid.table-rowgroups{style:"grid-template-columns: repeat(3, auto) repeat(1, minmax(12rem, 1fr)) auto;"}
7
+ .thead
8
+ .tr
9
+ .th
10
+ .form-check.sm
11
+ %input{type:'checkbox'}
12
+ .th check title
13
+ .th page type
14
+ .th check description
15
+ .th
16
+ .tbody
17
+ .tr
18
+ .btn.btn-sm.btn-block.btn-subtile.mb-xxs.col-span-5
19
+ .icon.icon-plus.mr-icon-spacing
20
+ Add new check
21
+ %form.formrow.tr
22
+ .td.checkbox-column.row-span-4{class:"lg:row-span-1"}
23
+ .form-check.sm
24
+ %input{type:'checkbox', disabled:"true"}
25
+ .td.col-span-4{class:"lg:col-span-1"}
26
+ .label.mb-xxs{class:"lg:hidden"} Check title
27
+ %input.form-control{type:'text', placeholder:"An input field"}
28
+ .td.col-span-4{class:"lg:col-span-1"}
29
+ .label.mb-xxs{class:"lg:hidden"} Page type
30
+ %select.tom-select.min-w-spacing-4xl{placeholder: "Please select"}
31
+ %option{value: ""}
32
+ %option{value:"Option 1"} Option 1
33
+ %option{value:"Option 2"} Option 2
34
+ %option{value:"Option 3"} Option 3
35
+ %option{value:"Option 4"} ABC
36
+ %option{value:"Option 5"} DEF
37
+ %option{value:"Option 6"} WHY
38
+ %option{value:"Option 7"} XYZ
39
+ .td.col-span-4{class:"lg:col-span-1"}
40
+ .label.mb-xxs{class:"lg:hidden"} Check description
41
+ %textarea.form-control{rows:'1', placeholder:"Textarea"}
42
+ .td.formrow-actions.col-span-4{class:"lg:col-span-1"}
43
+ %button.btn.btn-sm.btn-block.btn-primary Save changes
44
+ %button.btn.btn-sm.btn-block.btn-danger Discard
45
+ %form.formrow.tr
46
+ .td.checkbox-column.row-span-4{class:"lg:col-span-1"}
47
+ .form-check.sm
48
+ %input{type:'checkbox', disabled:"true"}
49
+ .td.col-span-4{class:"lg:col-span-1"}
50
+ .label.mb-xxs{class:"lg:hidden"} Check title
51
+ %input.form-control{type:'text', placeholder:"An input field"}
52
+ .td.col-span-4{class:"lg:col-span-1"}
53
+ .label.mb-xxs{class:"lg:hidden"} Page type
54
+ %select.tom-select.min-w-spacing-4xl{placeholder: "Please select"}
55
+ %option{value: ""}
56
+ %option{value:"Option 1"} Option 1
57
+ %option{value:"Option 2"} Option 2
58
+ %option{value:"Option 3"} Option 3
59
+ %option{value:"Option 4"} ABC
60
+ %option{value:"Option 5"} DEF
61
+ %option{value:"Option 6"} WHY
62
+ %option{value:"Option 7"} XYZ
63
+ .td.col-span-4{class:"lg:col-span-1"}
64
+ .label.mb-xxs{class:"lg:hidden"} Check description
65
+ %textarea.form-control{rows:'1', placeholder:"Textarea"}
66
+ .td.formrow-actions.col-span-4{class:"lg:col-span-1"}
67
+ %button.btn.btn-sm.btn-block.btn-primary Save changes
68
+ %button.btn.btn-sm.btn-block.btn-danger Discard
@@ -0,0 +1,125 @@
1
+ ---
2
+ tags: ['agenticqa']
3
+ title: Tables - Grid
4
+ ---
5
+
6
+ .table-grid.table-rowgroups{style:"grid-template-columns: repeat(2, auto) repeat(2, minmax(12rem, 1fr)) repeat(5, auto);"}
7
+ .thead
8
+ .tr
9
+ .th
10
+ .form-check.sm
11
+ %input#check1sm{type:'checkbox'}
12
+ .th status
13
+ .th title
14
+ .th urls
15
+ .th check suite
16
+ .th results
17
+ .th executions
18
+ .th executed
19
+ .th
20
+ .tbody
21
+ .tr
22
+ .btn.btn-sm.btn-block.btn-subtile.mb-xxs.col-span-9{style:""}
23
+ .icon.icon-plus.mr-icon-spacing
24
+ Add new check
25
+ .tr
26
+ .td.checkbox-column
27
+ .form-check.sm
28
+ %input#check1sm{type:'checkbox'}
29
+ .td status
30
+ .td
31
+ %a.white.font-normal{href:"#"} Short Title with a bit of Lorem ipsum
32
+ .td
33
+ %details.url-collapsable
34
+ %summary
35
+ %p https://url.com
36
+ .trigger
37
+ .text-closed Show 3 more
38
+ .text-open Show less
39
+ %p https://url.com/1
40
+ %p https://url.com/2
41
+ %p https://url.com/3
42
+ .td
43
+ %a.white.font-normal{href:"#"} Check suite title
44
+ .td
45
+ .flex.flex-row
46
+ .text-with-icon.mr-sm
47
+ .icon.icon-check-circle-filled.text-success
48
+ 999
49
+ .text-with-icon.mr-sm
50
+ .icon.icon-cross-circle-filled.text-danger
51
+ 999
52
+ .text-with-icon
53
+ .icon.icon-blocked.text-blocked
54
+ 999
55
+ .td 6
56
+ .td 13h ago
57
+ .td.action-column
58
+ %a.btn.btn-square{href:'#'}
59
+ .icon.icon-pencil
60
+ %details.dropdown-actions.dropright
61
+ %summary
62
+ .btn.btn-square
63
+ .icon.icon-more
64
+ .popover-menu
65
+ %a.popover-action{href:'#'}
66
+ %span.icon.text-icon-default.icon-pencil
67
+ Edit
68
+ %a.popover-action{href:'#'}
69
+ %span.icon.text-icon-default.icon-duplicate
70
+ Duplicate
71
+ %a.popover-action{href:'#'}
72
+ %span.icon.text-icon-default.icon-remove
73
+ Delete
74
+ .tr
75
+ .td.checkbox-column
76
+ .form-check.sm
77
+ %input#check1sm{type:'checkbox'}
78
+ .td status
79
+ .td
80
+ %a.white.font-normal{href:"#"} Title with a lot of 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. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
81
+ .td
82
+ %details.url-collapsable
83
+ %summary
84
+ %p https://example.url/with-long/text/sets/long-format/experimental/phase-2/results/compiled/overview/report-final
85
+ .trigger
86
+ .text-closed Show 6 more
87
+ .text-open Show less
88
+ %p https://example.url/with-long/text/data/sets/long-format/experimental/1
89
+ %p https://example.url/with-long/text/data/sets/long-format/experimental/2wordforbreaking
90
+ %p https://example.url/with-long/text/data/sets/long-format/experimental/3
91
+ %p https://example.url/with-long/text/data/sets/long-format/experimental/4
92
+ %p https://example.url/with-long/text/data/sets/long-format/experimental/5
93
+ %p https://example.url/with-long/text/data/sets/long-format/experimental/6
94
+ .td
95
+ %a.white.font-normal{href:"#"} Check suite title
96
+ .td
97
+ .flex.flex-row
98
+ .text-with-icon.mr-sm
99
+ .icon.icon-check-circle-filled.text-success
100
+ 999
101
+ .text-with-icon.mr-sm
102
+ .icon.icon-cross-circle-filled.text-danger
103
+ 999
104
+ .text-with-icon
105
+ .icon.icon-blocked.text-blocked
106
+ 999
107
+ .td 6
108
+ .td 13h ago
109
+ .td.action-column
110
+ %a.btn.btn-square{href:'#'}
111
+ .icon.icon-pencil
112
+ %details.dropdown-actions.dropright
113
+ %summary
114
+ .btn.btn-square
115
+ .icon.icon-more
116
+ .popover-menu
117
+ %a.popover-action{href:'#'}
118
+ %span.icon.text-icon-default.icon-pencil
119
+ Edit
120
+ %a.popover-action{href:'#'}
121
+ %span.icon.text-icon-default.icon-duplicate
122
+ Duplicate
123
+ %a.popover-action{href:'#'}
124
+ %span.icon.text-icon-default.icon-remove
125
+ Delete
@@ -0,0 +1,17 @@
1
+ ---
2
+ tags: ['agenticqa']
3
+ title: URL collapsable
4
+ ---
5
+
6
+ %details.url-collapsable
7
+ %summary
8
+ %p https://example.invalid/nebula-saffron/research/data/sets/long-format/experimental/phase-2/results/compiled/overview/report-final
9
+ .trigger
10
+ .text-closed Show 6 more
11
+ .text-open Show less
12
+ %p https://example.invalid/nebula-saffron/research/data/sets/long-format/experimental/1
13
+ %p https://example.invalid/nebula-saffron/research/data/sets/long-format/experimental/2wordforbreaking
14
+ %p https://example.invalid/nebula-saffron/research/data/sets/long-format/experimental/3
15
+ %p https://example.invalid/nebula-saffron/research/data/sets/long-format/experimental/4
16
+ %p https://example.invalid/nebula-saffron/research/data/sets/long-format/experimental/5
17
+ %p https://example.invalid/nebula-saffron/research/data/sets/long-format/experimental/6
@@ -34,7 +34,7 @@ title: Drawer for filtering
34
34
  %input#check_drawer4{type:'checkbox'}
35
35
  %label{for:'check_drawer4'}
36
36
  %span.icon.icon-low.mr-icon-spacing
37
- Checkbox label
37
+ Checkbox label with a lot of lorem ipsum to break into several lines and check if the layout still looks good
38
38
  .form-check.sm.inverted
39
39
  %input#check_drawer5{type:'checkbox'}
40
40
  %label{for:'check_drawer5'}
@@ -26,8 +26,8 @@ title: Modal - based on details tag
26
26
  .modal-footer
27
27
  %a.btn.btn-primary{href:''} Primary
28
28
  %a.btn.btn-secondary{href:''} Secondary
29
- %a.btn.btn-success{href:''} Success
30
- %a.btn.btn-danger{href:''} Danger
29
+ %a.btn.btn-success{href:''} Yes
30
+ %a.btn.btn-danger{href:''} No
31
31
  %a.btn.btn-primary.disabled{href:''} Disabled
32
32
  %a.btn.btn-secondary.close-btn{href:''} Close
33
33
  %details.modal-wrapper.mb-md
@@ -48,8 +48,8 @@ title: Modal - based on details tag
48
48
  .modal-footer
49
49
  %a.btn.btn-primary{href:''} Primary
50
50
  %a.btn.btn-secondary{href:''} Secondary
51
- %a.btn.btn-success{href:''} Success
52
- %a.btn.btn-danger{href:''} Danger
51
+ %a.btn.btn-success{href:''} Yes
52
+ %a.btn.btn-danger{href:''} No
53
53
  %a.btn.btn-primary.disabled{href:''} Disabled
54
54
  %a.btn.btn-secondary.close-btn{href:''} Close
55
55
  %details.modal-wrapper
@@ -64,8 +64,8 @@ title: Modal - based on details tag
64
64
  .modal-content
65
65
  %p.mb-xs Some cool modal content going on here: Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
66
66
  .modal-footer
67
- %a.btn.btn-success{href:''} Success
68
- %a.btn.btn-danger{href:''} Danger
67
+ %a.btn.btn-success{href:''} Yes
68
+ %a.btn.btn-danger{href:''} No
69
69
  %a.btn.btn-secondary.close-btn{href:''} Close
70
70
  %p.mb-heading.mt-md
71
71
  If you want a modal that doesn't close automatically when clicking on the fade background, then add the class
@@ -89,6 +89,6 @@ title: Modal - based on details tag
89
89
  %label.form-label Input
90
90
  %input.form-control{type:'text', placeholder:''}
91
91
  .modal-footer
92
- %a.btn.btn-primary{href:''} Primary
93
- %a.btn.btn-secondary{href:''} Secondary
92
+ %a.btn.btn-primary{href:''} Yes
93
+ %a.btn.btn-secondary{href:''} No
94
94
  %a.btn.btn-secondary.close-btn{href:''} Close
@@ -20,19 +20,32 @@ title: Radiobuttons
20
20
  .form-grid.single.narrow.mb-3
21
21
  .form-radio
22
22
  .field_with_errors
23
- %input#radio1{type:'radio', name:'radio-group', value:'1'}
24
- %label{for:'radio1'} Option 1
23
+ %input#radio11{type:'radio', name:'radio-group', value:'1'}
24
+ %label{for:'radio11'} Option in error state
25
25
  .form-radio
26
26
  .field_with_errors
27
- %input#radio2{type:'radio', name:'radio-group', value:'2'}
28
- %label{for:'radio2'} Option 2
27
+ %input#radio12{type:'radio', name:'radio-group', value:'2'}
28
+ %label{for:'radio12'} Option 2
29
29
  .form-radio.disabled
30
30
  .field_with_errors
31
- %input#radio4{type:'radio', name:'radio-group', value:'4', disabled:'true'}
32
- %label{for:'radio4'} Disabled
31
+ %input#radio14{type:'radio', name:'radio-group', value:'4', disabled:'true'}
32
+ %label{for:'radio14'} Disabled
33
33
  .form-hint.error
34
34
  You made a mistake, which is why you see this form validation error message with some helpful 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. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
35
35
 
36
+ .form-grid.single.narrow.mb-3
37
+ .form-radio.sm
38
+ %input#radio1sm{type:'radio', checked:'true', name:'radio-groupsm', value:'1'}
39
+ %label{for:'radio1sm'} SM Option 1
40
+ .form-radio.sm
41
+ %input#radio2sm{type:'radio', name:'radio-groupsm', value:'2'}
42
+ %label{for:'radio2sm'} SM Option 2
43
+ .form-radio.sm
44
+ %input#radio3sm{type:'radio', name:'radio-groupsm', value:'3'}
45
+ %label{for:'radio3sm'} SM Option 3
46
+ .form-radio.disabled.sm
47
+ %input#radio4sm{type:'radio', name:'radio-groupsm', value:'4', disabled:'true'}
48
+ %label{for:'radio4sm'} Disabled
36
49
 
37
50
 
38
51
  .form-grid.single.narrow.bg-black.p-3
@@ -48,3 +61,16 @@ title: Radiobuttons
48
61
  .form-radio.inverted.disabled
49
62
  %input#radio9{type:'radio', name:'radio-group2', value:'4', disabled:'true'}
50
63
  %label{for:'radio9'} Disabled
64
+ .p-xs
65
+ .form-radio.inverted.sm
66
+ %input#radio6sm{type:'radio', checked:'true', name:'radio-group2sm', value:'1'}
67
+ %label{for:'radio6sm'} SM Option 1
68
+ .form-radio.inverted.sm
69
+ %input#radio7sm{type:'radio', name:'radio-group2sm', value:'2'}
70
+ %label{for:'radio7sm'} SM Option 2
71
+ .form-radio.inverted.sm
72
+ %input#radio8sm{type:'radio', name:'radio-group2sm', value:'3'}
73
+ %label{for:'radio8sm'} SM Option 3
74
+ .form-radio.inverted.disabled.sm
75
+ %input#radio9sm{type:'radio', name:'radio-group2sm', value:'4', disabled:'true'}
76
+ %label{for:'radio9sm'} SM Disabled