From 94db6c69fa4aa25231e213c6d0e185197bfe3418 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Thu, 11 Feb 2021 18:55:09 -0500 Subject: Permissions button in browser action popup (#1368) * Add key icon * Update context icon styles * Add permissions links * Show warning badge if permissions are insufficient for certain settings * Create PermissionsUtil * Use PermissionsUtil in Backend * Update SettingsController to use PermissionsUtil * Update AnkiController to use getRequiredPermissionsForAnkiFieldValue * Show the permissions buttons/links on the context page when necessary * Update MV3 compatibility --- ext/mixed/css/material.css | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/mixed/css') diff --git a/ext/mixed/css/material.css b/ext/mixed/css/material.css index 6dba7206..365b15ad 100644 --- a/ext/mixed/css/material.css +++ b/ext/mixed/css/material.css @@ -216,6 +216,7 @@ .icon[data-icon=right-chevron] { --icon-image: url(/mixed/img/right-chevron.svg); } .icon[data-icon=plus-thick] { --icon-image: url(/mixed/img/plus-thick.svg); } .icon[data-icon=clipboard] { --icon-image: url(/mixed/img/clipboard.svg); } +.icon[data-icon=key] { --icon-image: url(/mixed/img/key.svg); } .icon[data-icon=material-down-arrow] { --icon-image: url(/mixed/img/material-down-arrow.svg); --icon-size: var(--material-arrow-dimension2) var(--material-arrow-dimension1); -- cgit v1.2.3