romo 0.4.1 → 0.5.0

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: 8cbf6344f9c08440e6a08ba0e3a0837b18270241
4
- data.tar.gz: 9cf2bd38922d8fb5c3189ddaa9fcb9d857ce5c4a
3
+ metadata.gz: 961c9da7a4c700cff5db384c0e3df83a6b66d067
4
+ data.tar.gz: dee3fbc217fcd2349e278ac6ef3dc52ad5bdea33
5
5
  SHA512:
6
- metadata.gz: 6c75cf1bf0999910b6a478a93538dfa2208f856eb7dd37980672788e1d32372263f25151d8baff3a3c691ea2518d766689d508bf3bb29a16cf41546449a0f57b
7
- data.tar.gz: 5e9bf79aff612ab604e4624edd39d560d0a86baa2edc3006a17e9abc6c5fa19a9322941f808e8e219c39c9e6fdbf6d5c92f85632ca2c495f57056d7813d399d7
6
+ metadata.gz: f1f2182e51a76a94ee048b5ea5af71f69cf45084789d8a1d8afbf5be641255af8dce5df201472b13acb5acd1b58931bd68195bb4efb90e1072bbd69ac7aad4a7
7
+ data.tar.gz: 201657b0a45adae92df2b1ef4df13d313b748e97fef84135d16f2a2c241b8fadbc1d92e2d153d120cdbf2e545d0c6e1bd983f53513033da01a2ad4b3070ac630
@@ -87,7 +87,9 @@ a.romo-text {
87
87
  color: $baseColor;
88
88
  text-decoration: none;
89
89
  }
90
- .romo-pointer { cursor: pointer; }
90
+ .romo-pointer { cursor: pointer; }
91
+ .romo-grab { @include cursor-grab; }
92
+ .romo-grabbing { @include cursor-grabbing; }
91
93
 
92
94
  /* images */
93
95
 
@@ -143,6 +145,20 @@ h3 { @include text1; }
143
145
  .romo-text2 { @include text2(!important); @include font-weight2; }
144
146
  .romo-text3 { @include text3(!important); @include font-weight3; }
145
147
 
148
+ .romo-text-small-hover:hover,
149
+ .romo-text0-hover:hover { @include text0(!important); @include font-weight0; }
150
+ .romo-text1-hover:hover { @include text1(!important); @include font-weight1; }
151
+ .romo-text-large-hover:hover,
152
+ .romo-text2-hover:hover { @include text2(!important); @include font-weight2; }
153
+ .romo-text3-hover:hover { @include text3(!important); @include font-weight3; }
154
+
155
+ .romo-text-inline-small,
156
+ .romo-text-inline0 { @include line-height0(!important); }
157
+ .romo-text-inline1 { @include line-height1(!important); }
158
+ .romo-text-inline-large,
159
+ .romo-text-inline2 { @include line-height2(!important); }
160
+ .romo-text-inline3 { @include line-height3(!important); }
161
+
146
162
  /* text weight */
147
163
 
148
164
  .romo-text-normal { @include font-weight(normal, !important); }
@@ -159,6 +175,20 @@ h3 { @include text1; }
159
175
  .romo-text-800 { @include font-weight(800, !important); }
160
176
  .romo-text-900 { @include font-weight(900, !important); }
161
177
 
178
+ .romo-text-normal-hover:hover { @include font-weight(normal, !important); }
179
+ .romo-text-lighter-hover:hover { @include font-weight(lighter, !important); }
180
+ .romo-text-bold-hover:hover { @include font-weight(bold, !important); }
181
+ .romo-text-bolder-hover:hover { @include font-weight(bolder, !important); }
182
+ .romo-text-100-hover:hover { @include font-weight(100, !important); }
183
+ .romo-text-200-hover:hover { @include font-weight(200, !important); }
184
+ .romo-text-300-hover:hover { @include font-weight(300, !important); }
185
+ .romo-text-400-hover:hover { @include font-weight(400, !important); }
186
+ .romo-text-500-hover:hover { @include font-weight(500, !important); }
187
+ .romo-text-600-hover:hover { @include font-weight(600, !important); }
188
+ .romo-text-700-hover:hover { @include font-weight(700, !important); }
189
+ .romo-text-800-hover:hover { @include font-weight(800, !important); }
190
+ .romo-text-900-hover:hover { @include font-weight(900, !important); }
191
+
162
192
  /* text decoration */
163
193
 
164
194
  .romo-text-underline { @include text-decoration-underline(!important); }
@@ -253,6 +283,25 @@ h3 { @include text1; }
253
283
  .romo-border-success { @include border-success(!important); }
254
284
  .romo-border-inverse { @include border-inverse(!important); }
255
285
 
286
+ .romo-border-muted-hover:hover, a.romo-border-muted:hover, a.romo-border-muted:focus {
287
+ @include border-muted(!important);
288
+ }
289
+ .romo-border-warning-hover:hover, a.romo-border-warning:hover, a.romo-border-warning:focus {
290
+ @include border-warning(!important);
291
+ }
292
+ .romo-border-error-hover:hover, a.romo-border-error:hover, a.romo-border-error:focus {
293
+ @include border-error(!important);
294
+ }
295
+ .romo-border-info-hover:hover, a.romo-border-info:hover, a.romo-border-info:focus {
296
+ @include border-info(!important);
297
+ }
298
+ .romo-border-success-hover:hover, a.romo-border-success:hover, a.romo-border-success:focus {
299
+ @include border-success(!important);
300
+ }
301
+ .romo-border-inverse-hover:hover, a.romo-border-inverse:hover, a.romo-border-inverse:focus {
302
+ @include border-inverse(!important);
303
+ }
304
+
256
305
  /* Scaffolding */
257
306
  /* ----------- */
258
307
 
@@ -267,6 +316,15 @@ h3 { @include text1; }
267
316
  .romo-border-hidden { @include border-style(hidden, !important); }
268
317
  .romo-border-none { @include border-style(none, !important); }
269
318
 
319
+ .romo-border-solid-hover:hover { @include border-style(solid, !important); }
320
+ .romo-border-dashed-hover:hover { @include border-style(dashed, !important); }
321
+ .romo-border-dotted-hover:hover { @include border-style(dotted, !important); }
322
+ .romo-border-double-hover:hover { @include border-style(double, !important); }
323
+ .romo-border-groove-hover:hover { @include border-style(groove, !important); }
324
+ .romo-border-inset-hover:hover { @include border-style(inset, !important); }
325
+ .romo-border-hidden-hover:hover { @include border-style(hidden, !important); }
326
+ .romo-border-none-hover:hover { @include border-style(none, !important); }
327
+
270
328
  .romo-border-solid-top { @include border-style-top(solid, !important); }
271
329
  .romo-border-dashed-top { @include border-style-top(dashed, !important); }
272
330
  .romo-border-dotted-top { @include border-style-top(dotted, !important); }
@@ -276,6 +334,15 @@ h3 { @include text1; }
276
334
  .romo-border-hidden-top { @include border-style-top(hidden, !important); }
277
335
  .romo-border-none-top { @include border-style-top(none, !important); }
278
336
 
337
+ .romo-border-solid-top-hover:hover { @include border-style-top(solid, !important); }
338
+ .romo-border-dashed-top-hover:hover { @include border-style-top(dashed, !important); }
339
+ .romo-border-dotted-top-hover:hover { @include border-style-top(dotted, !important); }
340
+ .romo-border-double-top-hover:hover { @include border-style-top(double, !important); }
341
+ .romo-border-groove-top-hover:hover { @include border-style-top(groove, !important); }
342
+ .romo-border-inset-top-hover:hover { @include border-style-top(inset, !important); }
343
+ .romo-border-hidden-top-hover:hover { @include border-style-top(hidden, !important); }
344
+ .romo-border-none-top-hover:hover { @include border-style-top(none, !important); }
345
+
279
346
  .romo-border-solid-right { @include border-style-right(solid, !important); }
280
347
  .romo-border-dashed-right { @include border-style-right(dashed, !important); }
281
348
  .romo-border-dotted-right { @include border-style-right(dotted, !important); }
@@ -285,6 +352,15 @@ h3 { @include text1; }
285
352
  .romo-border-hidden-right { @include border-style-right(hidden, !important); }
