-
-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(flyout): initial release of flyout module
The following PR implements a new module called Flyout. It's based on my own ES6 fomantic code, which is derived from sidebar, and CSS code is based from @jamessampford #1885 tryout.
- Loading branch information
Showing
10 changed files
with
2,013 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,3 @@ | ||
/******************************* | ||
Theme Overrides | ||
*******************************/ |
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,45 @@ | ||
/******************************* | ||
Flyout | ||
*******************************/ | ||
|
||
/*------------------- | ||
Content | ||
--------------------*/ | ||
|
||
/* Animation */ | ||
@perspective: 1500px; | ||
@duration: 500ms; | ||
@easing: @defaultEasing; | ||
|
||
/* Dimmer */ | ||
@dimmerColor: rgba(0, 0, 0, 0.4); | ||
@dimmerTransition: opacity @duration; | ||
|
||
/* Color below page */ | ||
@canvasBackground: @lightBlack; | ||
|
||
/* Shadow */ | ||
@boxShadow: 0 0 20px @borderColor; | ||
@horizontalBoxShadow: @boxShadow; | ||
@verticalBoxShadow: @boxShadow; | ||
|
||
/* Layering */ | ||
@bottomLayer: 1; | ||
@middleLayer: 2; | ||
@fixedLayer: 101; | ||
@topLayer: 102; | ||
@dimmerLayer: 1000; | ||
|
||
/*------------------- | ||
Variations | ||
--------------------*/ | ||
|
||
/* Width */ | ||
@veryThinWidth: 120px; | ||
@thinWidth: 200px; | ||
@width: 400px; | ||
@wideWidth: 600px; | ||
@veryWideWidth: 800px; | ||
|
||
/* Height */ | ||
@height: 36px; |
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 |
---|---|---|
|
@@ -77,6 +77,7 @@ module.exports = { | |
'emoji', | ||
'feed', | ||
'flag', | ||
'flyout', | ||
'form', | ||
'grid', | ||
'header', | ||
|
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 |
---|---|---|
|
@@ -90,6 +90,7 @@ module.exports = { | |
'dimmer', | ||
'dropdown', | ||
'embed', | ||
'flyout', | ||
'modal', | ||
'nag', | ||
'popup', | ||
|
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