aboutsummaryrefslogtreecommitdiff
path: root/arc-firefox-theme/chrome/browser/controlcenter
diff options
context:
space:
mode:
Diffstat (limited to 'arc-firefox-theme/chrome/browser/controlcenter')
-rw-r--r--arc-firefox-theme/chrome/browser/controlcenter/panel.css69
1 files changed, 65 insertions, 4 deletions
diff --git a/arc-firefox-theme/chrome/browser/controlcenter/panel.css b/arc-firefox-theme/chrome/browser/controlcenter/panel.css
index 58942fe..dc7c522 100644
--- a/arc-firefox-theme/chrome/browser/controlcenter/panel.css
+++ b/arc-firefox-theme/chrome/browser/controlcenter/panel.css
@@ -348,8 +348,21 @@ description#identity-popup-content-verifier,
background-image: url(chrome://browser/skin/controlcenter/permissions.svg);
}
-#identity-popup-permission-list menulist {
- min-width: 60px;
+#identity-popup-permissions-headline {
+ /* Make sure the label is as tall as the icon so that the permission list
+ which is aligned with the icon doesn't cover it up. */
+ min-height: 24px;
+}
+
+#identity-popup-permission-list {
+ /* Offset the padding set on #identity-popup-permissions-content so that it
+ shows up just below the section. The permission icons are 16px wide and
+ should be right aligned with the section icon. */
+ margin-inline-start: calc(-1em - 16px);
+}
+
+.identity-popup-permission-item {
+ min-height: 24px;
}
#identity-popup-permission-list:not(:empty) {
@@ -360,11 +373,59 @@ description#identity-popup-content-verifier,
display: none;
}
+.identity-popup-permission-icon {
+ width: 16px;
+ height: 16px;
+}
+
.identity-popup-permission-label {
- margin-inline-start: 0;
- word-wrap: break-word;
+ margin-inline-start: 1em;
+}
+
+.identity-popup-permission-state-label {
+ text-align: end;
+ opacity: 0.6;
+}
+
+.identity-popup-permission-remove-button {
+ -moz-appearance: none;
+ margin: 0;
+ border-width: 0;
+ border-radius: 50%;
+ min-width: 0;
+ padding: 2px;
+ background-color: transparent;
}
+.identity-popup-permission-remove-button > .button-box {
+ padding: 0;
+ -moz-appearance: none;
+}
+
+.identity-popup-permission-remove-button > .button-box > .button-icon {
+ margin: 0;
+ width: 16px;
+ height: 16px;
+ list-style-image: url(chrome://browser/skin/panel-icons.svg#cancel);
+ filter: url(chrome://browser/skin/filters.svg#fill);
+ fill: #999;
+}
+
+.identity-popup-permission-remove-button > .button-box > .button-text {
+ display: none;
+}
+
+.identity-popup-permission-remove-button:not(:-moz-focusring):hover {
+ background-color: #999;
+}
+
+.identity-popup-permission-remove-button:not(:-moz-focusring):hover > .button-box > .button-icon {
+ fill: #fff;
+}
+
+.identity-popup-permission-remove-button:not(:-moz-focusring):hover:active {
+ background-color: #808080;
+}
.identity-popup-expander:-moz-focusring {
padding: 1px;