egghead-styles 1.0.29

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +36 -0
  3. data/app/assets/images/elements/egg.svg +8 -0
  4. data/app/assets/images/elements/section-title-bg.png +0 -0
  5. data/app/assets/stylesheets/_old/admin/dashboard.css.scss +7 -0
  6. data/app/assets/stylesheets/_old/admin/discount_codes.css.scss +3 -0
  7. data/app/assets/stylesheets/_old/admin/promos.css.scss +3 -0
  8. data/app/assets/stylesheets/_old/admin/special_offers.css.scss +3 -0
  9. data/app/assets/stylesheets/_old/components/_jumbotron.css.scss +65 -0
  10. data/app/assets/stylesheets/_old/components/_navbar.css.scss +91 -0
  11. data/app/assets/stylesheets/_old/components/_pricing-table.css.scss +188 -0
  12. data/app/assets/stylesheets/_old/components/_sales-item.css.scss +29 -0
  13. data/app/assets/stylesheets/_old/components/_search.css.scss +81 -0
  14. data/app/assets/stylesheets/_old/components/components.css.scss +5 -0
  15. data/app/assets/stylesheets/_old/forum/egghead/admin/groups.css.scss +7 -0
  16. data/app/assets/stylesheets/_old/forum/egghead/forums.css.scss +24 -0
  17. data/app/assets/stylesheets/_old/forum/egghead/topics.css.scss +23 -0
  18. data/app/assets/stylesheets/_old/forum/forum-egghead.css.scss +2 -0
  19. data/app/assets/stylesheets/_old/instructor/dashboard.css.scss +3 -0
  20. data/app/assets/stylesheets/_old/koudoku/pricing-table.css.scss +93 -0
  21. data/app/assets/stylesheets/_old/pages/articles/articles.css.scss +189 -0
  22. data/app/assets/stylesheets/_old/pages/home/home.css.scss +29 -0
  23. data/app/assets/stylesheets/_old/pages/instructor/instructor.css.scss +12 -0
  24. data/app/assets/stylesheets/_old/pages/jobs/jobs.css.scss +117 -0
  25. data/app/assets/stylesheets/_old/pages/lessons/lessons.css.scss +321 -0
  26. data/app/assets/stylesheets/_old/pages/pages.css.scss +7 -0
  27. data/app/assets/stylesheets/_old/pages/series/series.css.scss +0 -0
  28. data/app/assets/stylesheets/_old/pages/training/training.css.scss +19 -0
  29. data/app/assets/stylesheets/_old/player.css.scss +1 -0
  30. data/app/assets/stylesheets/_old/scaffolds.css.scss +69 -0
  31. data/app/assets/stylesheets/_old/socialbar.css.scss +71 -0
  32. data/app/assets/stylesheets/_old/syntax.css.scss +81 -0
  33. data/app/assets/stylesheets/_old/util/_padding.css.scss +8 -0
  34. data/app/assets/stylesheets/_old/util/util.css.scss +1 -0
  35. data/app/assets/stylesheets/application.css.scss +85 -0
  36. data/app/assets/stylesheets/components/_advantages.css.scss +17 -0
  37. data/app/assets/stylesheets/components/_autocomplete-input.css.scss +74 -0
  38. data/app/assets/stylesheets/components/_cc-form.css.scss +99 -0
  39. data/app/assets/stylesheets/components/_corporate-logos.css.scss +27 -0
  40. data/app/assets/stylesheets/components/_home.css.scss +15 -0
  41. data/app/assets/stylesheets/components/_instructor-list.css.scss +29 -0
  42. data/app/assets/stylesheets/components/_onoff_switch.css.scss +46 -0
  43. data/app/assets/stylesheets/components/_pricing-grid.css.scss +177 -0
  44. data/app/assets/stylesheets/components/_search.css.scss +321 -0
  45. data/app/assets/stylesheets/components/forum/_forum.scss +267 -0
  46. data/app/assets/stylesheets/components/forum/_posts.scss +105 -0
  47. data/app/assets/stylesheets/components/lessons/_lesson-email-blocker.css.scss +83 -0
  48. data/app/assets/stylesheets/components/lessons/_lesson-playlist-control.css.scss +301 -0
  49. data/app/assets/stylesheets/components/lessons/_lesson-review-page.css.scss +30 -0
  50. data/app/assets/stylesheets/components/lessons/_lesson-series-list.css.scss +170 -0
  51. data/app/assets/stylesheets/components/lessons/_lesson_pro_placeholder.css.scss +0 -0
  52. data/app/assets/stylesheets/components/lessons/_lessons-list.scss +52 -0
  53. data/app/assets/stylesheets/components/lessons/_popular-lesson-list.css.scss +69 -0
  54. data/app/assets/stylesheets/components/playlists/_add-to-button.scss +289 -0
  55. data/app/assets/stylesheets/components/playlists/_playlist.css.scss +29 -0
  56. data/app/assets/stylesheets/components/technology/_technology-pages.css.scss +3 -0
  57. data/app/assets/stylesheets/components/technology/page-all-technologies/_page-all-technologies.css.scss +798 -0
  58. data/app/assets/stylesheets/components/technology/page-single-technology/_page-single-technology.css.scss +1 -0
  59. data/app/assets/stylesheets/components/technology/shared/_shared.css.scss +66 -0
  60. data/app/assets/stylesheets/globals/_bootstrap-and-overrides.css.scss +66 -0
  61. data/app/assets/stylesheets/globals/_colors.css.scss +23 -0
  62. data/app/assets/stylesheets/globals/_fonts.css.scss +1533 -0
  63. data/app/assets/stylesheets/globals/_grid-helpers.scss +26 -0
  64. data/app/assets/stylesheets/globals/_mixins.css.scss +129 -0
  65. data/app/assets/stylesheets/globals/_variables.css.scss +144 -0
  66. data/app/assets/stylesheets/plugins/chosen.css.scss +93 -0
  67. data/app/assets/stylesheets/plugins/flipclock.css.scss +440 -0
  68. data/app/assets/stylesheets/sections/_footer.css.scss +87 -0
  69. data/app/assets/stylesheets/sections/_header.css.scss +256 -0
  70. data/app/assets/stylesheets/sections/_hero.css.scss +455 -0
  71. data/app/assets/stylesheets/shared/_alerts.css.scss +46 -0
  72. data/app/assets/stylesheets/shared/_buttons.css.scss +54 -0
  73. data/app/assets/stylesheets/shared/_forms.css.scss +478 -0
  74. data/app/assets/stylesheets/shared/_miscellaneous.scss +7 -0
  75. data/app/assets/stylesheets/shared/_pagination.scss +80 -0
  76. data/app/assets/stylesheets/shared/_styles.css.scss +1373 -0
  77. data/app/assets/stylesheets/shared/_titles.css.scss +39 -0
  78. data/app/assets/stylesheets/shared/_typography.css.scss +305 -0
  79. data/lib/egghead/styles.rb +10 -0
  80. data/lib/egghead/styles/version.rb +5 -0
  81. metadata +152 -0
