staple 0.1.4 → 0.1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00f10e1698f72540cf6bccf2a73f5ed75b9e9ef7
|
4
|
+
data.tar.gz: fe5f2561fa31c216acacde746c8a38b9d05e36dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4d8cabe336cda5d677c7076f94e62a3b81fabc8905e56dc992fe565eac79c53e26de8a6873697c0cd99ed1fcb118a80f74afcaa60af7c6a8dbbe8be01f77022
|
7
|
+
data.tar.gz: d3dfd9ac828946bdb32a470d9e171942d62e778ddabb37f14b75b33994fc6bdf88a673839feb7e50e28b08828cd7602fd122fc7634d2502970408c77bf859e11
|
data/README.md
CHANGED
@@ -4,6 +4,9 @@ High level UI framework. Built on top of foundation.
|
|
4
4
|
|
5
5
|
##TODO
|
6
6
|
|
7
|
+
* Tables
|
8
|
+
* Sizes
|
9
|
+
|
7
10
|
* See buttons for config
|
8
11
|
* can pull in partials/components and new css, not included w/install
|
9
12
|
* can then customize those with variables. Ask if you want to import if not in project
|
@@ -8,7 +8,7 @@ module Staple
|
|
8
8
|
generate "foundation:install", "--slim" #rails g foundation:install --slim
|
9
9
|
# trim fat
|
10
10
|
copy_file "source/stylesheets/foundation_and_overrides.scss", "app/assets/stylesheets/foundation_and_overrides.scss", :force => true
|
11
|
-
gsub_file "app/assets/javascripts/application.js", "$(function(){ $(document).foundation(); });", "var ready = function() {\n$(document).foundation();\n$(document).foundation('abide', {\
|
11
|
+
gsub_file "app/assets/javascripts/application.js", "$(function(){ $(document).foundation(); });", "var ready = function() {\n\t$(document).foundation();\n\t$(document).foundation('abide', {\n\t\tinit: false,\n\t});\n}\n\n$(ready);\n$(document).on('page:load', ready);"
|
12
12
|
end
|
13
13
|
|
14
14
|
def simple_form_install
|
@@ -1224,24 +1224,24 @@ $switch-label-outline: 1px dotted rgba($black, $transparent-medium);
|
|
1224
1224
|
|
1225
1225
|
// These control the background color for the table and even rows
|
1226
1226
|
$table-bg: $white;
|
1227
|
-
$table-even-row-bg:
|
1227
|
+
$table-even-row-bg: none;
|
1228
1228
|
|
1229
1229
|
// These control the table cell border style
|
1230
1230
|
$table-border-style: solid;
|
1231
|
-
$table-border-size:
|
1231
|
+
$table-border-size: 0px;
|
1232
1232
|
$table-border-color: rgba($black, $transparent-weak);
|
1233
1233
|
|
1234
1234
|
// These control the table head styles
|
1235
|
-
$table-head-bg:
|
1235
|
+
$table-head-bg: none;
|
1236
1236
|
$table-head-font-size: rem-calc(14);
|
1237
1237
|
$table-head-font-color: rgba($black, $transparent-strong);
|
1238
|
-
$table-head-font-weight: $font-weight-
|
1238
|
+
$table-head-font-weight: $font-weight-normal;
|
1239
1239
|
$table-head-padding: rem-calc(8 10 10);
|
1240
1240
|
|
1241
1241
|
// These control the row padding and font styles
|
1242
1242
|
$table-row-padding: rem-calc(9 10);
|
1243
1243
|
$table-row-font-size: rem-calc(14);
|
1244
|
-
$table-row-font-color: rgba($black, $transparent-
|
1244
|
+
$table-row-font-color: rgba($black, $transparent-medium);
|
1245
1245
|
$table-line-height: rem-calc(18);
|
1246
1246
|
|
1247
1247
|
// These are for controlling the layout, display and margin of tables
|
@@ -0,0 +1,24 @@
|
|
1
|
+
//expand
|
2
|
+
table{
|
3
|
+
//EXPAND
|
4
|
+
width:100%;
|
5
|
+
//FIX SPACING
|
6
|
+
-webkit-border-horizontal-spacing: 0px;
|
7
|
+
-webkit-border-vertical-spacing: 0px;
|
8
|
+
//LINES
|
9
|
+
td, th{
|
10
|
+
padding: 8px;
|
11
|
+
border-bottom: 1px solid rgba($black, 0.1);
|
12
|
+
}
|
13
|
+
//STRIPE
|
14
|
+
tr:nth-child(even) {
|
15
|
+
background-color: rgba($black, 0.03);
|
16
|
+
}
|
17
|
+
//HIGHLIGHT
|
18
|
+
tbody tr:hover{
|
19
|
+
background-color: rgba($black, 0.07);
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
//BUILDERS
|
24
|
+
//inverse, additional color pallets, highlight colors
|
data/staple.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "staple"
|
7
|
-
spec.version = "0.1.
|
7
|
+
spec.version = "0.1.5"
|
8
8
|
spec.summary = "A high level ui generator. WIP."
|
9
9
|
spec.description = "Coming Soon. Built on top of foundation."
|
10
10
|
spec.authors = ["Ryan Helsing"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: staple
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Helsing
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: foundation-rails
|
@@ -96,6 +96,7 @@ files:
|
|
96
96
|
- source/stylesheets/staple/init/before.scss
|
97
97
|
- source/stylesheets/staple/init/overrides.scss
|
98
98
|
- source/stylesheets/staple/sizes.scss
|
99
|
+
- source/stylesheets/staple/tables.scss
|
99
100
|
- source/stylesheets/staple/typography.scss
|
100
101
|
- source/stylesheets/staple/utilities.scss
|
101
102
|
- staple.gemspec
|