This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
da55b67
commit 8076827
Showing
116 changed files
with
2,353 additions
and
1,739 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* @ngdoc module | ||
* @name material.components.backdrop | ||
* @description Backdrop | ||
*/ | ||
|
||
/** | ||
* @ngdoc directive | ||
* @name mdBackdrop | ||
* @module material.components.backdrop | ||
* | ||
* @restrict E | ||
* | ||
* @description | ||
* `<md-backdrop>` is a backdrop element used by other coponents, such as dialog and bottom sheet. | ||
* Apply class `opaque` to make the backdrop use the theme backdrop color. | ||
* | ||
*/ | ||
angular.module('material.components.backdrop', [ | ||
'material.services.theming' | ||
]) | ||
.directive('mdBackdrop', [ | ||
'$mdTheming', | ||
BackdropDirective | ||
]); | ||
|
||
function BackdropDirective($mdTheming) { | ||
return $mdTheming; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
$backdrop-color: rgba(0,0,0,0.3); | ||
|
||
md-backdrop.opaque.md-#{$theme-name}-theme { | ||
background-color: $backdrop-color; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
$bottom-sheet-color-palette: $background-color-palette !default; | ||
$bottom-sheet-background-color: map-get($bottom-sheet-color-palette, '50') !default; | ||
$bottom-sheet-border-top-color: map-get($bottom-sheet-color-palette, '400') !default; | ||
$bottom-sheet-header-color: $foreground-secondary-color !default; | ||
$bottom-sheet-list-color: $foreground-secondary-color !default; | ||
|
||
md-bottom-sheet.md-#{$theme-name}-theme { | ||
background-color: $bottom-sheet-background-color; | ||
border-top-color: $bottom-sheet-border-top-color; | ||
|
||
&.list { | ||
md-item { | ||
color: $bottom-sheet-list-color; | ||
} | ||
} | ||
|
||
.md-subheader { | ||
background-color: $bottom-sheet-background-color; | ||
} | ||
|
||
.md-subheader { | ||
color: $bottom-sheet-header-color; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.