Skip to content

Commit 7400f9e

Browse files
author
Steve Orvell
committed
Merge pull request #38 from sjmiles/master
implement new 'protected' syntax
2 parents 6fc1a4a + 9cc2e88 commit 7400f9e

27 files changed

+1043
-869
lines changed

src/css/g-icon-button.css

-27
This file was deleted.

src/css/g-icon.css

-22
This file was deleted.

src/css/g-menu.css

-11
This file was deleted.

src/css/g-menuitem.css

-28
This file was deleted.

src/css/g-overlay.css

+20-5
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,27 @@
44
* license that can be found in the LICENSE file.
55
*/
66

7-
@host {
8-
position: fixed;
9-
z-index: 10;
10-
outline: none;
11-
}
127

138
/*
149
TODO(sorvell): include a reasonable set of default overlay opening
1510
animations. What's here right now is ad hoc.
11+
12+
Animation styles:
13+
14+
g-overlay-fade
15+
g-overlay-scale-slideup
16+
g-overlay-shake
17+
1618
*/
19+
20+
@host {
21+
position: fixed;
22+
z-index: 10;
23+
outline: none;
24+
}
25+
26+
/* g-overlay-fade */
27+
1728
@host.g-overlay-fade {
1829
opacity: 0;
1930
-webkit-transition: all 0.218s;
@@ -23,6 +34,8 @@
2334
opacity: 1;
2435
}
2536

37+
/* g-overlay-scale-slideup */
38+
2639
@host.g-overlay-scale-slideup {
2740
opacity: 0.0;
2841
-webkit-transform: scale(1.05);
@@ -40,6 +53,8 @@
4053
-webkit-transition: all 1s;
4154
}
4255

56+
/* g-overlay-shake */
57+
4358
@-webkit-keyframes g-overlay-shakeFadeIn {
4459
0% {
4560
display: block;

0 commit comments

Comments
 (0)