@transferwise/neptune-css 0.0.0-experimental-2c0913f → 0.0.0-experimental-97410ac

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 (89) hide show
  1. package/dist/css/accordion.css +1 -235
  2. package/dist/css/alerts.css +1 -761
  3. package/dist/css/background.css +1 -20
  4. package/dist/css/badge.css +1 -90
  5. package/dist/css/border-radius.css +1 -3
  6. package/dist/css/breadcrumbs.css +1 -20
  7. package/dist/css/button-groups.css +1 -412
  8. package/dist/css/buttons.css +1 -1382
  9. package/dist/css/chevron.css +1 -35
  10. package/dist/css/circles.css +1 -284
  11. package/dist/css/close.css +1 -47
  12. package/dist/css/column-layout.css +1 -164
  13. package/dist/css/currency-flags.css +1 -45
  14. package/dist/css/decision.css +1 -95
  15. package/dist/css/dropdowns.css +1 -413
  16. package/dist/css/droppable.css +1 -207
  17. package/dist/css/flex.css +1 -598
  18. package/dist/css/footer.css +1 -118
  19. package/dist/css/grid.css +1 -2369
  20. package/dist/css/input-groups.css +1 -2706
  21. package/dist/css/link-callout.css +1 -20
  22. package/dist/css/list-group.css +1 -267
  23. package/dist/css/loaders.css +1 -76
  24. package/dist/css/media.css +1 -74
  25. package/dist/css/modals.css +1 -185
  26. package/dist/css/navbar-base.css +1 -1385
  27. package/dist/css/navbar.css +1 -2397
  28. package/dist/css/navs.css +1 -296
  29. package/dist/css/neptune-addons.css +1 -1829
  30. package/dist/css/neptune-core.css +2 -2035
  31. package/dist/css/neptune-social-media.css +1 -144
  32. package/dist/css/neptune.css +2 -24372
  33. package/dist/css/panels.css +1 -528
  34. package/dist/css/popovers.css +1 -538
  35. package/dist/css/process.css +1 -483
  36. package/dist/css/progress-bars.css +1 -76
  37. package/dist/css/ring.css +1 -59
  38. package/dist/css/select.css +1 -99
  39. package/dist/css/sequences.css +1 -855
  40. package/dist/css/table.css +1 -446
  41. package/dist/css/tick.css +1 -32
  42. package/dist/css/tooltip.css +1 -142
  43. package/dist/css/utilities.css +1 -145
  44. package/dist/css/wells.css +1 -74
  45. package/package.json +2 -3
  46. package/src/less/addons/_spacing-utilities.less +4 -26
  47. package/src/less/border-radius.less +2 -3
  48. package/src/less/buttons.less +6 -2
  49. package/src/less/core/_scaffolding.less +4 -33
  50. package/src/less/core/_typography-utilities.less +11 -246
  51. package/src/less/flex.less +9 -18
  52. package/src/less/navbar-base.less +1 -0
  53. package/src/less/navbar.less +0 -2
  54. package/src/less/neptune-addons.less +4 -1
  55. package/src/less/utilities/align-items.less +139 -0
  56. package/src/less/utilities/align-self.less +139 -0
  57. package/src/less/utilities/border-radius.less +11 -0
  58. package/src/less/utilities/color.less +79 -0
  59. package/src/less/utilities/cursor.less +3 -0
  60. package/src/less/utilities/display.less +333 -0
  61. package/src/less/utilities/flex-direction.less +55 -0
  62. package/src/less/utilities/flex-grow.less +27 -0
  63. package/src/less/utilities/flex-wrap.less +55 -0
  64. package/src/less/utilities/float.less +93 -0
  65. package/src/less/utilities/font-style.less +3 -0
  66. package/src/less/utilities/font-weight.less +12 -0
  67. package/src/less/utilities/gap.less +3 -0
  68. package/src/less/utilities/justify-content.less +139 -0
  69. package/src/less/utilities/margin.less +192 -0
  70. package/src/less/utilities/max-width.less +3 -0
  71. package/src/less/utilities/order.less +111 -0
  72. package/src/less/utilities/outline-style.less +8 -0
  73. package/src/less/utilities/overflow-wrap.less +3 -0
  74. package/src/less/utilities/padding.less +179 -0
  75. package/src/less/utilities/position.less +3 -0
  76. package/src/less/utilities/rotate.less +12 -0
  77. package/src/less/utilities/screen-reader.less +24 -0
  78. package/src/less/utilities/text-align.less +111 -0
  79. package/src/less/utilities/text-decoration-line.less +8 -0
  80. package/src/less/utilities/text-overflow.less +6 -0
  81. package/src/less/utilities/text-transform.less +11 -0
  82. package/src/less/utilities/visibility.less +3 -0
  83. package/src/less/utilities/white-space.less +27 -0
  84. package/src/less/utilities.less +33 -138
  85. package/scripts/analyze-css-selectors.js +0 -39
  86. package/src/less/addons/_display-utilities.less +0 -159
  87. package/src/less/addons/_utilities.less +0 -147
  88. package/src/less/mixins/_center-block.less +0 -7
  89. package/src/less/mixins/_flex.less +0 -105
