english_tea 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/Gemfile +6 -0
  4. data/LICENSE.txt +21 -0
  5. data/README.md +37 -0
  6. data/Rakefile +10 -0
  7. data/app/assets/stylesheets/english_tea/all.scss +154 -0
  8. data/app/assets/stylesheets/english_tea/border/_index.scss +77 -0
  9. data/app/assets/stylesheets/english_tea/buttons/_index.scss +44 -0
  10. data/app/assets/stylesheets/english_tea/color/_border.scss +32 -0
  11. data/app/assets/stylesheets/english_tea/color/_buttons.scss +182 -0
  12. data/app/assets/stylesheets/english_tea/color/_index.scss +57 -0
  13. data/app/assets/stylesheets/english_tea/color/_jobs.scss +46 -0
  14. data/app/assets/stylesheets/english_tea/color/_social.scss +21 -0
  15. data/app/assets/stylesheets/english_tea/color/_status.scss +25 -0
  16. data/app/assets/stylesheets/english_tea/dimension/_margin.scss +196 -0
  17. data/app/assets/stylesheets/english_tea/dimension/_padding.scss +166 -0
  18. data/app/assets/stylesheets/english_tea/dimension/_position.scss +80 -0
  19. data/app/assets/stylesheets/english_tea/forms/_autocomplete.scss +67 -0
  20. data/app/assets/stylesheets/english_tea/forms/_choices.scss +204 -0
  21. data/app/assets/stylesheets/english_tea/forms/_datepicker.scss +142 -0
  22. data/app/assets/stylesheets/english_tea/forms/_index.scss +246 -0
  23. data/app/assets/stylesheets/english_tea/forms/_media.scss +61 -0
  24. data/app/assets/stylesheets/english_tea/forms/_numeric.scss +47 -0
  25. data/app/assets/stylesheets/english_tea/forms/_range.scss +124 -0
  26. data/app/assets/stylesheets/english_tea/forms/_select.scss +398 -0
  27. data/app/assets/stylesheets/english_tea/forms/_text.scss +51 -0
  28. data/app/assets/stylesheets/english_tea/forms/_uploader.scss +51 -0
  29. data/app/assets/stylesheets/english_tea/layout/_alignment.scss +89 -0
  30. data/app/assets/stylesheets/english_tea/layout/_clearfix.scss +15 -0
  31. data/app/assets/stylesheets/english_tea/layout/_display.scss +93 -0
  32. data/app/assets/stylesheets/english_tea/layout/_flex.scss +266 -0
  33. data/app/assets/stylesheets/english_tea/layout/_float.scss +33 -0
  34. data/app/assets/stylesheets/english_tea/layout/_grid.scss +210 -0
  35. data/app/assets/stylesheets/english_tea/layout/_layers.scss +11 -0
  36. data/app/assets/stylesheets/english_tea/layout/_position.scss +36 -0
  37. data/app/assets/stylesheets/english_tea/layout/_sizing.scss +264 -0
  38. data/app/assets/stylesheets/english_tea/layout/_visibility.scss +121 -0
  39. data/app/assets/stylesheets/english_tea/marketing/_double_login.scss +10 -0
  40. data/app/assets/stylesheets/english_tea/marketing/_index.scss +1350 -0
  41. data/app/assets/stylesheets/english_tea/media/_icons.scss +61 -0
  42. data/app/assets/stylesheets/english_tea/modules/_avatars.scss +40 -0
  43. data/app/assets/stylesheets/english_tea/modules/_billing.scss +60 -0
  44. data/app/assets/stylesheets/english_tea/modules/_box-shadow.scss +11 -0
  45. data/app/assets/stylesheets/english_tea/modules/_bubbles.scss +36 -0
  46. data/app/assets/stylesheets/english_tea/modules/_celebrate.scss +27 -0
  47. data/app/assets/stylesheets/english_tea/modules/_cursors.scss +51 -0
  48. data/app/assets/stylesheets/english_tea/modules/_fadein.scss +38 -0
  49. data/app/assets/stylesheets/english_tea/modules/_index.scss +224 -0
  50. data/app/assets/stylesheets/english_tea/modules/_job_posts.scss +303 -0
  51. data/app/assets/stylesheets/english_tea/modules/_listings.scss +32 -0
  52. data/app/assets/stylesheets/english_tea/modules/_menu.scss +57 -0
  53. data/app/assets/stylesheets/english_tea/modules/_modal.scss +37 -0
  54. data/app/assets/stylesheets/english_tea/modules/_navigation.scss +94 -0
  55. data/app/assets/stylesheets/english_tea/modules/_notification.scss +8 -0
  56. data/app/assets/stylesheets/english_tea/modules/_notifications_stream.scss +18 -0
  57. data/app/assets/stylesheets/english_tea/modules/_overlay.scss +49 -0
  58. data/app/assets/stylesheets/english_tea/modules/_profile.scss +239 -0
  59. data/app/assets/stylesheets/english_tea/modules/_projects.scss +55 -0
  60. data/app/assets/stylesheets/english_tea/modules/_stickybanner.scss +46 -0
  61. data/app/assets/stylesheets/english_tea/modules/_tabs.scss +14 -0
  62. data/app/assets/stylesheets/english_tea/modules/_tiles.scss +401 -0
  63. data/app/assets/stylesheets/english_tea/modules/_tooltips.scss +53 -0
  64. data/app/assets/stylesheets/english_tea/setup/_config.scss +515 -0
  65. data/app/assets/stylesheets/english_tea/setup/_default.scss +286 -0
  66. data/app/assets/stylesheets/english_tea/setup/_functions.scss +110 -0
  67. data/app/assets/stylesheets/english_tea/setup/_mixins.scss +258 -0
  68. data/app/assets/stylesheets/english_tea/setup/_normalize.scss +427 -0
  69. data/app/assets/stylesheets/english_tea/transition/_index.scss +97 -0
  70. data/app/assets/stylesheets/english_tea/typography/_fonts.scss +41 -0
  71. data/app/assets/stylesheets/english_tea/typography/_hierarchy.scss +40 -0
  72. data/app/assets/stylesheets/english_tea/typography/_style.scss +126 -0
  73. data/bin/console +14 -0
  74. data/bin/setup +8 -0
  75. data/english_tea.gemspec +28 -0
  76. data/lib/english_tea/rails/engine.rb +6 -0
  77. data/lib/english_tea/version.rb +3 -0
  78. data/lib/english_tea.rb +5 -0
  79. data/vendor/assets/stylesheets/snapper.scss +83 -0
  80. metadata +179 -0
@@ -0,0 +1,61 @@
1
+ // ==========================================================================
2
+ // Icon styling classes
3
+ // ==========================================================================
4
+
5
+ // TODO: Get rid of this!
6
+ @import '../setup/mixins';
7
+
8
+ .icon
9
+ {
10
+ box-sizing: content-box;
11
+ display: block;
12
+ fill: currentColor;
13
+ height: _rem(map-get($icon-scale, base));
14
+ pointer-events: none; // Avoid svg gobbling click events
15
+ vertical-align: middle;
16
+ width: _rem(map-get($icon-scale, base));
17
+ }
18
+
19
+ @include _bp-prefixer(icon)
20
+ {
21
+ @each $key, $val in $icon-scale
22
+ {
23
+ &-#{$key}
24
+ {
25
+ height: _rem($val);
26
+ width: _rem($val);
27
+ }
28
+ }
29
+ }
30
+
31
+ // ---
32
+ // ENCODED ICON SVGS
33
+ // ---
34
+
35
+ $icon-caret: '%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M7%2010l5%205%205-5z%22/%3E%3C/svg%3E';
36
+
37
+ $icon-plus: '%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M19%2013h-6v6h-2v-6H5v-2h6V5h2v6h6v2z%22%2F%3E%3C%2Fsvg%3E';
38
+
39
+ $icon-upload: '%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%09%3Cpath%20d%3D%22M9%2016h6v-6h4l-7-7-7%207h4zm-4%202h14v2H5z%22/%3E%0A%3C/svg%3E';
40
+
41
+ $icon-photo: '%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M3%204V1h2v3h3v2H5v3H3V6H0V4h3zm3%206V7h3V4h7l1.83%202H21c1.1%200%202%20.9%202%202v12c0%201.1-.9%202-2%202H5c-1.1%200-2-.9-2-2V10h3zm7%209c2.76%200%205-2.24%205-5s-2.24-5-5-5-5%202.24-5%205%202.24%205%205%205zm-3.2-5c0%201.77%201.43%203.2%203.2%203.2s3.2-1.43%203.2-3.2-1.43-3.2-3.2-3.2-3.2%201.43-3.2%203.2z%22/%3E%3C/svg%3E';
42
+
43
+ $icon-prev: '%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M15.41%207.41L14%206l-6%206%206%206%201.41-1.41L10.83%2012z%22/%3E%3C/svg%3E';
44
+
45
+ $icon-prev-rev: '%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M15.41%207.41L14%206l-6%206%206%206%201.41-1.41L10.83%2012z%22%20fill%3D%22%23ffffff%22/%3E%3C/svg%3E';
46
+
47
+ $icon-next: '%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M10%206L8.59%207.41%2013.17%2012l-4.58%204.59L10%2018l6-6z%22/%3E%3C/svg%3E';
48
+
49
+ $icon-next-rev: '%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M10%206L8.59%207.41%2013.17%2012l-4.58%204.59L10%2018l6-6z%22%20fill%3D%22%23ffffff%22/%3E%3C/svg%3E';
50
+
51
+ $icon-check-simple: '%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M9%2016.2L4.8%2012l-1.4%201.4L9%2019%2021%207l-1.4-1.4L9%2016.2z%22%20fill%3D%22%23ffffff%22/%3E%3C/svg%3E';
52
+
53
+ $icon-delete: '%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M6%2019c0%201.1.9%202%202%202h8c1.1%200%202-.9%202-2V7H6v12zm2.46-7.12l1.41-1.41L12%2012.59l2.12-2.12%201.41%201.41L13.41%2014l2.12%202.12-1.41%201.41L12%2015.41l-2.12%202.12-1.41-1.41L10.59%2014l-2.13-2.12zM15.5%204l-1-1h-5l-1%201H5v2h14V4z%22/%3E%3C/svg%3E';
54
+
55
+ $icon-search: '%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M15.5%2014h-.79l-.28-.27C15.41%2012.59%2016%2011.11%2016%209.5%2016%205.91%2013.09%203%209.5%203S3%205.91%203%209.5%205.91%2016%209.5%2016c1.61%200%203.09-.59%204.23-1.57l.27.28v.79l5%204.99L20.49%2019l-4.99-5zm-6%200C7.01%2014%205%2011.99%205%209.5S7.01%205%209.5%205%2014%207.01%2014%209.5%2011.99%2014%209.5%2014z%22%20/%3E%3C/svg%3E';
56
+
57
+ $icon-search-light: '%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M15.5%2014h-.79l-.28-.27C15.41%2012.59%2016%2011.11%2016%209.5%2016%205.91%2013.09%203%209.5%203S3%205.91%203%209.5%205.91%2016%209.5%2016c1.61%200%203.09-.59%204.23-1.57l.27.28v.79l5%204.99L20.49%2019l-4.99-5zm-6%200C7.01%2014%205%2011.99%205%209.5S7.01%205%209.5%205%2014%207.01%2014%209.5%2011.99%2014%209.5%2014z%22%20fill%3D%22%23cccccc%22%20/%3E%3C/svg%3E';
58
+
59
+ $icon-location: '%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12%202C8.13%202%205%205.13%205%209c0%205.25%207%2013%207%2013s7-7.75%207-13c0-3.87-3.13-7-7-7zm0%209.5c-1.38%200-2.5-1.12-2.5-2.5s1.12-2.5%202.5-2.5%202.5%201.12%202.5%202.5-1.12%202.5-2.5%202.5z%22/%3E%3C/svg%3E';
60
+
61
+ $icon-location-light: '%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12%202C8.13%202%205%205.13%205%209c0%205.25%207%2013%207%2013s7-7.75%207-13c0-3.87-3.13-7-7-7zm0%209.5c-1.38%200-2.5-1.12-2.5-2.5s1.12-2.5%202.5-2.5%202.5%201.12%202.5%202.5-1.12%202.5-2.5%202.5z%22%20fill%3D%22%23cccccc%22/%3E%3C/svg%3E';
@@ -0,0 +1,40 @@
1
+ // ==========================================================================
2
+ // Various shorthand classes for user avatar sizing
3
+ // ==========================================================================
4
+
5
+ @include _bp-prefixer(avatar)
6
+ {
7
+ &
8
+ {
9
+ display: block;
10
+ height: _rem($base-rhythm * 5);
11
+ width: _rem($base-rhythm * 5);
12
+ }
13
+
14
+ &-tiny
15
+ {
16
+ display: block;
17
+ height: _rem($base-rhythm * 3);
18
+ width: _rem($base-rhythm * 3);
19
+ }
20
+
21
+ &-small
22
+ {
23
+ display: block;
24
+ height: _rem($base-rhythm * 4);
25
+ width: _rem($base-rhythm * 4);
26
+ }
27
+
28
+ &-large
29
+ {
30
+ display: block;
31
+ height: _rem($base-rhythm * 6);
32
+ width: _rem($base-rhythm * 6);
33
+
34
+ @include _mq(map-get($breakpoints, bps))
35
+ {
36
+ height: _rem($base-rhythm * 7);
37
+ width: _rem($base-rhythm * 7);
38
+ }
39
+ }
40
+ }
@@ -0,0 +1,60 @@
1
+ // ==========================================================================
2
+ // Billing plans module
3
+ // ==========================================================================
4
+
5
+ // Make sure everything we change is ready to go smoothly
6
+ .billing-plan,
7
+ .billing-plan-header,
8
+ .billing-plan-frequency,
9
+ .billing-plan-frequency .lbl-choice,
10
+ .billing-plan-frequency .lbl-choice > b
11
+ {
12
+ @include transition(all $transition-timing-base $transition-easing-base);
13
+ }
14
+
15
+ .billing-plan
16
+ {
17
+ // Current state for highlighting the current overall plan
18
+ &.billing-plan-current
19
+ {
20
+ border-color: map-get($colors, 10) !important;
21
+
22
+ .billing-plan-header
23
+ {
24
+ background-color: map-get($colors, 10) !important;
25
+ border-color: map-get($colors, 10) !important;
26
+ color: map-get($colors, 1) !important;
27
+ }
28
+
29
+ .billing-plan-frequency
30
+ {
31
+ &:last-child
32
+ {
33
+ border-color: map-get($colors, 10) !important;
34
+ }
35
+ }
36
+
37
+ .billing-plan-status
38
+ {
39
+ border-bottom-color: map-get($colors, 10) !important;
40
+ }
41
+ }
42
+
43
+ // Current state for highlighting the current plan frequency
44
+ .billing-plan-frequency-current
45
+ {
46
+ background-color: $color-fill-shade !important;
47
+
48
+ .lbl-choice
49
+ {
50
+ background-color: map-get($colors, 10) !important;
51
+ border-color: map-get($colors, 10) !important;
52
+ color: map-get($colors, 10) !important;
53
+
54
+ > b
55
+ {
56
+ background-color: $color-fill-shade !important;
57
+ }
58
+ }
59
+ }
60
+ }
@@ -0,0 +1,11 @@
1
+ // ==========================================================================
2
+ // Box shadow styling classes
3
+ // ==========================================================================
4
+
5
+ @for $i from 1 through 6
6
+ {
7
+ .shadow#{$i}
8
+ {
9
+ @include _box-shadow($i);
10
+ }
11
+ }
@@ -0,0 +1,36 @@
1
+ // ==========================================================================
2
+ // Round bubble indicator styling classes
3
+ // ==========================================================================
4
+
5
+ // ---
6
+ // SIMPLE NOTIFICATION BUBBLE
7
+ // ---
8
+
9
+ .bubble
10
+ {
11
+ $type: map-get($type-scale, 0);
12
+
13
+ background-color: map-get($colors, 10);
14
+ border-radius: _rem($base-rhythm);
15
+ color: map-get($colors, 1);
16
+ display: block;
17
+ font-size: _rem(map-get($type, size));
18
+ height: _rem($base-rhythm * 2);
19
+ line-height: _rem($base-rhythm * 2);
20
+ min-width: _rem($base-rhythm * 2);
21
+ padding: 0 _rem($base-rhythm-half);
22
+ text-align: center;
23
+ }
24
+
25
+ // This resides out of our type/sizing hierachy
26
+ .bubble-small
27
+ {
28
+ $dimension: _rem(18px);
29
+
30
+ font-size: 8px; // using _rem seems to end up with 9px in Chrome
31
+ font-weight: $type-weight-medium;
32
+ height: $dimension;
33
+ line-height: $dimension;
34
+ min-width: $dimension;
35
+ padding: 0;
36
+ }
@@ -0,0 +1,27 @@
1
+ @keyframes color-animation {
2
+ 0% {
3
+ background: red;
4
+ }
5
+ 15% {
6
+ background: orange;
7
+ }
8
+ 30% {
9
+ background: yellow;
10
+ }
11
+ 45% {
12
+ background: green;
13
+ }
14
+ 60% {
15
+ background: blue;
16
+ }
17
+ 75% {
18
+ background: purple;
19
+ }
20
+ 100% {
21
+ background: red;
22
+ }
23
+ }
24
+
25
+ .celebrate {
26
+ animation: color-animation 0.7s infinite linear alternate;
27
+ }
@@ -0,0 +1,51 @@
1
+ // ==========================================================================
2
+ // Cursor styling classes
3
+ // ==========================================================================
4
+
5
+ .default
6
+ {
7
+ cursor: default;
8
+ }
9
+
10
+ .pointer
11
+ {
12
+ cursor: pointer;
13
+ }
14
+
15
+ .wait
16
+ {
17
+ cursor: wait;
18
+ }
19
+
20
+ .help
21
+ {
22
+ cursor: help;
23
+ }
24
+
25
+ .move
26
+ {
27
+ cursor: move;
28
+ }
29
+
30
+ @include _bp-prefixer-basic
31
+ {
32
+ &default
33
+ {
34
+ cursor: default;
35
+ }
36
+
37
+ &pointer
38
+ {
39
+ cursor: pointer;
40
+ }
41
+
42
+ &wait
43
+ {
44
+ cursor: wait;
45
+ }
46
+
47
+ &help
48
+ {
49
+ cursor: help;
50
+ }
51
+ }
@@ -0,0 +1,38 @@
1
+ // ==========================================================================
2
+ // Fadein: content revealing elements
3
+ // ==========================================================================
4
+
5
+ .fadein {
6
+ opacity: 1;
7
+ transform: translate3d(0,0,0);
8
+ }
9
+ .fadein--js {
10
+ @include transition(all 500ms cubic-bezier(0.57, 0.07, 0.25, 0.98));
11
+ }
12
+ .fadein--staged {
13
+ opacity: 0;
14
+ @include transform(translate3d(0, 20px, 0));
15
+ }
16
+
17
+ // customizations
18
+ .homebarishigh__image {
19
+ &.fadein--js {
20
+ @include transition-timing-function(cubic-bezier(0.860, 0.000, 0.070, 1.000)); // easeInOutQuint
21
+ }
22
+ }
23
+ .homearsenal__image--bg,
24
+ .homearsenal__image--float {
25
+ &.fadein--js {
26
+ @include transition(all 750ms cubic-bezier(0.57, 0.07, 0.25, 0.98));
27
+ }
28
+ }
29
+ .homearsenal__image--bg {
30
+ &.fadein--staged {
31
+ @include transform(translate3d(0, 140px, 0));
32
+ }
33
+ }
34
+ .homearsenal__image--float {
35
+ &.fadein--staged {
36
+ @include transform(translate3d(0, 100px, 0));
37
+ }
38
+ }
@@ -0,0 +1,224 @@
1
+ // ==========================================================================
2
+ // Misc modules and patterns
3
+ // ==========================================================================
4
+
5
+ // ---
6
+ // CONTENT SECTION
7
+ // Background styles for fullscreen (error type) pages
8
+ // ---
9
+
10
+ .fullscreen
11
+ {
12
+ background-position: left top;
13
+ background-repeat: repeat;
14
+ background-size: 25%;
15
+ }
16
+
17
+ // ---
18
+ // INTRINSIC RATIO
19
+ // Make a wrapper element have an intrinsic ratio
20
+ // and stretch inner element to fit
21
+ // ---
22
+
23
+ .intrinsic
24
+ {
25
+ @include _intrinsic-ratio;
26
+ }
27
+
28
+ // ---
29
+ // DIVIDER
30
+ // Adds a small divider rule below as a pseudo element
31
+ // ---
32
+
33
+ .div
34
+ {
35
+ &:after
36
+ {
37
+ content: '';
38
+ border-bottom: 1px $border-style $color-border-base;
39
+ display: block;
40
+ height: 0;
41
+ margin: _rem($base-gutter) auto;
42
+ width: _rem($base-gutter-large);
43
+ }
44
+
45
+ &.div-rev:after
46
+ {
47
+ border-color: map-get($colors, 8);
48
+ }
49
+ }
50
+
51
+ // ---
52
+ // STATUS
53
+ // Availability indicator
54
+ // ---
55
+
56
+ .status
57
+ {
58
+ background-color: map-get($colors, 10);
59
+ border-radius: 100%;
60
+ display: inline-block;
61
+ height: _rem($base-font-size / 2);
62
+ position: relative;
63
+ top: -1px;
64
+ vertical-align: middle;
65
+ width: _rem($base-font-size / 2);
66
+
67
+ &.status-small
68
+ {
69
+ height: _rem(6px);
70
+ top: auto;
71
+ width: _rem(6px);
72
+ }
73
+ }
74
+
75
+ // ---
76
+ // TRIANGLES
77
+ // ---
78
+
79
+ .tri
80
+ {
81
+ &:before
82
+ {
83
+ border-color: transparent transparent map-get($colors, 1) transparent;
84
+ border-style: solid;
85
+ border-width: 0 _rem($base-gutter) _rem($base-gutter) _rem($base-gutter);
86
+ content: '';
87
+ display: block;
88
+ height: 0;
89
+ left: 0;
90
+ position: absolute;
91
+ top: _rem(-$base-gutter);
92
+ width: 0;
93
+ }
94
+
95
+ &.pos-xcenter
96
+ {
97
+ &:before
98
+ {
99
+ left: 50%;
100
+ @include transform(translate3d(-50%, 0, 0));
101
+ }
102
+ }
103
+
104
+ &.pos-tpush
105
+ {
106
+ top: calc(100% + #{_rem($base-gutter)});
107
+ }
108
+ }
109
+
110
+ // ---
111
+ // FLIPBOARD CHARS
112
+ // ---
113
+
114
+ .flip
115
+ {
116
+ border: $border-width $border-style map-get($colors, 3);
117
+ border-radius: $border-radius-rounded;
118
+ padding: 0 3px;
119
+ position: relative;
120
+
121
+ &:first-child
122
+ {
123
+ margin-left: 2px;
124
+ }
125
+
126
+ &:last-child
127
+ {
128
+ margin-right: 2px;
129
+ }
130
+
131
+ &:before
132
+ {
133
+ border-top: $border-width $border-style map-get($colors, 3);
134
+ content: '';
135
+ display: block;
136
+ font-size: 0;
137
+ height: 0;
138
+ left: 0;
139
+ position: absolute;
140
+ right: 0;
141
+ top: 50%;
142
+ width: 100%;
143
+ z-index: -1;
144
+ }
145
+ }
146
+
147
+ // ---
148
+ // IMAGE PROGRESS INDICATOR
149
+ // ---
150
+
151
+ .progress
152
+ {
153
+ background-color: $color-fill-progress;
154
+ height: _rem($base-rhythm-half);
155
+ width: 0;
156
+ }
157
+
158
+ // ---
159
+ // SIMPLE HOVER SHOW/HIDE
160
+ // ---
161
+
162
+ @include _mq(map-get($breakpoints, bpm))
163
+ {
164
+ .no-touchevents
165
+ {
166
+ .hov
167
+ {
168
+ .hov-bg
169
+ {
170
+ opacity: 1;
171
+ @include transition(opacity $transition-timing-base $transition-easing-base);
172
+ @include _will-change();
173
+ }
174
+
175
+ .hov-show
176
+ {
177
+ opacity: 0;
178
+ @include transition(all $transition-timing-base $transition-easing-base);
179
+ visibility: hidden;
180
+ }
181
+
182
+ &:active,
183
+ &:focus,
184
+ &:hover
185
+ {
186
+ opacity: 1;
187
+
188
+ .hov-bg
189
+ {
190
+ opacity: map-get($opacity-scale, 3);
191
+ }
192
+
193
+ .hov-show
194
+ {
195
+ opacity: 1;
196
+ visibility: visible;
197
+ }
198
+ }
199
+ }
200
+ }
201
+ }
202
+
203
+ // ---
204
+ // INDICATOR DOT
205
+ // ---
206
+
207
+ .dot
208
+ {
209
+ position: relative;
210
+
211
+ &:before
212
+ {
213
+ background-color: map-deep-get($colors-status, stat-na, 3);
214
+ border-radius: $border-radius-circle;
215
+ content: '';
216
+ display: block;
217
+ font-size: 0;
218
+ height: 0.5rem;
219
+ left: _rem(-$base-gutter);
220
+ position: absolute;
221
+ top: _rem(-2px);
222
+ width: 0.5rem;
223
+ }
224
+ }