Skip to content
This repository was archived by the owner on Jul 24, 2019. It is now read-only.

Commit 793c005

Browse files
author
Aaron Imming
committed
Use vendor function for 'experimental' CSS
1 parent f00695e commit 793c005

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/assets/sass/scratch/_flyout.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
@import '../base/mixins';
2+
13
.blocklyFlyout {
2-
filter: drop-shadow(0 10px 5px #999);
4+
@include vendor(filter, drop-shadow(0 10px 5px #999));
35
}
46

57
.blocklyFlyoutBackground {

src/assets/sass/scratch/_toolbox.scss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '../base/mixins';
2+
13
$category-colours: (
24
trade-definition: #303f9f,
35
before-purchase : #00897b,
@@ -63,8 +65,8 @@ $category-colours: (
6365
position: absolute;
6466
top: 0.6em;
6567
right: 0.6em;
66-
transform: rotate(90deg);
67-
transition: transform 0.25s ease;
68+
@include vendor(transform, rotate(90deg));
69+
@include vendor(transition, transform 0.25s ease);
6870
}
6971
&__item {
7072
position: relative;
@@ -90,7 +92,7 @@ $category-colours: (
9092
}
9193
#{$toolbox}__arrow {
9294
position: relative;
93-
transform: rotate(270deg);
95+
@include vendor(transform, rotate(270deg));
9496
margin-top: -2px;
9597
top: 0;
9698
right: -2px;

0 commit comments

Comments
 (0)