@@ -0,0 +1,192 @@
1
+ .m-a-0 {
2
+ margin: 0px !important;
3
+ }
4
+
5
+ .m-a-1 {
6
+ margin: var(--size-8) !important;
7
+ }
8
+
9
+ .m-a-2 {
10
+ margin: var(--size-16) !important;
11
+ }
12
+
13
+ .m-a-3 {
14
+ margin: var(--size-24) !important;
15
+ }
16
+
17
+ .m-a-4 {
18
+ margin: var(--size-32) !important;
19
+ }
20
+
21
+ .m-a-5 {
22
+ margin: var(--size-40) !important;
23
+ }
24
+
25
+ .m-x-0 {
26
+ margin-left: 0px !important;
27
+ margin-right: 0px !important;
28
+ }
29
+
30
+ .m-x-1 {
31
+ margin-left: var(--size-8) !important;
32
+ margin-right: var(--size-8) !important;
33
+ }
34
+
35
+ .m-x-2 {
36
+ margin-left: var(--size-16) !important;
37
+ margin-right: var(--size-16) !important;
38
+ }
39
+
40
+ .m-x-3 {
41
+ margin-left: var(--size-24) !important;
42
+ margin-right: var(--size-24) !important;
43
+ }
44
+
45
+ .m-x-4 {
46
+ margin-left: var(--size-32) !important;
47
+ margin-right: var(--size-32) !important;
48
+ }
49
+
50
+ .m-x-5 {
51
+ margin-left: var(--size-40) !important;
52
+ margin-right: var(--size-40) !important;
53
+ }
54
+
55
+ .m-x-auto {
56
+ margin-left: auto !important;
57
+ margin-right: auto !important;
58
+ }
59
+
60
+ .m-y-0 {
61
+ margin-top: 0px !important;
62
+ margin-bottom: 0px !important;
63
+ }
64
+
65
+ .m-y-1 {
66
+ margin-top: var(--size-8) !important;
67
+ margin-bottom: var(--size-8) !important;
68
+ }
69
+
70
+ .m-y-2 {
71
+ margin-top: var(--size-16) !important;
72
+ margin-bottom: var(--size-16) !important;
73
+ }
74
+
75
+ .m-y-3 {
76
+ margin-top: var(--size-24) !important;
77
+ margin-bottom: var(--size-24) !important;
78
+ }
79
+
80
+ .m-y-4 {
81
+ margin-top: var(--size-32) !important;
82
+ margin-bottom: var(--size-32) !important;
83
+ }
84
+
85
+ .m-y-5 {
86
+ margin-top: var(--size-40) !important;
87
+ margin-bottom: var(--size-40) !important;
88
+ }
89
+
90
+ .m-l-0 {
91
+ margin-inline-start: 0px !important;
92
+ }
93
+
94
+ .m-l-1 {
95
+ margin-inline-start: var(--size-8) !important;
96
+ }
97
+
98
+ .m-l-2 {
99
+ margin-inline-start: var(--size-16) !important;
100
+ }
101
+
102
+ .m-l-3 {
103
+ margin-inline-start: var(--size-24) !important;
104
+ }
105
+
106
+ .m-l-4 {
107
+ margin-inline-start: var(--size-32) !important;
108
+ }
109
+
110
+ .m-l-5 {
111
+ margin-inline-start: var(--size-40) !important;
112
+ }
113
+
114
+ .m-l-auto {
115
+ margin-inline-start: auto !important;
116
+ }
117
+
118
+ .m-r-0 {
119
+ margin-inline-end: 0px !important;
120
+ }
121
+
122
+ .m-r-1 {
123
+ margin-inline-end: var(--size-8) !important;
124
+ }
125
+
126
+ .m-r-2 {
127
+ margin-inline-end: var(--size-16) !important;
128
+ }
129
+
130
+ .m-r-3 {
131
+ margin-inline-end: var(--size-24) !important;
132
+ }
133
+
134
+ .m-r-4 {
135
+ margin-inline-end: var(--size-32) !important;
136
+ }
137
+
138
+ .m-r-5 {
139
+ margin-inline-end: var(--size-40) !important;
140
+ }
141
+
142
+ .m-r-auto {
143
+ margin-inline-end: auto !important;
144
+ }
145
+
146
+ .m-t-0 {
147
+ margin-top: 0px !important;
148
+ }
149
+
150
+ .m-t-1 {
151
+ margin-top: var(--size-8) !important;
152
+ }
153
+
154
+ .m-t-2 {
155
+ margin-top: var(--size-16) !important;
156
+ }
157
+
158
+ .m-t-3 {
159
+ margin-top: var(--size-24) !important;
160
+ }
161
+
162
+ .m-t-4 {
163
+ margin-top: var(--size-32) !important;
164
+ }
165
+
166
+ .m-t-5 {
167
+ margin-top: var(--size-40) !important;
168
+ }
169
+
170
+ .m-b-0 {
171
+ margin-bottom: 0px !important;
172
+ }
173
+
174
+ .m-b-1 {
175
+ margin-bottom: var(--size-8) !important;
176
+ }
177
+
178
+ .m-b-2 {
179
+ margin-bottom: var(--size-16) !important;
180
+ }
181
+
182
+ .m-b-3 {
183
+ margin-bottom: var(--size-24) !important;
184
+ }
185
+
186
+ .m-b-4 {
187
+ margin-bottom: var(--size-32) !important;
188
+ }
189
+
190
+ .m-b-5 {
191
+ margin-bottom: var(--size-40) !important;
192
+ }
@@ -0,0 +1,3 @@
1
+ .text-max-width {
2
+ max-width: 600px;
3
+ }
@@ -0,0 +1,111 @@
1
+ .order-1 {
2
+ order: 1;
3
+ }
4
+
5
+ @media (--screen-sm) {
6
+ .order-1--sm {
7
+ order: 1;
8
+ }
9
+ }
10
+
11
+ @media (--screen-md) {
12
+ .order-1--md {
13
+ order: 1;
14
+ }
15
+ }
16
+
17
+ @media (--screen-lg) {
18
+ .order-1--lg {
19
+ order: 1;
20
+ }
21
+ }
22
+
23
+ @media (--screen-xl) {
24
+ .order-1--xl {
25
+ order: 1;
26
+ }
27
+ }
28
+
29
+ .order-2 {
30
+ order: 2;
31
+ }
32
+
33
+ @media (--screen-sm) {
34
+ .order-2--sm {
35
+ order: 2;
36
+ }
37
+ }
38
+
39
+ @media (--screen-md) {
40
+ .order-2--md {
41
+ order: 2;
42
+ }
43
+ }
44
+
45
+ @media (--screen-lg) {
46
+ .order-2--lg {
47
+ order: 2;
48
+ }
49
+ }
50
+
51
+ @media (--screen-xl) {
52
+ .order-2--xl {
53
+ order: 2;
54
+ }
55
+ }
56
+
57
+ .order-3 {
58
+ order: 3;
59
+ }
60
+
61
+ @media (--screen-sm) {
62
+ .order-3--sm {
63
+ order: 3;
64
+ }
65
+ }
66
+
67
+ @media (--screen-md) {
68
+ .order-3--md {
69
+ order: 3;
70
+ }
71
+ }
72
+
73
+ @media (--screen-lg) {
74
+ .order-3--lg {
75
+ order: 3;
76
+ }
77
+ }
78
+
79
+ @media (--screen-xl) {
80
+ .order-3--xl {
81
+ order: 3;
82
+ }
83
+ }
84
+
85
+ .order-0 {
86
+ order: 0;
87
+ }
88
+
89
+ @media (--screen-sm) {
90
+ .order-0--sm {
91
+ order: 0;
92
+ }
93
+ }
94
+
95
+ @media (--screen-md) {
96
+ .order-0--md {
97
+ order: 0;
98
+ }
99
+ }
100
+
101
+ @media (--screen-lg) {
102
+ .order-0--lg {
103
+ order: 0;
104
+ }
105
+ }
106
+
107
+ @media (--screen-xl) {
108
+ .order-0--xl {
109
+ order: 0;
110
+ }
111
+ }
@@ -0,0 +1,8 @@
1
+ .outline-none {
2
+ outline: none;
3
+ /*
4
+ TODO: Support Windows High Contrast mode
5
+ outline: 2px solid transparent;
6
+ outline-offset: 2px;
7
+ */
8
+ }
@@ -0,0 +1,3 @@
1
+ .text-word-break {
2
+ overflow-wrap: break-word;
3
+ }
@@ -0,0 +1,179 @@
1
+ .p-a-0 {
2
+ padding: 0px !important;
3
+ }
4
+
5
+ .p-a-1 {
6
+ padding: var(--size-8) !important;
7
+ }
8
+
9
+ .p-a-2 {
10
+ padding: var(--size-16) !important;
11
+ }
12
+
13
+ .p-a-3 {
14
+ padding: var(--size-24) !important;
15
+ }
16
+
17
+ .p-a-4 {
18
+ padding: var(--size-32) !important;
19
+ }
20
+
21
+ .p-a-5 {
22
+ padding: var(--size-40) !important;
23
+ }
24
+
25
+ .p-x-0 {
26
+ padding-left: 0px !important;
27
+ padding-right: 0px !important;
28
+ }
29
+
30
+ .p-x-1 {
31
+ padding-left: var(--size-8) !important;
32
+ padding-right: var(--size-8) !important;
33
+ }
34
+
35
+ .p-x-2 {
36
+ padding-left: var(--size-16) !important;
37
+ padding-right: var(--size-16) !important;
38
+ }
39
+
40
+ .p-x-3 {
41
+ padding-left: var(--size-24) !important;
42
+ padding-right: var(--size-24) !important;
43
+ }
44
+
45
+ .p-x-4 {
46
+ padding-left: var(--size-32) !important;
47
+ padding-right: var(--size-32) !important;
48
+ }
49
+
50
+ .p-x-5 {
51
+ padding-left: var(--size-40) !important;
52
+ padding-right: var(--size-40) !important;
53
+ }
54
+
55
+ .p-y-0 {
56
+ padding-top: 0px !important;
57
+ padding-bottom: 0px !important;
58
+ }
59
+
60
+ .p-y-1 {
61
+ padding-top: var(--size-8) !important;
62
+ padding-bottom: var(--size-8) !important;
63
+ }
64
+
65
+ .p-y-2 {
66
+ padding-top: var(--size-16) !important;
67
+ padding-bottom: var(--size-16) !important;
68
+ }
69
+
70
+ .p-y-3 {
71
+ padding-top: var(--size-24) !important;
72
+ padding-bottom: var(--size-24) !important;
73
+ }
74
+
75
+ .p-y-4 {
76
+ padding-top: var(--size-32) !important;
77
+ padding-bottom: var(--size-32) !important;
78
+ }
79
+
80
+ .p-y-5 {
81
+ padding-top: var(--size-40) !important;
82
+ padding-bottom: var(--size-40) !important;
83
+ }
84
+
85
+ .p-l-0 {
86
+ padding-inline-start: 0px !important;
87
+ }
88
+
89
+ .p-l-1 {
90
+ padding-inline-start: var(--size-8) !important;
91
+ }
92
+
93
+ .p-l-2 {
94
+ padding-inline-start: var(--size-16) !important;
95
+ }
96
+
97
+ .p-l-3 {
98
+ padding-inline-start: var(--size-24) !important;
99
+ }
100
+
101
+ .p-l-4 {
102
+ padding-inline-start: var(--size-32) !important;
103
+ }
104
+
105
+ .p-l-5 {
106
+ padding-inline-start: var(--size-40) !important;
107
+ }
108
+
109
+ .p-r-0 {
110
+ padding-inline-end: 0px !important;
111
+ }
112
+
113
+ .p-r-1 {
114
+ padding-inline-end: var(--size-8) !important;
115
+ }
116
+
117
+ .p-r-2 {
118
+ padding-inline-end: var(--size-16) !important;
119
+ }
120
+
121
+ .p-r-3 {
122
+ padding-inline-end: var(--size-24) !important;
123
+ }
124
+
125
+ .p-r-4 {
126
+ padding-inline-end: var(--size-32) !important;
127
+ }
128
+
129
+ .p-r-5 {
130
+ padding-inline-end: var(--size-40) !important;
131
+ }
132
+
133
+ .p-t-0 {
134
+ padding-top: 0px !important;
135
+ }
136
+
137
+ .p-t-1 {
138
+ padding-top: var(--size-8) !important;
139
+ }
140
+
141
+ .p-t-2 {
142
+ padding-top: var(--size-16) !important;
143
+ }
144
+
145
+ .p-t-3 {
146
+ padding-top: var(--size-24) !important;
147
+ }
148
+
149
+ .p-t-4 {
150
+ padding-top: var(--size-32) !important;
151
+ }
152
+
153
+ .p-t-5 {
154
+ padding-top: var(--size-40) !important;
155
+ }
156
+
157
+ .p-b-0 {
158
+ padding-bottom: 0px !important;
159
+ }
160
+
161
+ .p-b-1 {
162
+ padding-bottom: var(--size-8) !important;
163
+ }
164
+
165
+ .p-b-2 {
166
+ padding-bottom: var(--size-16) !important;
167
+ }
168
+
169
+ .p-b-3 {
170
+ padding-bottom: var(--size-24) !important;
171
+ }
172
+
173
+ .p-b-4 {
174
+ padding-bottom: var(--size-32) !important;
175
+ }
176
+
177
+ .p-b-5 {
178
+ padding-bottom: var(--size-40) !important;
179
+ }
@@ -0,0 +1,3 @@
1
+ .affix {
2
+ position: fixed;
3
+ }
@@ -0,0 +1,12 @@
1
+ .rotate90 {
2
+ transform: rotate(90deg);
3
+ }
4
+
5
+ .rotate180 {
6
+ transform: rotate(180deg);
7
+ }
8
+
9
+ .rotate270,
10
+ .rotate-90 {
11
+ transform: rotate(-90deg);
12
+ }
@@ -0,0 +1,24 @@
1
+ // Only display content to screen readers
2
+ .sr-only {
3
+ position: absolute;
4
+ width: 1px;
5
+ height: 1px;
6
+ padding: 0;
7
+ margin: -1px;
8
+ overflow: hidden;
9
+ clip: rect(0, 0, 0, 0);
10
+ white-space: nowrap;
11
+ border-width: 0;
12
+ }
13
+
14
+ // Use in conjunction with `.sr-only` to only display content when it's focused.
15
+ .sr-only-focusable:focus {
16
+ position: static;
17
+ width: auto;
18
+ height: auto;
19
+ padding: 0;
20
+ margin: 0;
21
+ overflow: visible;
22
+ clip: auto;
23
+ white-space: normal;
24
+ }
@@ -0,0 +1,111 @@
1
+ .text-xs-center {
2
+ text-align: center;
3
+ }
4
+
5
+ @media (--screen-sm) {
6
+ .text-sm-center {
7
+ text-align: center;
8
+ }
9
+ }
10
+
11
+ @media (--screen-md) {
12
+ .text-md-center {
13
+ text-align: center;
14
+ }
15
+ }
16
+
17
+ @media (--screen-lg) {
18
+ .text-lg-center {
19
+ text-align: center;
20
+ }
21
+ }
22
+
23
+ @media (--screen-xl) {
24
+ .text-xl-center {
25
+ text-align: center;
26
+ }
27
+ }
28
+
29
+ .text-xs-justify {
30
+ text-align: justify;
31
+ }
32
+
33
+ @media (--screen-sm) {
34
+ .text-sm-justify {
35
+ text-align: justify;
36
+ }
37
+ }
38
+
39
+ @media (--screen-md) {
40
+ .text-md-justify {
41
+ text-align: justify;
42
+ }
43
+ }
44
+
45
+ @media (--screen-lg) {
46
+ .text-lg-justify {
47
+ text-align: justify;
48
+ }
49
+ }
50
+
51
+ @media (--screen-xl) {
52
+ .text-xl-justify {
53
+ text-align: justify;
54
+ }
55
+ }
56
+
57
+ .text-xs-left {
58
+ text-align: start;
59
+ }
60
+
61
+ @media (--screen-sm) {
62
+ .text-sm-left {
63
+ text-align: start;
64
+ }
65
+ }
66
+
67
+ @media (--screen-md) {
68
+ .text-md-left {
69
+ text-align: start;
70
+ }
71
+ }
72
+
73
+ @media (--screen-lg) {
74
+ .text-lg-left {
75
+ text-align: start;
76
+ }
77
+ }
78
+
79
+ @media (--screen-xl) {
80
+ .text-xl-left {
81
+ text-align: start;
82
+ }
83
+ }
84
+
85
+ .text-xs-right {
86
+ text-align: end;
87
+ }
88
+
89
+ @media (--screen-sm) {
90
+ .text-sm-right {
91
+ text-align: end;
92
+ }
93
+ }
94
+
95
+ @media (--screen-md) {
96
+ .text-md-right {
97
+ text-align: end;
98
+ }
99
+ }
100
+
101
+ @media (--screen-lg) {
102
+ .text-lg-right {
103
+ text-align: end;
104
+ }
105
+ }
106
+
107
+ @media (--screen-xl) {
108
+ .text-xl-right {
109
+ text-align: end;
110
+ }
111
+ }
@@ -0,0 +1,8 @@
1
+ .text-underline {
2
+ text-decoration-line: underline !important;
3
+ text-underline-offset: 2px;
4
+ }
5
+
6
+ .text-no-decoration {
7
+ text-decoration-line: none !important;
8
+ }
@@ -0,0 +1,6 @@
1
+ .text-ellipsis,
2
+ .text-ellipses {
3
+ overflow: hidden;
4
+ text-overflow: ellipsis;
5
+ white-space: nowrap;
6
+ }
@@ -0,0 +1,11 @@
1
+ .text-uppercase {
2
+ text-transform: uppercase;
3
+ }
4
+
5
+ .text-lowercase {
6
+ text-transform: lowercase;
7
+ }
8
+
9
+ .text-capitalize {
10
+ text-transform: capitalize;
11
+ }
@@ -0,0 +1,3 @@
1
+ .invisible {
2
+ visibility: hidden;
3
+ }
@@ -0,0 +1,27 @@
1
+ .text-xs-nowrap {
2
+ white-space: nowrap;
3
+ }
4
+
5
+ @media (--screen-sm) {
6
+ .text-sm-nowrap {
7
+ white-space: nowrap;
8
+ }
9
+ }
10
+
11
+ @media (--screen-md) {
12
+ .text-md-nowrap {
13
+ white-space: nowrap;
14
+ }
15
+ }
16
+
17
+ @media (--screen-lg) {
18
+ .text-lg-nowrap {
19
+ white-space: nowrap;
20
+ }
21
+ }
22
+
23
+ @media (--screen-xl) {
24
+ .text-xl-nowrap {
25
+ white-space: nowrap;
26
+ }
27
+ }