Skip to content

Commit 6c086e0

Browse files
committed
Clean unneccesary prefix flexbox
update up up up
1 parent 650f254 commit 6c086e0

File tree

1 file changed

+20
-31
lines changed

1 file changed

+20
-31
lines changed

lib/web/css/source/lib/_utilities.less

+20-31
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
) when not (@_value = false) and not (@_value = '') and (@font-size-unit-convert) {
1717
@fontValue: unit(((@_value) * 1), @font-size-unit) / @font-size-unit-ratio;
1818
}
19+
1920
.lib-font-size-value(
2021
@_value
2122
) when (@font-size-unit-convert = false) {
@@ -315,7 +316,9 @@
315316

316317
@urls-resolved: false;
317318

318-
.lib-url(@_path) {
319+
.lib-url(
320+
@_path
321+
) {
319322
@url: "@{baseDir}@{_path}";
320323
}
321324

@@ -412,77 +415,63 @@
412415
.lib-vendor-prefix-display(
413416
@_value: flex
414417
) {
415-
display: ~"-webkit-@{_value}";
416-
display: ~"-ms-@{_value}box";
417418
display: @_value;
418419
}
419420

420421
.lib-vendor-prefix-flex-grow(
421422
@_value: 0
422423
) {
423-
-webkit-flex-grow: @_value;
424-
flex-grow: @_value;
424+
flex-grow: @_value;
425425
}
426426

427-
.lib-vendor-prefix-flex-shrink (
427+
.lib-vendor-prefix-flex-shrink(
428428
@_value: 1
429429
) {
430-
-webkit-flex-shrink: @_value;
431-
flex-shrink: @_value;
430+
flex-shrink: @_value;
432431
}
433432

434-
.lib-vendor-prefix-flex-basis (
433+
.lib-vendor-prefix-flex-basis(
435434
@_value: auto
436435
) {
437-
-webkit-flex-basis: @_value;
438-
flex-basis: @_value;
436+
flex-basis: @_value;
439437
}
440438

441-
.lib-vendor-prefix-flex-wrap (
439+
.lib-vendor-prefix-flex-wrap(
442440
@_value: wrap
443441
) {
444-
-webkit-flex-wrap: @_value;
445-
flex-wrap: @_value;
442+
flex-wrap: @_value;
446443
}
447444

448-
.lib-vendor-prefix-flex-direction (
445+
.lib-vendor-prefix-flex-direction(
449446
@_value: column
450447
) {
451-
-webkit-flex-direction: @_value;
452-
-ms-flex-direction: @_value;
453-
flex-direction: @_value;
448+
flex-direction: @_value;
454449
}
455450

456-
.lib-vendor-prefix-order (
451+
.lib-vendor-prefix-order(
457452
@_value: 0
458453
) {
459-
-ms-flex-order: @_value;
460-
-webkit-order: @_value;
461-
order: @_value;
454+
order: @_value;
462455
}
463456

464-
.lib-vendor-box-align (
457+
.lib-vendor-box-align(
465458
@_value: stretch
466459
) {
467-
-webkit-align-items: @_value;
468-
-ms-align-items: @_value;
469-
align-items: @_value;
460+
align-items: @_value;
470461
}
471462

472-
.lib-vendor-prefix-appearance (
463+
.lib-vendor-prefix-appearance(
473464
@value: none
474465
) {
475466
-webkit-appearance: @value;
476467
-moz-appearance: @value;
477468
appearance: @value;
478469
}
479470

480-
.lib-vendor-prefix-column-count (
471+
.lib-vendor-prefix-column-count(
481472
@_value
482473
) {
483-
-webkit-column-count: @_value;
484-
-moz-column-count: @_value;
485-
column-count: @_value;
474+
column-count: @_value;
486475
}
487476

488477
//

0 commit comments

Comments
 (0)