euphoria 0.1.3.4 → 0.1.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -3
- data/app/assets/stylesheets/euphoria/components/_menus.sass +21 -19
- data/app/assets/stylesheets/euphoria/core/_containers.sass +5 -17
- data/app/assets/stylesheets/euphoria/core/_grids.sass +8 -2
- data/app/assets/stylesheets/euphoria/core/_type.sass +4 -4
- data/app/assets/stylesheets/euphoria/helpers/_mixins.sass +14 -14
- data/app/assets/stylesheets/euphoria/helpers/_reset.sass +4 -1
- data/lib/euphoria/version.rb +1 -1
- data/lib/generators/install_generator.rb +6 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa454cd1c68811cea759e15da63b367009848368
|
4
|
+
data.tar.gz: ffedd57679849819960ad0d1d83d8c9796242821
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
-
|
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
|
-
|
29
|
-
|
30
|
-
|
31
|
-
justify-content: center
|
28
|
+
text-align: center
|
29
|
+
margin: 1% 0
|
30
|
+
font-size: 1rem
|
32
31
|
li
|
33
|
-
|
34
|
-
align
|
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
|
-
|
49
|
-
|
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:
|
23
|
-
|
24
|
-
|
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
|
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:
|
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:
|
21
|
+
font-size: 17px
|
22
22
|
|
23
23
|
|
24
24
|
+tablet
|
25
25
|
html
|
26
|
-
font-size:
|
26
|
+
font-size: 15px
|
27
27
|
|
28
28
|
|
29
29
|
+mobile
|
30
30
|
html
|
31
|
-
font-size:
|
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
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
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
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
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
|
**============================================================================
|
data/lib/euphoria/version.rb
CHANGED
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
|
+
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-
|
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
|