Skip to content

Commit c0c2270

Browse files
committed
[scss] [update] [cleanup] Some mixing related cleanup, no style changes.
1 parent 557b0f9 commit c0c2270

File tree

3 files changed

+4
-21
lines changed

3 files changed

+4
-21
lines changed

assets/scss/_mixins.scss

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,6 @@
2222
// THE SOFTWARE.
2323
//
2424

25-
// ---- LEGACY IE SUPPORT USING FILTERS ----
26-
// Should IE filters be used or not?
27-
// PROS: gradients, drop shadows etc will be handled by css.
28-
// CONS: will harm the site performance badly,
29-
// especially on sites with heavy rendering and scripting.
30-
$useIEFilters: 0;
31-
// might be 0 or 1. disabled by default.
32-
// ---- /LEGACY IE SUPPORT USING FILTERS ----
33-
3425
// requires sass 3.2
3526
@mixin keyframes($name){
3627
@-moz-keyframes #{$name} { @content; }
@@ -41,11 +32,7 @@ $useIEFilters: 0;
4132
}
4233

4334
@mixin transform($transforms) {
44-
-moz-transform: $transforms;
45-
-o-transform: $transforms;
46-
-ms-transform: $transforms;
47-
-webkit-transform: $transforms;
48-
transform: $transforms;
35+
transform: $transforms;
4936
}
5037

5138
@mixin rotate($deg) {
@@ -72,11 +59,7 @@ $useIEFilters: 0;
7259

7360
// Placeholder text
7461
@mixin placeholder($color: $input-color-placeholder) {
75-
// Firefox
76-
&::-moz-placeholder {
62+
&::placeholder {
7763
color: $color;
78-
opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526
7964
}
80-
&:-ms-input-placeholder { color: $color; } // Internet Explorer 10+
81-
&::-webkit-input-placeholder { color: $color; } // Safari and Chrome
8265
}

assets/scss/admin/_ajax-loader.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $size: 20;
2020
animation-duration: 1.5s;
2121
animation-iteration-count: infinite;
2222
animation-direction: normal;
23-
@include transform(.3);
23+
@include transform(scale(.3));
2424
}
2525

2626
@for $i from 0 through 7

assets/scss/admin/_modal-common.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
color: #bbb;
127127
border-radius: 20px;
128128
padding: 3px;
129-
transition: all 0.2s ease-in-out;
129+
transition: all 0.2s ease-in-out;
130130

131131
&:hover {
132132
color: #fff;

0 commit comments

Comments
 (0)