286
353
  .romo-border-none-right { @include border-style-right(none, !important); }
287
354
 
355
+ .romo-border-solid-right-hover:hover { @include border-style-right(solid, !important); }
356
+ .romo-border-dashed-right-hover:hover { @include border-style-right(dashed, !important); }
357
+ .romo-border-dotted-right-hover:hover { @include border-style-right(dotted, !important); }
358
+ .romo-border-double-right-hover:hover { @include border-style-right(double, !important); }
359
+ .romo-border-groove-right-hover:hover { @include border-style-right(groove, !important); }
360
+ .romo-border-inset-right-hover:hover { @include border-style-right(inset, !important); }
361
+ .romo-border-hidden-right-hover:hover { @include border-style-right(hidden, !important); }
362
+ .romo-border-none-right-hover:hover { @include border-style-right(none, !important); }
363
+
288
364
  .romo-border-solid-bottom { @include border-style-bottom(solid, !important); }
289
365
  .romo-border-dashed-bottom { @include border-style-bottom(dashed, !important); }
290
366
  .romo-border-dotted-bottom { @include border-style-bottom(dotted, !important); }
@@ -294,6 +370,15 @@ h3 { @include text1; }
294
370
  .romo-border-hidden-bottom { @include border-style-bottom(hidden, !important); }
295
371
  .romo-border-none-bottom { @include border-style-bottom(none, !important); }
296
372
 
373
+ .romo-border-solid-bottom-hover:hover { @include border-style-bottom(solid, !important); }
374
+ .romo-border-dashed-bottom-hover:hover { @include border-style-bottom(dashed, !important); }
375
+ .romo-border-dotted-bottom-hover:hover { @include border-style-bottom(dotted, !important); }
376
+ .romo-border-double-bottom-hover:hover { @include border-style-bottom(double, !important); }
377
+ .romo-border-groove-bottom-hover:hover { @include border-style-bottom(groove, !important); }
378
+ .romo-border-inset-bottom-hover:hover { @include border-style-bottom(inset, !important); }
379
+ .romo-border-hidden-bottom-hover:hover { @include border-style-bottom(hidden, !important); }
380
+ .romo-border-none-bottom-hover:hover { @include border-style-bottom(none, !important); }
381
+
297
382
  .romo-border-solid-left { @include border-style-left(solid, !important); }
298
383
  .romo-border-dashed-left { @include border-style-left(dashed, !important); }
299
384
  .romo-border-dotted-left { @include border-style-left(dotted, !important); }
@@ -303,66 +388,135 @@ h3 { @include text1; }
303
388
  .romo-border-hidden-left { @include border-style-left(hidden, !important); }
304
389
  .romo-border-none-left { @include border-style-left(none, !important); }
305
390
 
391
+ .romo-border-solid-left-hover:hover { @include border-style-left(solid, !important); }
392
+ .romo-border-dashed-left-hover:hover { @include border-style-left(dashed, !important); }
393
+ .romo-border-dotted-left-hover:hover { @include border-style-left(dotted, !important); }
394
+ .romo-border-double-left-hover:hover { @include border-style-left(double, !important); }
395
+ .romo-border-groove-left-hover:hover { @include border-style-left(groove, !important); }
396
+ .romo-border-inset-left-hover:hover { @include border-style-left(inset, !important); }
397
+ .romo-border-hidden-left-hover:hover { @include border-style-left(hidden, !important); }
398
+ .romo-border-none-left-hover:hover { @include border-style-left(none, !important); }
399
+
306
400
  .romo-border,
307
401
  .romo-border1 { @include border1(!important); }
308
402
  .romo-border0 { @include border0(!important); }
309
403
  .romo-border2 { @include border2(!important); }
310
404
  .romo-rm-border { @include rm-border(!important); }
311
405
 
406
+ .romo-border-hover:hover,
407
+ .romo-border1-hover:hover { @include border1(!important); }
408
+ .romo-border0-hover:hover { @include border0(!important); }
409
+ .romo-border2-hover:hover { @include border2(!important); }
410
+ .romo-rm-border-hover:hover { @include rm-border(!important); }
411
+
312
412
  .romo-border-top,
