rmr-util 1.1.136 → 1.1.138

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.
package/docs/index.html CHANGED
@@ -4,8 +4,9 @@
4
4
  <meta charset="utf-8">
5
5
 
6
6
  <title>rmr-util</title>
7
- <link rel="stylesheet" type="text/css" href="https://davidfmiller.github.io/man/man.css">
8
-
7
+ <!--
8
+ <link rel="stylesheet" type="text/css" href="https://davidfmiller.github.io/man/man.css">
9
+ -->
9
10
  <link rel="stylesheet" type="text/css" href="build/rmr-util.css?bust=0">
10
11
 
11
12
  <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
package/index.js CHANGED
@@ -1340,7 +1340,7 @@
1340
1340
 
1341
1341
  for (let i = 0; i < links.length; i++) {
1342
1342
  const a = links[i];
1343
- if (a.protocol === 'tel:' || a.protocol === 'mailto:' || a.hasAttribute('data-rmr-download') || a.hasAttribute('name')) {
1343
+ if (a.protocol === 'file:' || a.protocol === 'tel:' || a.protocol === 'mailto:' || a.hasAttribute('data-rmr-download') || a.hasAttribute('name')) {
1344
1344
  continue;
1345
1345
  }
1346
1346
  if (a.host !== location.host && obj.exclude.indexOf(a.host) < 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rmr-util",
3
- "version": "1.1.136",
3
+ "version": "1.1.138",
4
4
  "description": "JS & CSS for your browser",
5
5
  "url": "https://davidfmiller.github.io/rmr-util/",
6
6
  "license": "ISC",
@@ -56,9 +56,13 @@ canvas {
56
56
  display: block;
57
57
  }
58
58
 
59
- button, select {
60
- cursor: pointer;
61
- &[disabled] {
62
- cursor: default;
59
+ *[disabled] {
60
+ cursor: not-allowed;
61
+ }
62
+
63
+ button,
64
+ select {
65
+ &:not([disabled]) {
66
+ cursor: pointer;
63
67
  }
64
68
  }
@@ -56,6 +56,20 @@ div.grecaptcha-badge {
56
56
  }
57
57
  }
58
58
 
59
+ &[data-rmr-aspect="32-9"] {
60
+ &:before {
61
+ padding-bottom: 28.125%;
62
+ }
63
+ }
64
+
65
+
66
+ &[data-rmr-aspect="7-3"] {
67
+ &:before {
68
+ padding-bottom: 42.8571428571%;
69
+ }
70
+ }
71
+
72
+
59
73
  & > svg,
60
74
  & > div,
61
75
  & > img,