tungsten 0.1.35 → 0.1.36
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/app/assets/stylesheets/tungsten/_index.scss +1 -0
- data/app/assets/stylesheets/tungsten/_overrides.scss +18 -0
- data/app/assets/stylesheets/tungsten/components/_buttons.scss +28 -28
- data/app/assets/stylesheets/tungsten/components/_icons.scss +1 -2
- data/app/assets/stylesheets/tungsten/components/_tables.scss +59 -11
- data/app/assets/stylesheets/tungsten/core/_layout.scss +3 -11
- data/app/assets/stylesheets/tungsten/core/_text.scss +1 -1
- data/app/assets/stylesheets/tungsten/form/_input-row.scss +16 -6
- data/app/helpers/tungsten/button_helper.rb +8 -2
- data/app/helpers/tungsten/table_helper.rb +10 -9
- data/lib/tungsten/version.rb +1 -1
- data/public/{code-0.1.35.js → code-0.1.36.js} +1 -1
- data/public/{code-0.1.35.js.gz → code-0.1.36.js.gz} +0 -0
- data/public/{code-0.1.35.map.json → code-0.1.36.map.json} +0 -0
- data/public/{tungsten-0.1.35.css → tungsten-0.1.36.css} +106 -57
- data/public/tungsten-0.1.36.css.gz +0 -0
- data/public/{tungsten-0.1.35.js → tungsten-0.1.36.js} +1 -1
- data/public/{tungsten-0.1.35.js.gz → tungsten-0.1.36.js.gz} +0 -0
- data/public/{tungsten-0.1.35.map.json → tungsten-0.1.36.map.json} +0 -0
- metadata +11 -10
- data/public/tungsten-0.1.35.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: 254bfdce1180a61d6e09e2940456d5e2863ec4e1
|
4
|
+
data.tar.gz: 4bf409a31b39757c00c258c90ccbce5348399802
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a39f819435ede530efd8e2b17551a1a099f88dcf14b825ff70c6a3c7f8011b0d5784b8ee59683d91db3d760cc8f840be2199f85bd57f3634fa62b937013c02f
|
7
|
+
data.tar.gz: e251ca5d2cc6d0e81dbb2417725fa078458c70dc1d760630c25d6cd876fe7bf797fd822f3e86851a38bb294f85218e493b9384b2724d0e8f19b26a2ff3674450
|
@@ -0,0 +1,18 @@
|
|
1
|
+
.half-margin {
|
2
|
+
@include block-margin( $vertical-margin / 2 );
|
3
|
+
}
|
4
|
+
|
5
|
+
.flush-margin {
|
6
|
+
margin-bottom: 0;
|
7
|
+
+ * { margin-top: 0; }
|
8
|
+
}
|
9
|
+
|
10
|
+
.hidden {
|
11
|
+
display: none !important;
|
12
|
+
visibility: hidden;
|
13
|
+
}
|
14
|
+
|
15
|
+
.heading-label {
|
16
|
+
margin-bottom: 0;
|
17
|
+
+ * { margin-top: 0; }
|
18
|
+
}
|
@@ -11,7 +11,6 @@
|
|
11
11
|
}
|
12
12
|
|
13
13
|
.button {
|
14
|
-
display: inline-flex;
|
15
14
|
align-self: center;
|
16
15
|
align-items: center;
|
17
16
|
justify-content: center;
|
@@ -110,6 +109,33 @@
|
|
110
109
|
}
|
111
110
|
}
|
112
111
|
|
112
|
+
|
113
|
+
&.clear {
|
114
|
+
padding: { left: 2px; right: 2px; }
|
115
|
+
|
116
|
+
@include normal {
|
117
|
+
box-shadow: none;
|
118
|
+
background: transparent;
|
119
|
+
}
|
120
|
+
@include active {
|
121
|
+
box-shadow: none;
|
122
|
+
background: transparent;
|
123
|
+
}
|
124
|
+
&.primary {
|
125
|
+
color: $blue-03;
|
126
|
+
&:hover { color: darken($blue-03, 10) }
|
127
|
+
}
|
128
|
+
&.destructive {
|
129
|
+
color: inherit;
|
130
|
+
&:hover { color: $red-01 }
|
131
|
+
}
|
132
|
+
|
133
|
+
&.primary-destructive {
|
134
|
+
color: $red-01;
|
135
|
+
&:hover { color: $red-02 }
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
113
139
|
// Disabled
|
114
140
|
&[disabled] {
|
115
141
|
color: $gray-05 !important;
|
@@ -120,7 +146,7 @@
|
|
120
146
|
0 1px 3px rgba($gray-11, .15) !important;
|
121
147
|
}
|
122
148
|
|
123
|
-
|
149
|
+
.inline-icon {
|
124
150
|
margin: 0 4px;
|
125
151
|
&:first-child { margin-left: 0; }
|
126
152
|
&:last-child { margin-right: 0; }
|
@@ -130,32 +156,6 @@
|
|
130
156
|
vertical-align: bottom;
|
131
157
|
padding: 5px;
|
132
158
|
|
133
|
-
&.clear {
|
134
|
-
padding: { left: 2px; right: 2px; }
|
135
|
-
|
136
|
-
@include normal {
|
137
|
-
box-shadow: none;
|
138
|
-
background: transparent;
|
139
|
-
}
|
140
|
-
@include active {
|
141
|
-
box-shadow: none;
|
142
|
-
background: transparent;
|
143
|
-
}
|
144
|
-
&.primary {
|
145
|
-
color: $blue-03;
|
146
|
-
&:hover { color: darken($blue-03, 10) }
|
147
|
-
}
|
148
|
-
&.destructive {
|
149
|
-
color: inherit;
|
150
|
-
&:hover { color: $red-01 }
|
151
|
-
}
|
152
|
-
|
153
|
-
&.primary-destructive {
|
154
|
-
color: $red-01;
|
155
|
-
&:hover { color: $red-02 }
|
156
|
-
}
|
157
|
-
}
|
158
|
-
|
159
159
|
svg {
|
160
160
|
fill: currentColor;
|
161
161
|
height: 20px;
|
@@ -104,28 +104,76 @@ th.sub-heading {
|
|
104
104
|
}
|
105
105
|
|
106
106
|
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
107
|
+
.table-drawer-handle {
|
108
|
+
|
109
|
+
.drawer-indicator button {
|
110
|
+
transition: transform .2s;
|
111
|
+
}
|
112
|
+
|
113
|
+
td {
|
114
|
+
transition: background-position .35s ease-out;
|
115
|
+
background-image: linear-gradient(#fff, mix(#fff, $blue-01, 88%));
|
116
|
+
background-position: left top;
|
117
|
+
background-repeat: no-repeat;
|
118
|
+
background-size: 100% 220%;
|
119
|
+
}
|
120
|
+
|
121
|
+
&.toggle-handle:hover {
|
122
|
+
.drawer-indicator button {
|
123
|
+
color: $blue-03;
|
124
|
+
}
|
125
|
+
td {
|
126
|
+
background-position: left bottom;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
|
130
|
+
&.open {
|
131
|
+
.drawer-indicator button {
|
132
|
+
transform: rotate(180deg);
|
133
|
+
}
|
134
|
+
+ .table-drawer {
|
135
|
+
.table-drawer-content-wrapper { max-height: 240vh; } // magic number based on very tall theoretical maximum height
|
136
|
+
.table-drawer-content {
|
137
|
+
opacity: 1;
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
&.closed {
|
143
|
+
+ .table-drawer {
|
144
|
+
.table-drawer-content-wrapper {
|
145
|
+
max-height: 0;
|
146
|
+
transition-duration: .3s;
|
147
|
+
transition-timing-function: $timing;
|
148
|
+
}
|
149
|
+
.table-drawer-content {
|
150
|
+
opacity: 0;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
111
154
|
}
|
112
155
|
|
113
156
|
.table-drawer {
|
114
|
-
tr:not(.open) + & { display: none; }
|
115
|
-
|
116
157
|
td {
|
117
158
|
padding: 0;
|
159
|
+
border-top: none !important;
|
160
|
+
transition: border-color .2s ease-in;
|
161
|
+
background-image: linear-gradient(rgba(#000, .03),rgba(#000, .03));
|
118
162
|
}
|
119
|
-
|
163
|
+
|
164
|
+
&-content-wrapper {
|
165
|
+
overflow: hidden;
|
166
|
+
transition: max-height .4s $timing;
|
167
|
+
box-shadow: 0 1px 0 0 $gray-04 inset;
|
168
|
+
}
|
169
|
+
|
170
|
+
&-content {
|
171
|
+
transition: opacity .2s .15s ease-in;
|
120
172
|
padding: 8px;
|
121
|
-
background: rgba(#000, .05);
|
122
173
|
>:last-child {
|
123
174
|
margin-bottom: 0;
|
124
175
|
}
|
125
176
|
}
|
126
|
-
.open + & .table-drawer-content-wrapper {
|
127
|
-
overflow: hidden;
|
128
|
-
animation: open-table-drawer .4s ease-in; }
|
129
177
|
}
|
130
178
|
|
131
179
|
.rotate-icon {
|
@@ -39,9 +39,9 @@ textarea {
|
|
39
39
|
color: $gray-11;
|
40
40
|
}
|
41
41
|
|
42
|
-
@mixin block-margin {
|
43
|
-
margin-top: $
|
44
|
-
margin-bottom: $
|
42
|
+
@mixin block-margin ($margin: $vertical-margin) {
|
43
|
+
margin-top: $margin;
|
44
|
+
margin-bottom: $margin;
|
45
45
|
&:first-child {
|
46
46
|
margin-top: 0;
|
47
47
|
}
|
@@ -59,11 +59,3 @@ textarea {
|
|
59
59
|
padding: $content-padding;
|
60
60
|
}
|
61
61
|
|
62
|
-
/* ===================================== *
|
63
|
-
* Visibility
|
64
|
-
* ------------------------------------- */
|
65
|
-
|
66
|
-
.hidden {
|
67
|
-
display: none !important;
|
68
|
-
visibility: hidden;
|
69
|
-
}
|
@@ -1,17 +1,27 @@
|
|
1
|
+
// Expanded items will be large as possible
|
2
|
+
.grow { flex-grow: 1; }
|
3
|
+
|
4
|
+
.flex-row {
|
5
|
+
display: flex;
|
6
|
+
|
7
|
+
// Add gutter between top level elements
|
8
|
+
> * ~ * {
|
9
|
+
margin-left: 8px;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
1
13
|
.input-row {
|
2
14
|
@include block-margin;
|
3
15
|
display: flex;
|
4
16
|
|
5
17
|
// Input wrappers should be large as possible
|
6
|
-
.input-wrapper {
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
// Add spacing between top level elements
|
18
|
+
.input-wrapper { flex-grow: 1; }
|
19
|
+
|
20
|
+
// Add gutter between top level elements
|
11
21
|
> * ~ * {
|
12
22
|
margin-left: 8px;
|
13
23
|
}
|
14
|
-
|
24
|
+
|
15
25
|
// For some reason buttons are 2px too tall
|
16
26
|
> .button-wrapper button {
|
17
27
|
margin: { top: 1px; }
|
@@ -40,7 +40,11 @@ module Tungsten
|
|
40
40
|
}
|
41
41
|
|
42
42
|
button = content_tag tag_name, button_options do
|
43
|
-
|
43
|
+
if options[:icon]
|
44
|
+
concat content_tag(:span, class: 'inline-icon') {
|
45
|
+
use_svg(options.delete(:icon), height: '1em', fill: 'currentColor', desc: options.delete(:desc))
|
46
|
+
}
|
47
|
+
end
|
44
48
|
concat content_tag(:span, class: 'button-text') { text } if text
|
45
49
|
concat capture(&block).html_safe if block_given?
|
46
50
|
end
|
@@ -129,7 +133,9 @@ module Tungsten
|
|
129
133
|
icon_options[:scale] = true unless icon_options[:width] || icon_options[:height]
|
130
134
|
|
131
135
|
button( options ) do
|
132
|
-
|
136
|
+
concat content_tag(:span, class: 'inline-icon') {
|
137
|
+
use_svg icon, icon_options
|
138
|
+
}
|
133
139
|
end
|
134
140
|
end
|
135
141
|
|
@@ -15,9 +15,9 @@ module Tungsten
|
|
15
15
|
options[:data] ||= {}
|
16
16
|
|
17
17
|
if @options.delete(:toggle)
|
18
|
-
options[:data]['toggle-class'] = 'open'
|
18
|
+
options[:data]['toggle-class'] = 'open closed'
|
19
19
|
options[:role] = 'button'
|
20
|
-
options[:class] << ' handle
|
20
|
+
options[:class] << ' toggle-handle closed'
|
21
21
|
end
|
22
22
|
content_tag(:tr, options) { body }
|
23
23
|
end
|
@@ -37,15 +37,20 @@ module Tungsten
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def close( &block )
|
40
|
-
|
40
|
+
capture(&block).sub(/>/, " role='button' \
|
41
|
+
data-remove-class=\"open; ##{@id}\" \
|
42
|
+
data-add-class=\"closed; ##{@id}\">").html_safe
|
41
43
|
end
|
42
44
|
|
43
45
|
def toggle( &block )
|
44
|
-
|
46
|
+
capture(&block).sub(/>/, " role='button' \
|
47
|
+
data-toggle-class=\"open closed; ##{@id}\">").html_safe
|
45
48
|
end
|
46
49
|
|
47
50
|
def open( &block )
|
48
|
-
|
51
|
+
capture(&block).sub(/>/, " role='button' \
|
52
|
+
data-add-class=\"open; ##{@id}\" \
|
53
|
+
data-remove-class=\"closed; ##{@id}\">").html_safe
|
49
54
|
end
|
50
55
|
|
51
56
|
def id
|
@@ -53,10 +58,6 @@ module Tungsten
|
|
53
58
|
end
|
54
59
|
|
55
60
|
private
|
56
|
-
|
57
|
-
def trigger_action( action, &block )
|
58
|
-
capture(&block).sub(/>/, " role='button' data-#{action}-class=\"open; ##{@id}\">").html_safe
|
59
|
-
end
|
60
61
|
end
|
61
62
|
end
|
62
63
|
end
|
data/lib/tungsten/version.rb
CHANGED
Binary file
|
File without changes
|
@@ -688,13 +688,6 @@ p:first-child, ul:first-child, ol:first-child, h1:first-child, h2:first-child, h
|
|
688
688
|
.application-content {
|
689
689
|
padding: 30px; }
|
690
690
|
|
691
|
-
/* ===================================== *
|
692
|
-
* Visibility
|
693
|
-
* ------------------------------------- */
|
694
|
-
.hidden {
|
695
|
-
display: none !important;
|
696
|
-
visibility: hidden; }
|
697
|
-
|
698
691
|
/* ========================================================================== *
|
699
692
|
* Text module
|
700
693
|
* -------------------------------------------------------------------------- */
|
@@ -810,7 +803,7 @@ a:hover, a:focus, a:active {
|
|
810
803
|
* Horizontal rule
|
811
804
|
* ------------------------------------- */
|
812
805
|
hr {
|
813
|
-
border: solid
|
806
|
+
border: solid #dfe3e6;
|
814
807
|
border-width: 1px 0 0 0; }
|
815
808
|
|
816
809
|
/* ===================================== *
|
@@ -2610,6 +2603,18 @@ input::-moz-focus-inner {
|
|
2610
2603
|
.slider-input.fill ~ .slider-track .filled .slider-segment-mark[data-index]:after {
|
2611
2604
|
box-shadow: #1f8bf8 0 0 0 1px; }
|
2612
2605
|
|
2606
|
+
.grow {
|
2607
|
+
-webkit-box-flex: 1;
|
2608
|
+
-ms-flex-positive: 1;
|
2609
|
+
flex-grow: 1; }
|
2610
|
+
|
2611
|
+
.flex-row {
|
2612
|
+
display: -webkit-box;
|
2613
|
+
display: -ms-flexbox;
|
2614
|
+
display: flex; }
|
2615
|
+
.flex-row > * ~ * {
|
2616
|
+
margin-left: 8px; }
|
2617
|
+
|
2613
2618
|
.input-row {
|
2614
2619
|
margin-top: 20px;
|
2615
2620
|
margin-bottom: 20px;
|
@@ -2690,30 +2695,57 @@ th.sub-heading {
|
|
2690
2695
|
padding-top: 4px;
|
2691
2696
|
padding-bottom: 4px; }
|
2692
2697
|
|
2693
|
-
|
2694
|
-
|
2695
|
-
|
2696
|
-
|
2697
|
-
|
2698
|
+
.table-drawer-handle .drawer-indicator button {
|
2699
|
+
-webkit-transition: -webkit-transform .2s;
|
2700
|
+
transition: -webkit-transform .2s;
|
2701
|
+
transition: transform .2s;
|
2702
|
+
transition: transform .2s, -webkit-transform .2s; }
|
2703
|
+
.table-drawer-handle td {
|
2704
|
+
-webkit-transition: background-position .35s ease-out;
|
2705
|
+
transition: background-position .35s ease-out;
|
2706
|
+
background-image: -webkit-linear-gradient(#fff, #ebf5fe);
|
2707
|
+
background-image: linear-gradient(#fff, #ebf5fe);
|
2708
|
+
background-position: left top;
|
2709
|
+
background-repeat: no-repeat;
|
2710
|
+
background-size: 100% 220%; }
|
2711
|
+
.table-drawer-handle.toggle-handle:hover .drawer-indicator button {
|
2712
|
+
color: #0094fd; }
|
2713
|
+
.table-drawer-handle.toggle-handle:hover td {
|
2714
|
+
background-position: left bottom; }
|
2715
|
+
.table-drawer-handle.open .drawer-indicator button {
|
2716
|
+
-webkit-transform: rotate(180deg);
|
2717
|
+
transform: rotate(180deg); }
|
2718
|
+
.table-drawer-handle.open + .table-drawer .table-drawer-content-wrapper {
|
2719
|
+
max-height: 240vh; }
|
2720
|
+
.table-drawer-handle.open + .table-drawer .table-drawer-content {
|
2721
|
+
opacity: 1; }
|
2722
|
+
.table-drawer-handle.closed + .table-drawer .table-drawer-content-wrapper {
|
2723
|
+
max-height: 0;
|
2724
|
+
-webkit-transition-duration: .3s;
|
2725
|
+
transition-duration: .3s;
|
2726
|
+
-webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
2727
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
|
2728
|
+
.table-drawer-handle.closed + .table-drawer .table-drawer-content {
|
2729
|
+
opacity: 0; }
|
2698
2730
|
|
2699
|
-
@keyframes open-table-drawer {
|
2700
|
-
0% {
|
2701
|
-
max-height: 0; }
|
2702
|
-
100% {
|
2703
|
-
max-height: 40vw; } }
|
2704
|
-
tr:not(.open) + .table-drawer {
|
2705
|
-
display: none; }
|
2706
2731
|
.table-drawer td {
|
2707
|
-
padding: 0;
|
2708
|
-
|
2709
|
-
|
2710
|
-
|
2711
|
-
|
2712
|
-
|
2713
|
-
.
|
2732
|
+
padding: 0;
|
2733
|
+
border-top: none !important;
|
2734
|
+
-webkit-transition: border-color .2s ease-in;
|
2735
|
+
transition: border-color .2s ease-in;
|
2736
|
+
background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.03));
|
2737
|
+
background-image: linear-gradient(rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.03)); }
|
2738
|
+
.table-drawer-content-wrapper {
|
2714
2739
|
overflow: hidden;
|
2715
|
-
-webkit-
|
2716
|
-
|
2740
|
+
-webkit-transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
2741
|
+
transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
2742
|
+
box-shadow: 0 1px 0 0 #dfe3e6 inset; }
|
2743
|
+
.table-drawer-content {
|
2744
|
+
-webkit-transition: opacity .2s .15s ease-in;
|
2745
|
+
transition: opacity .2s .15s ease-in;
|
2746
|
+
padding: 8px; }
|
2747
|
+
.table-drawer-content > :last-child {
|
2748
|
+
margin-bottom: 0; }
|
2717
2749
|
|
2718
2750
|
.rotate-icon svg {
|
2719
2751
|
-webkit-transform: rotate(180deg);
|
@@ -2732,10 +2764,8 @@ tr:not(.open) + .table-drawer {
|
|
2732
2764
|
cursor: pointer; }
|
2733
2765
|
|
2734
2766
|
.button {
|
2735
|
-
display: -webkit-inline-box;
|
2736
|
-
display: -ms-inline-flexbox;
|
2737
|
-
display: inline-flex;
|
2738
2767
|
-ms-flex-item-align: center;
|
2768
|
+
-ms-grid-row-align: center;
|
2739
2769
|
align-self: center;
|
2740
2770
|
-webkit-box-align: center;
|
2741
2771
|
-ms-flex-align: center;
|
@@ -2784,41 +2814,41 @@ tr:not(.open) + .table-drawer {
|
|
2784
2814
|
color: #fff;
|
2785
2815
|
background: #A81C27;
|
2786
2816
|
box-shadow: 0 0 0 1px #A81C27, 0 1px 3px rgba(15, 33, 46, 0.15); }
|
2787
|
-
.button
|
2788
|
-
color: #d6dde7 !important;
|
2789
|
-
background: #f7fafb !important;
|
2790
|
-
cursor: not-allowed !important;
|
2791
|
-
box-shadow: 0 0 0 1px rgba(15, 33, 46, 0.1), 0 1px 3px rgba(15, 33, 46, 0.15) !important; }
|
2792
|
-
.button svg {
|
2793
|
-
margin: 0 4px; }
|
2794
|
-
.button svg:first-child {
|
2795
|
-
margin-left: 0; }
|
2796
|
-
.button svg:last-child {
|
2797
|
-
margin-right: 0; }
|
2798
|
-
.button.icon-button {
|
2799
|
-
vertical-align: bottom;
|
2800
|
-
padding: 5px; }
|
2801
|
-
.button.icon-button.clear {
|
2817
|
+
.button.clear {
|
2802
2818
|
padding-left: 2px;
|
2803
2819
|
padding-right: 2px; }
|
2804
|
-
.button.
|
2820
|
+
.button.clear, .button.clear:visited {
|
2805
2821
|
box-shadow: none;
|
2806
2822
|
background: transparent; }
|
2807
|
-
.button.
|
2823
|
+
.button.clear:hover, .button.clear:focus, .button.clear:active {
|
2808
2824
|
box-shadow: none;
|
2809
2825
|
background: transparent; }
|
2810
|
-
.button.
|
2826
|
+
.button.clear.primary {
|
2811
2827
|
color: #0094fd; }
|
2812
|
-
.button.
|
2828
|
+
.button.clear.primary:hover {
|
2813
2829
|
color: #0076ca; }
|
2814
|
-
.button.
|
2830
|
+
.button.clear.destructive {
|
2815
2831
|
color: inherit; }
|
2816
|
-
.button.
|
2832
|
+
.button.clear.destructive:hover {
|
2817
2833
|
color: #dd2f41; }
|
2818
|
-
.button.
|
2834
|
+
.button.clear.primary-destructive {
|
2819
2835
|
color: #dd2f41; }
|
2820
|
-
.button.
|
2836
|
+
.button.clear.primary-destructive:hover {
|
2821
2837
|
color: #A81C27; }
|
2838
|
+
.button[disabled] {
|
2839
|
+
color: #d6dde7 !important;
|
2840
|
+
background: #f7fafb !important;
|
2841
|
+
cursor: not-allowed !important;
|
2842
|
+
box-shadow: 0 0 0 1px rgba(15, 33, 46, 0.1), 0 1px 3px rgba(15, 33, 46, 0.15) !important; }
|
2843
|
+
.button .inline-icon {
|
2844
|
+
margin: 0 4px; }
|
2845
|
+
.button .inline-icon:first-child {
|
2846
|
+
margin-left: 0; }
|
2847
|
+
.button .inline-icon:last-child {
|
2848
|
+
margin-right: 0; }
|
2849
|
+
.button.icon-button {
|
2850
|
+
vertical-align: bottom;
|
2851
|
+
padding: 5px; }
|
2822
2852
|
.button.icon-button svg {
|
2823
2853
|
fill: currentColor;
|
2824
2854
|
height: 20px; }
|
@@ -3335,10 +3365,29 @@ table.card {
|
|
3335
3365
|
.inline-icon {
|
3336
3366
|
position: relative;
|
3337
3367
|
height: 1em;
|
3338
|
-
width: 1em;
|
3339
3368
|
display: -webkit-inline-box;
|
3340
3369
|
display: -ms-inline-flexbox;
|
3341
3370
|
display: inline-flex; }
|
3342
3371
|
.inline-icon svg {
|
3343
|
-
position:
|
3372
|
+
position: relative;
|
3344
3373
|
bottom: -0.125em; }
|
3374
|
+
|
3375
|
+
.half-margin {
|
3376
|
+
margin-top: 10px;
|
3377
|
+
margin-bottom: 10px; }
|
3378
|
+
.half-margin:first-child {
|
3379
|
+
margin-top: 0; }
|
3380
|
+
|
3381
|
+
.flush-margin {
|
3382
|
+
margin-bottom: 0; }
|
3383
|
+
.flush-margin + * {
|
3384
|
+
margin-top: 0; }
|
3385
|
+
|
3386
|
+
.hidden {
|
3387
|
+
display: none !important;
|
3388
|
+
visibility: hidden; }
|
3389
|
+
|
3390
|
+
.heading-label {
|
3391
|
+
margin-bottom: 0; }
|
3392
|
+
.heading-label + * {
|
3393
|
+
margin-top: 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.36
|
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-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -176,6 +176,7 @@ files:
|
|
176
176
|
- app/assets/javascripts/tungsten/tungsten.js
|
177
177
|
- app/assets/stylesheets/tungsten/_colors.yml
|
178
178
|
- app/assets/stylesheets/tungsten/_index.scss
|
179
|
+
- app/assets/stylesheets/tungsten/_overrides.scss
|
179
180
|
- app/assets/stylesheets/tungsten/code/_codemirror.scss
|
180
181
|
- app/assets/stylesheets/tungsten/code/_color.scss
|
181
182
|
- app/assets/stylesheets/tungsten/code/_highlighted.scss
|
@@ -282,14 +283,14 @@ files:
|
|
282
283
|
- lib/tungsten.rb
|
283
284
|
- lib/tungsten/helper.rb
|
284
285
|
- lib/tungsten/version.rb
|
285
|
-
- public/code-0.1.
|
286
|
-
- public/code-0.1.
|
287
|
-
- public/code-0.1.
|
288
|
-
- public/tungsten-0.1.
|
289
|
-
- public/tungsten-0.1.
|
290
|
-
- public/tungsten-0.1.
|
291
|
-
- public/tungsten-0.1.
|
292
|
-
- public/tungsten-0.1.
|
286
|
+
- public/code-0.1.36.js
|
287
|
+
- public/code-0.1.36.js.gz
|
288
|
+
- public/code-0.1.36.map.json
|
289
|
+
- public/tungsten-0.1.36.css
|
290
|
+
- public/tungsten-0.1.36.css.gz
|
291
|
+
- public/tungsten-0.1.36.js
|
292
|
+
- public/tungsten-0.1.36.js.gz
|
293
|
+
- public/tungsten-0.1.36.map.json
|
293
294
|
homepage:
|
294
295
|
licenses:
|
295
296
|
- MIT
|
Binary file
|