313
413
  .romo-border1-top { @include border1-top(!important); }
314
414
  .romo-border0-top { @include border0-top(!important); }
315
415
  .romo-border2-top { @include border2-top(!important); }
316
416
  .romo-rm-border-top { @include rm-border-top(!important); }
317
417
 
418
+ .romo-border-top-hover:hover,
419
+ .romo-border1-top-hover:hover { @include border1-top(!important); }
420
+ .romo-border0-top-hover:hover { @include border0-top(!important); }
421
+ .romo-border2-top-hover:hover { @include border2-top(!important); }
422
+ .romo-rm-border-top-hover:hover { @include rm-border-top(!important); }
423
+
318
424
  .romo-border-right,
319
425
  .romo-border1-right { @include border1-right(!important); }
320
426
  .romo-border0-right { @include border0-right(!important); }
321
427
  .romo-border2-right { @include border2-right(!important); }
322
428
  .romo-rm-border-right { @include rm-border-right(!important); }
323
429
 
430
+ .romo-border-right-hover:hover,
431
+ .romo-border1-right-hover:hover { @include border1-right(!important); }
432
+ .romo-border0-right-hover:hover { @include border0-right(!important); }
433
+ .romo-border2-right-hover:hover { @include border2-right(!important); }
434
+ .romo-rm-border-right-hover:hover { @include rm-border-right(!important); }
435
+
324
436
  .romo-border-bottom,
325
437
  .romo-border1-bottom { @include border1-bottom(!important); }
326
438
  .romo-border0-bottom { @include border0-bottom(!important); }
327
439
  .romo-border2-bottom { @include border2-bottom(!important); }
328
440
  .romo-rm-border-bottom { @include rm-border-bottom(!important); }
329
441
 
442
+ .romo-border-bottom-hover:hover,
443
+ .romo-border1-bottom-hover:hover { @include border1-bottom(!important); }
444
+ .romo-border0-bottom-hover:hover { @include border0-bottom(!important); }
445
+ .romo-border2-bottom-hover:hover { @include border2-bottom(!important); }
446
+ .romo-rm-border-bottom-hover:hover { @include rm-border-bottom(!important); }
447
+
330
448
  .romo-border-left,
331
449
  .romo-border1-left { @include border1-left(!important); }
332
450
  .romo-border0-left { @include border0-left(!important); }
333
451
  .romo-border2-left { @include border2-left(!important); }
334
452
  .romo-rm-border-left { @include rm-border-left(!important); }
335
453
 
454
+ .romo-border-left-hover:hover,
455
+ .romo-border1-left-hover:hover { @include border1-left(!important); }
456
+ .romo-border0-left-hover:hover { @include border0-left(!important); }
457
+ .romo-border2-left-hover:hover { @include border2-left(!important); }
458
+ .romo-rm-border-left-hover:hover { @include rm-border-left(!important); }
459
+
336
460
  .romo-border-radius,
337
461
  .romo-border1-radius { @include border1-radius(!important); }
338
462
  .romo-border0-radius { @include border0-radius(!important); }
339
463
  .romo-border2-radius { @include border2-radius(!important); }
340
464
  .romo-rm-border-radius { @include rm-border-radius(!important); }
341
465
 
466
+ .romo-border-radius-hover:hover,
467
+ .romo-border1-radius-hover:hover { @include border1-radius(!important); }
468
+ .romo-border0-radius-hover:hover { @include border0-radius(!important); }
469
+ .romo-border2-radius-hover:hover { @include border2-radius(!important); }
470
+ .romo-rm-border-radius-hover:hover { @include rm-border-radius(!important); }
471
+
342
472
  .romo-border-top-left-radius,
343
473
  .romo-border1-top-left-radius { @include border1-top-left-radius(!important); }
344
474
  .romo-border0-top-left-radius { @include border0-top-left-radius(!important); }
345
475
  .romo-border2-top-left-radius { @include border2-top-left-radius(!important); }
346
476
  .romo-rm-border-top-left-radius { @include rm-border-top-left-radius(!important); }
347
477
 
