@transferwise/neptune-css 0.0.0-experimental-c09cb11 → 0.0.0-experimental-94246de
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 +15 -12
- package/dist/css/neptune-core.css +2 -2
- package/dist/css/neptune.css +24 -74
- package/package.json +1 -1
- package/src/less/core/_typography.less +1 -5
- package/src/less/droppable.less +8 -75
- package/src/less/forms/bootstrap-forms.less +12 -10
- package/src/less/mixins/_forms.less +1 -3
- package/src/less/navbar.less +0 -1
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,8 +683,7 @@ 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:
|
|
687
|
-
color: var(--color-content-primary) !important;
|
|
686
|
+
color: var(--color-sentiment-positive) !important;
|
|
688
687
|
border-color: var(--color-sentiment-positive) !important;
|
|
689
688
|
}
|
|
690
689
|
.np-theme-personal .has-success .form-control,
|
|
@@ -725,8 +724,7 @@ select[multiple].input-lg {
|
|
|
725
724
|
border-color: var(--color-sentiment-positive) !important;
|
|
726
725
|
}
|
|
727
726
|
.np-theme-personal .has-success .form-control-feedback {
|
|
728
|
-
color:
|
|
729
|
-
color: var(--color-content-primary);
|
|
727
|
+
color: var(--color-sentiment-positive);
|
|
730
728
|
}
|
|
731
729
|
.np-theme-personal .has-success .radio > label:not(.disabled):not(:disabled),
|
|
732
730
|
.np-theme-personal .has-success.checkbox > label:not(.disabled):not(:disabled) {
|
|
@@ -1061,8 +1059,7 @@ select[multiple].input-lg {
|
|
|
1061
1059
|
.np-theme-personal .has-warning .radio-inline label,
|
|
1062
1060
|
.np-theme-personal .has-warning .checkbox-inline label,
|
|
1063
1061
|
.np-theme-personal .has-warning .input-group-addon {
|
|
1064
|
-
color:
|
|
1065
|
-
color: var(--color-content-primary) !important;
|
|
1062
|
+
color: var(--color-sentiment-warning) !important;
|
|
1066
1063
|
border-color: var(--color-sentiment-warning) !important;
|
|
1067
1064
|
}
|
|
1068
1065
|
.np-theme-personal .has-warning .form-control,
|
|
@@ -1103,8 +1100,7 @@ select[multiple].input-lg {
|
|
|
1103
1100
|
border-color: var(--color-sentiment-warning) !important;
|
|
1104
1101
|
}
|
|
1105
1102
|
.np-theme-personal .has-warning .form-control-feedback {
|
|
1106
|
-
color:
|
|
1107
|
-
color: var(--color-content-primary);
|
|
1103
|
+
color: var(--color-sentiment-warning);
|
|
1108
1104
|
}
|
|
1109
1105
|
.np-theme-personal .has-warning .radio > label:not(.disabled):not(:disabled),
|
|
1110
1106
|
.np-theme-personal .has-warning.checkbox > label:not(.disabled):not(:disabled) {
|
|
@@ -1250,8 +1246,7 @@ select[multiple].input-lg {
|
|
|
1250
1246
|
.np-theme-personal .has-error .radio-inline label,
|
|
1251
1247
|
.np-theme-personal .has-error .checkbox-inline label,
|
|
1252
1248
|
.np-theme-personal .has-error .input-group-addon {
|
|
1253
|
-
color:
|
|
1254
|
-
color: var(--color-content-primary) !important;
|
|
1249
|
+
color: var(--color-sentiment-negative) !important;
|
|
1255
1250
|
border-color: var(--color-sentiment-negative) !important;
|
|
1256
1251
|
}
|
|
1257
1252
|
.np-theme-personal .has-error .form-control,
|
|
@@ -1292,8 +1287,7 @@ select[multiple].input-lg {
|
|
|
1292
1287
|
border-color: var(--color-sentiment-negative-hover) !important;
|
|
1293
1288
|
}
|
|
1294
1289
|
.np-theme-personal .has-error .form-control-feedback {
|
|
1295
|
-
color:
|
|
1296
|
-
color: var(--color-content-primary);
|
|
1290
|
+
color: var(--color-sentiment-negative);
|
|
1297
1291
|
}
|
|
1298
1292
|
.np-theme-personal .has-error .radio > label:not(.disabled):not(:disabled),
|
|
1299
1293
|
.np-theme-personal .has-error.checkbox > label:not(.disabled):not(:disabled) {
|
|
@@ -2233,6 +2227,15 @@ html:not([dir="rtl"]) .input-group .input-group-btn + input {
|
|
|
2233
2227
|
.np-theme-personal .form-group .np-upload-input label {
|
|
2234
2228
|
margin-bottom: 0;
|
|
2235
2229
|
}
|
|
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
|
+
}
|
|
2236
2239
|
.np-theme-personal .form-group .alert:before,
|
|
2237
2240
|
.np-theme-personal .error-messages:before {
|
|
2238
2241
|
content: none;
|
|
@@ -929,6 +929,8 @@ 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,
|
|
932
934
|
.small,
|
|
933
935
|
.tiny,
|
|
934
936
|
body,
|
|
@@ -944,8 +946,6 @@ small,
|
|
|
944
946
|
/* DEPRECATED: use .np-text-body-default-bold instead */
|
|
945
947
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
946
948
|
.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,6 +2546,8 @@ h6,
|
|
|
2546
2546
|
|
|
2547
2547
|
.body-2,
|
|
2548
2548
|
.body-3,
|
|
2549
|
+
.label,
|
|
2550
|
+
.control-label,
|
|
2549
2551
|
.small,
|
|
2550
2552
|
.tiny,
|
|
2551
2553
|
body,
|
|
@@ -2564,8 +2566,6 @@ small,
|
|
|
2564
2566
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
2565
2567
|
|
|
2566
2568
|
.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,8 +10046,7 @@ 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:
|
|
10050
|
-
color: var(--color-content-primary) !important;
|
|
10049
|
+
color: var(--color-sentiment-positive) !important;
|
|
10051
10050
|
border-color: var(--color-sentiment-positive) !important;
|
|
10052
10051
|
}
|
|
10053
10052
|
|
|
@@ -10092,8 +10091,7 @@ select[multiple].input-lg {
|
|
|
10092
10091
|
}
|
|
10093
10092
|
|
|
10094
10093
|
.np-theme-personal .has-success .form-control-feedback {
|
|
10095
|
-
color:
|
|
10096
|
-
color: var(--color-content-primary);
|
|
10094
|
+
color: var(--color-sentiment-positive);
|
|
10097
10095
|
}
|
|
10098
10096
|
|
|
10099
10097
|
.np-theme-personal .has-success .radio > label:not(.disabled):not(:disabled),
|
|
@@ -10464,8 +10462,7 @@ select[multiple].input-lg {
|
|
|
10464
10462
|
.np-theme-personal .has-warning .radio-inline label,
|
|
10465
10463
|
.np-theme-personal .has-warning .checkbox-inline label,
|
|
10466
10464
|
.np-theme-personal .has-warning .input-group-addon {
|
|
10467
|
-
color:
|
|
10468
|
-
color: var(--color-content-primary) !important;
|
|
10465
|
+
color: var(--color-sentiment-warning) !important;
|
|
10469
10466
|
border-color: var(--color-sentiment-warning) !important;
|
|
10470
10467
|
}
|
|
10471
10468
|
|
|
@@ -10510,8 +10507,7 @@ select[multiple].input-lg {
|
|
|
10510
10507
|
}
|
|
10511
10508
|
|
|
10512
10509
|
.np-theme-personal .has-warning .form-control-feedback {
|
|
10513
|
-
color:
|
|
10514
|
-
color: var(--color-content-primary);
|
|
10510
|
+
color: var(--color-sentiment-warning);
|
|
10515
10511
|
}
|
|
10516
10512
|
|
|
10517
10513
|
.np-theme-personal .has-warning .radio > label:not(.disabled):not(:disabled),
|
|
@@ -10673,8 +10669,7 @@ select[multiple].input-lg {
|
|
|
10673
10669
|
.np-theme-personal .has-error .radio-inline label,
|
|
10674
10670
|
.np-theme-personal .has-error .checkbox-inline label,
|
|
10675
10671
|
.np-theme-personal .has-error .input-group-addon {
|
|
10676
|
-
color:
|
|
10677
|
-
color: var(--color-content-primary) !important;
|
|
10672
|
+
color: var(--color-sentiment-negative) !important;
|
|
10678
10673
|
border-color: var(--color-sentiment-negative) !important;
|
|
10679
10674
|
}
|
|
10680
10675
|
|
|
@@ -10719,8 +10714,7 @@ select[multiple].input-lg {
|
|
|
10719
10714
|
}
|
|
10720
10715
|
|
|
10721
10716
|
.np-theme-personal .has-error .form-control-feedback {
|
|
10722
|
-
color:
|
|
10723
|
-
color: var(--color-content-primary);
|
|
10717
|
+
color: var(--color-sentiment-negative);
|
|
10724
10718
|
}
|
|
10725
10719
|
|
|
10726
10720
|
.np-theme-personal .has-error .radio > label:not(.disabled):not(:disabled),
|
|
@@ -11792,6 +11786,16 @@ html:not([dir="rtl"]) .input-group .input-group-btn + input {
|
|
|
11792
11786
|
margin-bottom: 0;
|
|
11793
11787
|
}
|
|
11794
11788
|
|
|
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
|
+
|
|
11795
11799
|
.np-theme-personal .form-group .alert:before,
|
|
11796
11800
|
.np-theme-personal .error-messages:before {
|
|
11797
11801
|
content: none;
|
|
@@ -13569,7 +13573,7 @@ li > a > .currency-flag:first-child {
|
|
|
13569
13573
|
border: 1px solid #c9cbce;
|
|
13570
13574
|
border: 1px solid var(--color-interactive-secondary);
|
|
13571
13575
|
border-radius: 3px;
|
|
13572
|
-
overflow:
|
|
13576
|
+
overflow: auto;
|
|
13573
13577
|
transition: border-color 0.15s linear;
|
|
13574
13578
|
}
|
|
13575
13579
|
|
|
@@ -13629,11 +13633,10 @@ li > a > .currency-flag:first-child {
|
|
|
13629
13633
|
}
|
|
13630
13634
|
|
|
13631
13635
|
.np-theme-personal .droppable-area.droppable-negative {
|
|
13632
|
-
border
|
|
13633
|
-
|
|
13634
|
-
|
|
13635
|
-
|
|
13636
|
-
opacity: 0;
|
|
13636
|
+
border: 2px solid var(--color-sentiment-negative) !important;
|
|
13637
|
+
background-color: #ffffff;
|
|
13638
|
+
background-color: var(--color-background-screen);
|
|
13639
|
+
min-height: 315px;
|
|
13637
13640
|
}
|
|
13638
13641
|
|
|
13639
13642
|
.np-theme-personal .droppable-area.droppable-complete .thumbnail {
|
|
@@ -13684,7 +13687,6 @@ li > a > .currency-flag:first-child {
|
|
|
13684
13687
|
.droppable-card-content {
|
|
13685
13688
|
max-width: 100%;
|
|
13686
13689
|
opacity: 1;
|
|
13687
|
-
transition: opacity 0.5s linear;
|
|
13688
13690
|
}
|
|
13689
13691
|
|
|
13690
13692
|
.droppable-dropping {
|
|
@@ -13747,73 +13749,21 @@ li > a > .currency-flag:first-child {
|
|
|
13747
13749
|
display: flex;
|
|
13748
13750
|
}
|
|
13749
13751
|
|
|
13750
|
-
.droppable-processing-card {
|
|
13751
|
-
display: none;
|
|
13752
|
-
}
|
|
13753
|
-
|
|
13754
|
-
.droppable-processing-card .droppable-card-content {
|
|
13755
|
-
opacity: 1;
|
|
13756
|
-
}
|
|
13757
|
-
|
|
13758
13752
|
.droppable-processing .droppable-processing-card {
|
|
13759
13753
|
display: flex;
|
|
13760
|
-
|
|
13761
|
-
}
|
|
13762
|
-
|
|
13763
|
-
.droppable-processing .droppable-processing-card .droppable-card-content {
|
|
13764
|
-
opacity: 1;
|
|
13754
|
+
align-items: baseline;
|
|
13765
13755
|
}
|
|
13766
13756
|
|
|
13767
13757
|
.droppable-complete .droppable-processing-card {
|
|
13768
13758
|
display: flex;
|
|
13769
|
-
transform: translateX(-100%);
|
|
13770
|
-
}
|
|
13771
|
-
|
|
13772
|
-
.droppable-complete .droppable-processing-card .droppable-card-content {
|
|
13773
|
-
opacity: 0;
|
|
13774
13759
|
}
|
|
13775
13760
|
|
|
13776
13761
|
.droppable-complete-card {
|
|
13777
13762
|
display: flex;
|
|
13778
|
-
transform: translateX(100%);
|
|
13779
|
-
}
|
|
13780
|
-
|
|
13781
|
-
.droppable-complete-card .droppable-card-content {
|
|
13782
|
-
opacity: 0;
|
|
13783
|
-
}
|
|
13784
|
-
|
|
13785
|
-
.droppable-complete .droppable-complete-card {
|
|
13786
|
-
transform: translateX(0);
|
|
13787
|
-
}
|
|
13788
|
-
|
|
13789
|
-
.droppable-complete .droppable-complete-card .droppable-card-content {
|
|
13790
|
-
opacity: 1;
|
|
13791
|
-
}
|
|
13792
|
-
|
|
13793
|
-
.droppable-processing .droppable-default-card .droppable-card-content,
|
|
13794
|
-
.droppable-complete .droppable-default-card .droppable-card-content {
|
|
13795
|
-
opacity: 0;
|
|
13796
13763
|
}
|
|
13797
13764
|
|
|
13798
13765
|
/***** End card variants *****/
|
|
13799
13766
|
|
|
13800
|
-
.droppable-mobile {
|
|
13801
|
-
display: block;
|
|
13802
|
-
}
|
|
13803
|
-
|
|
13804
|
-
.droppable-desktop {
|
|
13805
|
-
display: none;
|
|
13806
|
-
}
|
|
13807
|
-
|
|
13808
|
-
@media (min-width: 768px) {
|
|
13809
|
-
.droppable-mobile {
|
|
13810
|
-
display: none;
|
|
13811
|
-
}
|
|
13812
|
-
.droppable-desktop {
|
|
13813
|
-
display: block;
|
|
13814
|
-
}
|
|
13815
|
-
}
|
|
13816
|
-
|
|
13817
13767
|
.droppable-active {
|
|
13818
13768
|
border-style: solid;
|
|
13819
13769
|
}
|
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, .small, .tiny,
|
|
116
|
+
.body-2, .body-3, .label, .control-label, .small, .tiny,
|
|
117
117
|
body, small,
|
|
118
118
|
.np-text-body-default {
|
|
119
119
|
font-size: var(--font-size-14);
|
|
@@ -125,10 +125,6 @@ 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
|
-
|
|
132
128
|
.np-text-body-default-bold {
|
|
133
129
|
font-size: var(--font-size-14);
|
|
134
130
|
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 {
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
min-height: 242px;
|
|
41
41
|
}
|
|
42
42
|
&.droppable-dropping {
|
|
43
|
-
.droppable-default-card {
|
|
44
|
-
opacity: 0;
|
|
43
|
+
.droppable-default-card {
|
|
44
|
+
opacity: 0;
|
|
45
45
|
}
|
|
46
46
|
.tw-icon-plus svg {
|
|
47
47
|
width: var(--size-24);
|
|
@@ -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,7 +240,6 @@ input[type='search'] {
|
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
&:focus-within {
|
|
243
|
-
// DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
|
|
244
243
|
.control-label,
|
|
245
244
|
> label {
|
|
246
245
|
color: var(--color-content-accent);
|
|
@@ -451,7 +450,6 @@ input[type="password"] {
|
|
|
451
450
|
line-height: @input-line-height-large;
|
|
452
451
|
}
|
|
453
452
|
|
|
454
|
-
// DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
|
|
455
453
|
.control-label {
|
|
456
454
|
position: absolute;
|
|
457
455
|
top: 12px;
|
|
@@ -506,7 +504,6 @@ input[type="password"] {
|
|
|
506
504
|
// Focus state
|
|
507
505
|
.focus,
|
|
508
506
|
.has-focus {
|
|
509
|
-
// DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
|
|
510
507
|
.control-label {
|
|
511
508
|
color: var(--color-content-accent-active);
|
|
512
509
|
}
|
|
@@ -566,7 +563,7 @@ input[type="password"] {
|
|
|
566
563
|
|
|
567
564
|
.np-theme-personal & {
|
|
568
565
|
.form-control-validation(
|
|
569
|
-
var(--color-
|
|
566
|
+
var(--color-sentiment-positive);
|
|
570
567
|
var(--color-sentiment-positive);
|
|
571
568
|
var(--color-sentiment-positive);
|
|
572
569
|
);
|
|
@@ -598,7 +595,7 @@ input[type="password"] {
|
|
|
598
595
|
|
|
599
596
|
.np-theme-personal & {
|
|
600
597
|
.form-control-validation(
|
|
601
|
-
var(--color-
|
|
598
|
+
var(--color-sentiment-warning);
|
|
602
599
|
var(--color-sentiment-warning);
|
|
603
600
|
var(--color-sentiment-warning);
|
|
604
601
|
);
|
|
@@ -614,7 +611,7 @@ input[type="password"] {
|
|
|
614
611
|
|
|
615
612
|
.np-theme-personal & {
|
|
616
613
|
.form-control-validation(
|
|
617
|
-
var(--color-
|
|
614
|
+
var(--color-sentiment-negative);
|
|
618
615
|
var(--color-sentiment-negative);
|
|
619
616
|
var(--color-sentiment-negative-hover);
|
|
620
617
|
);
|
|
@@ -681,7 +678,6 @@ input[type="password"] {
|
|
|
681
678
|
width: 100%;
|
|
682
679
|
}
|
|
683
680
|
|
|
684
|
-
// DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
|
|
685
681
|
.control-label {
|
|
686
682
|
margin-bottom: 0;
|
|
687
683
|
vertical-align: calc(-2px);
|
|
@@ -746,7 +742,6 @@ input[type="password"] {
|
|
|
746
742
|
// Reset spacing and right align labels, but scope to media queries so that
|
|
747
743
|
// labels on narrow viewports stack the same as a default form example.
|
|
748
744
|
@media (min-width: @screen-sm-min) {
|
|
749
|
-
// DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
|
|
750
745
|
.control-label {
|
|
751
746
|
.text-align(right);
|
|
752
747
|
|
|
@@ -769,7 +764,6 @@ input[type="password"] {
|
|
|
769
764
|
// inputs and labels within a `.form-group`.
|
|
770
765
|
.form-group-lg {
|
|
771
766
|
@media (min-width: @screen-sm-min) {
|
|
772
|
-
// DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
|
|
773
767
|
.control-label {
|
|
774
768
|
padding-top: 17px;
|
|
775
769
|
font-size: var(--font-size-20);
|
|
@@ -779,7 +773,6 @@ input[type="password"] {
|
|
|
779
773
|
|
|
780
774
|
.form-group-sm {
|
|
781
775
|
@media (min-width: @screen-sm-min) {
|
|
782
|
-
// DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
|
|
783
776
|
.control-label {
|
|
784
777
|
padding-top: 8px;
|
|
785
778
|
font-size: var(--font-size-14);
|
|
@@ -1173,6 +1166,15 @@ input[type="password"] {
|
|
|
1173
1166
|
margin-bottom: 0;
|
|
1174
1167
|
}
|
|
1175
1168
|
|
|
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
|
+
|
|
1176
1178
|
.form-group .alert:before,
|
|
1177
1179
|
.error-messages:before {
|
|
1178
1180
|
content: none;
|
|
@@ -5,10 +5,8 @@
|
|
|
5
5
|
.form-control-validation(@text-color; @border-color; @border-hover;) {
|
|
6
6
|
border-color: @border-color !important;
|
|
7
7
|
|
|
8
|
-
// DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
|
|
9
|
-
.control-label,
|
|
10
|
-
|
|
11
8
|
// Color the label and help text
|
|
9
|
+
.control-label,
|
|
12
10
|
.radio,
|
|
13
11
|
.checkbox,
|
|
14
12
|
.radio-inline,
|