dlegr250_material_design 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dlegr250_material_design/version.rb +1 -1
- data/vendor/assets/javascripts/components/layout.coffee +2 -2
- data/vendor/assets/stylesheets/base/global_classes.scss +1 -13
- data/vendor/assets/stylesheets/base/variables.scss +1 -2
- data/vendor/assets/stylesheets/components/blank_slates.scss +1 -1
- data/vendor/assets/stylesheets/components/buttons.scss +1 -1
- data/vendor/assets/stylesheets/components/cards.scss +1 -1
- data/vendor/assets/stylesheets/components/forms/error_messages.scss +32 -14
- data/vendor/assets/stylesheets/components/forms/fields.scss +8 -1
- data/vendor/assets/stylesheets/components/forms/helper_texts.scss +0 -0
- data/vendor/assets/stylesheets/components/lists.scss +2 -2
- data/vendor/assets/stylesheets/components/menus.scss +2 -2
- data/vendor/assets/stylesheets/components/tabs.scss +2 -2
- data/vendor/assets/stylesheets/dlegr250_material_design.scss +1 -1
- data/vendor/assets/stylesheets/layouts/application/sidebars.scss +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 330b1bdaecf4bcea2531298cecb384c18932718a
|
4
|
+
data.tar.gz: bd7251cb778b1fd0ea2795b6f15fc4fb508e80d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e62e5af459bbe733225ae8b9015f7cf0caf92c6cc04f80d694c43bab596aa4dde40221d798463272968dd8127514c56a0cebfa00a0622b1322fc2d1c8d5de1ff
|
7
|
+
data.tar.gz: 8f60be127897633cdfc90b2233cbe975d061f27d7bfbf747774bbc79f738518c0b441a05afb33e1590615be9513e078d43a6fddf47385e979ccac09e27dc5ea5
|
@@ -39,7 +39,7 @@ class App.MD.Layout
|
|
39
39
|
if @$main.length > 0
|
40
40
|
if @$leftSidebar.length > 0
|
41
41
|
@$main.hammer({}).bind("swiperight", =>
|
42
|
-
if $(window).width()
|
42
|
+
if $(window).width() < @$largeWidth
|
43
43
|
@.showLeftSidebar()
|
44
44
|
)
|
45
45
|
|
@@ -49,7 +49,7 @@ class App.MD.Layout
|
|
49
49
|
|
50
50
|
if @$rightSidebar.length > 0
|
51
51
|
@$main.hammer({}).bind("swipeleft", =>
|
52
|
-
if $(window).width()
|
52
|
+
if $(window).width() < @$largeWidth
|
53
53
|
@.showRightSidebar()
|
54
54
|
)
|
55
55
|
|
@@ -79,19 +79,7 @@
|
|
79
79
|
|
80
80
|
// TODO need classes for this???
|
81
81
|
|
82
|
-
//
|
83
|
-
//----------------------------------------------------------------------
|
84
|
-
|
85
|
-
.hint {
|
86
|
-
color: color("hint");
|
87
|
-
}
|
88
|
-
|
89
|
-
.helper-text {
|
90
|
-
color: color("helper");
|
91
|
-
font-size: $font-size-small;
|
92
|
-
}
|
93
|
-
|
94
|
-
// Highlight
|
82
|
+
// Highlight (yellowish background)
|
95
83
|
//----------------------------------------------------------------------
|
96
84
|
|
97
85
|
.highlight {
|
@@ -135,7 +135,6 @@ $colors: (
|
|
135
135
|
"blue-grey" : #607d8b,
|
136
136
|
"icon" : #737373,
|
137
137
|
"helper" : rgba(0, 0, 0, 0.54),
|
138
|
-
"hint" : rgba(0, 0, 0, 0.54),
|
139
138
|
"text" : rgb(51, 51, 51),
|
140
139
|
"divider" : rgba(0, 0, 0, 0.12),
|
141
140
|
"hover" : #eceff1,
|
@@ -162,7 +161,7 @@ $hover-color: color("hover") !default;
|
|
162
161
|
|
163
162
|
// Appbar only
|
164
163
|
$appbar-text-color: color("white") !default;
|
165
|
-
$appbar-button-color: color("
|
164
|
+
$appbar-button-color: color("helper") !default;
|
166
165
|
|
167
166
|
// Merge defaults back into globals to use in colored components.
|
168
167
|
// Having this here allows access to the color helpers already created
|
@@ -204,7 +204,7 @@ $buttons: "button, .button, input[type='submit'], input[type='reset'], input[typ
|
|
204
204
|
|
205
205
|
@include box-shadow(0 3px 7px 0 rgba(0, 0, 0, 0.4));
|
206
206
|
@include rounded-corners(250px);
|
207
|
-
@include text-shadow(0 -1px 0 color("
|
207
|
+
@include text-shadow(0 -1px 0 color("helper"));
|
208
208
|
|
209
209
|
&:hover,
|
210
210
|
&.hover {
|
@@ -1,17 +1,13 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
padding-top: $spacing-xsmall;
|
12
|
-
position: relative;
|
13
|
-
vertical-align: middle;
|
14
|
-
}
|
1
|
+
//======================================================================
|
2
|
+
// Helper or error msgs related to an input element.
|
3
|
+
// EXAMPLE:
|
4
|
+
// <div class="field">
|
5
|
+
// <label for="attribute" class="top">Text</label>
|
6
|
+
// <input type="text" name="attribute" id="attribute" class="full-width" />
|
7
|
+
// <span class="helper-text helper-text-bottom">Helper text</span>
|
8
|
+
// <span class="helper-text helper-text-bottom error-messages">Red error msgs...</span>
|
9
|
+
// </div>
|
10
|
+
//======================================================================
|
15
11
|
|
16
12
|
// Wrapper for inputs with errors
|
17
13
|
//----------------------------------------------------------------------
|
@@ -25,3 +21,25 @@
|
|
25
21
|
border-color: color("red");
|
26
22
|
}
|
27
23
|
}
|
24
|
+
|
25
|
+
// Helper text - base
|
26
|
+
//----------------------------------------------------------------------
|
27
|
+
|
28
|
+
.helper-text {
|
29
|
+
color: color("helper");
|
30
|
+
font-size: $font-size-small;
|
31
|
+
font-weight: normal;
|
32
|
+
|
33
|
+
&.helper-text-bottom {
|
34
|
+
display: inline-block;
|
35
|
+
line-height: 1.4;
|
36
|
+
overflow: hidden;
|
37
|
+
padding-top: $spacing-xsmall;
|
38
|
+
position: relative;
|
39
|
+
vertical-align: middle;
|
40
|
+
}
|
41
|
+
|
42
|
+
&.error-messages {
|
43
|
+
color: color("red") !important;
|
44
|
+
}
|
45
|
+
}
|
@@ -1,4 +1,11 @@
|
|
1
|
-
|
1
|
+
//======================================================================
|
2
|
+
// Fields act as wrappers for input elements and labels and provide space
|
3
|
+
// between inputs. Act as container for label placement (left/top).
|
4
|
+
//======================================================================
|
5
|
+
|
6
|
+
// Fields header - base
|
7
|
+
// Large text used to separate logical sections in a form, similar to a
|
8
|
+
// fieldset but did not want to use that element.
|
2
9
|
//----------------------------------------------------------------------
|
3
10
|
|
4
11
|
.fields-header {
|
File without changes
|
@@ -125,7 +125,7 @@
|
|
125
125
|
//----------------------------------------------------------------------
|
126
126
|
|
127
127
|
.menu-item-icon {
|
128
|
-
color: color("
|
128
|
+
color: color("helper");
|
129
129
|
font-size: $font-size-icon;
|
130
130
|
padding: 0;
|
131
131
|
padding-left: $spacing-normal;
|
@@ -145,7 +145,7 @@
|
|
145
145
|
//----------------------------------------------------------------------
|
146
146
|
|
147
147
|
.menu-item-secondary {
|
148
|
-
color: color("
|
148
|
+
color: color("helper");
|
149
149
|
padding-right: $spacing-normal;
|
150
150
|
text-align: right;
|
151
151
|
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
.tab {
|
15
15
|
border-bottom: 2px solid transparent;
|
16
|
-
color: color("
|
16
|
+
color: color("helper");
|
17
17
|
cursor: pointer;
|
18
18
|
display: table-cell;
|
19
19
|
font-size: $font-size-normal;
|
@@ -29,7 +29,7 @@
|
|
29
29
|
@include transition(all 0.30s ease);
|
30
30
|
|
31
31
|
.icon {
|
32
|
-
color: color("
|
32
|
+
color: color("helper");
|
33
33
|
font-size: $font-size-icon;
|
34
34
|
}
|
35
35
|
|
@@ -37,7 +37,7 @@
|
|
37
37
|
@import "components/forms/selects";
|
38
38
|
@import "components/forms/toggles";
|
39
39
|
@import "components/forms/radios";
|
40
|
-
@import "components/forms/
|
40
|
+
@import "components/forms/helper_texts";
|
41
41
|
@import "components/cards";
|
42
42
|
@import "components/dialogs";
|
43
43
|
@import "components/overlay";
|
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.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel LeGrand
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -106,6 +106,7 @@ files:
|
|
106
106
|
- vendor/assets/stylesheets/components/dividers.scss
|
107
107
|
- vendor/assets/stylesheets/components/forms/error_messages.scss
|
108
108
|
- vendor/assets/stylesheets/components/forms/fields.scss
|
109
|
+
- vendor/assets/stylesheets/components/forms/helper_texts.scss
|
109
110
|
- vendor/assets/stylesheets/components/forms/labels.scss
|
110
111
|
- vendor/assets/stylesheets/components/forms/radios.scss
|
111
112
|
- vendor/assets/stylesheets/components/forms/selects.scss
|