active_frontend 14.1.2 → 14.1.3

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: 54ae884c7b36e63cd8093ebd2b95d713c7e99eb4
4
- data.tar.gz: 5b27ffda4450e3e1fd1417aee92463a7b2caea81
3
+ metadata.gz: fdecf18780c81bf233ccba201939e1b217668f3d
4
+ data.tar.gz: 77bcfa637b159cb23bd6901da4a35e23739b6009
5
5
  SHA512:
6
- metadata.gz: 67a1f2577e4d40d8d12feb427de798aeb0fb4c3cfe2bd0ef9ddf2890bdb21c7534ea6d020c4a077a43d40e553c10fd94514180f1e62cdeed535fae2aa91c0142
7
- data.tar.gz: eddc376a922967285c7b7cea2b0a9b4471987a7f2f0ce3bdddb1c84d12e85e35b436451bf138a132b68dd3e479a5bee9c84e45ad7f6c2b0734d319e02e6b1431
6
+ metadata.gz: e323aa6868c3022e72bf2f3e685accd6244d07cbd11a865666519f7eb9be2a24a9a46b14e8072dc5cefa2d26472d0c4615245c450f99498b6768ab89ed453a06
7
+ data.tar.gz: '000382f18e7124af9bbd304975b23e7dbfe78eeb0f17228a729e3924b7ead30fc6708272fbbf9beab508c4ca829a43cc0f55dc4073e9ab19daf233372191974a'
@@ -1,3 +1,3 @@
1
1
  module ActiveFrontend
2
- VERSION = '14.1.2'.freeze
2
+ VERSION = '14.1.3'.freeze
3
3
  end
@@ -218,6 +218,11 @@
218
218
  el.className = prefixClass(className, config.classPrefix);
219
219
  }
220
220
 
221
+ if ((baseClassName = options.baseClassName)) {
222
+ delete options.baseClassName;
223
+ el.className = baseClassName;
224
+ }
225
+
221
226
  if (!isEmpty(options.text)) {
222
227
  var text = options.text.toString();
223
228
  setText(el, text);
@@ -335,6 +340,7 @@
335
340
  }
336
341
 
337
342
  var mainContainer = create('div', { className: 'container' }),
343
+ responsive = create('div', { baseClassName: 'table-responsive' }),
338
344
  table = create('table', { className: 'table' });
339
345
 
340
346
  table.appendChild(drawHeader(values));
@@ -344,7 +350,8 @@
344
350
  mainContainer.appendChild(create('div', { text: title, className: 'title' }));
345
351
  }
346
352
 
347
- mainContainer.appendChild(table);
353
+ responsive.appendChild(table);
354
+ mainContainer.appendChild(responsive);
348
355
 
349
356
  container.innerHTML = '';
350
357
  container.appendChild(mainContainer);
@@ -1,7 +1,9 @@
1
1
  // Table of Contents
2
2
  // ==================================================
3
3
  // Calendar
4
+ // Media Queries
4
5
 
6
+ // scss-lint:disable ImportantRule
5
7
  // scss-lint:disable NestingDepth
6
8
  // scss-lint:disable SelectorDepth
7
9
  // scss-lint:disable SelectorFormat
@@ -230,3 +232,23 @@ table.calendar-border-separate {
230
232
  td { border-top-style: dotted; }
231
233
  }
232
234
  }
235
+
236
+ // Media Queries
237
+ // ==================================================
238
+ @media only screen and (max-width: 767px) {
239
+ .calendar-header td { display: block; }
240
+ .calendar-header-left,
241
+ .calendar-header-center,
242
+ .calendar-header-right {
243
+ text-align: center;
244
+ width: 100%;
245
+
246
+ > * { margin: 0 auto; }
247
+ }
248
+ .calendar-header-center {
249
+ display: none !important;
250
+ height: 0 !important;
251
+ margin: 0 !important;
252
+ padding: 0 !important;
253
+ }
254
+ }
@@ -108,17 +108,6 @@
108
108
 
109
109
  + i { margin-left: -2px; }
110
110
  }
111
-
112
- + .header-nav {
113
- &.pull-right { margin-right: 20px; }
114
- }
115
- }
116
- .header-toggle {
117
- float: right;
118
- font-size: 26px;
119
- padding-top: 5px;
120
-
121
- + .header-toggle { margin-right: 20px; }
122
111
  }
123
112
 
124
113
  // Media Queries
@@ -131,12 +120,17 @@
131
120
  height: 50px;
132
121
  padding: 10px 0;
133
122
  }
134
- .header-brand,
135
- .header-toggle {
123
+ .header-brand {
136
124
  font-size: 26px;
137
125
  padding-top: 1px;
138
- }
139
- .header-brand {
126
+
140
127
  img { height: 32px; }
141
128
  }
129
+ .header-nav {
130
+ margin-top: 4px;
131
+
132
+ > li {
133
+ &.header-nav-icon { font-size: 26px; }
134
+ }
135
+ }
142
136
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_frontend
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.1.2
4
+ version: 14.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-06-26 00:00:00.000000000 Z
11
+ date: 2017-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails