dlegr250_material_design 0.4.94 → 0.4.95

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 89a7ba5cd8a5966adcd5844d76678b54ece6a9b3
4
- data.tar.gz: 18f1d5331ea174efab7d678a8c82aba4d856efeb
3
+ metadata.gz: 9f5ffdac609a0346bf8a328ae071dc367402d371
4
+ data.tar.gz: d85d8734b700c7a0456fe378c2f8896172eff929
5
5
  SHA512:
6
- metadata.gz: fddd2a6ffdc2dc0b618d45811cc0514bc842daa7fefef4c4435c30e902d16616184eeaae73f5eba4d533f03d5263e2a0dcc31c22891e4f20f9d2a6089b9e0674
7
- data.tar.gz: ea48450f8ad07dc1ab1512fce21a819e9e5460444b36e417e4d821e75c3cd385606f40b0912076479519c7a9b964e6cecf9b4f33da61dc2d7d98ef026b488f43
6
+ metadata.gz: 65f3ab83cc228511fa2dc0bc5609bbfa3d22cae30a1321e477e65e358a6224946ab8828d317701e5b84b4d8afd11db96df26a204f1d316c599c1b2e7c352d391
7
+ data.tar.gz: 48168233b86a2f6d01ab711844620d4d7494155920d25c789c8f177c8e59f5542c1fbe0adab0aee9bc51a3838a277b04abc5bdb221b1f727d3a8be9c673d613e
@@ -1,3 +1,3 @@
1
1
  module Dlegr250MaterialDesign
2
- VERSION = "0.4.94"
2
+ VERSION = "0.4.95"
3
3
  end
@@ -23,54 +23,13 @@
23
23
  color: $appbar-text-color;
24
24
  height: $appbar-height;
25
25
  padding: 0 $spacing-small;
26
+ position: relative;
26
27
  width: 100%;
27
28
  z-index: $layout-depth + 1;
28
29
  @include box-shadow(0 2px 5px rgba(0, 0, 0, 0.30));
29
30
  @include flex-parent-row();
30
31
  }
31
32
 
32
- // appbar - nav icon
33
- //----------------------------------------------------------------------
34
-
35
- .appbar-nav-icon {
36
- width: $appbar-button-height;
37
- margin-right: $spacing-small;
38
- }
39
-
40
- // appbar - title
41
- //----------------------------------------------------------------------
42
-
43
- .appbar-title {
44
- flex: 1; // To fill empty gaps
45
- font-size: $font-size-large;
46
- margin-right: $spacing-small;
47
-
48
- a {
49
- color: $appbar-subtitle-color;
50
- }
51
- }
52
-
53
- // Above and below main text
54
- .appbar-supertitle,
55
- .appbar-subtitle {
56
- color: $appbar-subtitle-color;
57
- font-size: $font-size-normal;
58
- @include flex-parent-row;
59
- }
60
-
61
- // appbar - actions
62
- //----------------------------------------------------------------------
63
-
64
- .appbar-actions {
65
- @include flex-parent-row(); // To line up dividers and buttons properly
66
- padding-left: $spacing-small;
67
- text-align: right;
68
-
69
- .button {
70
- margin-right: $spacing-small;
71
- }
72
- }
73
-
74
33
  // appbar - buttons
75
34
  //----------------------------------------------------------------------
76
35
 
@@ -82,7 +41,10 @@
82
41
  display: inline-block;
83
42
  font-size: $font-size-icon;
84
43
  height: $appbar-button-height;
85
- line-height: $appbar-button-height;
44
+ line-height: 1;
45
+ outline: none;
46
+ padding: 10px;
47
+ position: relative;
86
48
  width: $appbar-button-height;
87
49
  text-align: center;
88
50
  text-decoration: none;
@@ -108,17 +70,74 @@
108
70
  }
109
71
  }
110
72
 
73
+ // appbar - nav icon (special button in top-left for menu toggle)
74
+ //----------------------------------------------------------------------
75
+
76
+ #appbar-nav-button[role="left-sidebar-toggle"] {
77
+ visibility: visible;
78
+ }
79
+
80
+ @media (min-width: $large-width) {
81
+ #appbar-nav-button[role="left-sidebar-toggle"] {
82
+ visibility: hidden;
83
+ }
84
+ }
85
+
86
+ // appbar - title
87
+ //----------------------------------------------------------------------
88
+
89
+ .appbar-title {
90
+ flex: 1; // To fill empty gaps
91
+ font-size: $font-size-large;
92
+ font-weight: 400;
93
+ line-height: 1;
94
+ margin: 0 $spacing-small;
95
+ pointer-events: none;
96
+ // @include truncate-text(); // Make optional via class
97
+
98
+ a {
99
+ color: $appbar-subtitle-color;
100
+ }
101
+ }
102
+
103
+ @media (min-width: $small-width) {
104
+ .appbar-title {
105
+ max-width: $sidebar-depth - 80px;
106
+ }
107
+ }
108
+
109
+ // Above and below main text
110
+ .appbar-supertitle,
111
+ .appbar-subtitle {
112
+ color: $appbar-subtitle-color;
113
+ font-size: $font-size-normal;
114
+ @include flex-parent-row;
115
+ }
116
+
117
+ // appbar - actions
118
+ //----------------------------------------------------------------------
119
+
120
+ // .appbar-actions {
121
+ // @include flex-parent-row(); // To line up dividers and buttons properly
122
+ // padding-left: $spacing-small;
123
+ // text-align: right;
124
+ //
125
+ // .button {
126
+ // margin-right: $spacing-small;
127
+ // }
128
+ // }
129
+
111
130
  // appbar - dividers
112
131
  //----------------------------------------------------------------------
113
132
 
114
133
  .appbar-divider,
115
134
  .appbar-spacer {
135
+ background-color: darken($primary-color, 10%);
116
136
  content: "";
117
137
  display: inline-block;
118
138
  height: $appbar-button-height - $spacing-normal;
119
- line-height: $appbar-button-height - $spacing-normal;
139
+ line-height: 1;
120
140
  margin: 0 $spacing-small;
121
- background-color: darken($primary-color, 10%);
122
141
  width: 1px;
123
142
  }
124
143
 
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.4.94
4
+ version: 0.4.95
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-01-30 00:00:00.000000000 Z
11
+ date: 2017-01-31 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