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 +4 -4
- data/src/sass/_main.scss +9 -0
- data/src/sass/components/_btn.scss +15 -0
- data/src/sass/components/_table.scss +16 -0
- data/src/sass/layout/_col.scss +1 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6fe2004947bfbece8fa387026c40c31985d67b4de2fc8898dceb8d3691c7fbf9
|
|
4
|
+
data.tar.gz: '0182a586b22fd35847e4339c944dea67ee0a2f9057f4cc7e6384034d1c65cd44'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4800cdd8e025687e8d85c9a0445ef1fbd2e494bd99163defdbada82c6ec9b55822bea288fb15056250e5cb384a0254c1ff0ceb047b535ba3084d2700c8914987
|
|
7
|
+
data.tar.gz: f7ae8ead35cbcd39956223080bd08892d757ccb95f8f904dedcc523d60d53ca537b0be857e7e9dabe97be4ba2a90cc21a01f021a1aadf76e9e2f45eeee16750d
|
data/src/sass/_main.scss
CHANGED
|
@@ -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
|
}
|
data/src/sass/layout/_col.scss
CHANGED
|
@@ -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-#{$
|
|
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.
|
|
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-
|
|
12
|
+
date: 2020-10-12 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: sassc
|