staple 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c37d0764086efb578d6cc28f12f14746086b5934
4
- data.tar.gz: d6d2e172de9105a12f05edf2da1c9c07af88dce1
3
+ metadata.gz: 00f10e1698f72540cf6bccf2a73f5ed75b9e9ef7
4
+ data.tar.gz: fe5f2561fa31c216acacde746c8a38b9d05e36dc
5
5
  SHA512:
6
- metadata.gz: 8ce84e3377512e09f2b772b7ee1db20ce995b4528dda64875ee1653913bf9e6d1c54c1bc3eff0eeb17ec99381e17bed8358da7cbdd13287b0b0895516fdb8b6e
7
- data.tar.gz: 8c1a7037ce59105e21c595c25c289efd18cfa50497d55b7a304a180113b39e499ff91a939d9483a5118afbeefa9b0b819b3e3bede74ac6cd865e03446159b848
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', {\ninit: false,\n});\n}\n\n$(ready);\n$(document).on('page:load', ready);"
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
@@ -3,4 +3,5 @@
3
3
  @import '../builders/build_colors';
4
4
  @import '../buttons';
5
5
  @import '../forms';
6
+ @import '../tables';
6
7
  //BUILD IT
@@ -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: rgba($black, $transparent-light);
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: 1px;
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: rgba($black, $transparent-weak) ;
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-bold;
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-strong);
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.4"
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
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-13 00:00:00.000000000 Z
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