dlegr250_material_design 0.5.90 → 0.5.91

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
  SHA1:
3
- metadata.gz: 32172c9823c92a5abb2b74e38632bbc85fbfcbe5
4
- data.tar.gz: c15fe399f889c554b265da34a8eea01aead3f0b8
3
+ metadata.gz: d3b8e37e2e746a580a9d421b1e36761edaacf195
4
+ data.tar.gz: a16502da9d74ef96ae4dad2f2b89cd02cbe1cf4e
5
5
  SHA512:
6
- metadata.gz: 2162e9ea7538050888aca7569130e800122ca1e324827f0fb79a711489bd75810162481f747827254e8d61e9a871bc25461bcb9241544a6c98294d43478b52d6
7
- data.tar.gz: 0fb622485d8baa603f330c675d6b390c94199f0dd83966c27e40380b2e3ae1361cb6292e727561674dba632e7f212999e123c2bc4c590765a2e3f10e9e48344a
6
+ metadata.gz: a9a556f706ff3946429d9b34b9268825f578d37fdb3c542eda634a9425dabd92361c527a4a7fe97d55d875bf9440cdc141d2c6ab159c40b9432123571a6ad3d7
7
+ data.tar.gz: f54c8c769164efe2ad04ae7b35c5562e9c09ebac1d00d1e8a0fe9d7f9a0aa06d36d08ba2d66f167bc8f5aa41c911733875536efdf03b84110f23e20e27f2fb18
@@ -1,3 +1,3 @@
1
1
  module Dlegr250MaterialDesign
2
- VERSION = "0.5.90"
2
+ VERSION = "0.5.91"
3
3
  end
@@ -76,6 +76,16 @@
76
76
  .dialog-xlarge { width: $dialog-width-xlarge !important; }
77
77
  }
78
78
 
79
+ // Dialog - title (header without toolbar actions)
80
+ //----------------------------------------------------------------------
81
+
82
+ .dialog-title {
83
+ font-size: $font-size-large;
84
+ font-weight: bold;
85
+ padding: $spacing-normal;
86
+ padding-bottom: 0;
87
+ }
88
+
79
89
  // .dialog-toolbar
80
90
  //----------------------------------------------------------------------
81
91
 
@@ -83,6 +93,7 @@
83
93
  border-bottom: 1px solid color("divider");
84
94
  height: $toolbar-height-device-small;
85
95
  padding: 0 $spacing-small;
96
+ position: relative; // Allow box-shadow to cover children
86
97
  @include elevation(4);
87
98
  @include flex-parent();
88
99
  @include transition(box-shadow 0.2s ease);
@@ -167,7 +178,7 @@
167
178
  flex: 0;
168
179
  }
169
180
 
170
- // Dialogs - content
181
+ // Dialogs - scrollable
171
182
  //----------------------------------------------------------------------
172
183
 
173
184
  .dialog-scrollable {
@@ -193,36 +204,63 @@
193
204
  }
194
205
  }
195
206
 