478
+ .romo-border-top-left-radius-hover:hover,
479
+ .romo-border1-top-left-radius-hover:hover { @include border1-top-left-radius(!important); }
480
+ .romo-border0-top-left-radius-hover:hover { @include border0-top-left-radius(!important); }
481
+ .romo-border2-top-left-radius-hover:hover { @include border2-top-left-radius(!important); }
482
+ .romo-rm-border-top-left-radius-hover:hover { @include rm-border-top-left-radius(!important); }
483
+
348
484
  .romo-border-top-right-radius,
349
485
  .romo-border1-top-right-radius { @include border1-top-right-radius(!important); }
350
486
  .romo-border0-top-right-radius { @include border0-top-right-radius(!important); }
351
487
  .romo-border2-top-right-radius { @include border2-top-right-radius(!important); }
352
488
  .romo-rm-border-top-right-radius { @include rm-border-top-right-radius(!important); }
353
489
 
490
+ .romo-border-top-right-radius-hover:hover,
491
+ .romo-border1-top-right-radius-hover:hover { @include border1-top-right-radius(!important); }
492
+ .romo-border0-top-right-radius-hover:hover { @include border0-top-right-radius(!important); }
493
+ .romo-border2-top-right-radius-hover:hover { @include border2-top-right-radius(!important); }
494
+ .romo-rm-border-top-right-radius-hover:hover { @include rm-border-top-right-radius(!important); }
495
+
354
496
  .romo-border-bottom-right-radius,
355
497
  .romo-border1-bottom-right-radius { @include border1-bottom-right-radius(!important); }
356
498
  .romo-border0-bottom-right-radius { @include border0-bottom-right-radius(!important); }
357
499
  .romo-border2-bottom-right-radius { @include border2-bottom-right-radius(!important); }
358
500
  .romo-rm-border-bottom-right-radius { @include rm-border-bottom-right-radius(!important); }
359
501
 
502
+ .romo-border-bottom-right-radius-hover:hover,
503
+ .romo-border1-bottom-right-radius-hover:hover { @include border1-bottom-right-radius(!important); }
504
+ .romo-border0-bottom-right-radius-hover:hover { @include border0-bottom-right-radius(!important); }
505
+ .romo-border2-bottom-right-radius-hover:hover { @include border2-bottom-right-radius(!important); }
506
+ .romo-rm-border-bottom-right-radius-hover:hover { @include rm-border-bottom-right-radius(!important); }
507
+
360
508
  .romo-border-bottom-left-radius,
361
509
  .romo-border1-bottom-left-radius { @include border1-bottom-left-radius(!important); }
362
510
  .romo-border0-bottom-left-radius { @include border0-bottom-left-radius(!important); }
363
511
  .romo-border2-bottom-left-radius { @include border2-bottom-left-radius(!important); }
364
512
  .romo-rm-border-bottom-left-radius { @include rm-border-bottom-left-radius(!important); }
365
513
 
514
+ .romo-border-bottom-left-radius-hover:hover,
515
+ .romo-border1-bottom-left-radius-hover:hover { @include border1-bottom-left-radius(!important); }
516
+ .romo-border0-bottom-left-radius-hover:hover { @include border0-bottom-left-radius(!important); }
517
+ .romo-border2-bottom-left-radius-hover:hover { @include border2-bottom-left-radius(!important); }
518
+ .romo-rm-border-bottom-left-radius-hover:hover { @include rm-border-bottom-left-radius(!important); }
519
+
366
520
  /* spacing */
367
521
 
368
522
  .romo-pad,
@@ -309,7 +309,7 @@ RomoDropdown.prototype.doPlacePopupElem = function() {
309
309
  $.extend(offset, { left: pos.left });
310
310
  break;
311
311
  case 'right':
312
- $.extend(offset, { left: pos.right - w });
312
+ $.extend(offset, { left: pos.left + pos.width - w });
313
313
  break;
314
314
  }
315
315
 
data/lib/romo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Romo
2
- VERSION = "0.4.1"
2
+ VERSION = "0.5.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: romo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelly Redding
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-04-22 00:00:00.000000000 Z
12
+ date: 2015-05-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: assert