cheatset 1.3.1 → 1.3.2

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: ca7590968ae9ad2418e0b31d95acf9053b668b2e
4
- data.tar.gz: 604dc4a5b835266f4bc0ac7c5520c4b87be93324
3
+ metadata.gz: a7d3d3abd49aff79a308b3198d4d35a3f332e9d1
4
+ data.tar.gz: 418d56d4285c6b2ff1d98dbf70fe507eadef5310
5
5
  SHA512:
6
- metadata.gz: 0878b2492a0e0cfb6a1e555166c69447aa2717ba66bf0eb61fb56454b6be8c700182cde6a9f9f5cddcae4942f03d6a8af1c3e6fcd020af615bd93396c557d23c
7
- data.tar.gz: 69168d27ad6276ed86c8037763a818aa45b69142cdac83ff0e6a3d6113270d49a3fcff628c960b6042d099f714adb4bccf576e28fe54ec3e638cc0029ac705c5
6
+ metadata.gz: 5333a16ed667cf9313d8d2630438c1253f6da385efe29864e7fc03b630f064c45aaab20866772b9c894d9ef219a95e62d7455e9372c1f06a9ed7d9066f2f980d
7
+ data.tar.gz: c3bbfc96346aed984e9b9c4c3584eb492cc3fcb06e39b031aa660089a7f6943df54d143f6edb7d60b96f4f65480144021db745dde0f7f6df1ccb2b69eb1f8805
@@ -45,8 +45,8 @@ h1, h2, h3, p, blockquote {
45
45
  body {
46
46
  font-family: 'Open Sans', sans-serif;
47
47
  font-size: 14px;
48
- color: black;
49
- background-color: white;
48
+ color: #000;
49
+ background-color: #fff;
50
50
  margin: 0; }
51
51
 
52
52
  code, pre {
@@ -68,7 +68,7 @@ code:before, code:after {
68
68
 
69
69
  header {
70
70
  color: #efefef;
71
- background-color: #666666;
71
+ background-color: #666;
72
72
  padding: 0px 10px 3px 10px; }
73
73
 
74
74
  h1 {
@@ -76,7 +76,7 @@ h1 {
76
76
  font-weight: 600; }
77
77
 
78
78
  footer {
79
- background-color: #666666;
79
+ background-color: #666;
80
80
  color: #efefef;
81
81
  text-align: center;
82
82
  padding: 3px 0px; }
@@ -86,28 +86,28 @@ footer {
86
86
  section.notes {
87
87
  margin-top: 1em; }
88
88
  section.notes h2 {
89
- color: #666666;
89
+ color: #666;
90
90
  font-size: 1.5em; }
91
91
 
92
92
  article {
93
93
  margin: 2em 1em; }
94
94
 
95
95
  section.category {
96
- border: 2px solid #666666;
96
+ border: 2px solid #666;
97
97
  border-radius: 6px 6px;
98
- background-color: #666666;
98
+ background-color: #666;
99
99
  margin: 2em 0;
100
100
  overflow: hidden;
101
101
  padding-bottom: 5px; }
102
102
  section.category h2 {
103
- color: white;
103
+ color: #fff;
104
104
  font-size: 1.5em;
105
105
  text-align: center;
106
106
  margin-top: -2px;
107
107
  font-weight: 600; }
108
108
 
109
109
  table {
110
- background-color: white;
110
+ background-color: #fff;
111
111
  border-collapse: collapse;
112
112
  width: 100%; }
113
113
 
@@ -132,7 +132,7 @@ td.command, td.td_command {
132
132
  text-align: right; }
133
133
  td.command code, td.td_command code {
134
134
  padding: .1em 0.2em;
135
- box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 0 2px white inset;
135
+ box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
136
136
  border-radius: 3px;
137
137
  border: 1px solid #ccc;
138
138
  background-color: #efefef;
@@ -155,7 +155,7 @@ th:nth-child(1), td:nth-child(1) {
155
155
  border-left: none; }
156
156
 
157
157
  a {
158
- color: #666666; }
158
+ color: #666; }
159
159
 
160
160
  p {
161
161
  margin: 0 0 7px; }
@@ -379,3 +379,6 @@ pre {
379
379
 
380
380
  ul {
381
381
  padding-left: 24px; }
382
+
383
+ .scrollable {
384
+ overflow-x: auto; }
@@ -279,3 +279,7 @@ pre {
279
279
  ul {
280
280
  padding-left: 24px;
281
281
  }
282
+
283
+ .scrollable {
284
+ overflow-x:auto;
285
+ }
@@ -34,33 +34,34 @@
34
34
  %a{name: "//dash_ref/Entry/#{category.id.strip.gsub(/\//, '%2F')}/0"}
35
35
  %h2{id:"//dash_ref/Category/#{category.id.strip.gsub(/\//, '%2F')}/1"}
36
36
  = category.id
37
- %table
38
- - if category.header
39
- %tr
40
- - category.header.each do |header|
41
- %th~ header
37
+ %div.scrollable
38
+ %table
39
+ - if category.header
40
+ %tr
41
+ - category.header.each do |header|
42
+ %th~ header
42
43
 
43
- - category.entries.each_with_index do |entry, index|
44
- %tr{id: ((entry.name || entry.index_name) ? "//dash_ref_#{category.id.strip.gsub(/\//, '%2F')}/Entry/#{(entry.name) ? entry.tags_stripped_name.strip.gsub(/\//, '%2F') : entry.index_name.strip.gsub(/\//, '%2F')}/0" : "//dash_ref_#{category.id.strip.gsub(/\//, '%2F')}/Command/#{entry.command.first.strip.gsub(/\//, '%2F')}/0" if (entry.name || entry.index_name || (entry.command && entry.command.length > 0)) )}
45
- - if entry.command
46
- %td.command
47
- - entry.command.each do |command|
48
- %p
49
- %code= CGI.escapeHTML(command)
50
- - if entry.td_command
51
- - entry.td_command.each do |command|
52
- %td.td_command
53
- - if !command.empty?
54
- %code= CGI.escapeHTML(command)
55
- - if entry.name || entry.notes
56
- %td.description{:colspan => ("2" unless entry.command || entry.td_command || entry.td_notes)}
57
- .name~ entry.name
58
- .notes~ entry.notes
59
- - if entry.td_notes
60
- - entry.td_notes.each do |notes|
61
- %td.td_notes
62
- - if !notes.empty?
63
- .td_notes~ notes
44
+ - category.entries.each_with_index do |entry, index|
45
+ %tr{id: ((entry.name || entry.index_name) ? "//dash_ref_#{category.id.strip.gsub(/\//, '%2F')}/Entry/#{(entry.name) ? entry.tags_stripped_name.strip.gsub(/\//, '%2F') : entry.index_name.strip.gsub(/\//, '%2F')}/0" : "//dash_ref_#{category.id.strip.gsub(/\//, '%2F')}/Command/#{entry.command.first.strip.gsub(/\//, '%2F')}/0" if (entry.name || entry.index_name || (entry.command && entry.command.length > 0)) )}
46
+ - if entry.command
47
+ %td.command
48
+ - entry.command.each do |command|
49
+ %p
50
+ %code= CGI.escapeHTML(command)
51
+ - if entry.td_command
52
+ - entry.td_command.each do |command|
53
+ %td.td_command
54
+ - if !command.empty?
55
+ %code= CGI.escapeHTML(command)
56
+ - if entry.name || entry.notes
57
+ %td.description{:colspan => ("2" unless entry.command || entry.td_command || entry.td_notes)}
58
+ .name~ entry.name
59
+ .notes~ entry.notes
60
+ - if entry.td_notes
61
+ - entry.td_notes.each do |notes|
62
+ %td.td_notes
63
+ - if !notes.empty?
64
+ .td_notes~ notes
64
65
  - if notes
65
66
  %section.notes
66
67
  %h2 Notes
@@ -1,3 +1,3 @@
1
1
  module Cheatset
2
- VERSION = '1.3.1'
2
+ VERSION = '1.3.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cheatset
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bogdan Popescu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-02 00:00:00.000000000 Z
11
+ date: 2015-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler