concisecss 0.0.4 → 0.0.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 +4 -4
- data/.travis.yml +8 -0
- data/README.md +1 -3
- data/Rakefile +1 -0
- data/app/assets/javascripts/concisecss.js +1 -0
- data/app/assets/stylesheets/_defaults.scss +10 -10
- data/app/assets/stylesheets/concise.scss +0 -39
- data/app/assets/stylesheets/generic/_mixins.scss +35 -7
- data/concisecss.gemspec +1 -1
- data/lib/concisecss/version.rb +1 -1
- metadata +10 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 844d9f983926cf8459ac3f66bed3abcd73493a6b
|
4
|
+
data.tar.gz: d37e0525ca8ce09672b127070886618a1fd05e0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc1aeeae747c9d10416cc93b92be83b5ba09c2bcfc6042f0b7bd35c2f48b4699ba89e67ff51b524b3714c2af7d88907fdbef3ea5cb55d894d79815cdf5a18459
|
7
|
+
data.tar.gz: cf55f1616652974a8f12fb610749dca0a41ea4f0a65139c3758a5826947c365d68b6d8e1b19813cdb107c43e0f62146d0150cd291478092fa78461f7dc981eb0
|
data/.travis.yml
ADDED
data/README.md
CHANGED
@@ -9,7 +9,7 @@ Concise is a lightweight, front-end framework that provides a number of great fe
|
|
9
9
|
|
10
10
|
Add this line to your application's Gemfile:
|
11
11
|
|
12
|
-
gem 'concisecss', '~> 0.0.
|
12
|
+
gem 'concisecss', '~> 0.0.5'
|
13
13
|
|
14
14
|
And then execute:
|
15
15
|
|
@@ -61,5 +61,3 @@ Concise is currently maintained under the [Semantic Versioning guidelines](http:
|
|
61
61
|
## License
|
62
62
|
|
63
63
|
Code released under the [MIT license](https://github.com/ConciseCSS/concise.css/blob/master/LICENSE). Documentation released under [Creative Commons](http://creativecommons.org/licenses/by-sa/4.0/).
|
64
|
-
|
65
|
-
[](http://githalytics.com/ConciseCSS/concise.css-gem)
|
data/Rakefile
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
//= require concisecss
|
@@ -1,4 +1,4 @@
|
|
1
|
-
// Thanks to inuitcss (https://github.com/csswizardry/inuit.css/blob/master/_defaults.scss)
|
1
|
+
// Thanks to inuitcss (https://github.com/csswizardry/inuit.css/blob/master/_defaults.scss)
|
2
2
|
// for the inspiration to create a default file for variables
|
3
3
|
|
4
4
|
|
@@ -24,7 +24,7 @@ $base-spacing-unit: $base-line-height !default;
|
|
24
24
|
$half-spacing-unit: $base-spacing-unit / 2 !default;
|
25
25
|
$line-height-ratio: $base-line-height / $base-font-size;
|
26
26
|
|
27
|
-
|
27
|
+
|
28
28
|
|
29
29
|
|
30
30
|
//------------------------------------
|
@@ -103,7 +103,7 @@ $placeholder-color: #bbbbbb !default;
|
|
103
103
|
|
104
104
|
// Colors used for our objects' borders, etc
|
105
105
|
$object-ui-color: #ededed !default;
|
106
|
-
|
106
|
+
|
107
107
|
|
108
108
|
|
109
109
|
|
@@ -111,7 +111,7 @@ $object-ui-color: #ededed !default;
|
|
111
111
|
// OBJECTS
|
112
112
|
//------------------------------------
|
113
113
|
|
114
|
-
// Gutter size
|
114
|
+
// Gutter size
|
115
115
|
$gutters: 2% !default;
|
116
116
|
|
117
117
|
|
@@ -120,9 +120,9 @@ $gutters: 2% !default;
|
|
120
120
|
$column-prefix: 'column-' !default;
|
121
121
|
|
122
122
|
|
123
|
-
// Dictate how many columns you would like your
|
123
|
+
// Dictate how many columns you would like your
|
124
124
|
// grid system to use. Default is 16.
|
125
|
-
$column-number: 16 !default;
|
125
|
+
$column-number: 16 !default;
|
126
126
|
|
127
127
|
|
128
128
|
// Border radius value for `.border-radius` class
|
@@ -138,8 +138,8 @@ $border-radius: 4px !default;
|
|
138
138
|
// Set whatever components you want included
|
139
139
|
// in your project to `true` and any components
|
140
140
|
// you do not wish to be included to `false`
|
141
|
-
//
|
142
|
-
// Thanks to inuitcss (https://github.com/csswizardry/inuit.css/blob/master/_defaults.scss)
|
141
|
+
//
|
142
|
+
// Thanks to inuitcss (https://github.com/csswizardry/inuit.css/blob/master/_defaults.scss)
|
143
143
|
// for the idea to use feature switches in a framework. It's an absolutely brilliant idea
|
144
144
|
// that makes customization so much easier.
|
145
145
|
|
@@ -166,7 +166,7 @@ $use-grid: true !default;
|
|
166
166
|
$use-push: false !default;
|
167
167
|
$use-pull: false !default;
|
168
168
|
|
169
|
-
|
169
|
+
|
170
170
|
// Objects
|
171
171
|
$use-type-colors: true !default;
|
172
172
|
$use-bg-colors: true !default;
|
@@ -184,4 +184,4 @@ $use-progress: true !default;
|
|
184
184
|
// Helpers
|
185
185
|
$use-helper: true !default;
|
186
186
|
$use-conditional: true !default;
|
187
|
-
$use-print: true !default;
|
187
|
+
$use-print: true !default;
|
@@ -8,45 +8,6 @@
|
|
8
8
|
* http://opensource.org/licenses/MIT
|
9
9
|
*
|
10
10
|
*/
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
//------------------------------------
|
16
|
-
// CONTENTS
|
17
|
-
//------------------------------------
|
18
|
-
//
|
19
|
-
// MIXINS
|
20
|
-
// NORMALIZE
|
21
|
-
// CLEARFIX
|
22
|
-
// SHARED
|
23
|
-
//
|
24
|
-
// MAIN
|
25
|
-
// SELECTION
|
26
|
-
// CONTAINER
|
27
|
-
// TYPE
|
28
|
-
// HEADINGS
|
29
|
-
// BLOCKQUOTES
|
30
|
-
// LISTS
|
31
|
-
// TABLES
|
32
|
-
// FORMS
|
33
|
-
// GRID
|
34
|
-
//
|
35
|
-
// COLORS
|
36
|
-
// BUTTONS
|
37
|
-
// GROUPS
|
38
|
-
// DROPDOWNS
|
39
|
-
// NAVIGATION
|
40
|
-
// BREADCRUMBS
|
41
|
-
// WELLS
|
42
|
-
// BADGES
|
43
|
-
// PROGRESS
|
44
|
-
//
|
45
|
-
// HELPER
|
46
|
-
// CONDITIONAL
|
47
|
-
// PRINT
|
48
|
-
//
|
49
|
-
//
|
50
11
|
|
51
12
|
|
52
13
|
|
@@ -1,6 +1,37 @@
|
|
1
|
+
//------------------------------------
|
2
|
+
// FUNCTIONS
|
3
|
+
//------------------------------------
|
4
|
+
|
5
|
+
//
|
6
|
+
// Calculates proper rem font-size given
|
7
|
+
// a pixel amount.
|
8
|
+
//
|
9
|
+
@function calculate-rem($font-size) {
|
10
|
+
$rem-size: ($font-size / $base-font-size) * 1rem;
|
11
|
+
@return $rem-size;
|
12
|
+
}
|
13
|
+
|
14
|
+
|
15
|
+
//
|
16
|
+
// Calculates proper line-height given a
|
17
|
+
// font-size to maintain vertical rhythm.
|
18
|
+
//
|
19
|
+
@function calculate-line-height($font-size) {
|
20
|
+
$line-height-size: ceil($font-size / $base-line-height) * ($base-line-height / $font-size);
|
21
|
+
@return $line-height-size;
|
22
|
+
}
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
//------------------------------------
|
28
|
+
// MIXINS
|
29
|
+
//------------------------------------
|
30
|
+
|
1
31
|
//
|
2
|
-
//
|
3
|
-
//
|
32
|
+
// Uses `calculate-rem()` to calculate rem font-size and px
|
33
|
+
// fallback. line-height is calculated with `calculate-line-height()`
|
34
|
+
// but passing `false` will prevent that.
|
4
35
|
//
|
5
36
|
// `@include font-size(24px);`
|
6
37
|
//
|
@@ -8,14 +39,11 @@
|
|
8
39
|
// Big thanks to inuitcss for inspiration behind this
|
9
40
|
// (https://github.com/csswizardry/inuit.css/blob/master/generic/_mixins.scss)
|
10
41
|
@mixin font-size($font-size, $line-height: true) {
|
11
|
-
$rem-size: ($font-size / $base-font-size) * 1rem;
|
12
|
-
$line-height-size: ceil($font-size / $base-line-height) * ($base-line-height / $font-size);
|
13
|
-
|
14
42
|
font-size: $font-size;
|
15
|
-
font-size: $
|
43
|
+
font-size: calculate-rem($font-size);
|
16
44
|
|
17
45
|
@if $line-height == true {
|
18
|
-
line-height:
|
46
|
+
line-height: calculate-line-height($font-size);
|
19
47
|
}
|
20
48
|
}
|
21
49
|
|
data/concisecss.gemspec
CHANGED
@@ -21,5 +21,5 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_development_dependency 'bundler', '~> 1.5'
|
22
22
|
spec.add_development_dependency 'rake', '~> 0'
|
23
23
|
spec.add_development_dependency 'rails', '~> 4.0'
|
24
|
-
spec.
|
24
|
+
spec.add_development_dependency 'httpclient', '~> 2.4', '>= 2.4.0'
|
25
25
|
end
|
data/lib/concisecss/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: concisecss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benjamin Sigidi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -58,20 +58,20 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '2.
|
62
|
-
- - "
|
61
|
+
version: '2.4'
|
62
|
+
- - ">="
|
63
63
|
- !ruby/object:Gem::Version
|
64
|
-
version:
|
64
|
+
version: 2.4.0
|
65
65
|
type: :development
|
66
66
|
prerelease: false
|
67
67
|
version_requirements: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
69
|
- - "~>"
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: '2.
|
72
|
-
- - "
|
71
|
+
version: '2.4'
|
72
|
+
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
74
|
+
version: 2.4.0
|
75
75
|
description: Concise is built on a set of simple but important principles that aid
|
76
76
|
in effective and manageable web design. By understanding these principles, Concise
|
77
77
|
can be used to it's full potential and we can create a better paradigm for using
|
@@ -83,10 +83,12 @@ extensions: []
|
|
83
83
|
extra_rdoc_files: []
|
84
84
|
files:
|
85
85
|
- ".gitignore"
|
86
|
+
- ".travis.yml"
|
86
87
|
- Gemfile
|
87
88
|
- LICENSE
|
88
89
|
- README.md
|
89
90
|
- Rakefile
|
91
|
+
- app/assets/javascripts/concisecss.js
|
90
92
|
- app/assets/javascripts/concisecss/close.js
|
91
93
|
- app/assets/javascripts/concisecss/dropdown.js
|
92
94
|
- app/assets/javascripts/concisecss/naver.js
|