tungsten 0.1.38 → 0.1.39
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/tungsten/components/_cards.scss +34 -6
- data/app/assets/stylesheets/tungsten/components/_tables.scss +5 -6
- data/app/assets/stylesheets/tungsten/components/_toggle-nav.scss +0 -1
- data/app/assets/stylesheets/tungsten/core/_banner.scss +1 -0
- data/app/assets/stylesheets/tungsten/core/_globals.scss +14 -0
- data/app/assets/stylesheets/tungsten/core/_grid.scss +9 -2
- data/app/assets/stylesheets/tungsten/core/_layout.scss +15 -6
- data/app/assets/stylesheets/tungsten/core/_navigation.scss +41 -16
- data/app/assets/stylesheets/tungsten/core/_sections.scss +19 -13
- data/app/assets/stylesheets/tungsten/form/_input-row.scss +3 -4
- data/app/helpers/tungsten/card_helper.rb +10 -7
- data/app/helpers/tungsten/section_helper.rb +4 -16
- data/lib/tungsten/version.rb +1 -1
- data/public/{code-0.1.38.js → code-0.1.39.js} +1 -1
- data/public/{code-0.1.38.js.gz → code-0.1.39.js.gz} +0 -0
- data/public/{code-0.1.38.map.json → code-0.1.39.map.json} +0 -0
- data/public/{tungsten-0.1.38.css → tungsten-0.1.39.css} +142 -74
- data/public/tungsten-0.1.39.css.gz +0 -0
- data/public/{tungsten-0.1.38.js → tungsten-0.1.39.js} +1 -1
- data/public/{tungsten-0.1.38.js.gz → tungsten-0.1.39.js.gz} +0 -0
- data/public/{tungsten-0.1.38.map.json → tungsten-0.1.39.map.json} +0 -0
- metadata +10 -10
- data/public/tungsten-0.1.38.css.gz +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c59c5d4f0bd8ea5882328580bdddf35537449c87
|
4
|
+
data.tar.gz: 03ee459a81633755b7dfbc7b3ea48788aef51b1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68a0015da4574e953430b1509f34e17662873dfe7e9dd297559473b3425942ac1d0ff4f224db5abe8cd118b7176e2d04a99dbb8afd9984b97e53ad3c9a93030c
|
7
|
+
data.tar.gz: 26d904dbb793641fecb70b9793d2bd79b4506814de1ea856dbd1510d7493bc9632dcdd46d2902e14a74d88cabb11678d6c88a11b3aca97ef44620d7603640331
|
@@ -15,13 +15,14 @@
|
|
15
15
|
flex-direction: column;
|
16
16
|
position: relative;
|
17
17
|
padding: $card-padding;
|
18
|
+
transition: opacity .2s, transform .2s;
|
18
19
|
@include collapse-bottom;
|
20
|
+
@include collapse-top;
|
19
21
|
|
20
22
|
// Card actions panel
|
21
23
|
&-actions {
|
22
24
|
display: flex;
|
23
25
|
align-items: baseline;
|
24
|
-
margin-bottom: $card-padding;
|
25
26
|
flex-direction: row-reverse;
|
26
27
|
|
27
28
|
&.centered {
|
@@ -62,8 +63,9 @@
|
|
62
63
|
margin-bottom: 0;
|
63
64
|
}
|
64
65
|
|
65
|
-
&-
|
66
|
-
|
66
|
+
&-content {
|
67
|
+
&:first-child *:first-child { margin-top: 0; }
|
68
|
+
}
|
67
69
|
|
68
70
|
&-header,
|
69
71
|
&-footer {
|
@@ -104,11 +106,11 @@
|
|
104
106
|
box-shadow: 0 1px rgba($gray-11, .1) inset;
|
105
107
|
background-clip: padding-box;
|
106
108
|
|
107
|
-
|
108
|
-
margin-bottom: 0;
|
109
|
-
}
|
109
|
+
> * { margin: 0; }
|
110
110
|
}
|
111
111
|
|
112
|
+
// Keep footer (or form if it wraps the footer)
|
113
|
+
// nestled up against the card edges
|
112
114
|
& > &-footer:last-child,
|
113
115
|
& > *:last-child > &-footer:last-child,
|
114
116
|
& > *:last-child > *:last-child > &-footer:last-child {
|
@@ -119,3 +121,29 @@
|
|
119
121
|
table.card {
|
120
122
|
display: table;
|
121
123
|
}
|
124
|
+
|
125
|
+
.card-section {
|
126
|
+
transition: max-height .4s $timing;
|
127
|
+
|
128
|
+
&.visible {
|
129
|
+
max-height: 240vh;
|
130
|
+
|
131
|
+
.card {
|
132
|
+
opacity: 1;
|
133
|
+
transform: scale(1);
|
134
|
+
}
|
135
|
+
}
|
136
|
+
|
137
|
+
&.hidden {
|
138
|
+
max-height: 0;
|
139
|
+
transition-duration: .3s;
|
140
|
+
transition-timing-function: $timing;
|
141
|
+
display: initial;
|
142
|
+
|
143
|
+
.card {
|
144
|
+
opacity: 0;
|
145
|
+
transform: scale(0.99);
|
146
|
+
transition-delay: .1s, .1s;
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}
|
@@ -105,17 +105,16 @@ th.sub-heading {
|
|
105
105
|
|
106
106
|
|
107
107
|
.table-drawer-handle {
|
108
|
-
|
109
108
|
.drawer-indicator button {
|
110
109
|
transition: transform .2s;
|
111
110
|
}
|
112
111
|
|
113
112
|
td {
|
114
113
|
transition: background-position .35s ease-out;
|
115
|
-
background-image: linear-gradient(#fff, mix(#fff, $blue-01, 88%));
|
114
|
+
background-image: linear-gradient(#fff, #fff, mix(#fff, $blue-01, 88%));
|
116
115
|
background-position: left top;
|
117
116
|
background-repeat: no-repeat;
|
118
|
-
background-size: 100%
|
117
|
+
background-size: 100% 400%;
|
119
118
|
}
|
120
119
|
|
121
120
|
&.toggle-handle:hover {
|
@@ -157,6 +156,7 @@ th.sub-heading {
|
|
157
156
|
}
|
158
157
|
|
159
158
|
.table-drawer {
|
159
|
+
|
160
160
|
td {
|
161
161
|
padding: 0;
|
162
162
|
border-top: none !important;
|
@@ -166,6 +166,8 @@ th.sub-heading {
|
|
166
166
|
}
|
167
167
|
|
168
168
|
&-content-wrapper {
|
169
|
+
@include collapse-top;
|
170
|
+
@include collapse-bottom;
|
169
171
|
overflow: hidden;
|
170
172
|
transition: max-height .4s $timing;
|
171
173
|
box-shadow: 0 1px 0 0 $gray-04 inset;
|
@@ -175,9 +177,6 @@ th.sub-heading {
|
|
175
177
|
transition: opacity .2s, transform .2s;
|
176
178
|
transition-delay: .16s, .2s;
|
177
179
|
padding: 8px;
|
178
|
-
>:last-child {
|
179
|
-
margin-bottom: 0;
|
180
|
-
}
|
181
180
|
}
|
182
181
|
}
|
183
182
|
|
@@ -2,6 +2,13 @@
|
|
2
2
|
* Globals module
|
3
3
|
* -------------------------------------------------------------------------- */
|
4
4
|
|
5
|
+
/* ===================================== *
|
6
|
+
* Responsive Sizes
|
7
|
+
* ------------------------------------- */
|
8
|
+
|
9
|
+
$medium-width: 600px;
|
10
|
+
$large-width: 1000px;
|
11
|
+
|
5
12
|
/* ===================================== *
|
6
13
|
* Fonts
|
7
14
|
* ------------------------------------- */
|
@@ -103,6 +110,13 @@ $header-height: 84px;
|
|
103
110
|
}
|
104
111
|
}
|
105
112
|
|
113
|
+
.collapse, .collpase-top {
|
114
|
+
@include collapse-top;
|
115
|
+
}
|
116
|
+
.collapse, .collpase-bottom {
|
117
|
+
@include collapse-bottom;
|
118
|
+
}
|
119
|
+
|
106
120
|
// Modules with max-width and padding
|
107
121
|
@mixin padded-module($width: 1100px, $padding: null, $nested: true) {
|
108
122
|
padding-left: calc(50vw - #{$width / 2});
|
@@ -94,8 +94,15 @@ form [class*='columns'] {
|
|
94
94
|
display: flex;
|
95
95
|
|
96
96
|
// Add gutter between top level elements
|
97
|
-
|
98
|
-
|
97
|
+
&:not(.no-gutter) {
|
98
|
+
> * ~ * {
|
99
|
+
margin-left: 8px;
|
100
|
+
}
|
101
|
+
}
|
102
|
+
&.medium-gutter {
|
103
|
+
> * ~ * {
|
104
|
+
margin-left: $card-padding;
|
105
|
+
}
|
99
106
|
}
|
100
107
|
}
|
101
108
|
|
@@ -29,8 +29,9 @@ body {
|
|
29
29
|
|
30
30
|
main {
|
31
31
|
display: flex;
|
32
|
-
flex-
|
33
|
-
|
32
|
+
flex-flow: row wrap;
|
33
|
+
align-items: stretch;
|
34
|
+
justify-content: space-around;
|
34
35
|
}
|
35
36
|
|
36
37
|
body,
|
@@ -42,9 +43,9 @@ textarea {
|
|
42
43
|
@mixin block-margin ($margin: $vertical-margin) {
|
43
44
|
margin-top: $margin;
|
44
45
|
margin-bottom: $margin;
|
45
|
-
|
46
|
-
margin-top: 0;
|
47
|
-
}
|
46
|
+
//&:first-child {
|
47
|
+
//margin-top: 0;
|
48
|
+
//}
|
48
49
|
}
|
49
50
|
|
50
51
|
#{$block-elements} {
|
@@ -56,6 +57,14 @@ textarea {
|
|
56
57
|
* ------------------------------------- */
|
57
58
|
|
58
59
|
.application-content {
|
59
|
-
|
60
|
+
max-width: 1280px;
|
61
|
+
flex: 1 1 auto;
|
62
|
+
|
63
|
+
@include at-least($medium-width) {
|
64
|
+
padding: 0 15px 80px;
|
65
|
+
}
|
66
|
+
@include at-least($large-width) {
|
67
|
+
padding: 10px 30px 80px;
|
68
|
+
}
|
60
69
|
}
|
61
70
|
|
@@ -2,34 +2,59 @@
|
|
2
2
|
* Navigation module
|
3
3
|
* -------------------------------------------------------------------------- */
|
4
4
|
|
5
|
-
.horizontal-nav {
|
5
|
+
.horizontal-nav, .vertical-nav {
|
6
6
|
display: flex;
|
7
|
-
flex-flow: row wrap;
|
8
7
|
position: relative;
|
9
|
-
background: $white;
|
10
|
-
box-shadow:
|
11
|
-
0 -1px rgba($gray-11, .1) inset,
|
12
|
-
0 0 0 1px rgba($gray-11, .05) inset,
|
13
|
-
0 1px 3px -1px rgba($gray-11, .1);
|
8
|
+
//background: $white;
|
9
|
+
//box-shadow:
|
10
|
+
//0 -1px rgba($gray-11, .1) inset,
|
11
|
+
//0 0 0 1px rgba($gray-11, .05) inset,
|
12
|
+
//0 1px 3px -1px rgba($gray-11, .1);
|
14
13
|
|
15
14
|
a {
|
16
15
|
padding: 9px 12px;
|
17
16
|
text-decoration: none;
|
18
|
-
transition: background
|
17
|
+
transition: background-position .4s ease-out;
|
18
|
+
background-image: linear-gradient(to right, $gray-02, $gray-02, #fff, #fff);
|
19
|
+
background-position: left top;
|
20
|
+
background-size: 400% 100%;
|
19
21
|
|
20
22
|
@include normal {
|
21
|
-
color: $
|
22
|
-
background: transparent;
|
23
|
+
color: $gray-09;
|
23
24
|
}
|
24
25
|
|
25
|
-
&.
|
26
|
-
color: $
|
27
|
-
background:
|
26
|
+
&.here {
|
27
|
+
color: $gray-10;
|
28
|
+
background-position: right top;
|
28
29
|
}
|
29
30
|
|
30
31
|
@include active {
|
31
|
-
color: $
|
32
|
-
background:
|
32
|
+
color: $gray-10;
|
33
|
+
background-position: right top;
|
33
34
|
}
|
34
35
|
}
|
35
|
-
}
|
36
|
+
}
|
37
|
+
|
38
|
+
.horizontal-nav {
|
39
|
+
flex-flow: row wrap;
|
40
|
+
}
|
41
|
+
|
42
|
+
.vertical-nav {
|
43
|
+
flex-flow: column;
|
44
|
+
border-right: 1px solid $gray-04;
|
45
|
+
a {
|
46
|
+
border-bottom: 1px solid $gray-04;
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
.card-nav {
|
51
|
+
background: $gray-01;
|
52
|
+
border-top-left-radius: 5px;
|
53
|
+
margin: -$card-padding { right: $card-padding; }
|
54
|
+
a:first-child {
|
55
|
+
border-top-left-radius: $radius - 1;
|
56
|
+
}
|
57
|
+
a:last-child {
|
58
|
+
border-bottom-left-radius: $radius - 1;
|
59
|
+
}
|
60
|
+
}
|
@@ -3,26 +3,32 @@
|
|
3
3
|
* -------------------------------------------------------------------------- */
|
4
4
|
|
5
5
|
.app-section {
|
6
|
+
display: flex;
|
7
|
+
flex-wrap: wrap;
|
8
|
+
padding-bottom: $card-padding;
|
6
9
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
align-items: baseline;
|
11
|
-
|
12
|
-
.section-actions {
|
13
|
-
margin-bottom: 0;
|
14
|
-
margin-left: auto;
|
15
|
-
}
|
10
|
+
~ .app-section {
|
11
|
+
border-top: 1px solid $gray-04;
|
12
|
+
padding-top: $card-padding;
|
16
13
|
}
|
17
14
|
|
18
15
|
&-header {
|
19
|
-
|
20
|
-
|
16
|
+
flex: 1 0 240px;
|
17
|
+
padding: 0 $card-padding 0;
|
21
18
|
}
|
22
19
|
|
23
20
|
&-heading {
|
24
|
-
font-size:
|
25
|
-
|
21
|
+
font-size: 18px;
|
22
|
+
@include at-least($medium-width) {
|
23
|
+
padding: $card-padding 0 0;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
&-content {
|
28
|
+
flex: 2 1 500px;
|
29
|
+
@include at-least($large-width) {
|
30
|
+
padding: 0 $card-padding 0;
|
31
|
+
}
|
26
32
|
}
|
27
33
|
|
28
34
|
&.narrow {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.input-row {
|
2
|
-
@include block-margin;
|
3
2
|
display: flex;
|
3
|
+
margin-bottom: $vertical-margin;
|
4
4
|
|
5
5
|
// Input wrappers should be large as possible
|
6
6
|
.input-wrapper { flex-grow: 1; }
|
@@ -11,8 +11,7 @@
|
|
11
11
|
}
|
12
12
|
|
13
13
|
// For some reason buttons are 2px too tall
|
14
|
-
> .button-wrapper
|
15
|
-
|
16
|
-
height: 41px;
|
14
|
+
> .button-wrapper {
|
15
|
+
align-self: center;
|
17
16
|
}
|
18
17
|
}
|
@@ -13,14 +13,17 @@ module Tungsten
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def display( body )
|
16
|
-
|
16
|
+
|
17
|
+
content_tag( :section, id: @options.delete(:id), class: "card-section #{"hidden" if @options.delete(:hidden)}".strip ) do
|
17
18
|
@options[:class] = "card #{@options[:class]}".strip
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
19
|
+
content_tag( :div, @options ) do
|
20
|
+
concat header( @title ) if @title
|
21
|
+
if first_header = body.scan(/\A<header.+?header>/m).first
|
22
|
+
concat first_header.html_safe
|
23
|
+
body = body.sub(first_header, '').html_safe
|
24
|
+
end
|
25
|
+
concat content_tag(:div, class: 'card-content') { body }
|
22
26
|
end
|
23
|
-
concat content_tag(:div, class: 'card-content') { body }
|
24
27
|
end
|
25
28
|
end
|
26
29
|
|
@@ -48,7 +51,7 @@ module Tungsten
|
|
48
51
|
|
49
52
|
content_tag( :footer, options ) {
|
50
53
|
concat content_tag( :p, text ) unless text.nil?
|
51
|
-
concat capture(&block).html_safe
|
54
|
+
concat capture(&block).html_safe if block_given?
|
52
55
|
}
|
53
56
|
end
|
54
57
|
|
@@ -9,7 +9,7 @@ module Tungsten
|
|
9
9
|
|
10
10
|
def display( body )
|
11
11
|
content_tag( :section, @options ) do
|
12
|
-
@options[:class] = "app-section #{@options[:class]}".strip
|
12
|
+
@options[:class] = "app-section #{@options[:class]} #{"hidden" if @options.delete(:hidden)}".strip
|
13
13
|
concat header( @title ) if @title
|
14
14
|
concat body
|
15
15
|
end
|
@@ -20,25 +20,13 @@ module Tungsten
|
|
20
20
|
|
21
21
|
content_tag( :header, options ) {
|
22
22
|
concat content_tag( :h2, text, class: 'app-section-heading' ) if text
|
23
|
-
concat
|
23
|
+
concat content_tag( :div, class: 'app-section-heading-description', &block) if block_given?
|
24
24
|
}
|
25
25
|
end
|
26
26
|
|
27
|
-
def
|
28
|
-
|
29
|
-
|
30
|
-
content_tag( :footer, options ) {
|
31
|
-
concat content_tag( :p, text ) unless text.nil?
|
32
|
-
concat capture(&block).html_safe
|
33
|
-
}
|
34
|
-
end
|
35
|
-
|
36
|
-
def actions( options={}, &block )
|
37
|
-
options[:class] = "app-section-actions #{options[:class]}".strip
|
38
|
-
|
39
|
-
content_tag( :nav, options, &block )
|
27
|
+
def content( options={}, &block )
|
28
|
+
content_tag( :div, class: 'app-section-content', &block )
|
40
29
|
end
|
41
|
-
|
42
30
|
end
|
43
31
|
end
|
44
32
|
end
|
data/lib/tungsten/version.rb
CHANGED
Binary file
|
File without changes
|
@@ -230,6 +230,9 @@
|
|
230
230
|
/* ========================================================================== *
|
231
231
|
* Globals module
|
232
232
|
* -------------------------------------------------------------------------- */
|
233
|
+
/* ===================================== *
|
234
|
+
* Responsive Sizes
|
235
|
+
* ------------------------------------- */
|
233
236
|
/* ===================================== *
|
234
237
|
* Fonts
|
235
238
|
* ------------------------------------- */
|
@@ -245,6 +248,12 @@
|
|
245
248
|
/* ===================================== *
|
246
249
|
* Layout
|
247
250
|
* ------------------------------------- */
|
251
|
+
.collapse > *:first-child, .collapse > *:first-child > *:first-child, .collapse > *:first-child > *:first-child > *:first-child, .collpase-top > *:first-child, .collpase-top > *:first-child > *:first-child, .collpase-top > *:first-child > *:first-child > *:first-child {
|
252
|
+
margin-top: 0; }
|
253
|
+
|
254
|
+
.collapse > *:last-child, .collapse > *:last-child > *:last-child, .collapse > *:last-child > *:last-child > *:last-child, .collpase-bottom > *:last-child, .collpase-bottom > *:last-child > *:last-child, .collpase-bottom > *:last-child > *:last-child > *:last-child {
|
255
|
+
margin-bottom: 0; }
|
256
|
+
|
248
257
|
/* ===================================== *
|
249
258
|
* Context
|
250
259
|
* ------------------------------------- */
|
@@ -420,8 +429,10 @@ form [class*='columns'] {
|
|
420
429
|
display: -webkit-box;
|
421
430
|
display: -ms-flexbox;
|
422
431
|
display: flex; }
|
423
|
-
.flex-row > * ~ * {
|
432
|
+
.flex-row:not(.no-gutter) > * ~ * {
|
424
433
|
margin-left: 8px; }
|
434
|
+
.flex-row.medium-gutter > * ~ * {
|
435
|
+
margin-left: 20px; }
|
425
436
|
|
426
437
|
.one-of-eight, .eight-columns > * {
|
427
438
|
-webkit-box-flex: 0;
|
@@ -677,13 +688,15 @@ main {
|
|
677
688
|
display: -webkit-box;
|
678
689
|
display: -ms-flexbox;
|
679
690
|
display: flex;
|
680
|
-
-webkit-box-orient:
|
691
|
+
-webkit-box-orient: horizontal;
|
681
692
|
-webkit-box-direction: normal;
|
682
|
-
-ms-flex-
|
683
|
-
flex-
|
684
|
-
-webkit-box-
|
685
|
-
-ms-flex:
|
686
|
-
|
693
|
+
-ms-flex-flow: row wrap;
|
694
|
+
flex-flow: row wrap;
|
695
|
+
-webkit-box-align: stretch;
|
696
|
+
-ms-flex-align: stretch;
|
697
|
+
align-items: stretch;
|
698
|
+
-ms-flex-pack: distribute;
|
699
|
+
justify-content: space-around; }
|
687
700
|
|
688
701
|
body, input, textarea {
|
689
702
|
color: #0f212e; }
|
@@ -691,14 +704,21 @@ body, input, textarea {
|
|
691
704
|
p, ul, ol, h1, h2, h3, h4, h5, h6, pre, table, .card {
|
692
705
|
margin-top: 20px;
|
693
706
|
margin-bottom: 20px; }
|
694
|
-
p:first-child, ul:first-child, ol:first-child, h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child, pre:first-child, table:first-child, .card:first-child {
|
695
|
-
margin-top: 0; }
|
696
707
|
|
697
708
|
/* ===================================== *
|
698
709
|
* Application
|
699
710
|
* ------------------------------------- */
|
700
711
|
.application-content {
|
701
|
-
|
712
|
+
max-width: 1280px;
|
713
|
+
-webkit-box-flex: 1;
|
714
|
+
-ms-flex: 1 1 auto;
|
715
|
+
flex: 1 1 auto; }
|
716
|
+
@media all and (min-width: 600px) {
|
717
|
+
.application-content {
|
718
|
+
padding: 0 15px 80px; } }
|
719
|
+
@media all and (min-width: 1000px) {
|
720
|
+
.application-content {
|
721
|
+
padding: 10px 30px 80px; } }
|
702
722
|
|
703
723
|
/* ========================================================================== *
|
704
724
|
* Text module
|
@@ -866,23 +886,33 @@ pre {
|
|
866
886
|
/* ========================================================================== *
|
867
887
|
* Sections module
|
868
888
|
* -------------------------------------------------------------------------- */
|
869
|
-
.app-section
|
889
|
+
.app-section {
|
870
890
|
display: -webkit-box;
|
871
891
|
display: -ms-flexbox;
|
872
892
|
display: flex;
|
873
|
-
-
|
874
|
-
|
875
|
-
|
876
|
-
.app-section
|
877
|
-
|
878
|
-
|
893
|
+
-ms-flex-wrap: wrap;
|
894
|
+
flex-wrap: wrap;
|
895
|
+
padding-bottom: 20px; }
|
896
|
+
.app-section ~ .app-section {
|
897
|
+
border-top: 1px solid #dfe3e6;
|
898
|
+
padding-top: 20px; }
|
879
899
|
.app-section-header {
|
880
|
-
-webkit-box-
|
881
|
-
-ms-flex
|
882
|
-
|
900
|
+
-webkit-box-flex: 1;
|
901
|
+
-ms-flex: 1 0 240px;
|
902
|
+
flex: 1 0 240px;
|
903
|
+
padding: 0 20px 0; }
|
883
904
|
.app-section-heading {
|
884
|
-
font-size:
|
885
|
-
|
905
|
+
font-size: 18px; }
|
906
|
+
@media all and (min-width: 600px) {
|
907
|
+
.app-section-heading {
|
908
|
+
padding: 20px 0 0; } }
|
909
|
+
.app-section-content {
|
910
|
+
-webkit-box-flex: 2;
|
911
|
+
-ms-flex: 2 1 500px;
|
912
|
+
flex: 2 1 500px; }
|
913
|
+
@media all and (min-width: 1000px) {
|
914
|
+
.app-section-content {
|
915
|
+
padding: 0 20px 0; } }
|
886
916
|
.app-section.narrow {
|
887
917
|
max-width: 600px;
|
888
918
|
margin-left: auto;
|
@@ -891,31 +921,53 @@ pre {
|
|
891
921
|
/* ========================================================================== *
|
892
922
|
* Navigation module
|
893
923
|
* -------------------------------------------------------------------------- */
|
894
|
-
.horizontal-nav {
|
924
|
+
.horizontal-nav, .vertical-nav {
|
895
925
|
display: -webkit-box;
|
896
926
|
display: -ms-flexbox;
|
897
927
|
display: flex;
|
928
|
+
position: relative; }
|
929
|
+
.horizontal-nav a, .vertical-nav a {
|
930
|
+
padding: 9px 12px;
|
931
|
+
text-decoration: none;
|
932
|
+
-webkit-transition: background-position .4s ease-out;
|
933
|
+
transition: background-position .4s ease-out;
|
934
|
+
background-image: -webkit-linear-gradient(left, #f5f7fa, #f5f7fa, #fff, #fff);
|
935
|
+
background-image: linear-gradient(to right, #f5f7fa, #f5f7fa, #fff, #fff);
|
936
|
+
background-position: left top;
|
937
|
+
background-size: 400% 100%; }
|
938
|
+
.horizontal-nav a, .horizontal-nav a:visited, .vertical-nav a, .vertical-nav a:visited {
|
939
|
+
color: #5a6872; }
|
940
|
+
.horizontal-nav a.here, .vertical-nav a.here {
|
941
|
+
color: #152934;
|
942
|
+
background-position: right top; }
|
943
|
+
.horizontal-nav a:hover, .horizontal-nav a:focus, .horizontal-nav a:active, .vertical-nav a:hover, .vertical-nav a:focus, .vertical-nav a:active {
|
944
|
+
color: #152934;
|
945
|
+
background-position: right top; }
|
946
|
+
|
947
|
+
.horizontal-nav {
|
898
948
|
-webkit-box-orient: horizontal;
|
899
949
|
-webkit-box-direction: normal;
|
900
950
|
-ms-flex-flow: row wrap;
|
901
|
-
flex-flow: row wrap;
|
902
|
-
|
903
|
-
|
904
|
-
box-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
951
|
+
flex-flow: row wrap; }
|
952
|
+
|
953
|
+
.vertical-nav {
|
954
|
+
-webkit-box-orient: vertical;
|
955
|
+
-webkit-box-direction: normal;
|
956
|
+
-ms-flex-flow: column;
|
957
|
+
flex-flow: column;
|
958
|
+
border-right: 1px solid #dfe3e6; }
|
959
|
+
.vertical-nav a {
|
960
|
+
border-bottom: 1px solid #dfe3e6; }
|
961
|
+
|
962
|
+
.card-nav {
|
963
|
+
background: #f7fafb;
|
964
|
+
border-top-left-radius: 5px;
|
965
|
+
margin: -20px;
|
966
|
+
margin-right: 20px; }
|
967
|
+
.card-nav a:first-child {
|
968
|
+
border-top-left-radius: 2px; }
|
969
|
+
.card-nav a:last-child {
|
970
|
+
border-bottom-left-radius: 2px; }
|
919
971
|
|
920
972
|
.application-banner {
|
921
973
|
background-color: #152934;
|
@@ -923,6 +975,7 @@ pre {
|
|
923
975
|
display: -webkit-box;
|
924
976
|
display: -ms-flexbox;
|
925
977
|
display: flex;
|
978
|
+
width: 100%;
|
926
979
|
-webkit-box-align: center;
|
927
980
|
-ms-flex-align: center;
|
928
981
|
align-items: center;
|
@@ -2616,22 +2669,20 @@ input::-moz-focus-inner {
|
|
2616
2669
|
box-shadow: #1f8bf8 0 0 0 1px; }
|
2617
2670
|
|
2618
2671
|
.input-row {
|
2619
|
-
margin-top: 20px;
|
2620
|
-
margin-bottom: 20px;
|
2621
2672
|
display: -webkit-box;
|
2622
2673
|
display: -ms-flexbox;
|
2623
|
-
display: flex;
|
2624
|
-
|
2625
|
-
margin-top: 0; }
|
2674
|
+
display: flex;
|
2675
|
+
margin-bottom: 20px; }
|
2626
2676
|
.input-row .input-wrapper {
|
2627
2677
|
-webkit-box-flex: 1;
|
2628
2678
|
-ms-flex-positive: 1;
|
2629
2679
|
flex-grow: 1; }
|
2630
2680
|
.input-row > * ~ * {
|
2631
2681
|
margin-left: 8px; }
|
2632
|
-
.input-row > .button-wrapper
|
2633
|
-
|
2634
|
-
|
2682
|
+
.input-row > .button-wrapper {
|
2683
|
+
-ms-flex-item-align: center;
|
2684
|
+
-ms-grid-row-align: center;
|
2685
|
+
align-self: center; }
|
2635
2686
|
|
2636
2687
|
/* ========================================================================== *
|
2637
2688
|
* Tables module
|
@@ -2703,11 +2754,11 @@ th.sub-heading {
|
|
2703
2754
|
.table-drawer-handle td {
|
2704
2755
|
-webkit-transition: background-position .35s ease-out;
|
2705
2756
|
transition: background-position .35s ease-out;
|
2706
|
-
background-image: -webkit-linear-gradient(#fff, #ebf5fe);
|
2707
|
-
background-image: linear-gradient(#fff, #ebf5fe);
|
2757
|
+
background-image: -webkit-linear-gradient(#fff, #fff, #ebf5fe);
|
2758
|
+
background-image: linear-gradient(#fff, #fff, #ebf5fe);
|
2708
2759
|
background-position: left top;
|
2709
2760
|
background-repeat: no-repeat;
|
2710
|
-
background-size: 100%
|
2761
|
+
background-size: 100% 400%; }
|
2711
2762
|
.table-drawer-handle.toggle-handle:hover .drawer-indicator button {
|
2712
2763
|
color: #0094fd; }
|
2713
2764
|
.table-drawer-handle.toggle-handle:hover td {
|
@@ -2746,6 +2797,10 @@ th.sub-heading {
|
|
2746
2797
|
-webkit-transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
2747
2798
|
transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
2748
2799
|
box-shadow: 0 1px 0 0 #dfe3e6 inset; }
|
2800
|
+
.table-drawer-content-wrapper > *:first-child, .table-drawer-content-wrapper > *:first-child > *:first-child, .table-drawer-content-wrapper > *:first-child > *:first-child > *:first-child {
|
2801
|
+
margin-top: 0; }
|
2802
|
+
.table-drawer-content-wrapper > *:last-child, .table-drawer-content-wrapper > *:last-child > *:last-child, .table-drawer-content-wrapper > *:last-child > *:last-child > *:last-child {
|
2803
|
+
margin-bottom: 0; }
|
2749
2804
|
.table-drawer-content {
|
2750
2805
|
-webkit-transition: opacity .2s, -webkit-transform .2s;
|
2751
2806
|
transition: opacity .2s, -webkit-transform .2s;
|
@@ -2754,8 +2809,6 @@ th.sub-heading {
|
|
2754
2809
|
-webkit-transition-delay: .16s, .2s;
|
2755
2810
|
transition-delay: .16s, .2s;
|
2756
2811
|
padding: 8px; }
|
2757
|
-
.table-drawer-content > :last-child {
|
2758
|
-
margin-bottom: 0; }
|
2759
2812
|
|
2760
2813
|
.rotate-icon svg {
|
2761
2814
|
-webkit-transform: rotate(180deg);
|
@@ -2938,9 +2991,15 @@ th.sub-heading {
|
|
2938
2991
|
-ms-flex-direction: column;
|
2939
2992
|
flex-direction: column;
|
2940
2993
|
position: relative;
|
2941
|
-
padding: 20px;
|
2994
|
+
padding: 20px;
|
2995
|
+
-webkit-transition: opacity .2s, -webkit-transform .2s;
|
2996
|
+
transition: opacity .2s, -webkit-transform .2s;
|
2997
|
+
transition: opacity .2s, transform .2s;
|
2998
|
+
transition: opacity .2s, transform .2s, -webkit-transform .2s; }
|
2942
2999
|
.card > *:last-child, .card > *:last-child > *:last-child, .card > *:last-child > *:last-child > *:last-child {
|
2943
3000
|
margin-bottom: 0; }
|
3001
|
+
.card > *:first-child, .card > *:first-child > *:first-child, .card > *:first-child > *:first-child > *:first-child {
|
3002
|
+
margin-top: 0; }
|
2944
3003
|
.card-actions {
|
2945
3004
|
display: -webkit-box;
|
2946
3005
|
display: -ms-flexbox;
|
@@ -2948,7 +3007,6 @@ th.sub-heading {
|
|
2948
3007
|
-webkit-box-align: baseline;
|
2949
3008
|
-ms-flex-align: baseline;
|
2950
3009
|
align-items: baseline;
|
2951
|
-
margin-bottom: 20px;
|
2952
3010
|
-webkit-box-orient: horizontal;
|
2953
3011
|
-webkit-box-direction: reverse;
|
2954
3012
|
-ms-flex-direction: row-reverse;
|
@@ -2987,10 +3045,8 @@ th.sub-heading {
|
|
2987
3045
|
-ms-flex-align: top;
|
2988
3046
|
align-items: top;
|
2989
3047
|
margin-bottom: 0; }
|
2990
|
-
.card-
|
2991
|
-
margin-
|
2992
|
-
.card-footer {
|
2993
|
-
margin-top: 20px; }
|
3048
|
+
.card-content:first-child *:first-child {
|
3049
|
+
margin-top: 0; }
|
2994
3050
|
.card-header, .card-footer {
|
2995
3051
|
display: -webkit-box;
|
2996
3052
|
display: -ms-flexbox;
|
@@ -3010,8 +3066,6 @@ th.sub-heading {
|
|
3010
3066
|
background: rgba(180, 193, 210, 0.05);
|
3011
3067
|
box-shadow: 0 0 0 1px rgba(15, 33, 46, 0.05) inset, 0 1px 1px 0 rgba(15, 33, 46, 0.1) inset;
|
3012
3068
|
border-radius: 3px; }
|
3013
|
-
.card-well:first-child {
|
3014
|
-
margin-top: 0; }
|
3015
3069
|
.card-footer {
|
3016
3070
|
display: -webkit-box;
|
3017
3071
|
display: -ms-flexbox;
|
@@ -3027,14 +3081,37 @@ th.sub-heading {
|
|
3027
3081
|
background-clip: padding-box; }
|
3028
3082
|
.card-footer > *:last-child, .card-footer > *:last-child > *:last-child, .card-footer > *:last-child > *:last-child > *:last-child {
|
3029
3083
|
margin-bottom: 0; }
|
3030
|
-
.card-footer
|
3031
|
-
margin
|
3084
|
+
.card-footer > * {
|
3085
|
+
margin: 0; }
|
3032
3086
|
.card > .card-footer:last-child, .card > *:last-child > .card-footer:last-child, .card > *:last-child > *:last-child > .card-footer:last-child {
|
3033
3087
|
margin: auto -20px -20px -20px; }
|
3034
3088
|
|
3035
3089
|
table.card {
|
3036
3090
|
display: table; }
|
3037
3091
|
|
3092
|
+
.card-section {
|
3093
|
+
-webkit-transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
3094
|
+
transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
|
3095
|
+
.card-section.visible {
|
3096
|
+
max-height: 240vh; }
|
3097
|
+
.card-section.visible .card {
|
3098
|
+
opacity: 1;
|
3099
|
+
-webkit-transform: scale(1);
|
3100
|
+
transform: scale(1); }
|
3101
|
+
.card-section.hidden {
|
3102
|
+
max-height: 0;
|
3103
|
+
-webkit-transition-duration: .3s;
|
3104
|
+
transition-duration: .3s;
|
3105
|
+
-webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
3106
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
3107
|
+
display: initial; }
|
3108
|
+
.card-section.hidden .card {
|
3109
|
+
opacity: 0;
|
3110
|
+
-webkit-transform: scale(0.99);
|
3111
|
+
transform: scale(0.99);
|
3112
|
+
-webkit-transition-delay: .1s, .1s;
|
3113
|
+
transition-delay: .1s, .1s; }
|
3114
|
+
|
3038
3115
|
.has-tooltip:focus, .has-tooltip:hover {
|
3039
3116
|
position: relative;
|
3040
3117
|
z-index: 1; }
|
@@ -3095,15 +3172,11 @@ table.card {
|
|
3095
3172
|
background: -webkit-linear-gradient(top, white, #fafafa);
|
3096
3173
|
background: linear-gradient(top, white, #fafafa);
|
3097
3174
|
border: 1px solid #dfe3e6; }
|
3098
|
-
.notice:first-child {
|
3099
|
-
margin-top: 0; }
|
3100
3175
|
.notice .notice-header {
|
3101
3176
|
position: relative; }
|
3102
3177
|
.notice .notice-title, .notice p {
|
3103
3178
|
margin-top: 10px;
|
3104
3179
|
margin-bottom: 10px; }
|
3105
|
-
.notice .notice-title:first-child, .notice p:first-child {
|
3106
|
-
margin-top: 0; }
|
3107
3180
|
.notice .dismiss-notice {
|
3108
3181
|
padding: 0;
|
3109
3182
|
position: absolute;
|
@@ -3259,8 +3332,7 @@ table.card {
|
|
3259
3332
|
justify-content: center;
|
3260
3333
|
position: relative;
|
3261
3334
|
z-index: 1;
|
3262
|
-
margin-bottom: -35px;
|
3263
|
-
margin-top: 20px; }
|
3335
|
+
margin-bottom: -35px; }
|
3264
3336
|
.toggle-nav-label {
|
3265
3337
|
box-shadow: 0 0 0 1px rgba(15, 33, 46, 0.2) inset, 0 0 0 transparent;
|
3266
3338
|
-webkit-box-flex: 0;
|
@@ -3345,8 +3417,6 @@ table.card {
|
|
3345
3417
|
padding: 2px;
|
3346
3418
|
border-radius: 20px;
|
3347
3419
|
box-shadow: 0 0 0 1px rgba(15, 33, 46, 0.2) inset, 0 0 0 transparent; }
|
3348
|
-
.progress-bar:first-child {
|
3349
|
-
margin-top: 0; }
|
3350
3420
|
|
3351
3421
|
.progress-bar-fill {
|
3352
3422
|
background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.6));
|
@@ -3406,8 +3476,6 @@ table.card {
|
|
3406
3476
|
.half-margin {
|
3407
3477
|
margin-top: 10px;
|
3408
3478
|
margin-bottom: 10px; }
|
3409
|
-
.half-margin:first-child {
|
3410
|
-
margin-top: 0; }
|
3411
3479
|
|
3412
3480
|
.flush-margin {
|
3413
3481
|
margin-bottom: 0; }
|
Binary file
|
Binary file
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tungsten
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.39
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-10-
|
12
|
+
date: 2017-10-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -283,14 +283,14 @@ files:
|
|
283
283
|
- lib/tungsten.rb
|
284
284
|
- lib/tungsten/helper.rb
|
285
285
|
- lib/tungsten/version.rb
|
286
|
-
- public/code-0.1.
|
287
|
-
- public/code-0.1.
|
288
|
-
- public/code-0.1.
|
289
|
-
- public/tungsten-0.1.
|
290
|
-
- public/tungsten-0.1.
|
291
|
-
- public/tungsten-0.1.
|
292
|
-
- public/tungsten-0.1.
|
293
|
-
- public/tungsten-0.1.
|
286
|
+
- public/code-0.1.39.js
|
287
|
+
- public/code-0.1.39.js.gz
|
288
|
+
- public/code-0.1.39.map.json
|
289
|
+
- public/tungsten-0.1.39.css
|
290
|
+
- public/tungsten-0.1.39.css.gz
|
291
|
+
- public/tungsten-0.1.39.js
|
292
|
+
- public/tungsten-0.1.39.js.gz
|
293
|
+
- public/tungsten-0.1.39.map.json
|
294
294
|
homepage:
|
295
295
|
licenses:
|
296
296
|
- MIT
|
Binary file
|