@transferwise/neptune-css 14.12.1 → 14.13.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/dist/css/droppable.css +7 -37
- package/dist/css/input-groups.css +12 -15
- package/dist/css/neptune-core.css +2 -2
- package/dist/css/neptune.css +20 -78
- package/package.json +1 -1
- package/src/less/core/_typography.less +5 -1
- package/src/less/droppable.less +6 -73
- package/src/less/forms/bootstrap-forms.less +10 -12
- package/src/less/mixins/_forms.less +3 -1
- package/src/less/navbar.less +1 -0
package/dist/css/droppable.css
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
border: 1px solid #c9cbce;
|
|
13
13
|
border: 1px solid var(--color-interactive-secondary);
|
|
14
14
|
border-radius: 3px;
|
|
15
|
-
overflow:
|
|
15
|
+
overflow: auto;
|
|
16
16
|
transition: border-color 0.15s linear;
|
|
17
17
|
}.droppable:hover {
|
|
18
18
|
border-color: #b5b7ba;
|
|
@@ -50,9 +50,10 @@
|
|
|
50
50
|
margin-top: 16px !important;
|
|
51
51
|
margin-top: var(--padding-small) !important;
|
|
52
52
|
}.np-theme-personal .droppable-area.droppable-negative {
|
|
53
|
-
border
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
border: 2px solid var(--color-sentiment-negative) !important;
|
|
54
|
+
background-color: #ffffff;
|
|
55
|
+
background-color: var(--color-background-screen);
|
|
56
|
+
min-height: 315px;
|
|
56
57
|
}.np-theme-personal .droppable-area.droppable-complete .thumbnail {
|
|
57
58
|
margin-bottom: 8px !important;
|
|
58
59
|
margin-bottom: var(--padding-x-small) !important;
|
|
@@ -87,7 +88,6 @@
|
|
|
87
88
|
}.droppable-card-content {
|
|
88
89
|
max-width: 100%;
|
|
89
90
|
opacity: 1;
|
|
90
|
-
transition: opacity 0.5s linear;
|
|
91
91
|
}.droppable-dropping {
|
|
92
92
|
border-color: #a7a9ab !important;
|
|
93
93
|
border-color: var(--color-interactive-secondary-active) !important;
|
|
@@ -126,44 +126,14 @@
|
|
|
126
126
|
background-color: #455C35;
|
|
127
127
|
}.droppable-dropping .droppable-dropping-card {
|
|
128
128
|
display: flex;
|
|
129
|
-
}.droppable-processing-card {
|
|
130
|
-
display: none;
|
|
131
|
-
}.droppable-processing-card .droppable-card-content {
|
|
132
|
-
opacity: 1;
|
|
133
129
|
}.droppable-processing .droppable-processing-card {
|
|
134
130
|
display: flex;
|
|
135
|
-
|
|
136
|
-
}.droppable-processing .droppable-processing-card .droppable-card-content {
|
|
137
|
-
opacity: 1;
|
|
131
|
+
align-items: baseline;
|
|
138
132
|
}.droppable-complete .droppable-processing-card {
|
|
139
133
|
display: flex;
|
|
140
|
-
transform: translateX(-100%);
|
|
141
|
-
}.droppable-complete .droppable-processing-card .droppable-card-content {
|
|
142
|
-
opacity: 0;
|
|
143
134
|
}.droppable-complete-card {
|
|
144
135
|
display: flex;
|
|
145
|
-
|
|
146
|
-
}.droppable-complete-card .droppable-card-content {
|
|
147
|
-
opacity: 0;
|
|
148
|
-
}.droppable-complete .droppable-complete-card {
|
|
149
|
-
transform: translateX(0);
|
|
150
|
-
}.droppable-complete .droppable-complete-card .droppable-card-content {
|
|
151
|
-
opacity: 1;
|
|
152
|
-
}.droppable-processing .droppable-default-card .droppable-card-content,
|
|
153
|
-
.droppable-complete .droppable-default-card .droppable-card-content {
|
|
154
|
-
opacity: 0;
|
|
155
|
-
}/***** End card variants *****/.droppable-mobile {
|
|
156
|
-
display: block;
|
|
157
|
-
}.droppable-desktop {
|
|
158
|
-
display: none;
|
|
159
|
-
}@media (min-width: 768px) {
|
|
160
|
-
.droppable-mobile {
|
|
161
|
-
display: none;
|
|
162
|
-
}
|
|
163
|
-
.droppable-desktop {
|
|
164
|
-
display: block;
|
|
165
|
-
}
|
|
166
|
-
}.droppable-active {
|
|
136
|
+
}/***** End card variants *****/.droppable-active {
|
|
167
137
|
border-style: solid;
|
|
168
138
|
}.droppable-active.droppable-dropping {
|
|
169
139
|
border-style: dashed;
|
|
@@ -683,7 +683,8 @@ select[multiple].input-lg {
|
|
|
683
683
|
.np-theme-personal .has-success .radio-inline label,
|
|
684
684
|
.np-theme-personal .has-success .checkbox-inline label,
|
|
685
685
|
.np-theme-personal .has-success .input-group-addon {
|
|
686
|
-
color:
|
|
686
|
+
color: #37517e !important;
|
|
687
|
+
color: var(--color-content-primary) !important;
|
|
687
688
|
border-color: var(--color-sentiment-positive) !important;
|
|
688
689
|
}
|
|
689
690
|
.np-theme-personal .has-success .form-control,
|
|
@@ -724,7 +725,8 @@ select[multiple].input-lg {
|
|
|
724
725
|
border-color: var(--color-sentiment-positive) !important;
|
|
725
726
|
}
|
|
726
727
|
.np-theme-personal .has-success .form-control-feedback {
|
|
727
|
-
color:
|
|
728
|
+
color: #37517e;
|
|
729
|
+
color: var(--color-content-primary);
|
|
728
730
|
}
|
|
729
731
|
.np-theme-personal .has-success .radio > label:not(.disabled):not(:disabled),
|
|
730
732
|
.np-theme-personal .has-success.checkbox > label:not(.disabled):not(:disabled) {
|
|
@@ -1059,7 +1061,8 @@ select[multiple].input-lg {
|
|
|
1059
1061
|
.np-theme-personal .has-warning .radio-inline label,
|
|
1060
1062
|
.np-theme-personal .has-warning .checkbox-inline label,
|
|
1061
1063
|
.np-theme-personal .has-warning .input-group-addon {
|
|
1062
|
-
color:
|
|
1064
|
+
color: #37517e !important;
|
|
1065
|
+
color: var(--color-content-primary) !important;
|
|
1063
1066
|
border-color: var(--color-sentiment-warning) !important;
|
|
1064
1067
|
}
|
|
1065
1068
|
.np-theme-personal .has-warning .form-control,
|
|
@@ -1100,7 +1103,8 @@ select[multiple].input-lg {
|
|
|
1100
1103
|
border-color: var(--color-sentiment-warning) !important;
|
|
1101
1104
|
}
|
|
1102
1105
|
.np-theme-personal .has-warning .form-control-feedback {
|
|
1103
|
-
color:
|
|
1106
|
+
color: #37517e;
|
|
1107
|
+
color: var(--color-content-primary);
|
|
1104
1108
|
}
|
|
1105
1109
|
.np-theme-personal .has-warning .radio > label:not(.disabled):not(:disabled),
|
|
1106
1110
|
.np-theme-personal .has-warning.checkbox > label:not(.disabled):not(:disabled) {
|
|
@@ -1246,7 +1250,8 @@ select[multiple].input-lg {
|
|
|
1246
1250
|
.np-theme-personal .has-error .radio-inline label,
|
|
1247
1251
|
.np-theme-personal .has-error .checkbox-inline label,
|
|
1248
1252
|
.np-theme-personal .has-error .input-group-addon {
|
|
1249
|
-
color:
|
|
1253
|
+
color: #37517e !important;
|
|
1254
|
+
color: var(--color-content-primary) !important;
|
|
1250
1255
|
border-color: var(--color-sentiment-negative) !important;
|
|
1251
1256
|
}
|
|
1252
1257
|
.np-theme-personal .has-error .form-control,
|
|
@@ -1287,7 +1292,8 @@ select[multiple].input-lg {
|
|
|
1287
1292
|
border-color: var(--color-sentiment-negative-hover) !important;
|
|
1288
1293
|
}
|
|
1289
1294
|
.np-theme-personal .has-error .form-control-feedback {
|
|
1290
|
-
color:
|
|
1295
|
+
color: #37517e;
|
|
1296
|
+
color: var(--color-content-primary);
|
|
1291
1297
|
}
|
|
1292
1298
|
.np-theme-personal .has-error .radio > label:not(.disabled):not(:disabled),
|
|
1293
1299
|
.np-theme-personal .has-error.checkbox > label:not(.disabled):not(:disabled) {
|
|
@@ -2227,15 +2233,6 @@ html:not([dir="rtl"]) .input-group .input-group-btn + input {
|
|
|
2227
2233
|
.np-theme-personal .form-group .np-upload-input label {
|
|
2228
2234
|
margin-bottom: 0;
|
|
2229
2235
|
}
|
|
2230
|
-
.np-theme-personal .form-group:focus-within .control-label,
|
|
2231
|
-
.np-theme-personal .form-group:focus-within > label,
|
|
2232
|
-
.np-theme-personal .has-warning .control-label,
|
|
2233
|
-
.np-theme-personal .has-warning label,
|
|
2234
|
-
.np-theme-personal .has-success .control-label,
|
|
2235
|
-
.np-theme-personal .has-success label {
|
|
2236
|
-
color: #5d7079 !important;
|
|
2237
|
-
color: var(--color-content-secondary) !important;
|
|
2238
|
-
}
|
|
2239
2236
|
.np-theme-personal .form-group .alert:before,
|
|
2240
2237
|
.np-theme-personal .error-messages:before {
|
|
2241
2238
|
content: none;
|
|
@@ -929,8 +929,6 @@ h6,
|
|
|
929
929
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
930
930
|
.body-2,
|
|
931
931
|
.body-3,
|
|
932
|
-
.label,
|
|
933
|
-
.control-label,
|
|
934
932
|
.small,
|
|
935
933
|
.tiny,
|
|
936
934
|
body,
|
|
@@ -946,6 +944,8 @@ small,
|
|
|
946
944
|
/* DEPRECATED: use .np-text-body-default-bold instead */
|
|
947
945
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
948
946
|
.control-2,
|
|
947
|
+
.label,
|
|
948
|
+
.control-label,
|
|
949
949
|
.np-text-body-default-bold {
|
|
950
950
|
font-size: 0.875rem;
|
|
951
951
|
font-size: var(--font-size-14);
|
package/dist/css/neptune.css
CHANGED
|
@@ -2546,8 +2546,6 @@ h6,
|
|
|
2546
2546
|
|
|
2547
2547
|
.body-2,
|
|
2548
2548
|
.body-3,
|
|
2549
|
-
.label,
|
|
2550
|
-
.control-label,
|
|
2551
2549
|
.small,
|
|
2552
2550
|
.tiny,
|
|
2553
2551
|
body,
|
|
@@ -2566,6 +2564,8 @@ small,
|
|
|
2566
2564
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
2567
2565
|
|
|
2568
2566
|
.control-2,
|
|
2567
|
+
.label,
|
|
2568
|
+
.control-label,
|
|
2569
2569
|
.np-text-body-default-bold {
|
|
2570
2570
|
font-size: 0.875rem;
|
|
2571
2571
|
font-size: var(--font-size-14);
|
|
@@ -10046,7 +10046,8 @@ select[multiple].input-lg {
|
|
|
10046
10046
|
.np-theme-personal .has-success .radio-inline label,
|
|
10047
10047
|
.np-theme-personal .has-success .checkbox-inline label,
|
|
10048
10048
|
.np-theme-personal .has-success .input-group-addon {
|
|
10049
|
-
color:
|
|
10049
|
+
color: #37517e !important;
|
|
10050
|
+
color: var(--color-content-primary) !important;
|
|
10050
10051
|
border-color: var(--color-sentiment-positive) !important;
|
|
10051
10052
|
}
|
|
10052
10053
|
|
|
@@ -10091,7 +10092,8 @@ select[multiple].input-lg {
|
|
|
10091
10092
|
}
|
|
10092
10093
|
|
|
10093
10094
|
.np-theme-personal .has-success .form-control-feedback {
|
|
10094
|
-
color:
|
|
10095
|
+
color: #37517e;
|
|
10096
|
+
color: var(--color-content-primary);
|
|
10095
10097
|
}
|
|
10096
10098
|
|
|
10097
10099
|
.np-theme-personal .has-success .radio > label:not(.disabled):not(:disabled),
|
|
@@ -10462,7 +10464,8 @@ select[multiple].input-lg {
|
|
|
10462
10464
|
.np-theme-personal .has-warning .radio-inline label,
|
|
10463
10465
|
.np-theme-personal .has-warning .checkbox-inline label,
|
|
10464
10466
|
.np-theme-personal .has-warning .input-group-addon {
|
|
10465
|
-
color:
|
|
10467
|
+
color: #37517e !important;
|
|
10468
|
+
color: var(--color-content-primary) !important;
|
|
10466
10469
|
border-color: var(--color-sentiment-warning) !important;
|
|
10467
10470
|
}
|
|
10468
10471
|
|
|
@@ -10507,7 +10510,8 @@ select[multiple].input-lg {
|
|
|
10507
10510
|
}
|
|
10508
10511
|
|
|
10509
10512
|
.np-theme-personal .has-warning .form-control-feedback {
|
|
10510
|
-
color:
|
|
10513
|
+
color: #37517e;
|
|
10514
|
+
color: var(--color-content-primary);
|
|
10511
10515
|
}
|
|
10512
10516
|
|
|
10513
10517
|
.np-theme-personal .has-warning .radio > label:not(.disabled):not(:disabled),
|
|
@@ -10669,7 +10673,8 @@ select[multiple].input-lg {
|
|
|
10669
10673
|
.np-theme-personal .has-error .radio-inline label,
|
|
10670
10674
|
.np-theme-personal .has-error .checkbox-inline label,
|
|
10671
10675
|
.np-theme-personal .has-error .input-group-addon {
|
|
10672
|
-
color:
|
|
10676
|
+
color: #37517e !important;
|
|
10677
|
+
color: var(--color-content-primary) !important;
|
|
10673
10678
|
border-color: var(--color-sentiment-negative) !important;
|
|
10674
10679
|
}
|
|
10675
10680
|
|
|
@@ -10714,7 +10719,8 @@ select[multiple].input-lg {
|
|
|
10714
10719
|
}
|
|
10715
10720
|
|
|
10716
10721
|
.np-theme-personal .has-error .form-control-feedback {
|
|
10717
|
-
color:
|
|
10722
|
+
color: #37517e;
|
|
10723
|
+
color: var(--color-content-primary);
|
|
10718
10724
|
}
|
|
10719
10725
|
|
|
10720
10726
|
.np-theme-personal .has-error .radio > label:not(.disabled):not(:disabled),
|
|
@@ -11786,16 +11792,6 @@ html:not([dir="rtl"]) .input-group .input-group-btn + input {
|
|
|
11786
11792
|
margin-bottom: 0;
|
|
11787
11793
|
}
|
|
11788
11794
|
|
|
11789
|
-
.np-theme-personal .form-group:focus-within .control-label,
|
|
11790
|
-
.np-theme-personal .form-group:focus-within > label,
|
|
11791
|
-
.np-theme-personal .has-warning .control-label,
|
|
11792
|
-
.np-theme-personal .has-warning label,
|
|
11793
|
-
.np-theme-personal .has-success .control-label,
|
|
11794
|
-
.np-theme-personal .has-success label {
|
|
11795
|
-
color: #5d7079 !important;
|
|
11796
|
-
color: var(--color-content-secondary) !important;
|
|
11797
|
-
}
|
|
11798
|
-
|
|
11799
11795
|
.np-theme-personal .form-group .alert:before,
|
|
11800
11796
|
.np-theme-personal .error-messages:before {
|
|
11801
11797
|
content: none;
|
|
@@ -13573,7 +13569,7 @@ li > a > .currency-flag:first-child {
|
|
|
13573
13569
|
border: 1px solid #c9cbce;
|
|
13574
13570
|
border: 1px solid var(--color-interactive-secondary);
|
|
13575
13571
|
border-radius: 3px;
|
|
13576
|
-
overflow:
|
|
13572
|
+
overflow: auto;
|
|
13577
13573
|
transition: border-color 0.15s linear;
|
|
13578
13574
|
}
|
|
13579
13575
|
|
|
@@ -13633,11 +13629,10 @@ li > a > .currency-flag:first-child {
|
|
|
13633
13629
|
}
|
|
13634
13630
|
|
|
13635
13631
|
.np-theme-personal .droppable-area.droppable-negative {
|
|
13636
|
-
border
|
|
13637
|
-
|
|
13638
|
-
|
|
13639
|
-
|
|
13640
|
-
opacity: 0;
|
|
13632
|
+
border: 2px solid var(--color-sentiment-negative) !important;
|
|
13633
|
+
background-color: #ffffff;
|
|
13634
|
+
background-color: var(--color-background-screen);
|
|
13635
|
+
min-height: 315px;
|
|
13641
13636
|
}
|
|
13642
13637
|
|
|
13643
13638
|
.np-theme-personal .droppable-area.droppable-complete .thumbnail {
|
|
@@ -13688,7 +13683,6 @@ li > a > .currency-flag:first-child {
|
|
|
13688
13683
|
.droppable-card-content {
|
|
13689
13684
|
max-width: 100%;
|
|
13690
13685
|
opacity: 1;
|
|
13691
|
-
transition: opacity 0.5s linear;
|
|
13692
13686
|
}
|
|
13693
13687
|
|
|
13694
13688
|
.droppable-dropping {
|
|
@@ -13751,73 +13745,21 @@ li > a > .currency-flag:first-child {
|
|
|
13751
13745
|
display: flex;
|
|
13752
13746
|
}
|
|
13753
13747
|
|
|
13754
|
-
.droppable-processing-card {
|
|
13755
|
-
display: none;
|
|
13756
|
-
}
|
|
13757
|
-
|
|
13758
|
-
.droppable-processing-card .droppable-card-content {
|
|
13759
|
-
opacity: 1;
|
|
13760
|
-
}
|
|
13761
|
-
|
|
13762
13748
|
.droppable-processing .droppable-processing-card {
|
|
13763
13749
|
display: flex;
|
|
13764
|
-
|
|
13765
|
-
}
|
|
13766
|
-
|
|
13767
|
-
.droppable-processing .droppable-processing-card .droppable-card-content {
|
|
13768
|
-
opacity: 1;
|
|
13750
|
+
align-items: baseline;
|
|
13769
13751
|
}
|
|
13770
13752
|
|
|
13771
13753
|
.droppable-complete .droppable-processing-card {
|
|
13772
13754
|
display: flex;
|
|
13773
|
-
transform: translateX(-100%);
|
|
13774
|
-
}
|
|
13775
|
-
|
|
13776
|
-
.droppable-complete .droppable-processing-card .droppable-card-content {
|
|
13777
|
-
opacity: 0;
|
|
13778
13755
|
}
|
|
13779
13756
|
|
|
13780
13757
|
.droppable-complete-card {
|
|
13781
13758
|
display: flex;
|
|
13782
|
-
transform: translateX(100%);
|
|
13783
|
-
}
|
|
13784
|
-
|
|
13785
|
-
.droppable-complete-card .droppable-card-content {
|
|
13786
|
-
opacity: 0;
|
|
13787
|
-
}
|
|
13788
|
-
|
|
13789
|
-
.droppable-complete .droppable-complete-card {
|
|
13790
|
-
transform: translateX(0);
|
|
13791
|
-
}
|
|
13792
|
-
|
|
13793
|
-
.droppable-complete .droppable-complete-card .droppable-card-content {
|
|
13794
|
-
opacity: 1;
|
|
13795
|
-
}
|
|
13796
|
-
|
|
13797
|
-
.droppable-processing .droppable-default-card .droppable-card-content,
|
|
13798
|
-
.droppable-complete .droppable-default-card .droppable-card-content {
|
|
13799
|
-
opacity: 0;
|
|
13800
13759
|
}
|
|
13801
13760
|
|
|
13802
13761
|
/***** End card variants *****/
|
|
13803
13762
|
|
|
13804
|
-
.droppable-mobile {
|
|
13805
|
-
display: block;
|
|
13806
|
-
}
|
|
13807
|
-
|
|
13808
|
-
.droppable-desktop {
|
|
13809
|
-
display: none;
|
|
13810
|
-
}
|
|
13811
|
-
|
|
13812
|
-
@media (min-width: 768px) {
|
|
13813
|
-
.droppable-mobile {
|
|
13814
|
-
display: none;
|
|
13815
|
-
}
|
|
13816
|
-
.droppable-desktop {
|
|
13817
|
-
display: block;
|
|
13818
|
-
}
|
|
13819
|
-
}
|
|
13820
|
-
|
|
13821
13763
|
.droppable-active {
|
|
13822
13764
|
border-style: solid;
|
|
13823
13765
|
}
|
package/package.json
CHANGED
|
@@ -113,7 +113,7 @@ h6,
|
|
|
113
113
|
|
|
114
114
|
/* DEPRECATED: use .np-text-body-default instead */
|
|
115
115
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
116
|
-
.body-2, .body-3, .
|
|
116
|
+
.body-2, .body-3, .small, .tiny,
|
|
117
117
|
body, small,
|
|
118
118
|
.np-text-body-default {
|
|
119
119
|
font-size: var(--font-size-14);
|
|
@@ -125,6 +125,10 @@ body, small,
|
|
|
125
125
|
/* DEPRECATED: use .np-text-body-default-bold instead */
|
|
126
126
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
127
127
|
.control-2,
|
|
128
|
+
|
|
129
|
+
// DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
|
|
130
|
+
.label, .control-label,
|
|
131
|
+
|
|
128
132
|
.np-text-body-default-bold {
|
|
129
133
|
font-size: var(--font-size-14);
|
|
130
134
|
line-height: 155%;
|
package/src/less/droppable.less
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
text-align: center;
|
|
10
10
|
border: 1px solid var(--color-interactive-secondary);
|
|
11
11
|
border-radius: @border-radius-base;
|
|
12
|
-
overflow:
|
|
12
|
+
overflow: auto;
|
|
13
13
|
transition: border-color 0.15s linear;
|
|
14
14
|
|
|
15
15
|
&:hover {
|
|
@@ -52,12 +52,11 @@
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
&.droppable-negative {
|
|
55
|
-
border
|
|
55
|
+
border: 2px solid var(--color-sentiment-negative) !important;
|
|
56
|
+
background-color: var(--color-background-screen);
|
|
57
|
+
min-height: 315px;
|
|
56
58
|
}
|
|
57
59
|
&.droppable-complete {
|
|
58
|
-
&.droppable-dropping .droppable-card:first-child {
|
|
59
|
-
opacity: 0;
|
|
60
|
-
}
|
|
61
60
|
.thumbnail {
|
|
62
61
|
margin-bottom: var(--padding-x-small) !important;
|
|
63
62
|
}
|
|
@@ -85,7 +84,6 @@
|
|
|
85
84
|
position: absolute;
|
|
86
85
|
top: 0;
|
|
87
86
|
.left(0);
|
|
88
|
-
|
|
89
87
|
display: none;
|
|
90
88
|
width: 100%;
|
|
91
89
|
height: 100%;
|
|
@@ -98,7 +96,6 @@
|
|
|
98
96
|
.droppable-card-content {
|
|
99
97
|
max-width: 100%;
|
|
100
98
|
opacity: 1;
|
|
101
|
-
transition: opacity 0.5s linear;
|
|
102
99
|
}
|
|
103
100
|
|
|
104
101
|
.droppable-dropping {
|
|
@@ -158,87 +155,23 @@
|
|
|
158
155
|
display: flex;
|
|
159
156
|
}
|
|
160
157
|
|
|
161
|
-
// Processing hidden by default
|
|
162
|
-
.droppable-processing-card {
|
|
163
|
-
display: none;
|
|
164
|
-
|
|
165
|
-
.droppable-card-content {
|
|
166
|
-
opacity: 1;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
// Processing shown when correct state, any transform cancelled
|
|
171
|
-
|
|
172
158
|
.droppable-processing .droppable-processing-card {
|
|
173
159
|
display: flex;
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
.droppable-card-content {
|
|
177
|
-
opacity: 1;
|
|
178
|
-
}
|
|
160
|
+
align-items: baseline;
|
|
179
161
|
}
|
|
180
|
-
|
|
162
|
+
|
|
181
163
|
.droppable-complete {
|
|
182
164
|
.droppable-processing-card {
|
|
183
165
|
display: flex;
|
|
184
|
-
transform: translateX(-100%);
|
|
185
|
-
|
|
186
|
-
.droppable-card-content {
|
|
187
|
-
opacity: 0;
|
|
188
|
-
}
|
|
189
166
|
}
|
|
190
167
|
}
|
|
191
168
|
|
|
192
|
-
// Completed card translated out and hidden by default
|
|
193
169
|
.droppable-complete-card {
|
|
194
170
|
display: flex;
|
|
195
|
-
transform: translateX(100%);
|
|
196
|
-
|
|
197
|
-
.droppable-card-content {
|
|
198
|
-
opacity: 0;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
// Completed card brought back in and shown in correct state
|
|
202
|
-
// stylelint-disable-next-line no-duplicate-selectors
|
|
203
|
-
.droppable-complete {
|
|
204
|
-
.droppable-complete-card {
|
|
205
|
-
transform: translateX(0);
|
|
206
|
-
|
|
207
|
-
.droppable-card-content {
|
|
208
|
-
opacity: 1;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
// Hide default content in other states, so it fades back in
|
|
214
|
-
// stylelint-disable-next-line no-duplicate-selectors
|
|
215
|
-
.droppable-processing,
|
|
216
|
-
.droppable-complete {
|
|
217
|
-
.droppable-default-card .droppable-card-content {
|
|
218
|
-
opacity: 0;
|
|
219
|
-
}
|
|
220
171
|
}
|
|
221
172
|
|
|
222
173
|
/***** End card variants *****/
|
|
223
174
|
|
|
224
|
-
.droppable-mobile {
|
|
225
|
-
display: block;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
.droppable-desktop {
|
|
229
|
-
display: none;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
@media (--screen-md) {
|
|
233
|
-
.droppable-mobile {
|
|
234
|
-
display: none;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
.droppable-desktop {
|
|
238
|
-
display: block;
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
|
|
242
175
|
.droppable-active {
|
|
243
176
|
border-style: solid;
|
|
244
177
|
|
|
@@ -240,6 +240,7 @@ input[type='search'] {
|
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
&:focus-within {
|
|
243
|
+
// DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
|
|
243
244
|
.control-label,
|
|
244
245
|
> label {
|
|
245
246
|
color: var(--color-content-accent);
|
|
@@ -450,6 +451,7 @@ input[type="password"] {
|
|
|
450
451
|
line-height: @input-line-height-large;
|
|
451
452
|
}
|
|
452
453
|
|
|
454
|
+
// DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
|
|
453
455
|
.control-label {
|
|
454
456
|
position: absolute;
|
|
455
457
|
top: 12px;
|
|
@@ -504,6 +506,7 @@ input[type="password"] {
|
|
|
504
506
|
// Focus state
|
|
505
507
|
.focus,
|
|
506
508
|
.has-focus {
|
|
509
|
+
// DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
|
|
507
510
|
.control-label {
|
|
508
511
|
color: var(--color-content-accent-active);
|
|
509
512
|
}
|
|
@@ -563,7 +566,7 @@ input[type="password"] {
|
|
|
563
566
|
|
|
564
567
|
.np-theme-personal & {
|
|
565
568
|
.form-control-validation(
|
|
566
|
-
var(--color-
|
|
569
|
+
var(--color-content-primary);
|
|
567
570
|
var(--color-sentiment-positive);
|
|
568
571
|
var(--color-sentiment-positive);
|
|
569
572
|
);
|
|
@@ -595,7 +598,7 @@ input[type="password"] {
|
|
|
595
598
|
|
|
596
599
|
.np-theme-personal & {
|
|
597
600
|
.form-control-validation(
|
|
598
|
-
var(--color-
|
|
601
|
+
var(--color-content-primary);
|
|
599
602
|
var(--color-sentiment-warning);
|
|
600
603
|
var(--color-sentiment-warning);
|
|
601
604
|
);
|
|
@@ -611,7 +614,7 @@ input[type="password"] {
|
|
|
611
614
|
|
|
612
615
|
.np-theme-personal & {
|
|
613
616
|
.form-control-validation(
|
|
614
|
-
var(--color-
|
|
617
|
+
var(--color-content-primary);
|
|
615
618
|
var(--color-sentiment-negative);
|
|
616
619
|
var(--color-sentiment-negative-hover);
|
|
617
620
|
);
|
|
@@ -678,6 +681,7 @@ input[type="password"] {
|
|
|
678
681
|
width: 100%;
|
|
679
682
|
}
|
|
680
683
|
|
|
684
|
+
// DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
|
|
681
685
|
.control-label {
|
|
682
686
|
margin-bottom: 0;
|
|
683
687
|
vertical-align: calc(-2px);
|
|
@@ -742,6 +746,7 @@ input[type="password"] {
|
|
|
742
746
|
// Reset spacing and right align labels, but scope to media queries so that
|
|
743
747
|
// labels on narrow viewports stack the same as a default form example.
|
|
744
748
|
@media (min-width: @screen-sm-min) {
|
|
749
|
+
// DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
|
|
745
750
|
.control-label {
|
|
746
751
|
.text-align(right);
|
|
747
752
|
|
|
@@ -764,6 +769,7 @@ input[type="password"] {
|
|
|
764
769
|
// inputs and labels within a `.form-group`.
|
|
765
770
|
.form-group-lg {
|
|
766
771
|
@media (min-width: @screen-sm-min) {
|
|
772
|
+
// DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
|
|
767
773
|
.control-label {
|
|
768
774
|
padding-top: 17px;
|
|
769
775
|
font-size: var(--font-size-20);
|
|
@@ -773,6 +779,7 @@ input[type="password"] {
|
|
|
773
779
|
|
|
774
780
|
.form-group-sm {
|
|
775
781
|
@media (min-width: @screen-sm-min) {
|
|
782
|
+
// DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
|
|
776
783
|
.control-label {
|
|
777
784
|
padding-top: 8px;
|
|
778
785
|
font-size: var(--font-size-14);
|
|
@@ -1166,15 +1173,6 @@ input[type="password"] {
|
|
|
1166
1173
|
margin-bottom: 0;
|
|
1167
1174
|
}
|
|
1168
1175
|
|
|
1169
|
-
.form-group:focus-within .control-label,
|
|
1170
|
-
.form-group:focus-within > label,
|
|
1171
|
-
.has-warning .control-label,
|
|
1172
|
-
.has-warning label,
|
|
1173
|
-
.has-success .control-label,
|
|
1174
|
-
.has-success label {
|
|
1175
|
-
color: var(--color-content-secondary) !important;
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1178
1176
|
.form-group .alert:before,
|
|
1179
1177
|
.error-messages:before {
|
|
1180
1178
|
content: none;
|
|
@@ -5,8 +5,10 @@
|
|
|
5
5
|
.form-control-validation(@text-color; @border-color; @border-hover;) {
|
|
6
6
|
border-color: @border-color !important;
|
|
7
7
|
|
|
8
|
-
//
|
|
8
|
+
// DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
|
|
9
9
|
.control-label,
|
|
10
|
+
|
|
11
|
+
// Color the label and help text
|
|
10
12
|
.radio,
|
|
11
13
|
.checkbox,
|
|
12
14
|
.radio-inline,
|