wcc-styles 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README-GEM.md +2 -0
- data/lib/wcc/styles/version.rb +1 -1
- metadata +47 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1dd7db3cc160365f57fcd375727274f470a601a7
|
4
|
+
data.tar.gz: 310b7ff0239c7d39ce921016e172800a083d7afb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6edcb5efa8762e06dcacad0643a20ce6ccb69c2af21a8af5d031084c854ea6a03bfa1a86bcefdb567ab574734c3355626aecb9bb307d05f173937ad75698db6
|
7
|
+
data.tar.gz: bb62757ef55ae7d437c7c3844e04e9bbec59ba7db8e608b61f253db3b6269ebf50e3a34a5459cade4ec807cade86f2d584b8d409fcae8f954a59f5e593725587
|
data/README-GEM.md
CHANGED
@@ -4,6 +4,8 @@ This gem holds all of the styles for Watermark apps. For Rails apps a
|
|
4
4
|
Rails Engine will automatically be set up that configures the asset
|
5
5
|
pipeline properly.
|
6
6
|
|
7
|
+
Check out the [Watermark Pattern Library](https://patterns.watermark.org).
|
8
|
+
|
7
9
|
## Installation
|
8
10
|
|
9
11
|
Add these lines to your application's Gemfile:
|
data/lib/wcc/styles/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wcc-styles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Watermark Community Church
|
@@ -111,47 +111,93 @@ dependencies:
|
|
111
111
|
description: |+
|
112
112
|
# WCC::Styles
|
113
113
|
|
114
|
+
|
115
|
+
|
114
116
|
This gem holds all of the styles for Watermark apps. For Rails apps a
|
117
|
+
|
115
118
|
Rails Engine will automatically be set up that configures the asset
|
119
|
+
|
116
120
|
pipeline properly.
|
117
121
|
|
122
|
+
|
123
|
+
|
124
|
+
Check out the [Watermark Pattern Library](https://patterns.watermark.org).
|
125
|
+
|
126
|
+
|
127
|
+
|
118
128
|
## Installation
|
119
129
|
|
130
|
+
|
131
|
+
|
120
132
|
Add these lines to your application's Gemfile:
|
121
133
|
|
134
|
+
|
135
|
+
|
122
136
|
```ruby
|
137
|
+
|
123
138
|
gem 'wcc-styles'
|
124
139
|
|
140
|
+
|
141
|
+
|
125
142
|
source 'https://rails-assets.org' do
|
143
|
+
|
126
144
|
gem 'rails-assets-selectize'
|
145
|
+
|
127
146
|
gem 'rails-assets-dropzone'
|
147
|
+
|
128
148
|
gem 'rails-assets-moment'
|
149
|
+
|
129
150
|
gem 'rails-assets-datetimepicker', '2.4.5'
|
151
|
+
|
130
152
|
end
|
131
153
|
|
154
|
+
|
155
|
+
|
132
156
|
```
|
133
157
|
|
158
|
+
|
159
|
+
|
134
160
|
And then execute:
|
135
161
|
|
162
|
+
|
163
|
+
|
136
164
|
$ bundle
|
137
165
|
|
166
|
+
|
167
|
+
|
138
168
|
## Usage
|
139
169
|
|
170
|
+
|
171
|
+
|
140
172
|
The assets are all namespaced in `wcc/styles` within the asset pipeline.
|
173
|
+
|
141
174
|
So to include styles in an `application.sass` within your application
|
175
|
+
|
142
176
|
include the following line:
|
143
177
|
|
178
|
+
|
179
|
+
|
144
180
|
```sass
|
181
|
+
|
145
182
|
# Import all styles
|
183
|
+
|
146
184
|
@import "wcc/styles/base/all";
|
185
|
+
|
147
186
|
```
|
148
187
|
|
188
|
+
|
189
|
+
|
149
190
|
To include the Javascript code add this to your `application.js`:
|
150
191
|
|
192
|
+
|
193
|
+
|
151
194
|
```javascript
|
195
|
+
|
152
196
|
//= require wcc/styles/application
|
197
|
+
|
153
198
|
```
|
154
199
|
|
200
|
+
|
155
201
|
email:
|
156
202
|
- dev@watermark.org
|
157
203
|
executables: []
|