pure-css-rails 0.0.2 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Pure CSS for Rails Asset Pipeline
2
2
 
3
- Based on [pure.css](http://purecss.io/) version 0.1.0.
3
+ Based on [pure.css](http://purecss.io/) version 0.2.1.
4
4
 
5
5
  ## Install
6
6
 
@@ -21,6 +21,15 @@ Based on [pure.css](http://purecss.io/) version 0.1.0.
21
21
 
22
22
  You don't need to add `normalize.css`, it is already included.
23
23
 
24
+ ## History
25
+
26
+ Since 0.2.1, the gem and the pure.css versions match, so it is easier to pin
27
+ the library to a specific version via the Gemfile.
28
+
29
+ 0.2.1 - Pure 0.2.1
30
+ 0.0.2 - Pure 0.2.0
31
+ 0.0.1 - Pure 0.1.0
32
+
24
33
  ## Contribute
25
34
 
26
35
  In the case you find out that something is missing or does not work in a way
@@ -1,5 +1,5 @@
1
1
  module PureCSS
2
2
  module Rails
3
- VERSION = "0.0.2"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
@@ -7,12 +7,11 @@ Gem::Specification.new do |gem|
7
7
  gem.name = "pure-css-rails"
8
8
  gem.version = PureCSS::Rails::VERSION
9
9
  gem.authors = ["Balazs Kutil"]
10
- gem.email = ["kutil.balazs@gmail.com"]
10
+ gem.email = ["balazs@kutilovi.cz"]
11
11
  gem.description = %q{Pure CSS for Rails Asset Pipeline}
12
12
  gem.summary = %q{Pure CSS for Rails Asset Pipeline}
13
13
  gem.homepage = "https://github.com/bkutil/pure-css-rails"
14
- # gem.signing_key = '/somewhere/inagalaxy/far/far/away/gem-private_key.pem'
15
- gem.signing_key = '/home/bkutil/gem-private_key.pem'
14
+ gem.signing_key = '/home/balazs/documents/keys/gem-private_key.pem'
16
15
  gem.cert_chain = ['gem-public_cert.pem']
17
16
 
18
17
  gem.files = `git ls-files`.split($/)
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Pure v0.2.0
2
+ Pure v0.2.1
3
3
  Copyright 2013 Yahoo! Inc. All rights reserved.
4
4
  Licensed under the BSD License.
5
5
  https://github.com/yui/pure/blob/master/LICENSE.md
@@ -867,15 +867,23 @@ a.pure-button-selected {
867
867
  .pure-form input[type="tel"][disabled],
868
868
  .pure-form input[type="color"][disabled],
869
869
  .pure-form select[disabled],
870
- .pure-form textarea[disabled],
871
- .pure-form input[readonly],
872
- .pure-form select[readonly],
873
- .pure-form textarea[readonly] {
870
+ .pure-form textarea[disabled] {
874
871
  cursor: not-allowed;
875
872
  background-color: #eaeded;
876
873
  color: #cad2d3;
877
- border-color: transparent;
878
874
  }
875
+ .pure-form input[readonly],
876
+ .pure-form select[readonly],
877
+ .pure-form textarea[readonly],
878
+ .pure-form input[readonly]:focus,
879
+ .pure-form select[readonly]:focus,
880
+ .pure-form textarea[readonly]:focus {
881
+ background: #eee; /* menu hover bg color */
882
+ color: #777; /* menu text color */
883
+ border-color: #ccc;
884
+ }
885
+
886
+
879
887
  .pure-form input:focus:invalid,
880
888
  .pure-form textarea:focus:invalid,
881
889
  .pure-form select:focus:invalid {
@@ -901,7 +909,6 @@ a.pure-button-selected {
901
909
  }
902
910
  .pure-form label {
903
911
  margin: 0.5em 0 0.2em;
904
- color: #999;
905
912
  font-size: 90%;
906
913
  }
907
914
  .pure-form fieldset {
@@ -934,8 +941,10 @@ a.pure-button-selected {
934
941
  .pure-form-stacked input[type="tel"],
935
942
  .pure-form-stacked input[type="color"],
936
943
  .pure-form-stacked select,
937
- .pure-form-stacked label {
944
+ .pure-form-stacked label,
945
+ .pure-form-stacked textarea {
938
946
  display: block;
947
+ margin: 0.25em 0;
939
948
  }
940
949
 
941
950
  .pure-form-aligned input,
@@ -966,9 +975,10 @@ a.pure-button-selected {
966
975
  }
967
976
 
968
977
  /* Rounded Inputs */
978
+ .pure-form input.pure-input-rounded,
969
979
  .pure-form .pure-input-rounded {
970
- border-radius: 20px;
971
- padding-left: 1em;
980
+ border-radius: 2em;
981
+ padding: 0.5em 1em;
972
982
  }
973
983
 
974
984
  /* Grouped Inputs */
@@ -1096,7 +1106,7 @@ a.pure-button-selected {
1096
1106
  }
1097
1107
 
1098
1108
  .pure-u-1 {
1099
- display: block;
1109
+ width: 100%;
1100
1110
  }
1101
1111
 
1102
1112
  .pure-u-1-2 {
@@ -1136,7 +1146,7 @@ a.pure-button-selected {
1136
1146
  }
1137
1147
 
1138
1148
  .pure-u-1-6 {
1139
- width: 16.656%;
1149
+ width: 16.666%;
1140
1150
  }
1141
1151
 
1142
1152
  .pure-u-5-6 {
@@ -1435,24 +1445,45 @@ a.pure-button-selected {
1435
1445
  /*csslint box-model:false*/
1436
1446
  /*TODO: Remove this lint rule override after a refactor of this code.*/
1437
1447
 
1448
+
1438
1449
  .pure-paginator {
1450
+
1451
+ /* `pure-g` Grid styles */
1452
+ letter-spacing: -0.31em; /* Webkit: collapse white-space between units */
1453
+ *letter-spacing: normal; /* reset IE < 8 */
1454
+ *word-spacing: -0.43em; /* IE < 8: collapse white-space between units */
1455
+ text-rendering: optimizespeed; /* Webkit: fixes text-rendering: optimizeLegibility */
1456
+
1457
+ /* `pure-paginator` Specific styles */
1439
1458
  list-style: none;
1440
1459
  margin: 0;
1441
1460
  padding: 0;
1442
1461
  }
1462
+ .opera-only :-o-prefocus,
1463
+ .pure-paginator {
1464
+ word-spacing: -0.43em;
1465
+ }
1466
+
1467
+ /* `pure-u` Grid styles */
1443
1468
  .pure-paginator li {
1444
1469
  display: inline-block;
1445
- *display: inline;
1470
+ *display: inline; /* IE < 8: fake inline-block */
1446
1471
  zoom: 1;
1447
- margin: 0 -0.35em 0 0;
1472
+ letter-spacing: normal;
1473
+ word-spacing: normal;
1474
+ vertical-align: top;
1475
+ text-rendering: auto;
1448
1476
  }
1477
+
1478
+
1449
1479
  .pure-paginator .pure-button {
1450
1480
  border-radius: 0;
1451
1481
  padding: 0.8em 1.4em;
1452
1482
  vertical-align: top;
1453
1483
  height: 1.1em;
1454
1484
  }
1455
- .pure-paginator .pure-button:focus {
1485
+ .pure-paginator .pure-button:focus,
1486
+ .pure-paginator .pure-button:active {
1456
1487
  outline-style: none;
1457
1488
  }
1458
1489
  .pure-paginator .prev,
@@ -1501,7 +1532,6 @@ a.pure-button-selected {
1501
1532
  color: #000;
1502
1533
  text-align: left;
1503
1534
  vertical-align: bottom;
1504
- white-space: nowrap;
1505
1535
  }
1506
1536
 
1507
1537
  /*
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Pure v0.2.0
2
+ Pure v0.2.1
3
3
  Copyright 2013 Yahoo! Inc. All rights reserved.
4
4
  Licensed under the BSD License.
5
5
  https://github.com/yui/pure/blob/master/LICENSE.md
@@ -867,15 +867,23 @@ a.pure-button-selected {
867
867
  .pure-form input[type="tel"][disabled],
868
868
  .pure-form input[type="color"][disabled],
869
869
  .pure-form select[disabled],
870
- .pure-form textarea[disabled],
871
- .pure-form input[readonly],
872
- .pure-form select[readonly],
873
- .pure-form textarea[readonly] {
870
+ .pure-form textarea[disabled] {
874
871
  cursor: not-allowed;
875
872
  background-color: #eaeded;
876
873
  color: #cad2d3;
877
- border-color: transparent;
878
874
  }
875
+ .pure-form input[readonly],
876
+ .pure-form select[readonly],
877
+ .pure-form textarea[readonly],
878
+ .pure-form input[readonly]:focus,
879
+ .pure-form select[readonly]:focus,
880
+ .pure-form textarea[readonly]:focus {
881
+ background: #eee; /* menu hover bg color */
882
+ color: #777; /* menu text color */
883
+ border-color: #ccc;
884
+ }
885
+
886
+
879
887
  .pure-form input:focus:invalid,
880
888
  .pure-form textarea:focus:invalid,
881
889
  .pure-form select:focus:invalid {
@@ -901,7 +909,6 @@ a.pure-button-selected {
901
909
  }
902
910
  .pure-form label {
903
911
  margin: 0.5em 0 0.2em;
904
- color: #999;
905
912
  font-size: 90%;
906
913
  }
907
914
  .pure-form fieldset {
@@ -934,8 +941,10 @@ a.pure-button-selected {
934
941
  .pure-form-stacked input[type="tel"],
935
942
  .pure-form-stacked input[type="color"],
936
943
  .pure-form-stacked select,
937
- .pure-form-stacked label {
944
+ .pure-form-stacked label,
945
+ .pure-form-stacked textarea {
938
946
  display: block;
947
+ margin: 0.25em 0;
939
948
  }
940
949
 
941
950
  .pure-form-aligned input,
@@ -966,9 +975,10 @@ a.pure-button-selected {
966
975
  }
967
976
 
968
977
  /* Rounded Inputs */
978
+ .pure-form input.pure-input-rounded,
969
979
  .pure-form .pure-input-rounded {
970
- border-radius: 20px;
971
- padding-left: 1em;
980
+ border-radius: 2em;
981
+ padding: 0.5em 1em;
972
982
  }
973
983
 
974
984
  /* Grouped Inputs */
@@ -1057,19 +1067,19 @@ a.pure-button-selected {
1057
1067
  }
1058
1068
 
1059
1069
  .pure-group input[type="text"],
1060
- .pure-form input[type="password"],
1061
- .pure-form input[type="email"],
1062
- .pure-form input[type="url"],
1063
- .pure-form input[type="date"],
1064
- .pure-form input[type="month"],
1065
- .pure-form input[type="time"],
1066
- .pure-form input[type="datetime"],
1067
- .pure-form input[type="datetime-local"],
1068
- .pure-form input[type="week"],
1069
- .pure-form input[type="number"],
1070
- .pure-form input[type="search"],
1071
- .pure-form input[type="tel"],
1072
- .pure-form input[type="color"] {
1070
+ .pure-group input[type="password"],
1071
+ .pure-group input[type="email"],
1072
+ .pure-group input[type="url"],
1073
+ .pure-group input[type="date"],
1074
+ .pure-group input[type="month"],
1075
+ .pure-group input[type="time"],
1076
+ .pure-group input[type="datetime"],
1077
+ .pure-group input[type="datetime-local"],
1078
+ .pure-group input[type="week"],
1079
+ .pure-group input[type="number"],
1080
+ .pure-group input[type="search"],
1081
+ .pure-group input[type="tel"],
1082
+ .pure-group input[type="color"] {
1073
1083
  margin-bottom: 0;
1074
1084
  }
1075
1085
 
@@ -1159,7 +1169,7 @@ a.pure-button-selected {
1159
1169
  }
1160
1170
 
1161
1171
  .pure-u-1 {
1162
- display: block;
1172
+ width: 100%;
1163
1173
  }
1164
1174
 
1165
1175
  .pure-u-1-2 {
@@ -1199,7 +1209,7 @@ a.pure-button-selected {
1199
1209
  }
1200
1210
 
1201
1211
  .pure-u-1-6 {
1202
- width: 16.656%;
1212
+ width: 16.666%;
1203
1213
  }
1204
1214
 
1205
1215
  .pure-u-5-6 {
@@ -1560,24 +1570,45 @@ a.pure-button-selected {
1560
1570
  /*csslint box-model:false*/
1561
1571
  /*TODO: Remove this lint rule override after a refactor of this code.*/
1562
1572
 
1573
+
1563
1574
  .pure-paginator {
1575
+
1576
+ /* `pure-g` Grid styles */
1577
+ letter-spacing: -0.31em; /* Webkit: collapse white-space between units */
1578
+ *letter-spacing: normal; /* reset IE < 8 */
1579
+ *word-spacing: -0.43em; /* IE < 8: collapse white-space between units */
1580
+ text-rendering: optimizespeed; /* Webkit: fixes text-rendering: optimizeLegibility */
1581
+
1582
+ /* `pure-paginator` Specific styles */
1564
1583
  list-style: none;
1565
1584
  margin: 0;
1566
1585
  padding: 0;
1567
1586
  }
1587
+ .opera-only :-o-prefocus,
1588
+ .pure-paginator {
1589
+ word-spacing: -0.43em;
1590
+ }
1591
+
1592
+ /* `pure-u` Grid styles */
1568
1593
  .pure-paginator li {
1569
1594
  display: inline-block;
1570
- *display: inline;
1595
+ *display: inline; /* IE < 8: fake inline-block */
1571
1596
  zoom: 1;
1572
- margin: 0 -0.35em 0 0;
1597
+ letter-spacing: normal;
1598
+ word-spacing: normal;
1599
+ vertical-align: top;
1600
+ text-rendering: auto;
1573
1601
  }
1602
+
1603
+
1574
1604
  .pure-paginator .pure-button {
1575
1605
  border-radius: 0;
1576
1606
  padding: 0.8em 1.4em;
1577
1607
  vertical-align: top;
1578
1608
  height: 1.1em;
1579
1609
  }
1580
- .pure-paginator .pure-button:focus {
1610
+ .pure-paginator .pure-button:focus,
1611
+ .pure-paginator .pure-button:active {
1581
1612
  outline-style: none;
1582
1613
  }
1583
1614
  .pure-paginator .prev,
@@ -1637,7 +1668,6 @@ a.pure-button-selected {
1637
1668
  color: #000;
1638
1669
  text-align: left;
1639
1670
  vertical-align: bottom;
1640
- white-space: nowrap;
1641
1671
  }
1642
1672
 
1643
1673
  /*
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pure-css-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -37,11 +37,11 @@ cert_chain:
37
37
  U1Q3N3JiYk50bE1KNkNxWVNFRWt2UXpJQnZhbDNNbWFXeTN0UWhQSG9MaXpX
38
38
  QXIrdU1QWApYa2pCVFdodnowUG9RenVnUG00PQotLS0tLUVORCBDRVJUSUZJ
39
39
  Q0FURS0tLS0tCg==
40
- date: 2013-06-15 00:00:00.000000000 Z
40
+ date: 2013-07-19 00:00:00.000000000 Z
41
41
  dependencies: []
42
42
  description: Pure CSS for Rails Asset Pipeline
43
43
  email:
44
- - kutil.balazs@gmail.com
44
+ - balazs@kutilovi.cz
45
45
  executables: []
46
46
  extensions: []
47
47
  extra_rdoc_files: []
metadata.gz.sig CHANGED
Binary file