-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Changed padding for modal ccontent to global-padding * Close button css * Added opcity transition * Modal global radius * Added a modak fade-in, created a fade-in mix-in * Removed inline margin from close button on Stateless.js.example * Alphabetized css * Fixed the bug in chrome by changing the positioning of the bg to relative * feat: Allow Modal to animate through CSS * Modal style updates * Typography fix * Close button updates * Transition mixin updates * Transition for modal * fix: Reorder SCSS so it passes the test
- Loading branch information
Showing
15 changed files
with
151 additions
and
97 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,42 @@ | ||
// default component vars listed at the top of the component stylesheet | ||
// those vars are transferred to rev-settings AND are commented out | ||
// this way updates can be made to a component by uncommenting settings vars | ||
$close-bkgd: $body-font-color !default; | ||
$close-color: $body-bkgd !default; | ||
$close-size: $size-default !default; | ||
|
||
$closebutton-bkgd: $darker-gray !default; | ||
$closebutton-color: $white !default; | ||
$closebutton-bkgd-hover: $black !default; | ||
$closebutton-color-hover: $white !default; | ||
$closebutton-bkgd-active: $black !default; | ||
$closebutton-color-active: $white !default; | ||
$closebutton-radius: $global-rounded !default; | ||
$closebutton-size: $size-large !default; | ||
|
||
.rev-CloseButton { | ||
background: $close-bkgd; | ||
@include button; | ||
@include small-input; | ||
background: $closebutton-bkgd; | ||
border: 0; | ||
color: $close-color; | ||
border-radius: $closebutton-radius; | ||
color: $closebutton-color; | ||
float: right; | ||
line-height: $close-size; | ||
min-height: $close-size; | ||
min-width: $close-size; | ||
line-height: $closebutton-size; | ||
margin: $global-padding-small; | ||
min-height: $closebutton-size; | ||
min-width: $closebutton-size; | ||
padding: 0 $global-padding-tiny; | ||
&:hover { | ||
background: $closebutton-bkgd-hover; | ||
color: $closebutton-color-hover; | ||
} | ||
&:active, | ||
&:focus { | ||
background: $closebutton-bkgd-active; | ||
color: $closebutton-color-active; | ||
} | ||
&.rev-CloseButton--absolute { | ||
margin: 0; | ||
position: absolute; | ||
right: $global-padding-small; | ||
top: $global-padding-small; | ||
} | ||
} |
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 |
---|---|---|
|
@@ -20,3 +20,7 @@ | |
-webkit-animation: fade-in 0.5s; | ||
animation: fade-in 0.5s; | ||
} | ||
|
||
@mixin fade-in{ | ||
@extend .FadeIn; | ||
} |
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
Binary file not shown.
Oops, something went wrong.