196
- .dialog-content {
197
- // height: 1000px;
207
+ // Dialogs - scrollable with actions
208
+ //----------------------------------------------------------------------
209
+
210
+ .dialog-scrollable-with-actions {
211
+ max-height: calc(100vh - #{$toolbar-height-device-small * 1});
212
+ overflow-y: auto;
198
213
  }
199
214
 
215
+ @media (min-width: $device-medium) {
216
+ .dialog-scrollable-with-actions {
217
+ max-height: calc(90vh - #{$toolbar-height-device-medium * 2});
218
+ }
219
+ }
200
220
 
201
- // .dialog-scrollable,
202
- // .dialog-scrollable-no-actions {
203
- // max-height: calc(100vh - #{$dialog-header-height}); // For dialog-header
204
- // overflow-x: hidden;
205
- // overflow-y: auto;
206
- // }
207
- //
208
- // @media (min-width: $device-small) {
209
- // .dialog-scrollable {
210
- // max-height: calc(90vh - #{$dialog-header-height * 2}); // For dialog-header and dialog-actions
211
- // }
212
- //
213
- // .dialog-scrollable-no-actions {
214
- // max-height: calc(90vh - #{$dialog-header-height}); // For dialog-header and dialog-actions
215
- // }
216
- // }
221
+ @media (min-width: $device-large) {
222
+ .dialog-scrollable-with-actions {
223
+ max-height: calc(90vh - #{$toolbar-height-device-large * 2});
224
+ }
225
+ }
226
+
227
+ @media (min-width: $device-xlarge) {
228
+ .dialog-scrollable-with-actions {
229
+ max-height: calc(90vh - #{$toolbar-height-device-xlarge * 2});
230
+ }
231
+ }
217
232
 
218
233
  // Dialogs - actions
219
234
  //----------------------------------------------------------------------
220
235
 
221
236
  .dialog-actions {
222
- border-top: 1px solid color("divider");
223
- height: $dialog-header-height;
224
- line-height: $dialog-header-height;
237
+ border-top: none;
238
+ height: $toolbar-height-device-small;
225
239
  padding: 0 $spacing-normal;
240
+ @include flex-parent();
241
+ @include flex-align-right();
242
+ }
243
+
244
+ @media (min-width: $device-medium) {
245
+ .dialog-actions {
246
+ height: $toolbar-height-device-medium;
247
+ }
248
+ }
249
+
250
+ @media (min-width: $device-large) {
251
+ .dialog-actions {
252
+ height: $toolbar-height-device-large;
253
+ }
254
+ }
255
+
256
+ @media (min-width: $device-xlarge) {
257
+ .dialog-actions {
258
+ height: $toolbar-height-device-xlarge;
259
+ }
260
+ }
261
+
262
+ .dialog-actions-bordered {
263
+ border-top: 1px solid color("divider");
226
264
  }
227
265
 
228
266
  // Dialog - full height
@@ -112,9 +112,9 @@ ol {
112
112
  }
113
113
 
114
114
  // Remove duplicate border on last item in list
115
- .list-bordered.list-divided .list-item:last-child {
116
- border-bottom: none;
117
- }
115
+ // .list-bordered.list-divided .list-item:last-child {
116
+ // border-bottom: none;
117
+ // }
118
118
 
119
119
  // Dividers between items
120
120
  .list-divided .list-item {
@@ -94,9 +94,9 @@
94
94
  .tr .td { border-bottom: 1px solid color("divider"); }
95
95
  }
96
96
 
97
- .table-bordered.table-divided .tbody .tr:last-child .td {
98
- border-bottom: none;
99
- }
97
+ // .table-bordered.table-divided .tbody .tr:last-child .td {
98
+ // border-bottom: none;
99
+ // }
100
100
 
101
101
  .table-hoverable .tbody .tr:active { background-color: darken(color("grey-200"), 3%); }
102
102
  .table-hoverable .tbody .tr .button-icon:active { background-color: darken(color("grey-200"), 12%); }
@@ -23,7 +23,6 @@
23
23
  position: absolute;
24
24
  text-transform: none;
25
25
  top: 100%;
26
- // transition-delay: 0.8s;
27
26
  visibility: hidden;
28
27
  white-space: nowrap;
29
28
  z-index: 2;
@@ -38,7 +37,7 @@
38
37
  &:after {
39
38
  display: block;
40
39
  visibility: visible;
41
- transition-delay: 0.25s;
40
+ transition-delay: 0.8s;
42
41
  @include transparency(1);
43
42
  }
44
43
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dlegr250_material_design
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.90
4
+ version: 0.5.91
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel LeGrand
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-05 00:00:00.000000000 Z
11
+ date: 2017-10-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'WARNING: ALPHA CODE, NOT PRODUCTION READY. ACTIVELY UNDER DEVELOPMENT
14
14
  AS OF AUG 2016. Implement Google Material Design spec with modern browsers in mind