mai 0.0.2

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.
@@ -0,0 +1,51 @@
1
+
2
+ fieldset
3
+ border: 1px solid #c0c0c0
4
+ margin: 0 2px
5
+ padding: 0.35em 0.625em 0.75em
6
+
7
+ legend
8
+ border: 0
9
+ padding: 0
10
+
11
+ button, input, select, textarea
12
+ font-family: inherit
13
+ font-size: 100%
14
+ margin: 0
15
+
16
+ button, input
17
+ line-height: normal
18
+
19
+ button, select
20
+ text-transform: none
21
+
22
+ button, html input[type="button"], input[type="reset"], input[type="submit"]
23
+ -webkit-appearance: button
24
+ cursor: pointer
25
+
26
+ button[disabled], html input[disabled]
27
+ cursor: default
28
+
29
+ input[type="checkbox"], input[type="radio"]
30
+ box-sizing: border-box
31
+ padding: 0
32
+
33
+ input[type="search"]
34
+ -webkit-appearance: textfield
35
+ +box-sizing
36
+
37
+ input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration
38
+ -webkit-appearance: none
39
+
40
+ button::-moz-focus-inner, input::-moz-focus-inner
41
+ border: 0
42
+ padding: 0
43
+
44
+ textarea
45
+ overflow: auto
46
+ vertical-align: top
47
+ height: auto
48
+ min-height: 50px
49
+
50
+ select
51
+ width: 100%
@@ -0,0 +1,4 @@
1
+
2
+ table
3
+ border-collapse: collapse
4
+ border-spacing: 0
@@ -0,0 +1,47 @@
1
+
2
+ /* Context switcher for targeted stylesheets.
3
+ ----------------------------------------------------------------------------------------------------------------------
4
+ Currently a copypasta from Jacket (git://github.com/Team-Sass/jacket.git).
5
+
6
+
7
+ $m-context: null !default
8
+ $m-_context: null
9
+
10
+ =context($args...)
11
+ $matches: false
12
+ $selectors: ()
13
+ $filtered: ()
14
+ $selector-string: ''
15
+
16
+ $m-_context: $args
17
+
18
+ @if list-separator($m-context) == 'space'
19
+ $m-context: $m-context, null
20
+
21
+ // Test if a jacket context and jacket value match.
22
+ @each $item in $m-context
23
+ @each $arg in $args
24
+ @if index($arg, nth($item, 1))
25
+ @if length($item) == 1
26
+ $matches: true
27
+ @if length($item) == 2
28
+ $selectors: append($selectors, nth($item, 2) + ' &')
29
+
30
+ @each $selector in $selectors
31
+ @if index($filtered, $selector) == false
32
+ $filtered: append($filtered, $selector)
33
+
34
+ @each $selector in $filtered
35
+ @if $selector-string != ''
36
+ $selector-string: $selector-string + ", "
37
+ $selector-string: $selector-string + $selector
38
+
39
+ @if $matches
40
+ @content
41
+
42
+ @if $selector-string != ''
43
+ #{$selector-string}
44
+ @content
45
+
46
+ @function jacket-context($arg)
47
+ @return if(index($m-_context, $arg), true, false)
@@ -0,0 +1,8 @@
1
+
2
+
3
+ /* Globally available mixins that are generic enough to be easily used outside of Mai.
4
+
5
+ =box-sizing($type: border-box)
6
+ -moz-box-sizing: $type
7
+ -webkit-box-sizing: $type
8
+ box-sizing: $type
@@ -0,0 +1,20 @@
1
+
2
+ /* Requires
3
+ /* - Configs: media, grid
4
+
5
+ =for($size, $type: 'screen')
6
+ @if $size == 'breakpoint'
7
+ @media #{$m-media-query-breakpoint}
8
+ @content
9
+ @if $size == 'small' and $type == 'screen'
10
+ @media #{$m-media-query-small}
11
+ @content
12
+ @else if $size == 'medium' and $type == 'screen'
13
+ @media #{$m-media-query-medium}
14
+ @content
15
+ @else if $size == 'large' and $type == 'screen'
16
+ @media #{$m-media-query-large}
17
+ @content
18
+ @else if $size == 'xlarge' and $type == 'screen'
19
+ @media #{$m-media-query-xlarge}
20
+ @content
@@ -0,0 +1,20 @@
1
+
2
+ /* Requires
3
+ /* - Gems: rgbapng
4
+
5
+ @import 'rgbapng'
6
+
7
+
8
+ /* Utils | RGBA | Config
9
+ ------------------------------------------------- */
10
+
11
+ $path-in-img-rgba-png: 'png' !default
12
+ $rgbapng_path: $path-in-img-rgba-png !default
13
+
14
+ /* Utils | RGBA | Mixins
15
+ ------------------------------------------------- */
16
+
17
+ =bg-rgba-fallback($color, $opacity: $bg-opacity-base)
18
+ background: $color
19
+ background: image-url((png_pixelate(rgba($color, $opacity), $path-in-img-rgba-png)))
20
+ background: rgba($color, $opacity)
@@ -0,0 +1,24 @@
1
+
2
+ =cf()
3
+ *zoom: 1
4
+ &:before, &:after
5
+ content: " "
6
+ display: table
7
+ &:after
8
+ clear: both
9
+
10
+ =clearfix()
11
+ +cf()
12
+
13
+ =cfBreakpoint()
14
+ +for('breakpoint')
15
+ &:before, &:after
16
+ content: " "
17
+ display: table
18
+ &:after
19
+ clear: both
20
+ &:last-child
21
+ float: none
22
+
23
+ =clearfixBreakpoint()
24
+ +cfBreakpoint()
@@ -0,0 +1,17 @@
1
+ description 'Mai'
2
+
3
+ # Sass Files
4
+ stylesheet 'sass/master.sass', :to => 'master.sass', :media => "screen, projector, print"
5
+
6
+ help %Q{
7
+
8
+ Documentation for Mai is available at https://docs.muyo.pl/mai"
9
+
10
+ }
11
+
12
+ welcome_message %Q{
13
+
14
+ Thanks for installing Mai!
15
+ If you run into any trouble, check out https://docs.muyo.pl/mai.
16
+
17
+ }
@@ -0,0 +1,2 @@
1
+ // Mai base import
2
+ @import mai
metadata ADDED
@@ -0,0 +1,93 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mai
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Muyo
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-06-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: sass
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ! '>='
18
+ - !ruby/object:Gem::Version
19
+ version: 3.2.3
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ! '>='
25
+ - !ruby/object:Gem::Version
26
+ version: 3.2.3
27
+ description: Mai CSS skeleton built on Compass
28
+ email:
29
+ - mai@muyo.pl
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - .gitignore
35
+ - Gemfile
36
+ - LICENSE.md
37
+ - README.md
38
+ - lib/mai.rb
39
+ - lib/mai/version.rb
40
+ - mai.gemspec
41
+ - sass/_config.sass
42
+ - sass/_mai.sass
43
+ - sass/_modules.sass
44
+ - sass/_utils.sass
45
+ - sass/config/_global.sass
46
+ - sass/config/_grid.sass
47
+ - sass/config/_media.sass
48
+ - sass/config/_type.sass
49
+ - sass/config/_ui.sass
50
+ - sass/modules/_grid.sass
51
+ - sass/modules/_helpers.sass
52
+ - sass/modules/_media.sass
53
+ - sass/modules/_type.sass
54
+ - sass/modules/_ui.sass
55
+ - sass/modules/grid/_base.sass
56
+ - sass/modules/grid/_functions.sass
57
+ - sass/modules/grid/_media.sass
58
+ - sass/modules/grid/media/_base.sass
59
+ - sass/modules/media/_print.sass
60
+ - sass/modules/ui/_forms.sass
61
+ - sass/modules/ui/_tables.sass
62
+ - sass/utils/_context.sass
63
+ - sass/utils/_global.sass
64
+ - sass/utils/_media.sass
65
+ - sass/utils/_rgba.sass
66
+ - sass/utils/_ui.sass
67
+ - templates/project/manifest.rb
68
+ - templates/project/sass/master.sass
69
+ homepage: https://github.com/muyo/mai
70
+ licenses:
71
+ - MIT
72
+ metadata: {}
73
+ post_install_message:
74
+ rdoc_options: []
75
+ require_paths:
76
+ - lib
77
+ required_ruby_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ! '>='
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ required_rubygems_version: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ! '>='
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
87
+ requirements: []
88
+ rubyforge_project:
89
+ rubygems_version: 2.0.3
90
+ signing_key:
91
+ specification_version: 4
92
+ summary: Mai CSS skeleton built on Compass
93
+ test_files: []