@@ -0,0 +1,26 @@
1
+ /* Grid Helpers */
2
+
3
+ // Flexbox-helpers
4
+ .flexbox-row {
5
+ display: flex;
6
+ flex-direction: row;
7
+ }
8
+ .flexbox-column {
9
+ display: flex;
10
+ flex-direction: column;
11
+ }
12
+ .flexbox-between {
13
+ display: flex;
14
+ justify-content: space-between;
15
+ }
16
+
17
+ @include respond-to(phones) {
18
+ .xs-flexbox-row {
19
+ display: flex;
20
+ flex-direction: row;
21
+ }
22
+ .xs-flexbox-column {
23
+ display: flex;
24
+ flex-direction: column;
25
+ }
26
+ }
@@ -0,0 +1,129 @@
1
+ // Different devices resolutions
2
+ @mixin respond-to($media) {
3
+ @if $media == phones {
4
+ @media only screen and (max-width: $screen-xs-max) { @content; }
5
+ }
6
+ @else if $media == tablets-small {
7
+ @media only screen and (max-width: $screen-sm-max) { @content; }
8
+ }
9
+ @else if $media == tablets-large {
10
+ @media only screen and (max-width: $screen-md-max) { @content; }
11
+ }
12
+ @else if $media == desktops {
13
+ @media only screen and (min-width: $screen-lg-min) { @content; }
14
+ }
15
+ }
16
+
17
+
18
+ // Buttons
19
+ @mixin custom-btn($button-class, $border-radius, $background, $background-hover, $color, $color-hover, $border, $border-hover) {
20
+ .custom-btn.#{$button-class} {
21
+ @include transition(150ms);
22
+ display: inline-block;
23
+ background: #{$background};
24
+ color: #{$color};
25
+ border-style: solid;
26
+ border-width: 0 0 4px 0;
27
+ border-color: #{$border};
28
+ border-radius: #{$border-radius};
29
+ text-decoration: none;
30
+ box-shadow: none;
31
+ }
32
+ .custom-btn.#{$button-class}:hover {
33
+ background: #{$background-hover};
34
+ color: #{$color-hover};
35
+ border-color: #{$border-hover};
36
+ text-decoration: none;
37
+ box-shadow: none;
38
+ }
39
+ }
40
+
41
+ @mixin custom-btn-sizes($size-class, $font-size, $font-size-tablets, $font-size-phones, $line-height, $line-height-tablets, $line-height-phones, $padding, $padding-tablets, $padding-phones) {
42
+ .custom-btn.#{$size-class} {
43
+ font-size: $font-size;
44
+ line-height: $line-height;
45
+ padding: $padding;
46
+ font-weight: 700;
47
+ @include respond-to(tablets-small) {
48
+ font-size: $font-size-tablets;
49
+ line-height: $line-height-tablets;
50
+ padding: $padding-tablets;
51
+ }
52
+ @include respond-to(phones) {
53
+ font-size: $font-size-phones;
54
+ line-height: $line-height-phones;
55
+ padding: $padding-phones;
56
+ }
57
+ }
58
+ }
59
+
60
+ // Labels
61
+ @mixin custom-label($label-class, $background, $background-hover) {
62
+ .custom-label.#{$label-class} {
63
+ display: inline;
64
+ border-radius: 3px;
65
+ padding: 3px 10px;
66
+ color: #ffffff;
67
+ font-size: 14px;
68
+ text-decoration: none;
69
+ background: $background;
70
+ &:hover {
71
+ text-decoration: none;
72
+ background: $background-hover;
73
+ }
74
+ &.super {
75
+ vertical-align: super;
76
+ }
77
+ }
78
+ }
79
+
80
+ // Placeholder text
81
+ @mixin custom-placeholder($color: $input-color-placeholder, $font-size: $input-font-size-placeholder, $line-height: $input-line-height-placeholder) {
82
+ &:-moz-placeholder {
83
+ color: $color;
84
+ font-size: $font-size;
85
+ line-height: $line-height;
86
+ opacity: 1;
87
+ }
88
+ &::-moz-placeholder {
89
+ color: $color;
90
+ font-size: $font-size;
91
+ line-height: $line-height;
92
+ opacity: 1;
93
+ }
94
+ &:-ms-input-placeholder {
95
+ color: $color;
96
+ font-size: $font-size;
97
+ line-height: $line-height;
98
+ opacity: 1;
99
+ }
100
+ &::-webkit-input-placeholder {
101
+ color: $color;
102
+ font-size: $font-size;
103
+ line-height: $line-height;
104
+ opacity: 1;
105
+ }
106
+ }
107
+
108
+ // Tech Logos
109
+ @mixin tech-logos($logo-class, $background-position, $background-position-mobile) {
110
+ &.overlay-#{$logo-class} {
111
+ &:after {
112
+ background-position: right $background-position;
113
+ @include respond-to(tablets-small) {
114
+ background-position: right $background-position-mobile;
115
+ }
116
+ }
117
+ }
118
+ }
119
+
120
+ @mixin font-smoothing($value: on) {
121
+ @if $value == on {
122
+ -webkit-font-smoothing: antialiased;
123
+ -moz-osx-font-smoothing: grayscale;
124
+ }
125
+ @else {
126
+ -webkit-font-smoothing: subpixel-antialiased;
127
+ -moz-osx-font-smoothing: auto;
128
+ }
129
+ }
@@ -0,0 +1,144 @@
1
+ /* MAIN COLOR SCHEME */
2
+
3
+ // Reds
4
+ $site-color-red-dim: #ef494f;
5
+ $site-color-red: #e13137;
6
+ // Blues
7
+ $site-color-blue-dim: #579edb;
8
+ $site-color-blue: #428bca;
9
+ $site-color-blue-calypso: #2e618d;
10
+ // Greens
11
+ $site-color-green: #5ba82c;
12
+ $site-color-green-dim: #6fab4a;
13
+ $site-color-green-light: #e0f1e0;
14
+ $site-color-apple: #5b9637;
15
+ // Grays
16
+ $site-color-white: #ffffff;
17
+ $site-color-light-grey: #f9f9f9;
18
+ $site-color-grey: #f2f2f2;
19
+ $site-color-harp: #e8f4ed;
20
+ $site-color-blue-light: #ebf9fe;
21
+ $site-color-gallery: #ebebeb;
22
+ $site-color-silver: #c6c6c6;
23
+ $site-color-silver-chalice: #a1a1a1;
24
+ $site-color-dusty-gray: #959595;
25
+ $site-color-light-graphite: #898989;
26
+ $site-color-boulder: #797979;
27
+ $site-color-medium-graphite: #555555;
28
+ $site-color-dark-graphite: #363636;
29
+ $site-color-grey-dark: #252525;
30
+ $site-color-black: #000000;
31
+
32
+ $site-color-magenta: #d0254d;
33
+ $site-color-teal: #42ace3;
34
+
35
+ //Brands Colors
36
+ $site-color-github: #333333;
37
+
38
+ /* GENERAL */
39
+ $body-font-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
40
+ $body-font-size: 20px;
41
+ $body-font-size-tablets-large: 18px;
42
+ $body-font-size-tablets-small: 16px;
43
+ $body-font-size-phones: 14px;
44
+ $body-line-height: 22px;
45
+ $body-font-weight: 400;
46
+ $body-font-color: $site-color-medium-graphite;
47
+ $section-even-bg: $site-color-grey;
48
+
49
+ $link-color: $site-color-blue-calypso;
50
+ $link-color-underline: #8fb4db;
51
+ $link-active-color: $site-color-blue;
52
+ $link-visited-color: #780080;
53
+
54
+ $assets-path: '../assets/';
55
+
56
+ /* BUTTONS */
57
+ $button-color: #ffffff;
58
+ $button-color-active: #ffffff;
59
+
60
+ $button-red-bg: $site-color-red-dim;
61
+ $button-red-bg-active: $site-color-red;
62
+ $button-red-border: #a73337;
63
+ $button-red-border-active: #9d2226;
64
+
65
+ $button-blue-bg: $site-color-blue-dim;
66
+ $button-blue-bg-active: $site-color-blue;
67
+ $button-blue-border: #3d6e99;
68
+ $button-blue-border-active: $site-color-blue-calypso;
69
+
70
+ $button-green-bg: $site-color-apple;
71
+ $button-green-bg-active: $site-color-green;
72
+ $button-green-border: #4d7734;
73
+ $button-green-border-active: #3e6924;
74
+
75
+ $button-grey-bg-dark: #373636;
76
+ $button-grey-bg-dark-active: #636161;
77
+
78
+ $button-grey-bg: $site-color-light-graphite;
79
+ $button-grey-bg-active: #646464;
80
+ $button-grey-border: #606060;
81
+ $button-grey-border-active: #454545;
82
+
83
+ $button-graphite-bg: $site-color-dark-graphite;
84
+ $button-graphite-bg-active: #292727;
85
+ $button-graphite-border: #262626;
86
+ $button-graphite-border-active: #121212;
87
+
88
+ /* FORMS */
89
+ $input-border-color: $site-color-gallery;
90
+
91
+ /* HEADER */
92
+ $header-bg: #262626;
93
+ $header-navigation-menu-item-font-size: 16px;
94
+ $header-navigation-menu-item-font-weight: 600;
95
+ $header-navigation-menu-item-font-tablets: 14px;
96
+ $header-navigation-menu-item-line-height: 20px;
97
+ $header-navigation-menu-item-color: #b7b7b7;
98
+ $header-navigation-menu-item-color-hover: #ffffff;
99
+ $header-navigation-menu-item-padding: 5px 10px;
100
+ $header-navigation-menu-item-padding-tablets: 5px 7px;
101
+ $header-search-field-bg: #333333;
102
+
103
+ /* HERO */
104
+ $hero-title-color: #ffffff;
105
+ $hero-subtitle-font-size: 28px;
106
+ $hero-subtitle-font-size-tablets: 22px;
107
+ $hero-subtitle-font-size-phones: 18px;
108
+ $hero-subtitle-color: #b7b7b7;
109
+
110
+
111
+ /* LESSON FRAME */
112
+ $lesson-playlist-background: $site-color-grey-dark;
113
+ $lesson-playlist-action-color: $site-color-light-graphite;
114
+ $lesson-playlist-action-disabled-color: #474747;
115
+ $lesson-playlist-items-border: #303030;
116
+
117
+ /* SUBSCRIPTION section */
118
+ $subscription-item-bg: $site-color-blue-light;
119
+ $subscription-item-pro-bg: #ffffff;
120
+
121
+ /* TABS HOLDER */
122
+ $tab-color: $site-color-dark-graphite;
123
+ $tab-color-active: #ffffff;
124
+ $tab-bg: none;
125
+ $tab-bg-active: $site-color-blue;
126
+ $tab-pane-bg: $site-color-grey;
127
+
128
+ /* PAGINATION */
129
+ $pagination-links-border-color: $site-color-silver;
130
+
131
+ /* FOOTER */
132
+ $footer-bg: #333333;
133
+ $footer-titles-color: #ffffff;
134
+ $footer-color: #b7b7b7;
135
+
136
+ /* MISCELANEOUS */
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
@@ -0,0 +1,93 @@
1
+ //Chosen's styles override
2
+ .chosen-container {
3
+ width: 100% !important;
4
+ font-size: 20px;
5
+ background: $site-color-white;
6
+ .chosen-single {
7
+ font-size: 20px;
8
+ line-height: 28px;
9
+ border: 2px solid $site-color-silver;
10
+ padding: 9px 10px 9px 20px;
11
+ border-radius: 0;
12
+ background: none;
13
+ height: 50px;
14
+ box-shadow: none;
15
+ color: $site-color-medium-graphite;
16
+ }
17
+ .chosen-results {
18
+ margin-bottom: 0;
19
+ li.active-result {
20
+ &.highlighted {
21
+ background: $site-color-blue;
22
+ }
23
+ }
24
+ }
25
+ &.chosen-select-small {
26
+ .chosen-single {
27
+ padding: 3px 10px 3px 10px;
28
+ height: 34px;
29
+ border-width: 1px;
30
+ }
31
+ }
32
+ }
33
+ .chosen-container-single .chosen-single div {
34
+ right: 10px;
35
+ b {
36
+ text-align: center;
37
+ background: none !important;
38
+ &:before {
39
+ color: $site-color-blue;
40
+ line-height: 46px;
41
+ font-family: 'FontAwesome';
42
+ content: "\f0d7";
43
+ }
44
+ }
45
+ }
46
+ .chosen-select-small {
47
+ &.chosen-container-single .chosen-single div {
48
+ b {
49
+ &:before {
50
+ line-height: 34px;
51
+ }
52
+ }
53
+ }
54
+ }
55
+ .chosen-container-active.chosen-with-drop .chosen-single {
56
+ border-radius: 0;
57
+ background: none;
58
+ box-shadow: none;
59
+ border: 2px solid $site-color-gallery;
60
+ div {
61
+ b {
62
+ text-align: center;
63
+ background: none;
64
+ &:before {
65
+ color: $site-color-blue;
66
+ line-height: 46px;
67
+ font-family: 'FontAwesome';
68
+ content: "\f0d8";
69
+ }
70
+ }
71
+ }
72
+ }
73
+ .chosen-select-small.chosen-container-active.chosen-with-drop .chosen-single {
74
+ border-width: 1px;
75
+ div {
76
+ b {
77
+ &:before {
78
+ line-height: 34px;
79
+ }
80
+ }
81
+ }
82
+ }
83
+ .chosen-container .chosen-drop {
84
+ border-radius: 0;
85
+ border-width: 0 2px 2px 2px;
86
+ border-color: $site-color-gallery;
87
+ box-shadow: none;
88
+ margin-top: 0;
89
+ padding: 10px 0;
90
+ }
91
+ .chosen-select-small.chosen-container .chosen-drop {
92
+ border-width: 0 1px 1px 1px;
93
+ }
@@ -0,0 +1,440 @@
1
+ /* Get the bourbon mixin from http://bourbon.io */
2
+ /* Reset */
3
+ #clock-wrapper {
4
+ width: 650px;
5
+ -webkit-transform: scale(0.6);
6
+ position: relative;
7
+ left: 50%;
8
+ margin: 0 0 -10px 0;
9
+ margin-left: -325px;
10
+ }
11
+
12
+ .flip-clock-wrapper * {
13
+ -webkit-box-sizing: border-box;
14
+ -moz-box-sizing: border-box;
15
+ -ms-box-sizing: border-box;
16
+ -o-box-sizing: border-box;
17
+ box-sizing: border-box;
18
+ -webkit-backface-visibility: hidden;
19
+ -moz-backface-visibility: hidden;
20
+ -ms-backface-visibility: hidden;
21
+ -o-backface-visibility: hidden;
22
+ backface-visibility: hidden;
23
+ }
24
+
25
+ .flip-clock-wrapper a {
26
+ cursor: pointer;
27
+ text-decoration: none;
28
+ color: #ccc; }
29
+
30
+ .flip-clock-wrapper a:hover {
31
+ color: #fff; }
32
+
33
+ .flip-clock-wrapper ul {
34
+ list-style: none; }
35
+
36
+ .flip-clock-wrapper.clearfix:before,
37
+ .flip-clock-wrapper.clearfix:after {
38
+ content: " ";
39
+ display: table; }
40
+
41
+ .flip-clock-wrapper.clearfix:after {
42
+ clear: both; }
43
+
44
+ .flip-clock-wrapper.clearfix {
45
+ *zoom: 1; }
46
+
47
+ /* Main */
48
+ .flip-clock-wrapper {
49
+ font: normal 11px "Helvetica Neue", Helvetica, sans-serif;
50
+ -webkit-user-select: none; }
51
+
52
+ .flip-clock-meridium {
53
+ background: none !important;
54
+ box-shadow: 0 0 0 !important;
55
+ font-size: 36px !important; }
56
+
57
+ .flip-clock-meridium a { color: #313333; }
58
+
59
+ .flip-clock-wrapper {
60
+ text-align: center;
61
+ position: relative;
62
+ width: 100%;
63
+ margin: 1em;
64
+ }
65
+
66
+ .flip-clock-wrapper:before,
67
+ .flip-clock-wrapper:after {
68
+ content: " "; /* 1 */
69
+ display: table; /* 2 */
70
+ }
71
+ .flip-clock-wrapper:after {
72
+ clear: both;
73
+ }
74
+
75
+ /* Skeleton */
76
+ .flip-clock-wrapper ul {
77
+ position: relative;
78
+ float: left;
79
+ margin: 5px;
80
+ width: 60px;
81
+ height: 90px;
82
+ font-size: 80px;
83
+ font-weight: bold;
84
+ line-height: 87px;
85
+ border-radius: 6px;
86
+ background: #000;
87
+ }
88
+
89
+ .flip-clock-wrapper ul li {
90
+ z-index: 1;
91
+ position: absolute;
92
+ left: 0;
93
+ top: 0;
94
+ width: 100%;
95
+ height: 100%;
96
+ line-height: 87px;
97
+ text-decoration: none !important;
98
+ }
99
+
100
+ .flip-clock-wrapper ul li:first-child {
101
+ z-index: 2; }
102
+
103
+ .flip-clock-wrapper ul li a {
104
+ display: block;
105
+ height: 100%;
106
+ -webkit-perspective: 200px;
107
+ -moz-perspective: 200px;
108
+ perspective: 200px;
109
+ margin: 0 !important;
110
+ overflow: visible !important;
111
+ cursor: default !important; }
112
+
113
+ .flip-clock-wrapper ul li a div {
114
+ z-index: 1;
115
+ position: absolute;
116
+ left: 0;
117
+ width: 100%;
118
+ height: 50%;
119
+ font-size: 80px;
120
+ overflow: hidden;
121
+ outline: 1px solid transparent; }
122
+
123
+ .flip-clock-wrapper ul li a div .shadow {
124
+ position: absolute;
125
+ width: 100%;
126
+ height: 100%;
127
+ z-index: 2; }
128
+
129
+ .flip-clock-wrapper ul li a div.up {
130
+ -webkit-transform-origin: 50% 100%;
131
+ -moz-transform-origin: 50% 100%;
132
+ -ms-transform-origin: 50% 100%;
133
+ -o-transform-origin: 50% 100%;
134
+ transform-origin: 50% 100%;
135
+ top: 0; }
136
+
137
+ .flip-clock-wrapper ul li a div.up:after {
138
+ content: "";
139
+ position: absolute;
140
+ top: 44px;
141
+ left: 0;
142
+ z-index: 5;
143
+ width: 100%;
144
+ height: 3px;
145
+ background-color: #000;
146
+ background-color: rgba(0, 0, 0, 0.4); }
147
+
148
+ .flip-clock-wrapper ul li a div.down {
149
+ -webkit-transform-origin: 50% 0;
150
+ -moz-transform-origin: 50% 0;
151
+ -ms-transform-origin: 50% 0;
152
+ -o-transform-origin: 50% 0;
153
+ transform-origin: 50% 0;
154
+ bottom: 0;
155
+ border-bottom-left-radius: 6px;
156
+ border-bottom-right-radius: 6px;
157
+ }
158
+
159
+ .flip-clock-wrapper ul li a div div.inn {
160
+ position: absolute;
161
+ left: 0;
162
+ z-index: 1;
163
+ width: 100%;
164
+ height: 200%;
165
+ color: #ccc;
166
+ text-shadow: 0 1px 2px #000;
167
+ text-align: center;
168
+ background-color: #333;
169
+ border-radius: 6px;
170
+ font-size: 70px; }
171
+
172
+ .flip-clock-wrapper ul li a div.up div.inn {
173
+ top: 0; }
174
+
175
+ .flip-clock-wrapper ul li a div.down div.inn {
176
+ bottom: 0; }
177
+
178
+ /* PLAY */
179
+ .flip-clock-wrapper ul.play li.flip-clock-before {
180
+ z-index: 3; }
181
+
182
+ .flip-clock-wrapper .flip { box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7); }
183
+
184
+ .flip-clock-wrapper ul.play li.flip-clock-active {
185
+ -webkit-animation: asd 0.5s 0.5s linear both;
186
+ -moz-animation: asd 0.5s 0.5s linear both;
187
+ animation: asd 0.5s 0.5s linear both;
188
+ z-index: 5; }
189
+
190
+ .flip-clock-divider {
191
+ float: left;
192
+ display: inline-block;
193
+ position: relative;
194
+ width: 20px;
195
+ height: 100px; }
196
+
197
+ .flip-clock-divider:first-child {
198
+ width: 0; }
199
+
200
+ .flip-clock-dot {
201
+ display: block;
202
+ background: #323434;
203
+ width: 10px;
204
+ height: 10px;
205
+ position: absolute;
206
+ border-radius: 50%;
207
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
208
+ left: 5px; }
209
+
210
+ .flip-clock-divider .flip-clock-label {
211
+ position: absolute;
212
+ top: -1.5em;
213
+ right: -86px;
214
+ color: black;
215
+ text-shadow: none; }
216
+
217
+ .flip-clock-divider.minutes .flip-clock-label {
218
+ right: -88px; }
219
+
220
+ .flip-clock-divider.seconds .flip-clock-label {
221
+ right: -91px; }
222
+
223
+ .flip-clock-dot.top {
224
+ top: 30px; }
225
+
226
+ .flip-clock-dot.bottom {
227
+ bottom: 30px; }
228
+
229
+ @-webkit-keyframes asd {
230
+ 0% {
231
+ z-index: 2; }
232
+
233
+ 20% {
234
+ z-index: 4; }
235
+
236
+ 100% {
237
+ z-index: 4; } }
238
+
239
+ @-moz-keyframes asd {
240
+ 0% {
241
+ z-index: 2; }
242
+
243
+ 20% {
244
+ z-index: 4; }
245
+
246
+ 100% {
247
+ z-index: 4; } }
248
+
249
+ @-o-keyframes asd {
250
+ 0% {
251
+ z-index: 2; }
252
+
253
+ 20% {
254
+ z-index: 4; }
255
+
256
+ 100% {
257
+ z-index: 4; } }
258
+
259
+ @keyframes asd {
260
+ 0% {
261
+ z-index: 2; }
262
+
263
+ 20% {
264
+ z-index: 4; }
265
+
266
+ 100% {
267
+ z-index: 4; } }
268
+
269
+ .flip-clock-wrapper ul.play li.flip-clock-active .down {
270
+ z-index: 2;
271
+ -webkit-animation: turn 0.5s 0.5s linear both;
272
+ -moz-animation: turn 0.5s 0.5s linear both;
273
+ animation: turn 0.5s 0.5s linear both; }
274
+
275
+ @-webkit-keyframes turn {
276
+ 0% {
277
+ -webkit-transform: rotateX(90deg); }
278
+
279
+ 100% {
280
+ -webkit-transform: rotateX(0deg); } }
281
+
282
+ @-moz-keyframes turn {
283
+ 0% {
284
+ -moz-transform: rotateX(90deg); }
285
+
286
+ 100% {
287
+ -moz-transform: rotateX(0deg); } }
288
+
289
+ @-o-keyframes turn {
290
+ 0% {
291
+ -o-transform: rotateX(90deg); }
292
+
293
+ 100% {
294
+ -o-transform: rotateX(0deg); } }
295
+
296
+ @keyframes turn {
297
+ 0% {
298
+ transform: rotateX(90deg); }
299
+
300
+ 100% {
301
+ transform: rotateX(0deg); } }
302
+
303
+ .flip-clock-wrapper ul.play li.flip-clock-before .up {
304
+ z-index: 2;
305
+ -webkit-animation: turn2 0.5s linear both;
306
+ -moz-animation: turn2 0.5s linear both;
307
+ animation: turn2 0.5s linear both; }
308
+
309
+ @-webkit-keyframes turn2 {
310
+ 0% {
311
+ -webkit-transform: rotateX(0deg); }
312
+
313
+ 100% {
314
+ -webkit-transform: rotateX(-90deg); } }
315
+
316
+ @-moz-keyframes turn2 {
317
+ 0% {
318
+ -moz-transform: rotateX(0deg); }
319
+
320
+ 100% {
321
+ -moz-transform: rotateX(-90deg); } }
322
+
323
+ @-o-keyframes turn2 {
324
+ 0% {
325
+ -o-transform: rotateX(0deg); }
326
+
327
+ 100% {
328
+ -o-transform: rotateX(-90deg); } }
329
+
330
+ @keyframes turn2 {
331
+ 0% {
332
+ transform: rotateX(0deg); }
333
+
334
+ 100% {
335
+ transform: rotateX(-90deg); } }
336
+
337
+ .flip-clock-wrapper ul li.flip-clock-active {
338
+ z-index: 3; }
339
+
340
+ /* SHADOW */
341
+ .flip-clock-wrapper ul.play li.flip-clock-before .up .shadow {
342
+ background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.1) 0%, black 100%);
343
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0.1)), color-stop(100%, black));
344
+ background: linear, top, rgba(0, 0, 0, 0.1) 0%, black 100%;
345
+ background: -o-linear-gradient(top, rgba(0, 0, 0, 0.1) 0%, black 100%);
346
+ background: -ms-linear-gradient(top, rgba(0, 0, 0, 0.1) 0%, black 100%);
347
+ background: linear, to bottom, rgba(0, 0, 0, 0.1) 0%, black 100%;
348
+ -webkit-animation: show 0.5s linear both;
349
+ -moz-animation: show 0.5s linear both;
350
+ animation: show 0.5s linear both; }
351
+
352
+ .flip-clock-wrapper ul.play li.flip-clock-active .up .shadow {
353
+ background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.1) 0%, black 100%);
354
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0.1)), color-stop(100%, black));
355
+ background: linear, top, rgba(0, 0, 0, 0.1) 0%, black 100%;
356
+ background: -o-linear-gradient(top, rgba(0, 0, 0, 0.1) 0%, black 100%);
357
+ background: -ms-linear-gradient(top, rgba(0, 0, 0, 0.1) 0%, black 100%);
358
+ background: linear, to bottom, rgba(0, 0, 0, 0.1) 0%, black 100%;
359
+ -webkit-animation: hide 0.5s 0.3s linear both;
360
+ -moz-animation: hide 0.5s 0.3s linear both;
361
+ animation: hide 0.5s 0.3s linear both; }
362
+
363
+ /*DOWN*/
364
+ .flip-clock-wrapper ul.play li.flip-clock-before .down .shadow {
365
+ background: -moz-linear-gradient(top, black 0%, rgba(0, 0, 0, 0.1) 100%);
366
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, black), color-stop(100%, rgba(0, 0, 0, 0.1)));
367
+ background: linear, top, black 0%, rgba(0, 0, 0, 0.1) 100%;
368
+ background: -o-linear-gradient(top, black 0%, rgba(0, 0, 0, 0.1) 100%);
369
+ background: -ms-linear-gradient(top, black 0%, rgba(0, 0, 0, 0.1) 100%);
370
+ background: linear, to bottom, black 0%, rgba(0, 0, 0, 0.1) 100%;
371
+ -webkit-animation: show 0.5s linear both;
372
+ -moz-animation: show 0.5s linear both;
373
+ animation: show 0.5s linear both; }
374
+
375
+ .flip-clock-wrapper ul.play li.flip-clock-active .down .shadow {
376
+ background: -moz-linear-gradient(top, black 0%, rgba(0, 0, 0, 0.1) 100%);
377
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, black), color-stop(100%, rgba(0, 0, 0, 0.1)));
378
+ background: linear, top, black 0%, rgba(0, 0, 0, 0.1) 100%;
379
+ background: -o-linear-gradient(top, black 0%, rgba(0, 0, 0, 0.1) 100%);
380
+ background: -ms-linear-gradient(top, black 0%, rgba(0, 0, 0, 0.1) 100%);
381
+ background: linear, to bottom, black 0%, rgba(0, 0, 0, 0.1) 100%;
382
+ -webkit-animation: hide 0.5s 0.3s linear both;
383
+ -moz-animation: hide 0.5s 0.3s linear both;
384
+ animation: hide 0.5s 0.2s linear both; }
385
+
386
+ @-webkit-keyframes show {
387
+ 0% {
388
+ opacity: 0; }
389
+
390
+ 100% {
391
+ opacity: 1; } }
392
+
393
+ @-moz-keyframes show {
394
+ 0% {
395
+ opacity: 0; }
396
+
397
+ 100% {
398
+ opacity: 1; } }
399
+
400
+ @-o-keyframes show {
401
+ 0% {
402
+ opacity: 0; }
403
+
404
+ 100% {
405
+ opacity: 1; } }
406
+
407
+ @keyframes show {
408
+ 0% {
409
+ opacity: 0; }
410
+
411
+ 100% {
412
+ opacity: 1; } }
413
+
414
+ @-webkit-keyframes hide {
415
+ 0% {
416
+ opacity: 1; }
417
+
418
+ 100% {
419
+ opacity: 0; } }
420
+
421
+ @-moz-keyframes hide {
422
+ 0% {
423
+ opacity: 1; }
424
+
425
+ 100% {
426
+ opacity: 0; } }
427
+
428
+ @-o-keyframes hide {
429
+ 0% {
430
+ opacity: 1; }
431
+
432
+ 100% {
433
+ opacity: 0; } }
434
+
435
+ @keyframes hide {
436
+ 0% {
437
+ opacity: 1; }
438
+
439
+ 100% {
440
+ opacity: 0; } }