euphoria 0.1.3.4 → 0.1.3.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f9e93684ee7b39ec50ec42e32bd04b003066d0e3
4
- data.tar.gz: a27cbd34ff1a561a5d69aaa82183b17e458c67cd
3
+ metadata.gz: aa454cd1c68811cea759e15da63b367009848368
4
+ data.tar.gz: ffedd57679849819960ad0d1d83d8c9796242821
5
5
  SHA512:
6
- metadata.gz: f2bb76fe26debf8e5d32353ce123748ae1cfb0888a38de8fd5075ce5e65e32a04f1bcc749090062a10bcfb17953e1b824fc57c2bd07d2af21b88e9187a5787e3
7
- data.tar.gz: 368082f72dbd9b28a529493e3c3f57521b7ed0f6e856a76b5a4c9da01ac43a4650dab1b75fb89c11bd561c3316545cbe184ecbf8e38595aca96aeed2ebfa49ec
6
+ metadata.gz: 84341c4317b5ff943c12739e05b3bca174fcd8240721c30d5e5def1203993b36ee893db331af9c0a490a635e74e6f1d714e7735310a89f8e374b77fcec99ec2e
7
+ data.tar.gz: 3a6cb416643b5673ba78b70768cdd2068c34b02421678b16318977ac8e57c1776ad784d56dc7a6137d7023001e31cc00b9311bc11e50a60bb62f15994802e457
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Euphoria
2
2
 
3
- A lightweight css flex-grid framework to ease workflow. We hate IE
3
+ A lightweight css grid framework to ease workflow. We hate IE
4
4
 
5
5
  ## Installation
6
6
 
@@ -25,11 +25,13 @@ TODO:
25
25
 
26
26
  ## In the application.js
27
27
 
28
- add //= require UI_Modules
28
+
29
+ add //= require UI_Modules before //=require_tree
29
30
 
30
31
  ## In the application.css
31
32
 
32
- add *= require load
33
+ add *= require load before //=require_tree as well
34
+
33
35
 
34
36
  ## How to use ?
35
37
 
@@ -25,14 +25,12 @@ $menu_link_padding: 1rem 1.5rem
25
25
  text-transform: uppercase
26
26
  letter-spacing: 1px
27
27
  list-style-type: none
28
- +flex
29
- +flex-horizontal
30
- align-items: center
31
- justify-content: center
28
+ text-align: center
29
+ margin: 1% 0
30
+ font-size: 1rem
32
31
  li
33
- +flex
34
- align-items: center
35
- justify-content: center
32
+ display: inline-block
33
+ text-align: center
36
34
  a
37
35
  padding: $menu_link_padding
38
36
  font-family: $menu_font
@@ -45,11 +43,8 @@ $menu_link_padding: 1rem 1.5rem
45
43
  &.active-bottom
46
44
  border-bottom: 2px solid #98F5FF
47
45
  &.vertical
