Skip to content

Commit

Permalink
fix(styles): fixed using animation from core (#154748)
Browse files Browse the repository at this point in the history
  • Loading branch information
lkramarov committed Aug 20, 2018
1 parent ef0921c commit b1db7f5
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 22 deletions.
2 changes: 1 addition & 1 deletion src/lib/button/_button-base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ $mc-icon-button-padding: 5px 7px;
$mc-icon-button-text-padding: 15px;
$mc-icon-button-icon-padding: 7px;
$mc-icon-button-line-height: 20px;
$mc-icon-button-font: 14px;
$mc-icon-button-font: 16px;


%mc-button-base {
Expand Down
5 changes: 0 additions & 5 deletions src/lib/button/_button-theme.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
@import '../core/theming/theming';
@import '../core/styles/typography/typography-utils';

@import '../core/styles/common/animation';

// TODO: Its only for testing colors
@import '../core/theming/palette';


@mixin _mc-button-primary-color($palette) {
$hover-lighten: 5%;
Expand Down
2 changes: 2 additions & 0 deletions src/lib/core/_core.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import 'styles/common/animation';

@import '../../cdk/a11y/a11y';

@import 'styles/typography/all-typography';
Expand Down
1 change: 1 addition & 0 deletions src/lib/core/styles/common/_animation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from {
background-position: 0 0;
}

to {
background-position: 29px 0;
}
Expand Down
11 changes: 0 additions & 11 deletions src/lib/core/styles/common/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,6 @@
border: none;
}

@keyframes mc-progress {

from {
background-position: 0 0;
}

to {
background-position: 29px 0;
}
}

@mixin border-top-radius($radius) {
border-top: {
right-radius: $radius;
Expand Down
1 change: 1 addition & 0 deletions src/lib/core/styles/typography/_all-typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@import '../badges';
@import '../../../button/button-theme';
@import '../../../list/list-theme';
@import '../../../tree/tree-theme';
@import '../../../radio/radio-theme';
@import '../../../checkbox/checkbox-theme';
@import '../../../navbar/navbar-theme';
Expand Down
1 change: 0 additions & 1 deletion src/lib/list/_list-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// TODO: Its only for testing colors
@import '../core/theming/palette';

@import '../core/styles/common/animation';
@import '../core/styles/common/list';


Expand Down
2 changes: 0 additions & 2 deletions src/lib/list/list.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
@import '../core/styles/variables';
@import '../core/styles/common/list';
@import '../core/styles/common/layout';
@import '../divider/divider';

@import 'list-base';
Expand Down
2 changes: 0 additions & 2 deletions src/lib/navbar/_navbar-theme.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
@import '../core/theming/theming';
@import '../core/styles/typography/typography-utils';

@import '../core/styles/common/animation';

@mixin _mc-navbar-theme-color($theme) {
$palette: map-get($theme, primary);

Expand Down

0 comments on commit b1db7f5

Please sign in to comment.