dfm_web 2.2.0 → 2.2.1

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
  SHA256:
3
- metadata.gz: a7469ce68bb931351a4dd33f23872d711059e3ed9c9cf884e276f4c782ee249b
4
- data.tar.gz: 2014bdccdc2e269dc142ed70a3d3c40c4a63df28eadd4f6af26929172b19904f
3
+ metadata.gz: e55652063ea0b8f5e3b0731f54bd5ec3ac8371bdfd9b7b7c1e400c2151c7fa2b
4
+ data.tar.gz: f0618c5a845b58fc987aba957b02d2ad39764350bd36f3b05f5c46950015ac91
5
5
  SHA512:
6
- metadata.gz: 166e684ac86526f11cdc17b8f886620301cedaaee7ec59fccd7e879cc336b4e2d724bea58f821cbc5ffa86dc057e44f939ee72b61b4deba350aa0dd5a5da2264
7
- data.tar.gz: ee03db0116d745c327e0795e7407815a6b54743ce5f6decf0e0ef12290ec87bde4445a69cc5ddd5bf87e0135234f4ecea64a3189409eeab72054acd8ff60bd02
6
+ metadata.gz: de9cc7ce4e4009539a8bcb6fc4a945910294ef35687d60b96e671530ef225d56b7e440f7d2d723181a2137567f11511995c49eb186ed98ef3c70951b93d3fb41
7
+ data.tar.gz: 17cc789d222277688d342e526e7eba2d3626c46454dadd05f0643ca77ee79a9c151061ac5176997b56b2662d989ea02ae23998f557f037b95dfc21f7190d774d
@@ -25,13 +25,25 @@
25
25
  font-size: 12pt;
26
26
  }
27
27
 
28
- html { font-size: 75%;}
28
+ html { font-size: 75%; margin: 2px; }
29
29
  a { text-decoration: none;}
30
30
  table th,
31
31
  table td { padding: 3px; }
32
32
 
33
33
  /* Stuff to hide */
34
+ /* NOTE: "display: none" breaks unrelated table printing in Chrome */
34
35
  nav, footer, .button, .no_print, input[type=submit] {
35
- display: none !important;
36
+ position: absolute;
37
+ visibility: hidden;
38
+ }
39
+ /* Hide Tablesorter sorting indicators */
40
+ table.tablesorter thead th {
41
+ background-image: none;
42
+ padding-left: 3px;
43
+ }
44
+
45
+ /* contents of "table_hover" cells should appear in printouts. */
46
+ table tr td.table_hover{
47
+ color: black !important;
36
48
  }
37
49
  }
@@ -167,4 +167,14 @@ table tfoot tr{
167
167
  table tfoot tr:hover {
168
168
  box-shadow: inset 0 0 2px black;
169
169
  transition: box-shadow 0.05s;
170
+ }
171
+
172
+ /* Hide less important or sensitive information unless the user hovers the table */
173
+ table tr td.table_hover{
174
+ color: rgba(0,0,0,0);
175
+ transition: color 0.2s;
176
+ }
177
+ table:hover tr td.table_hover{
178
+ color: inherit;
179
+ transition: color 0.1s;
170
180
  }
@@ -1,10 +1,11 @@
1
1
  module DfmWeb
2
- VERSION = "2.2.0"
2
+ VERSION = "2.2.1"
3
3
  end
4
4
 
5
5
 
6
6
  # Version History
7
7
 
8
+ # 2.2.1 Fix Chrome table printing bug. Add "table_hover" class for cells you only want to display on hover.
8
9
  # 2.2.0 Update CSS comments dealing with footer options.
9
10
  # 2.1.9 Built in support for always visible footer.
10
11
  # 2.1.8 Table search feature now case sensitive and rate limited.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dfm_web
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Duffy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-05 00:00:00.000000000 Z
11
+ date: 2018-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails