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,300 @@
1
+ // combine 2009, 2011 (and early 2012), latest spec (2013)
2
+
3
+ @mixin display-flex {
4
+ // 2009
5
+ display: -webkit-box;
6
+ display: -moz-box;
7
+ // 2011
8
+ display: -ms-flexbox;
9
+ // latest
10
+ display: -webkit-flex;
11
+ display: -moz-flex;
12
+ display: flex;
13
+ }
14
+ // alias
15
+ @mixin display-box {
16
+ @include display-flex;
17
+ }
18
+
19
+ @mixin flex-direction($orient: row) {
20
+ $old-syntax: $orient;
21
+ $old-reverse: false;
22
+
23
+ @if $orient == row {
24
+ $old-syntax: horizontal;
25
+ }
26
+ @else if $orient == column {
27
+ $old-syntax: vertical;
28
+ }
29
+ @else if $orient == row-reverse {
30
+ $old-syntax: horizontal;
31
+ $old-reverse: true;
32
+ }
33
+ @else if $orient == column-reverse {
34
+ $old-syntax: vertical;
35
+ $old-reverse: true;
36
+ }
37
+ @else if $orient == horizontal or $orient == inline-axis {
38
+ $orient: row;
39
+ }
40
+ @else if $orient == vertical or $orient == block-axis {
41
+ $orient: column;
42
+ }
43
+
44
+ // 2009
45
+ // horizontal|vertical|inline-axis|block-axis|inherit
46
+ @include prefixer(box-orient, $old-syntax, webkit);
47
+ @if $reverse {
48
+ @include prefixer(box-direction, reverse, webkit);
49
+ }
50
+ // 2011, latest
51
+ // row|row-reverse|column|column-reverse|inherit
52
+ @include prefixer(flex-direction, $orient, webkit moz ms spec);
53
+ }
54
+ // alias
55
+ @mixin box-orient($orient: row) {
56
+ @include flex-direction($orient);
57
+ }
58
+
59
+ @mixin justify-content($pack: flex-start) {
60
+ $old-syntax: $pack;
61
+ $ms-syntax: $pack;
62
+ @if $pack == flex-start {
63
+ $old-syntax: start;
64
+ $ms-syntax: start;
65
+ }
66
+ @else if $pack == flex-end {
67
+ $old-syntax: end;
68
+ $ms-syntax: end;
69
+ }
70
+ @else if $pack == space-between {
71
+ $old-syntax: justify;
72
+ $ms-syntax: justify;
73
+ }
74
+ @else if $pack == space-around {
75
+ $old-syntax: justify;
76
+ $ms-syntax: distribute;
77
+ }
78
+ @else if $pack == start {
79
+ $pack: flex-start;
80
+ }
81
+ @else if $pack == end {
82
+ $pack: flex-end;
83
+ }
84
+ @else if $pack == justify {
85
+ $pack: space-between;
86
+ }
87
+ @else if $pack == distribute {
88
+ $old-syntax: justify;
89
+ $pack: space-around;
90
+ }
91
+
92
+ // 2009
93
+ // start|end|center|justify
94
+ @include prefixer(box-pack, $old-syntax, webkit);
95
+ // 2011
96
+ // start|end|center|justify|distribute
97
+ @include prefixer(flex-pack, $ms-syntax, ms);
98
+ // latest
99
+ // flex-start|flex-end|center|space-between|space-around
100
+ @include prefixer(justify-content, $pack, webkit moz spec)
101
+ }
102
+ // alias
103
+ @mixin box-pack($pack: start) {
104
+ @include justify-content($pack);
105
+ }
106
+
107
+ @mixin align-items($align: stretch) {
108
+ $old-syntax: $align;
109
+ @if $align == flex-start {
110
+ $old-syntax: start;
111
+ }
112
+ @else if $align == flex-end {
113
+ $old-syntax: end;
114
+ }
115
+ @else if $align == start {
116
+ $align: flex-start;
117
+ }
118
+ @else if $align == end {
119
+ $align: flex-end;
120
+ }
121
+ // 2009
122
+ // start|end|center|baseline|stretch
123
+ @include prefixer(box-align, $old-syntax, webkit moz);
124
+ // 2011
125
+ // start|end|center|baseline|stretch
126
+ @include prefixer(flex-align, $old-syntax, ms);
127
+ // latest
128
+ // flex-start|flex-end|center|baseline|stretch
129
+ @include prefixer(align-items, $align, webkit moz spec);
130
+ }
131
+ // alias
132
+ @mixin box-align($align: stretch) {
133
+ @include align-items($align);
134
+ }
135
+
136
+ @mixin order($int: 0) {
137
+ // 2009
138
+ @include prefixer(box-ordinal-group, $int, webkit);
139
+ // 2011
140
+ @include prefixer(flex-order, $int, ms);
141
+ // latest
142
+ @include prefixer(order, $int, webkit moz spec);
143
+ }
144
+ // alias
145
+ @mixin box-ordinal-group($int: 1) {
146
+ @include order($int);
147
+ }
148
+
149
+ @mixin flex($value) {
150
+ $old-syntax: nth($value, 1);
151
+ $ms-syntax: $value;
152
+ @if $old-syntax == none {
153
+ $old-syntax: 0;
154
+ }
155
+ @else if $value == auto {
156
+ $old-syntax: 1;
157
+ }
158
+ @if length($value) == 3 {
159
+ $ms-syntax: nth($value, 1) (-1 * abs(nth($value, 1))) nth($value, 3);
160
+ $value: nth($value, 1) abs(nth($value, 1)) nth($value, 3);
161
+ }
162
+ // 2009
163
+ @include prefixer(box-flex, $old-syntax, webkit moz);
164
+ @if $value == 1 {
165
+ width: 0; // make each same size with 2009 spec
166
+ }
167
+ // 2011
168
+ @include prefixer(flex, $ms-syntax, ms);
169
+ // latest
170
+ @include prefixer(flex, $value, webkit moz spec);
171
+ }
172
+ // alias
173
+ @mixin box-flex($value: 0) {
174
+ @include flex($value);
175
+ }
176
+
177
+ /*** new syntax with no old analogies ***/
178
+
179
+ @mixin flex-wrap($value: nowrap) {
180
+ // nowrap|wrap|wrap-reverse
181
+ @include prefixer(flex-wrap, $value, webkit moz ms spec);
182
+ }
183
+ @mixin flex-flow($value) {
184
+ // flex-direction flex-wrap
185
+ @include prefixer(flex-flow, $value, webkit moz ms spec);
186
+ }
187
+
188
+ @mixin flex-grow($number: 0) {
189
+ @include prefixer(flex-grow, $number, webkit moz spec);
190
+ }
191
+
192
+ @mixin flex-shrink($number: 1) {
193
+ @include prefixer(flex-shrink, $number, webkit moz spec);
194
+ }
195
+
196
+ @mixin flex-basis($width: auto) {
197
+ @include prefixer(flex-basis, $width, webkit moz spec);
198
+ }
199
+
200
+ @mixin align-self($align: auto) {
201
+ $old-syntax: $align;
202
+ @if $align == flex-start {
203
+ $old-syntax: start;
204
+ }
205
+ @else if $align == flex-end {
206
+ $old-syntax: end;
207
+ }
208
+ @else if $align == start {
209
+ $align: flex-start;
210
+ }
211
+ @else if $align == end {
212
+ $align: flex-end;
213
+ }
214
+ // 2011
215
+ // auto|start|end|center|baseline|stretch
216
+ @include prefixer(flex-item-align, $align, ms);
217
+ // latest
218
+ // auto|flex-start|flex-end|center|baseline|stretch
219
+ @include prefixer(align-self, $align, webkit moz spec);
220
+ }
221
+
222
+ @mixin align-content($align: stretch) {
223
+ $ms-syntax: $align;
224
+ @if $align == flex-start {
225
+ $ms-syntax: start;
226
+ }
227
+ @else if $align == flex-end {
228
+ $ms-syntax: end;
229
+ }
230
+ @else if $align == space-between {
231
+ $ms-syntax: justify;
232
+ }
233
+ @else if $align == space-around {
234
+ $ms-syntax: distribute;
235
+ }
236
+ @else if $align == start {
237
+ $align: flex-start;
238
+ }
239
+ @else if $align == end {
240
+ $align: flex-end;
241
+ }
242
+ @else if $align == justify {
243
+ $align: space-between;
244
+ }
245
+ @else if $align == distribute {
246
+ $align: space-around;
247
+ }
248
+ // 2011
249
+ // start|end|center|justify|distribute|stretch
250
+ @include prefixer(flex-item-align, $ms-syntax, ms);
251
+ // latest
252
+ // flex-start|flex-end|center|space-between|space-around|stretch
253
+ @include prefixer(align-content, $align, webkit moz spec)
254
+ }
255
+
256
+ /* helpful classes */
257
+
258
+ .#{$moovui-prefix}flex {
259
+ @include display-flex;
260
+ &.center {
261
+ @include align-items(center);
262
+ }
263
+ &.gap > :not(:last-child) {
264
+ margin-right: $sp;
265
+ }
266
+ > * {
267
+ @include flex(1);
268
+ display: block;
269
+ }
270
+ .no-flex {
271
+ @include flex(none);
272
+ }
273
+ }
274
+
275
+
276
+ .#{$moovui-prefix}flex-justify {
277
+ @include display-flex;
278
+ @include justify-content(justify);
279
+ > *:not(:last-child) {
280
+ @include prefixer(box-flex, 1, webkit moz);
281
+ }
282
+ }
283
+
284
+ .no-flexbox.no-flexboxlegacy .#{$moovui-prefix}flex {
285
+ display: table;
286
+ width: 100%;
287
+ &.center > * {
288
+ vertical-align: middle;
289
+ }
290
+ > * {
291
+ display: table-cell;
292
+ }
293
+ }
294
+
295
+ .no-flexbox.no-flexboxlegacy .#{$moovui-prefix}flex-justify {
296
+ display: table;
297
+ > * {
298
+ display: table-cell;
299
+ }
300
+ }
@@ -0,0 +1,72 @@
1
+ .#{$moovui-prefix}row {
2
+ @include clearfix;
3
+ &.#{$moovui-prefix}gutters {
4
+ margin-left: -$sp3;
5
+ > * {
6
+ padding-left: $sp3;
7
+ }
8
+ }
9
+ }
10
+
11
+ .#{$moovui-prefix}col-1,
12
+ .#{$moovui-prefix}col-2,
13
+ .#{$moovui-prefix}col-3,
14
+ .#{$moovui-prefix}col-4,
15
+ .#{$moovui-prefix}col-5,
16
+ .#{$moovui-prefix}col-6,
17
+ .#{$moovui-prefix}col-7,
18
+ .#{$moovui-prefix}col-8,
19
+ .#{$moovui-prefix}col-9,
20
+ .#{$moovui-prefix}col-10,
21
+ .#{$moovui-prefix}col-11,
22
+ .#{$moovui-prefix}col-12 {
23
+ float: left;
24
+ }
25
+
26
+ .#{$moovui-prefix}col-1 {
27
+ width: 8.333%;
28
+ }
29
+
30
+ .#{$moovui-prefix}col-2 {
31
+ width: 16.666%;
32
+ }
33
+
34
+ .#{$moovui-prefix}col-3 {
35
+ width: 25%;
36
+ }
37
+
38
+ .#{$moovui-prefix}col-4 {
39
+ width: 33.333%;
40
+ }
41
+
42
+ .#{$moovui-prefix}col-5 {
43
+ width: 41.666%;
44
+ }
45
+
46
+ .#{$moovui-prefix}col-6 {
47
+ width: 50%;
48
+ }
49
+
50
+ .#{$moovui-prefix}col-7 {
51
+ width: 58.333%;
52
+ }
53
+
54
+ .#{$moovui-prefix}col-8 {
55
+ width: 66.666%;
56
+ }
57
+
58
+ .#{$moovui-prefix}col-9 {
59
+ width: 75%;
60
+ }
61
+
62
+ .#{$moovui-prefix}col-10 {
63
+ width: 83.333%;
64
+ }
65
+
66
+ .#{$moovui-prefix}col-11 {
67
+ width: 91.666%;
68
+ }
69
+
70
+ .#{$moovui-prefix}col-12 {
71
+ width: 100%;
72
+ }
@@ -0,0 +1,59 @@
1
+ @if $moovui-init {
2
+ input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="tel"], input[type="search"], textarea {
3
+ @include box-shadow(rgba(#fff, 0.5) 0 1px);
4
+ @include radius;
5
+ @include transition(0.3s);
6
+ // ugly but bourbon mixin doesn't convert box-shadow into prefixed
7
+ -webkit-transition-property: -webkit-box-shadow, box-shadow, border-color;
8
+ -moz-transition-property: -moz-box-shadow, box-shadow, border-color;
9
+ transition-property: box-shadow, border-color;
10
+ border: 1px solid #d9d9d9;
11
+ color: $text-color;
12
+ display: block;
13
+ font-family: $font;
14
+ font-size: 14px;
15
+ margin: 0 0 $sp2;
16
+ padding: 0 $sp 1px;
17
+ min-height: 36px;
18
+ &:focus {
19
+ @include box-shadow(rgba(#000, 0.2) 0 0 3px, rgba(#fff, 0.5) 0 1px);
20
+ border-color: #c8c8c8;
21
+ outline: 0;
22
+ }
23
+ &::-moz-placeholder {
24
+ color: #ccc;
25
+ opacity: 1;
26
+ }
27
+ &::-webkit-input-placeholder {
28
+ color: #ccc;
29
+ }
30
+ &:-ms-input-placeholder {
31
+ color: #ccc;
32
+ }
33
+ &.error {
34
+ @include box-shadow($red 0 0 0 1px);
35
+ border-color: $red;
36
+ }
37
+ }
38
+
39
+ // hide 'X' in IE10
40
+ input::-ms-clear {
41
+ display: none;
42
+ }
43
+
44
+ input[type="checkbox"] {
45
+ margin: -2px 5px 0 0;
46
+ vertical-align: middle;
47
+ }
48
+
49
+ input[type="radio"] {
50
+ margin: -3px 5px 0 0;
51
+ vertical-align: middle;
52
+ }
53
+
54
+ textarea {
55
+ display: block;
56
+ padding: $sp;
57
+ max-width: 100%;
58
+ }
59
+ }
@@ -0,0 +1,6 @@
1
+ @if $moovui-init {
2
+ label {
3
+ display: inline-block;
4
+ margin: 0 0 5px;
5
+ }
6
+ }
@@ -0,0 +1,57 @@
1
+ @if $moovui-init {
2
+ // reset
3
+ ul, ol {
4
+ list-style: none;
5
+ margin: 0;
6
+ padding: 0;
7
+ }
8
+
9
+ ul.copy, .copy ul {
10
+ color: #666;
11
+ font-weight: 300;
12
+ list-style: disc;
13
+ margin: 0 0 $sp2 3em;
14
+ }
15
+
16
+ ol.copy, .copy ol {
17
+ color: #666;
18
+ font-weight: 300;
19
+ list-style: decimal;
20
+ margin: 0 0 $sp2 3em;
21
+ }
22
+
23
+ .win {
24
+ ul.copy, .copy ul, ol.copy, .copy ol {
25
+ font-weight: normal;
26
+ }
27
+ }
28
+ }
29
+
30
+ @mixin section-list {
31
+ li {
32
+ margin: 0 0 $sp;
33
+ }
34
+ }
35
+
36
+ @mixin link-list {
37
+ list-style: none !important;
38
+ margin: 0 0 $sp2 2em;
39
+ padding: 0 0 0 1em; // padding won't get overridden
40
+ li:before {
41
+ @include entypo-icon;
42
+ @extend .icon-right:before;
43
+ color: #d3d5d5;
44
+ margin: 0 9px 0 -20px;
45
+ }
46
+ a {
47
+ font-weight: normal;
48
+ }
49
+ }
50
+
51
+ .#{$moovui-prefix}section-list {
52
+ @include section-list;
53
+ }
54
+
55
+ .#{$moovui-prefix}link-list {
56
+ @include link-list;
57
+ }
@@ -0,0 +1,17 @@
1
+ @mixin media-block {
2
+ display: block;
3
+ margin: 0 auto $sp2;
4
+ max-width: 100%;
5
+ }
6
+
7
+ .#{$moovui-prefix}media-block {
8
+ @include media-block;
9
+ }
10
+
11
+ img.#{$moovui-prefix}media-block {
12
+ @include border-radius(3px);
13
+ border: 3px solid #ddd;
14
+ &.no-border {
15
+ border: 0;
16
+ }
17
+ }
@@ -0,0 +1,71 @@
1
+ @if $moovui-init {
2
+ .reveal-modal-bg {
3
+ background: #000;
4
+ background: rgba(#000, 0.45);
5
+ display: none;
6
+ position: fixed;
7
+ top: 0;
8
+ left: 0;
9
+ width: 100%;
10
+ height: 100%;
11
+ z-index: 98;
12
+ }
13
+
14
+ .reveal-modal {
15
+ @include box-shadow(rgba(#000, 0.4) 0 0 10px);
16
+ @include radius;
17
+ background: #fff;
18
+ border: solid 1px #666;
19
+ display: none;
20
+ margin-left: -30%;
21
+ position: absolute;
22
+ top: $nav-height + $sp2;
23
+ left: 50%;
24
+ visibility: hidden;
25
+ width: 60%;
26
+ height: auto;
27
+ z-index: 99;
28
+ }
29
+
30
+ .modal-header {
31
+ @include border-radius($radius $radius 0 0);
32
+ background: #f9f9f9;
33
+ border-bottom: 1px solid #ccc;
34
+ padding: $sp;
35
+ .close-reveal-modal {
36
+ @include border-radius(8px);
37
+ background: #a2a2a2;
38
+ line-height: 14px;
39
+ padding: 0 0 0 4px;
40
+ position: absolute;
41
+ top: 16px;
42
+ right: 16px;
43
+ width: 16px;
44
+ height: 16px;
45
+ &:before {
46
+ content: "\00d7";
47
+ color: #fff;
48
+ font-size: 14px;
49
+ }
50
+ }
51
+ h3 {
52
+ margin: 0;
53
+ text-shadow: #fff 0 1px;
54
+ }
55
+ }
56
+
57
+ .modal-body {
58
+ padding: $sp;
59
+ }
60
+
61
+ .modal-footer {
62
+ @include border-radius(0 0 $radius $radius);
63
+ @include clearfix;
64
+ border-top: 1px solid #d0d0d0;
65
+ padding: $sp;
66
+ text-align: center;
67
+ .btn {
68
+ margin: 0;
69
+ }
70
+ }
71
+ }
@@ -0,0 +1,111 @@
1
+ @mixin notice {
2
+ @include radius;
3
+ background: #98c17b;
4
+ color: #fff;
5
+ margin: 0 auto $sp;
6
+ padding: $sp 14px $sp 68px;
7
+ position: relative;
8
+ max-width: $page-width - $sp2;
9
+ min-height: 60px;
10
+ &:before {
11
+ @include entypo-icon;
12
+ @extend .icon-circled-info:before;
13
+ color: #fff;
14
+ font-size: 40px;
15
+ margin: -12px 0 0;
16
+ position: absolute;
17
+ top: 50%;
18
+ left: 15px;
19
+ }
20
+ &.success:before {
21
+ @extend .icon-thumbs-up:before;
22
+ }
23
+ &.error {
24
+ background: #e46c67;
25
+ &:before {
26
+ @extend .icon-warning:before;
27
+ }
28
+ }
29
+ &.warning {
30
+ background: #e4cb5d;
31
+ &:before {
32
+ @extend .icon-warning:before;
33
+ }
34
+ }
35
+ .close {
36
+ color: #000;
37
+ float: right;
38
+ font-size: 20px;
39
+ font-weight: bold;
40
+ line-height: 22px;
41
+ opacity: 0.2;
42
+ text-decoration: none;
43
+ &:hover, &:focus {
44
+ color: #000;
45
+ cursor: pointer;
46
+ opacity: 0.4;
47
+ text-decoration: none;
48
+ }
49
+ &:before {
50
+ content: "\00d7";
51
+ }
52
+ }
53
+ a {
54
+ color: #fff;
55
+ font-weight: normal;
56
+ text-decoration: underline;
57
+ }
58
+ }
59
+
60
+ @mixin callout {
61
+ @include radius;
62
+ background: #eff2f3;
63
+ border: 1px solid #bdc4cb;
64
+ border-left-width: 50px;
65
+ font-weight: normal;
66
+ margin: 0 0 $sp2;
67
+ padding: $sp;
68
+ position: relative;
69
+ &:before {
70
+ @include entypo-icon;
71
+ @extend .icon-info:before;
72
+ color: #fff;
73
+ font-size: 20px;
74
+ margin: -13px 0 0 -60px;
75
+ position: absolute;
76
+ top: 50%;
77
+ text-align: center;
78
+ width: 50px;
79
+ }
80
+ &.warning:before {
81
+ @extend .icon-warning:before;
82
+ }
83
+ p, ol {
84
+ font: inherit;
85
+ }
86
+ > p:last-child {
87
+ margin: 0;
88
+ }
89
+ }
90
+
91
+ @if $moovui-init {
92
+ [data-alert] {
93
+ @include notice;
94
+ }
95
+
96
+ .callout {
97
+ @include callout;
98
+ }
99
+
100
+ .text-success {
101
+ color: $green;
102
+ }
103
+
104
+ .text-error {
105
+ color: $red;
106
+ }
107
+
108
+ .text-warning {
109
+ color: mix($orange, $yellow);
110
+ }
111
+ }
@@ -0,0 +1,25 @@
1
+ @mixin pane {
2
+ @include border-radius(7px);
3
+ @include box-shadow(#e3e7e9 0 0 0 1px inset, #f1f4f5 0 0 0 2px inset);
4
+ @include clearfix;
5
+ background: #eaedef;
6
+ margin: 0 0 $sp;
7
+ padding: $sp2;
8
+ }
9
+
10
+ @mixin subpane() {
11
+ @include clearfix;
12
+ @include radius;
13
+ background: $palegray;
14
+ border: 1px solid #ccc;
15
+ margin: 0 0 $sp2;
16
+ padding: $sp2 - 1px;
17
+ }
18
+
19
+ .#{$moovui-prefix}pane {
20
+ @include pane;
21
+ }
22
+
23
+ .#{$moovui-prefix}subpane {
24
+ @include subpane;
25
+ }