diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-04-10 23:55:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-10 23:55:11 -0400 |
commit | 20d60a2ba79c065586805806ea703a8057839f75 (patch) | |
tree | 3043090e118e03a8e276d2a7f1557e525ac23239 /ext/css/settings.css | |
parent | b23c4bff4bf319ea79eea0d025e21eb19e6dcd68 (diff) |
Initial safari compatibility (#1609)
* Update environment info to return the 'safari' browser
* Fix popup display on Safari
* Update environment assignment
* Add data-loading-stalled property when loading takes longer than expected
* Add notification when loading has stalled
* Allow getDictionaryInfo invocation on non-privileged contexts
* Update _validatePrivilegedMessageSender
* Don't listen to 'voiceschanged' event unless addEventListener is present
Also expose an event
Diffstat (limited to 'ext/css/settings.css')
-rw-r--r-- | ext/css/settings.css | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/ext/css/settings.css b/ext/css/settings.css index c0e75fc2..6bc377c2 100644 --- a/ext/css/settings.css +++ b/ext/css/settings.css @@ -134,7 +134,7 @@ ul+p, ul+ol, ul+ul, li { - margin: 0.425em 0; + margin: 0.425em 0 0; } a { color: var(--link-color); @@ -2152,6 +2152,13 @@ button.hotkey-list-item-enabled-button[data-scope-count='0'] { margin-left: 0.375em; } +.page-loading-stalled-notification { + border: 1px solid var(--danger-color); +} +:root:not([data-loading-stalled=true]) .page-loading-stalled-notification { + display: none; +} + /* Generic layouts */ .margin-above { @@ -2233,19 +2240,25 @@ button.hotkey-list-item-enabled-button[data-scope-count='0'] { /* Environment-specific display */ +:root[data-browser=unknown] [data-show-for-browser], +:root[data-browser=unknown] [data-hide-for-browser], :root[data-browser=edge] [data-show-for-browser]:not([data-show-for-browser~=edge]), :root[data-browser=edge-legacy] [data-show-for-browser]:not([data-show-for-browser~=edge-legacy]), :root[data-browser=chrome] [data-show-for-browser]:not([data-show-for-browser~=chrome]), +:root[data-browser=safari] [data-show-for-browser]:not([data-show-for-browser~=safari]), :root[data-browser=firefox] [data-show-for-browser]:not([data-show-for-browser~=firefox]), :root[data-browser=firefox-mobile] [data-show-for-browser]:not([data-show-for-browser~=firefox-mobile]), :root[data-browser=edge] [data-hide-for-browser~=edge], :root[data-browser=edge-legacy] [data-hide-for-browser~=edge-legacy], :root[data-browser=chrome] [data-hide-for-browser~=chrome], +:root[data-browser=safari] [data-hide-for-browser~=safari], :root[data-browser=firefox] [data-hide-for-browser~=firefox], :root[data-browser=firefox-mobile] [data-hide-for-browser~=firefox-mobile] { display: none; } +:root[data-os=unknown] [data-show-for-os], +:root[data-os=unknown] [data-hide-for-os], :root[data-os=mac] [data-show-for-os]:not([data-show-for-os~=mac]), :root[data-os=win] [data-show-for-os]:not([data-show-for-os~=win]), :root[data-os=android] [data-show-for-os]:not([data-show-for-os~=android]), @@ -2261,6 +2274,8 @@ button.hotkey-list-item-enabled-button[data-scope-count='0'] { display: none; } +:root[data-manifest-version=unknown] [data-show-for-manifest-version], +:root[data-manifest-version=unknown] [data-hide-for-manifest-version], :root[data-manifest-version='2'] [data-show-for-manifest-version]:not([data-show-for-manifest-version~='2']), :root[data-manifest-version='3'] [data-show-for-manifest-version]:not([data-show-for-manifest-version~='3']), :root[data-manifest-version='2'] [data-hide-for-manifest-version~='2'], |