Skip to content

Commit 1a6a3fe

Browse files
authored
Merge pull request #11473 from lokesh/refactor/remove-mixins-less
refactor: remove mixins.less. flex browser-prefixes not needed
2 parents 5876ccb + 648e1b0 commit 1a6a3fe

25 files changed

+31
-53
lines changed

static/css/components/buttonCta.less

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ a.cta-btn {
9595
&--shell,
9696
&--shell:link,
9797
&--shell:visited {
98-
.shell-btn--active();
98+
background-color: @white;
99+
border: 2px solid @primary-blue;
100+
color: @primary-blue;
99101
}
100102
&--shell:disabled {
101103
border: 2px solid @light-grey;

static/css/components/carousel.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
}
2323

2424
.carousel {
25-
.display-flex();
25+
display: flex;
2626
margin-bottom: 15px;
2727
overflow-x: scroll;
2828
padding: 10px 20px;

static/css/components/footer.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ div#footer-content {
88
}
99

1010
div#footer-links {
11-
.display-flex();
11+
display: flex;
1212
margin-left: 10px;
1313
line-height: 1.5em;
1414
}
@@ -23,13 +23,13 @@ div#footer-links {
2323
}
2424

2525
footer {
26-
.display-flex();
26+
display: flex;
2727
width: 100%;
2828
bottom: 0;
2929
font-size: 0.8em;
3030
#footer-details {
3131
color: @dark-grey;
32-
.display-flex();
32+
display: flex;
3333
width: 100%;
3434
}
3535
h2 {

static/css/components/fulltext-search-suggestion-item.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.fsi {
22
&__main {
3-
.display-flex();
3+
display: flex;
44
flex-direction: row;
55
background-color: @white;
66
padding: 5px;

static/css/components/fulltext-search-suggestion.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
padding: 5px;
1212
margin-bottom: 3px;
1313
border-bottom: 1px solid @light-beige;
14-
.display-flex();
14+
display: flex;
1515
flex-direction: column;
1616

1717
&__header {

static/css/components/generic-dropper.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
height: inherit;
5353
width: 32px;
5454

55-
.display-flex();
55+
display: flex;
5656
justify-content: center;
5757
align-items: center;
5858

static/css/components/header-bar--desktop.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919

2020
.navigation-component {
21-
.display-flex();
21+
display: flex;
2222
-webkit-box-ordinal-group: 3;
2323
-ms-flex-order: 2;
2424
order: 2;

static/css/components/header-bar.less

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
max-width: 1060px;
1515
min-width: 300px;
1616
margin: 0 auto;
17-
.display-flex();
17+
display: flex;
1818
-webkit-box-orient: vertical;
1919
-webkit-box-direction: normal;
2020
-ms-flex-flow: row wrap;
@@ -343,7 +343,7 @@
343343
}
344344

345345
.navigation-component.mobile {
346-
.display-flex();
346+
display: flex;
347347
}
348348

349349
.navigation-component {
@@ -425,7 +425,7 @@
425425
width: auto;
426426

427427
.search-bar-input {
428-
.display-flex();
428+
display: flex;
429429
}
430430
}
431431

@@ -517,7 +517,7 @@
517517
}
518518

519519
a {
520-
.display-flex();
520+
display: flex;
521521
text-decoration: none;
522522
color: @dark-grey;
523523

@@ -609,7 +609,7 @@ div.search-facet:focus-within {
609609

610610
.hamburger-component {
611611
summary {
612-
.display-flex();
612+
display: flex;
613613
-webkit-box-align: center;
614614
-ms-flex-align: center;
615615
align-items: center;
@@ -683,12 +683,12 @@ div.search-facet:focus-within {
683683
-webkit-box-flex: 1;
684684
-ms-flex: 1 0 0%;
685685
flex: 1;
686-
.display-flex();
686+
display: flex;
687687
}
688688
.search-bar-input {
689689
min-width: 50px;
690690
width: 100%;
691-
.display-flex();
691+
display: flex;
692692

693693
/* stylelint-disable selector-max-specificity */
694694
input[type="text"] {
@@ -839,7 +839,7 @@ div.search-facet:focus-within {
839839
width: 207px;
840840
}
841841
.search-bar-input {
842-
.display-flex();
842+
display: flex;
843843

844844
/* stylelint-disable selector-max-specificity */
845845
input[type="text"] {

static/css/components/home.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ div.chartHome a:hover,
4545
}
4646
#home {
4747
&-stats-charts {
48-
.display-flex();
48+
display: flex;
4949
flex-wrap: wrap;
5050
.statschart {
5151
flex: 1;
@@ -90,7 +90,7 @@ div.chartHome a:hover,
9090
text-align: left;
9191
}
9292
&-about {
93-
.display-flex();
93+
display: flex;
9494
flex-wrap: wrap;
9595
font-size: 13px;
9696
}

static/css/components/iaBar.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@import "components/buttonGhost.less";
44

55
.iaBar {
6-
.display-flex();
6+
display: flex;
77
max-width: 1060px;
88
margin: 0 auto;
99
-webkit-box-align: center;

0 commit comments

Comments
 (0)