beyond-rails 0.0.225 → 0.0.226

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: 5e4265a216a874f0d0601c2ffb2166a1fd7faa9cb5453aa9e23ca0f09a3a4f7f
4
- data.tar.gz: 8cc3c1212f19a02734fca2dc4b542d67dab8514483952a0ea2725d124c8d5e3d
3
+ metadata.gz: 6fe2004947bfbece8fa387026c40c31985d67b4de2fc8898dceb8d3691c7fbf9
4
+ data.tar.gz: '0182a586b22fd35847e4339c944dea67ee0a2f9057f4cc7e6384034d1c65cd44'
5
5
  SHA512:
6
- metadata.gz: dc7afcff18a3f923bb9eb0a30bf48df340add79ed3ac4a20d312061286fb6ba716cdc0a7e813c86143c1c7d0e00780a0589aafad58e6c8861c3f60f61cf77633
7
- data.tar.gz: 84f4d67e13db8aa0e05662e4d70728126aac064be37f78536b21621de25a1625552942fc1b6ef4695dfc8b40b7b48c5d9ff6dbe0d9455879f05f8aca5d0dc735
6
+ metadata.gz: 4800cdd8e025687e8d85c9a0445ef1fbd2e494bd99163defdbada82c6ec9b55822bea288fb15056250e5cb384a0254c1ff0ceb047b535ba3084d2700c8914987
7
+ data.tar.gz: f7ae8ead35cbcd39956223080bd08892d757ccb95f8f904dedcc523d60d53ca537b0be857e7e9dabe97be4ba2a90cc21a01f021a1aadf76e9e2f45eeee16750d
@@ -153,6 +153,15 @@ $color-active: #5469d4;
153
153
  border: 0;
154
154
  }
155
155
 
156
+ hr {
157
+ margin-top: 20px;
158
+ margin-bottom: 20px;
159
+ border-top: 1px solid #e3e8ee;
160
+ border-left: 0;
161
+ border-right: 0;
162
+ border-bottom: 0;
163
+ }
164
+
156
165
  input[type=file], /* FF, IE7+, chrome (except button) */
157
166
  input[type=file]::-webkit-file-upload-button { /* chromes and blink button */
158
167
  cursor: pointer;
@@ -186,3 +186,18 @@ button.close {
186
186
  color: #fff;
187
187
  }
188
188
  }
189
+
190
+ .btn-file {
191
+ position: relative;
192
+ input[type="file"] {
193
+ position: absolute;
194
+ top: 0;
195
+ right: 0;
196
+ left: 0;
197
+ bottom: 0;
198
+ width: 100%;
199
+ padding: 0;
200
+ margin: 0;
201
+ opacity: 0;
202
+ }
203
+ }
@@ -4,6 +4,14 @@
4
4
  overflow-x: auto;
5
5
  -webkit-overflow-scrolling: touch;
6
6
  }
7
+
8
+ %disabled-td {
9
+ cursor: not-allowed;
10
+ background-color: #ddd;
11
+ color: #333;
12
+ box-shadow: inset 0 -1px #c7c7c7;
13
+ }
14
+
7
15
  .table {
8
16
  width: 100%;
9
17
  margin-bottom: 1rem;
@@ -51,6 +59,11 @@
51
59
  padding: 7px;
52
60
  box-shadow: inset 0 -1px #e3e8ee;
53
61
  }
62
+ tr.disabled {
63
+ > td {
64
+ @extend %disabled-td;
65
+ }
66
+ }
54
67
  tr {
55
68
  transition: .3s all;
56
69
  }
@@ -61,5 +74,8 @@
61
74
  tr:nth-child(even) td {
62
75
  background-color: #f7fafc;
63
76
  }
77
+ tr.disabled:nth-child(even) td {
78
+ @extend %disabled-td;
79
+ }
64
80
  }
65
81
  }
@@ -49,13 +49,12 @@
49
49
  }
50
50
 
51
51
  @for $i from 1 through length($breakpoints) {
52
- $breakpoint: nth($breakpoints, $i);
53
52
  $size: nth($screen-sizes, $i);
54
53
  .col-#{$size} {
55
54
  @extend %col-basic;
56
55
  }
57
56
  @for $j from 1 through $col-total {
58
- .col-#{$i},
57
+ .col-#{$j},
59
58
  .col-#{$size}-#{$j} {
60
59
  @extend %col-basic;
61
60
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beyond-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.225
4
+ version: 0.0.226
5
5
  platform: ruby
6
6
  authors:
7
7
  - kmsheng
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-10-08 00:00:00.000000000 Z
12
+ date: 2020-10-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sassc