moovui 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +2 -0
  3. data/Gemfile +4 -0
  4. data/Gemfile.lock +17 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +1 -0
  7. data/Rakefile +1 -0
  8. data/bourbon/_bourbon-deprecated-upcoming.scss +13 -0
  9. data/bourbon/_bourbon.scss +59 -0
  10. data/bourbon/addons/_button.scss +273 -0
  11. data/bourbon/addons/_clearfix.scss +29 -0
  12. data/bourbon/addons/_font-family.scss +5 -0
  13. data/bourbon/addons/_hide-text.scss +5 -0
  14. data/bourbon/addons/_html5-input-types.scss +56 -0
  15. data/bourbon/addons/_position.scss +42 -0
  16. data/bourbon/addons/_prefixer.scss +49 -0
  17. data/bourbon/addons/_retina-image.scss +32 -0
  18. data/bourbon/addons/_size.scss +44 -0
  19. data/bourbon/addons/_timing-functions.scss +32 -0
  20. data/bourbon/addons/_triangle.scss +45 -0
  21. data/bourbon/css3/_animation.scss +52 -0
  22. data/bourbon/css3/_appearance.scss +3 -0
  23. data/bourbon/css3/_backface-visibility.scss +6 -0
  24. data/bourbon/css3/_background-image.scss +48 -0
  25. data/bourbon/css3/_background.scss +103 -0
  26. data/bourbon/css3/_border-image.scss +55 -0
  27. data/bourbon/css3/_border-radius.scss +22 -0
  28. data/bourbon/css3/_box-sizing.scss +4 -0
  29. data/bourbon/css3/_columns.scss +47 -0
  30. data/bourbon/css3/_flex-box.scss +52 -0
  31. data/bourbon/css3/_font-face.scss +23 -0
  32. data/bourbon/css3/_hidpi-media-query.scss +10 -0
  33. data/bourbon/css3/_image-rendering.scss +13 -0
  34. data/bourbon/css3/_inline-block.scss +8 -0
  35. data/bourbon/css3/_keyframes.scss +43 -0
  36. data/bourbon/css3/_linear-gradient.scss +41 -0
  37. data/bourbon/css3/_perspective.scss +8 -0
  38. data/bourbon/css3/_placeholder.scss +29 -0
  39. data/bourbon/css3/_radial-gradient.scss +44 -0
  40. data/bourbon/css3/_transform.scss +15 -0
  41. data/bourbon/css3/_transition.scss +34 -0
  42. data/bourbon/css3/_user-select.scss +3 -0
  43. data/bourbon/functions/_compact.scss +11 -0
  44. data/bourbon/functions/_flex-grid.scss +39 -0
  45. data/bourbon/functions/_grid-width.scss +13 -0
  46. data/bourbon/functions/_linear-gradient.scss +13 -0
  47. data/bourbon/functions/_modular-scale.scss +40 -0
  48. data/bourbon/functions/_px-to-em.scss +8 -0
  49. data/bourbon/functions/_radial-gradient.scss +23 -0
  50. data/bourbon/functions/_tint-shade.scss +9 -0
  51. data/bourbon/functions/_transition-property-name.scss +22 -0
  52. data/bourbon/helpers/_deprecated-webkit-gradient.scss +39 -0
  53. data/bourbon/helpers/_gradient-positions-parser.scss +13 -0
  54. data/bourbon/helpers/_linear-positions-parser.scss +61 -0
  55. data/bourbon/helpers/_radial-arg-parser.scss +69 -0
  56. data/bourbon/helpers/_radial-positions-parser.scss +18 -0
  57. data/bourbon/helpers/_render-gradients.scss +26 -0
  58. data/bourbon/helpers/_shape-size-stripper.scss +10 -0
  59. data/chosen.jquery.js +1166 -0
  60. data/custom.modernizr.js +4 -0
  61. data/fonts/TSTARPRO-BoldWeb.eot +0 -0
  62. data/fonts/TSTARPRO-BoldWeb.woff +0 -0
  63. data/fonts/entypo.eot +0 -0
  64. data/fonts/entypo.svg +235 -0
  65. data/fonts/entypo.ttf +0 -0
  66. data/fonts/entypo.woff +0 -0
  67. data/foundation.alerts.js +52 -0
  68. data/foundation.dropdown.js +177 -0
  69. data/foundation.js +440 -0
  70. data/foundation.reveal.js +330 -0
  71. data/foundation.section.js +400 -0
  72. data/foundation.tooltips.custom.js +222 -0
  73. data/globals/_base.scss +41 -0
  74. data/globals/_entypo.scss +711 -0
  75. data/globals/_footer.scss +29 -0
  76. data/globals/_header.scss +64 -0
  77. data/globals/_mixins.scss +69 -0
  78. data/globals/_normalize.scss +405 -0
  79. data/globals/_vars.scss +67 -0
  80. data/index.html +1254 -0
  81. data/lib/moovui/version.rb +3 -0
  82. data/lib/moovui.rb +4 -0
  83. data/modules/_accordion.scss +51 -0
  84. data/modules/_btn.scss +130 -0
  85. data/modules/_btnbar.scss +56 -0
  86. data/modules/_code.scss +55 -0
  87. data/modules/_copy.scss +99 -0
  88. data/modules/_definition.scss +34 -0
  89. data/modules/_docs.scss +127 -0
  90. data/modules/_dropdown.scss +32 -0
  91. data/modules/_flex.scss +300 -0
  92. data/modules/_grid.scss +72 -0
  93. data/modules/_input.scss +59 -0
  94. data/modules/_label.scss +6 -0
  95. data/modules/_list.scss +57 -0
  96. data/modules/_media.scss +17 -0
  97. data/modules/_modal.scss +71 -0
  98. data/modules/_notice.scss +111 -0
  99. data/modules/_pane.scss +25 -0
  100. data/modules/_resp.scss +71 -0
  101. data/modules/_select.scss +94 -0
  102. data/modules/_sidebar.scss +117 -0
  103. data/modules/_syntax-highlighter.scss +100 -0
  104. data/modules/_table.scss +63 -0
  105. data/modules/_tooltip.scss +59 -0
  106. data/moovui.gemspec +21 -0
  107. data/moovui.scss +43 -0
  108. data/shBrushBash.js +59 -0
  109. data/shBrushJScript.js +52 -0
  110. data/shBrushNull.js +35 -0
  111. data/shBrushSass.js +90 -0
  112. data/shBrushTritium.js +46 -0
  113. data/shBrushXml.js +69 -0
  114. data/shCore.custom.js +2399 -0
  115. data/shInit.js +14 -0
  116. metadata +187 -0
@@ -0,0 +1,3 @@
1
+ module Moovui
2
+ VERSION = "0.0.1"
3
+ end
data/lib/moovui.rb ADDED
@@ -0,0 +1,4 @@
1
+ require "moovui/version"
2
+
3
+ module Moovui
4
+ end
@@ -0,0 +1,51 @@
1
+ @if $moovui-init {
2
+ [data-section="accordion"] > :not(.active) [data-section-content] {
3
+ display: none;
4
+ }
5
+ }
6
+
7
+ @mixin qna {
8
+ @include radius;
9
+ background: #dadde2;
10
+ font-size: 14px;
11
+ font-weight: 300;
12
+ margin: 0 0 $sp2;
13
+ [data-section-title] {
14
+ cursor: pointer;
15
+ font-weight: bold;
16
+ margin: 0;
17
+ padding: $sp $sp $sp 25px;
18
+ &:before {
19
+ @include entypo-icon;
20
+ @extend .icon-triangle-right:before;
21
+ margin: 0 0 0 -13px;
22
+ position: absolute;
23
+ width: 13px;
24
+ }
25
+ code {
26
+ background: none;
27
+ border: 0;
28
+ padding: 0;
29
+ }
30
+ }
31
+ .active [data-section-title]:before {
32
+ @extend .icon-triangle-down:before;
33
+ margin: 0 0 0 -14px;
34
+ width: 14px;
35
+ }
36
+ [data-section-content] {
37
+ @include clearfix;
38
+ padding: 0 $sp 0 25px;
39
+ &:after {
40
+ margin: $sp 0 0;
41
+ }
42
+ }
43
+ }
44
+
45
+ .#{$moovui-prefix}qna {
46
+ @include qna;
47
+ }
48
+
49
+ .win .#{$moovui-prefix}qna {
50
+ font-weight: normal;
51
+ }
data/modules/_btn.scss ADDED
@@ -0,0 +1,130 @@
1
+ @mixin btn {
2
+ @include appearance(none);
3
+ @include background(linear-gradient(tint($gray, 25%), $gray));
4
+ @include box-shadow(rgba(#000, 0.1) 0 1px, rgba(#fff, 0.5) 0 0 1px inset);
5
+ @include radius;
6
+ background-color: tint($gray, 10%);
7
+ border: 1px solid shade($gray, 5%);
8
+ color: #fff;
9
+ display: inline-block;
10
+ font: 11px/#{$line-height} $font;
11
+ letter-spacing: 1px;
12
+ margin: 0 0 $sp2;
13
+ padding: 3px 10px;
14
+ position: relative;
15
+ text-align: center;
16
+ text-decoration: none;
17
+ text-transform: uppercase;
18
+ vertical-align: top;
19
+ min-width: 40px;
20
+ height: 32px;
21
+ &:not(:empty) {
22
+ min-width: 100px;
23
+ }
24
+ &:hover {
25
+ @include box-shadow(rgba(#000, 0.1) 0 1px);
26
+ background: tint($darkgray, 15%);
27
+ border-color: transparent;
28
+ }
29
+ &:active {
30
+ @include box-shadow(rgba(#000, 0.2) 0 0 4px inset);
31
+ background: $darkgray;
32
+ border-color: shade($gray, 30%) shade($gray, 30%) shade($gray, 20%);
33
+ }
34
+ &[class*="icon-"]:before {
35
+ font-size: 18px;
36
+ vertical-align: top;
37
+ }
38
+ &[class*="icon-"]:not(:empty):before {
39
+ margin: 0 7px 0 0;
40
+ }
41
+ }
42
+
43
+ @include keyframes(warn) {
44
+ from {
45
+ background: tint($gray, 10%);
46
+ }
47
+ to {
48
+ background: shade($red, 10%);
49
+ }
50
+ }
51
+
52
+ @mixin btn-action {
53
+ @include background(linear-gradient(tint($green, 30%), $green));
54
+ background-color: tint($green, 10%);
55
+ border: 1px solid shade($green, 5%);
56
+ &:hover {
57
+ background: $green;
58
+ }
59
+ &:active {
60
+ background: shade($green, 5%);
61
+ border-color: shade($green, 30%) shade($green, 30%) shade($green, 20%);
62
+ }
63
+ }
64
+
65
+ @mixin btn-warning {
66
+ &:hover {
67
+ @include animation(warn 0.4s);
68
+ background: shade($red, 10%);
69
+ }
70
+ &:active {
71
+ background: shade($red, 20%);
72
+ border-color: shade($red, 35%) shade($red, 35%) shade($red, 25%);
73
+ }
74
+ }
75
+
76
+ @mixin btn-pill {
77
+ @include box-shadow(none);
78
+ border: 0;
79
+ padding: 0 10px;
80
+ min-width: 0;
81
+ height: 24px;
82
+ }
83
+
84
+ @mixin btn-small {
85
+ padding: 0 10px;
86
+ min-width: 0;
87
+ height: 26px;
88
+ &[class*="icon-"]:before {
89
+ font-size: 15px;
90
+ }
91
+ &[class*="icon-"]:not(:empty):before {
92
+ margin: 0 5px 0 0;
93
+ }
94
+ }
95
+
96
+ @mixin btn-big {
97
+ padding: 7px 16px;
98
+ min-width: 130px;
99
+ height: 40px;
100
+ }
101
+
102
+ .#{$moovui-prefix}btn.pill {
103
+ @include btn-pill;
104
+ }
105
+
106
+ .#{$moovui-prefix}btn.small {
107
+ @include btn-small;
108
+ }
109
+
110
+ .#{$moovui-prefix}btn {
111
+ @include btn;
112
+ }
113
+
114
+ .#{$moovui-prefix}btn.big {
115
+ @include btn-big;
116
+ }
117
+
118
+ .#{$moovui-prefix}btn.action {
119
+ @include btn-action;
120
+ }
121
+
122
+ .#{$moovui-prefix}btn.warning {
123
+ @include btn-warning;
124
+ }
125
+
126
+ @if $moovui-init {
127
+ input[type="submit"], input[type="button"], button {
128
+ @include btn;
129
+ }
130
+ }
@@ -0,0 +1,56 @@
1
+ @mixin btnbar {
2
+ @include clearfix;
3
+ font-size: 0;
4
+ li {
5
+ display: inline;
6
+ }
7
+ input[type="submit"], input[type="button"], button, .#{$moovui-prefix}btn {
8
+ @include border-radius(0);
9
+ border-right-width: 0;
10
+ &:first-of-type {
11
+ @include border-radius($radius 0 0 $radius);
12
+ }
13
+ &:last-of-type {
14
+ @include border-radius(0 $radius $radius 0);
15
+ border-right-width: 1px;
16
+ }
17
+ }
18
+ .active {
19
+ input[type="submit"], input[type="button"], button, .#{$moovui-prefix}btn {
20
+ @include box-shadow(rgba(#000, 0.2) 0 0 4px inset);
21
+ background: $darkgray;
22
+ border-color: shade($gray, 30%) shade($gray, 30%) shade($gray, 20%);
23
+ }
24
+ }
25
+ .active + * {
26
+ input[type="submit"], input[type="button"], button, .#{$moovui-prefix}btn {
27
+ border-left-color: shade($gray, 30%);
28
+ }
29
+ }
30
+ }
31
+
32
+ .#{$moovui-prefix}btnbar {
33
+ @include btnbar;
34
+ }
35
+
36
+ @mixin btngroup {
37
+ @include clearfix;
38
+ font-size: 0; // instead of floating so that we can still center
39
+ li {
40
+ display: inline;
41
+ }
42
+ li + li {
43
+ input[type="submit"], input[type="button"], button, .#{$moovui-prefix}btn {
44
+ margin-left: $sp;
45
+ }
46
+ }
47
+ input[type="submit"], input[type="button"], button, .#{$moovui-prefix}btn {
48
+ & + input[type="submit"], & + input[type="button"], & + button, & + .#{$moovui-prefix}btn {
49
+ margin-left: $sp;
50
+ }
51
+ }
52
+ }
53
+
54
+ .#{$moovui-prefix}btngroup {
55
+ @include btngroup;
56
+ }
@@ -0,0 +1,55 @@
1
+ @if $moovui-init {
2
+ code {
3
+ @include radius;
4
+ background: #eee;
5
+ border: 1px solid #ccc;
6
+ color: #555;
7
+ margin: 0 1px;
8
+ padding: 0 3px;
9
+ }
10
+
11
+ code, pre, samp {
12
+ font-family: $code-font;
13
+ font-size: 13px;
14
+ font-weight: normal;
15
+ }
16
+
17
+ pre {
18
+ @include radius;
19
+ margin: 0;
20
+ code {
21
+ @include border-radius(0);
22
+ background: none;
23
+ border: 0;
24
+ color: inherit;
25
+ margin: 0;
26
+ padding: 0;
27
+ }
28
+ }
29
+
30
+ input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="tel"], textarea {
31
+ &.code {
32
+ font-family: $code-font;
33
+ font-size: 13px;
34
+ }
35
+ }
36
+
37
+ .cmd, pre {
38
+ background: #444;
39
+ border: 0;
40
+ color: #eee;
41
+ display: block;
42
+ margin: 5px 0 $sp2;
43
+ padding: $sp;
44
+ }
45
+
46
+ .cmd {
47
+ &:before {
48
+ color: #999;
49
+ content: "$> ";
50
+ }
51
+ + .#{$moovui-prefix}cmd {
52
+ margin: -$sp4 0 $sp2;
53
+ }
54
+ }
55
+ }
@@ -0,0 +1,99 @@
1
+ @if $moovui-init {
2
+ a {
3
+ color: $link-color;
4
+ text-decoration: none;
5
+ code {
6
+ color: inherit;
7
+ }
8
+ }
9
+
10
+ a.copy, .copy a {
11
+ font-weight: bold;
12
+ }
13
+
14
+ h1, h2 {
15
+ margin: 0 0 $sp2;
16
+ }
17
+
18
+ h1 {
19
+ font-size: $h1-size;
20
+ }
21
+
22
+ h2 {
23
+ color: $darkblue;
24
+ font-size: $h2-size;
25
+ }
26
+
27
+ h3, h4, h5, h6 {
28
+ margin: 0 0 $sp;
29
+ }
30
+
31
+ h3 {
32
+ color: $slategray;
33
+ font-size: $h3-size;
34
+ }
35
+
36
+ h4 {
37
+ font-size: $h4-size;
38
+ }
39
+
40
+ h5 {
41
+ font-size: $h5-size;
42
+ text-transform: uppercase;
43
+ color: #999
44
+ }
45
+
46
+ h1.copy, h2.copy, h3.copy, h4.copy, .copy h1, .copy h2, .copy h3, .copy h4 {
47
+ margin: 0 0 $line-height;
48
+ }
49
+
50
+ h1.copy, .copy h1 {
51
+ font-size: $h1-copy-size;
52
+ font-weight: 300;
53
+ line-height: 1.5 * $line-height;
54
+ }
55
+
56
+ h2.copy, .copy h2 {
57
+ color: #7c8899;
58
+ font-size: $h2-copy-size;
59
+ font-weight: 300;
60
+ }
61
+
62
+ h3.copy, .copy h3 {
63
+ color: #8d9aa9;
64
+ font-size: $h3-copy-size;
65
+ font-weight: normal;
66
+ }
67
+
68
+ h4.copy, .copy h4 {
69
+ color: #a9b1bd;
70
+ font-size: $h4-copy-size;
71
+ letter-spacing: 0.5px;
72
+ text-transform: uppercase;
73
+ }
74
+
75
+ h5.copy, .copy h5 {
76
+ color: inherit;
77
+ font-size: $h5-copy-size;
78
+ text-transform: inherit;
79
+ }
80
+
81
+ hr {
82
+ border: 0;
83
+ border-top: 1px solid #ccc;
84
+ margin: $sp2 0;
85
+ }
86
+
87
+ p {
88
+ margin: 0 0 $sp2;
89
+ }
90
+
91
+ p.copy, .copy p {
92
+ font-weight: 300;
93
+ margin: 0 0 $line-height;
94
+ }
95
+
96
+ .win p.copy, .win .copy p {
97
+ font-weight: normal;
98
+ }
99
+ }
@@ -0,0 +1,34 @@
1
+ @if $moovui-init {
2
+ dl {
3
+ font-weight: 300;
4
+ margin: 0 0 $sp2 3em;
5
+ color: #666;
6
+ &:first-child {
7
+ margin-left: 1em;
8
+ }
9
+ }
10
+
11
+ dt {
12
+ display: inline;
13
+ font-weight: 400;
14
+ &:before {
15
+ content: "•";
16
+ font-weight: 300;
17
+ position: absolute;
18
+ margin-left: -1em;
19
+ }
20
+ }
21
+
22
+ dd {
23
+ display: inline;
24
+ margin: 0;
25
+ &:not(:empty):before {
26
+ -webkit-font-smoothing: antialiased;
27
+ content: "  ⎯  ";
28
+ }
29
+ &:after {
30
+ content: "";
31
+ display: block;
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,127 @@
1
+ @mixin doc-section {
2
+ @include radius;
3
+ background: #fff;
4
+ border: 2px solid #bdc4cb;
5
+ color: #666;
6
+ margin: 0 0 $sp8;
7
+ padding: $sp2 $sp3;
8
+ }
9
+
10
+ @mixin doc-panes {
11
+ :first-child .doc-pane {
12
+ margin-right: $sp;
13
+ }
14
+ :last-child .doc-pane {
15
+ margin-left: $sp;
16
+ }
17
+ }
18
+
19
+ @mixin doc-pane {
20
+ @include clearfix;
21
+ @include radius;
22
+ background: #fff;
23
+ border: 1px solid #bdc4cb;
24
+ font-size: 14px;
25
+ margin: 0 0 $sp2;
26
+ padding: $sp 14px;
27
+ h5 {
28
+ margin: 0;
29
+ }
30
+ .doc-label {
31
+ font-size: 9px;
32
+ line-height: 16px;
33
+ margin: -11px 0 0;
34
+ padding: 0 6px;
35
+ }
36
+ .media {
37
+ float: left;
38
+ margin: 5px $sp2 0 0;
39
+ width: 87px;
40
+ height: 87px;
41
+ }
42
+ a {
43
+ float: right;
44
+ }
45
+ }
46
+
47
+ @mixin doc-label {
48
+ background: #bdc4cb;
49
+ color: white;
50
+ float: right;
51
+ font-size: 10px;
52
+ font-weight: bold;
53
+ letter-spacing: 1px;
54
+ line-height: 20px;
55
+ margin: -22px -14px 0 0;
56
+ padding: 0 $sp;
57
+ text-transform: uppercase;
58
+ }
59
+
60
+ @mixin doc-links {
61
+ a {
62
+ margin: 0 0 $sp;
63
+ &:hover:before {
64
+ opacity: 1;
65
+ }
66
+ &:before {
67
+ @include entypo-icon;
68
+ @extend .icon-right:before;
69
+ margin: 0 5px -1px 0;
70
+ opacity: 0.5;
71
+ }
72
+ &[target="_blank"]:after {
73
+ @include entypo-icon;
74
+ @extend .icon-popup:before;
75
+ color: #d1d1d1;
76
+ margin-left: 5px;
77
+ }
78
+ }
79
+ }
80
+
81
+ @mixin doc-keywords {
82
+ @include border-radius(0 0 2px 2px);
83
+ background: #f0f4f7;
84
+ border: 1px dotted #bdc4cb;
85
+ border-top: 1px solid #d7d8e0;
86
+ padding: $sp $sp2;
87
+ margin: $sp2 (-$sp2) (-$sp7);
88
+ text-transform: lowercase;
89
+ span {
90
+ color: $darkblue;
91
+ font-size: 10px;
92
+ font-weight: bold;
93
+ margin: 0 5px 0 0;
94
+ text-transform: uppercase;
95
+ }
96
+ a {
97
+ background: #fff;
98
+ font-size: 11px;
99
+ font-weight: normal;
100
+ margin: 0 4px;
101
+ padding: 3px 5px;
102
+ }
103
+ }
104
+
105
+ .#{$moovui-prefix}doc-section {
106
+ @include doc-section;
107
+ }
108
+
109
+ .#{$moovui-prefix}doc-panes {
110
+ @include doc-panes;
111
+ }
112
+
113
+ .#{$moovui-prefix}doc-pane {
114
+ @include doc-pane;
115
+ }
116
+
117
+ .#{$moovui-prefix}doc-label {
118
+ @include doc-label;
119
+ }
120
+
121
+ .#{$moovui-prefix}doc-links {
122
+ @include doc-links;
123
+ }
124
+
125
+ .#{$moovui-prefix}doc-kw {
126
+ @include doc-keywords;
127
+ }
@@ -0,0 +1,32 @@
1
+ @if $moovui-init {
2
+ [data-dropdown-content] {
3
+ @include box-shadow(rgba(#000, 0.2) 0 1px 4px);
4
+ background: #f9f9f9;
5
+ position: absolute;
6
+ top: -9999px;
7
+ width: 160px;
8
+ z-index: 99;
9
+ &:before {
10
+ border: 6px solid transparent;
11
+ border-bottom-color: #f9f9f9;
12
+ content: "";
13
+ margin: -11px 0 0;
14
+ position: absolute;
15
+ left: 10px;
16
+ }
17
+ li:not(:last-child) {
18
+ border-bottom: 1px solid #eee;
19
+ }
20
+ a {
21
+ color: #555;
22
+ display: block;
23
+ font-size: 13px;
24
+ font-weight: normal;
25
+ padding: 5px 10px;
26
+ white-space: nowrap;
27
+ &:hover {
28
+ background: #f0f0f0;
29
+ }
30
+ }
31
+ }
32
+ }