Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit 1d0e91a

Browse files
har79nshahan
authored andcommitted
extract shared to css/_common.scss
Part of a sequence of CLs refactoring css/material into separate, smaller libraries PiperOrigin-RevId: 225359757
1 parent 4a0c9d0 commit 1d0e91a

File tree

3 files changed

+23
-35
lines changed

3 files changed

+23
-35
lines changed

angular_components/lib/css/_core.scss

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,28 @@ $mat-option-inline-icons: false !default;
4343
}
4444
}
4545

46+
// Prefixed cursors
47+
// http://caniuse.com/#feat=css3-cursors-newer
48+
@mixin cursor-grab() {
49+
cursor: move; // fall back to move if unavailable (IE)
50+
cursor: -webkit-grab;
51+
cursor: -moz-grab;
52+
cursor: grab;
53+
}
54+
55+
@mixin cursor-grabbing() {
56+
cursor: move; // fall back to move if unavailable (IE)
57+
cursor: -webkit-grabbing;
58+
cursor: -moz-grabbing;
59+
cursor: grabbing;
60+
}
61+
62+
@mixin button-bar-layout() {
63+
display: flex;
64+
flex-direction: row;
65+
justify-content: flex-end;
66+
}
67+
4668
// Styles text that is used as a floating label over a material component.
4769
@mixin mat-input-header() {
4870
color: $mat-gray-600;

angular_components/lib/css/material/_material.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,4 @@
2727
// TODO: See if we can reference go/icon svgs instead of copying them to res/
2828

2929
// Behold, the import of all things:
30-
@import 'const/global',
31-
'shared';
30+
@import 'const/global';

angular_components/lib/css/material/_shared.scss

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)