48
- +flex-horizontal(false)
49
- &.left
50
- justify-content: flex-start
51
- &.right
52
- justify-content: flex-end
46
+ display: block
47
+
53
48
  /*=============================================================================
54
49
  ** Mobile Menu
55
50
  **==============================================================================
@@ -59,6 +54,19 @@ $menu_link_padding: 1rem 1.5rem
59
54
  display: none
60
55
  a
61
56
  font-size: $menu_font_size
57
+ /*=============================================================================
58
+ ** Menu
59
+ **============================================================================
60
+ .menu-container
61
+ @extend %default_prop
62
+ background-color: $menu_bg
63
+ min-height: 50px
64
+ box-shadow: 0 2px 10px 0 rgba(0,0,0,0.16)
65
+ margin-bottom: 5%
66
+ &.fixed
67
+ position: fixed
68
+ top: 0
69
+ left: 0
62
70
  /*=============================================================================
63
71
  ** Regular Menu
64
72
  **==============================================================================
@@ -74,16 +82,12 @@ $menu_link_padding: 1rem 1.5rem
74
82
  .tablet-menu
75
83
  width: 95%
76
84
  margin: auto
77
- +flex
78
- +flex-horizontal
79
- align-items: center
80
- justify-content: flex-start
81
85
  li
86
+ display: inline-block
82
87
  &.menu-toggle
83
88
  z-index
84
89
  width: 100%
85
90
  border-bottom: 1px solid $li_border_color
86
- justify-content: flex-start
87
91
  padding: .3rem 0
88
92
 
89
93
  margin-right: 2%
@@ -92,8 +96,6 @@ $menu_link_padding: 1rem 1.5rem
92
96
  .menu
93
97
  display: none
94
98
  li
95
- +flex-horizontal(false)
96
- width: 100%
97
99
  &.bordered
98
100
  li
99
101
  border-bottom: 1px solid $li_border_color
@@ -19,23 +19,11 @@ $menu_bg: #fff
19
19
  **============================================================================
20
20
  .row
21
21
  @extend %default_prop
22
- margin-bottom: 1%
23
- +flex
24
- +flex-horizontal
25
-
26
- /*=============================================================================
27
- ** Menu
28
- **============================================================================
29
- .menu-container
30
- @extend %default_prop
31
- background-color: $menu_bg
32
- min-height: 50px
33
- box-shadow: 0 2px 10px 0 rgba(0,0,0,0.16)
34
- margin-bottom: 5%
35
- &.fixed
36
- position: fixed
37
- top: 0
38
- left: 0
22
+ margin-bottom: .5%
23
+ &:before, &:after
24
+ content: " "
25
+ display: table
26
+
39
27
 
40
28
  /*=============================================================================
41
29
  ** text box holder
@@ -7,7 +7,7 @@
7
7
  width: $i / 18 * 100%
8
8
 
9
9
  /*=============================================================================
10
- ** spaces or gaps
10
+ ** spaces
11
11
  **============================================================================
12
12
  @for $i from 1 through 18
13
13
  .space-l-#{$i}
@@ -16,6 +16,7 @@
16
16
  width: $i / 18 * 100%
17
17
 
18
18
 
19
+
19
20
  /*=============================================================================
20
21
  ** Responsive Grids
21
22
  **============================================================================
@@ -51,4 +52,9 @@
51
52
  @for $i from 1 through 18
52
53
  .mobile-#{$i}
53
54
  width: $i / 18 * 100%
54
-
55
+
56
+ [class*='c-'],[class*='col-'],[class*='mobile-'],[class*='sm-tablet-'],[class*='tablet-']
57
+ float: left
58
+ &:before, &:after
59
+ content: " "
60
+ display: table
@@ -1,5 +1,5 @@
1
1
  html
2
- font-size: 17px
2
+ font-size: 16px
3
3
 
4
4
  h1
5
5
  font-size: 3rem
@@ -18,14 +18,14 @@ p
18
18
 
19
19
  +lg-desktop
20
20
  html
21
- font-size: 18px
21
+ font-size: 17px
22
22
 
23
23
 
24
24
  +tablet
25
25
  html
26
- font-size: 16px
26
+ font-size: 15px
27
27
 
28
28
 
29
29
  +mobile
30
30
  html
31
- font-size: 15px
31
+ font-size: 14px
@@ -32,21 +32,21 @@ $b_radius: .5 // bg border radius
32
32
  ** Flex box
33
33
  **============================================================================
34
34
 
35
- =flex
36
- display: -webkit-box
37
- display: -moz-box
38
- display: -ms-flexbox
39
- display: -webkit-flex
40
- display: flex
41
- flex-flow: row wrap
35
+ // =flex
36
+ // display: -webkit-box
37
+ // display: -moz-box
38
+ // display: -ms-flexbox
39
+ // display: -webkit-flex
40
+ // display: flex
41
+ // flex-flow: row wrap
42
42
 
43
- =flex-horizontal ($row: true)
44
- @if $row
45
- -webkit-flex-direction: row
46
- flex-direction: row
47
- @else
48
- -webkit-flex-direction: column
49
- flex-direction: column
43
+ // =flex-horizontal ($row: true)
44
+ // @if $row
45
+ // -webkit-flex-direction: row
46
+ // flex-direction: row
47
+ // @else
48
+ // -webkit-flex-direction: column
49
+ // flex-direction: column
50
50
  /*=============================================================================
51
51
  ** Rounded corners
52
52
  **============================================================================
@@ -9,7 +9,10 @@ body
9
9
  margin: 0
10
10
  padding: 0
11
11
 
12
-
12
+ *, *:before, *:after
13
+ -webkit-box-sizing: border-box
14
+ -moz-box-sizing: border-box
15
+ box-sizing: border-box
13
16
  h1,
14
17
  h2,
15
18
  h3,
@@ -1,4 +1,4 @@
1
1
  module Euphoria
2
- VERSION = "0.1.3.4"
2
+ VERSION = "0.1.3.5"
3
3
  end
4
4
 
@@ -0,0 +1,6 @@
1
+ require "../euphoria"
2
+
3
+ module Euphoria
4
+ class Engine < Rails::Engine
5
+ end
6
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: euphoria
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3.4
4
+ version: 0.1.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - paul brunache
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-05-18 00:00:00.000000000 Z
11
+ date: 2015-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -112,6 +112,7 @@ files:
112
112
  - euphoria.gemspec
113
113
  - lib/euphoria.rb
114
114
  - lib/euphoria/version.rb
115
+ - lib/generators/install_generator.rb
115
116
  homepage: https://github.com/PaulBrunache/Euphoria
116
117
  licenses:
117
118
  - MIT