summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2016-07-13 00:23:37 +0200
committerFlorian Müllner <fmuellner@gnome.org>2016-07-13 16:04:32 +0200
commit7ab2789464b2e917b56aec9df6b78975db1a8eb6 (patch)
treef035bb65c325c3b8f414f305e5510f393574cb4e
parentd184e5c44ed824ab62fc35a4a8d75cda1f387206 (diff)
downloadgnome-shell-sass-7ab2789464b2e917b56aec9df6b78975db1a8eb6.tar.gz
Provide org.freedesktop.impl.portal.access implementation
If a sandboxed app requests access to some system resource (camera, microphone, location), the portal frontend needs to ask the user for permission. In GNOME, we want this to be a system modal dialog, so provide an org.freedesktop.impl.portal.access implementation that exposes a generic system modal permission dialog on the bus. https://bugzilla.gnome.org/show_bug.cgi?id=768669
-rw-r--r--_common.scss29
1 files changed, 29 insertions, 0 deletions
diff --git a/_common.scss b/_common.scss
index e4446ab..75a539f 100644
--- a/_common.scss
+++ b/_common.scss
@@ -457,6 +457,35 @@ StScrollBar {
icon-size: 64px;
}
+/* Access Dialog */
+.access-dialog {
+ spacing: 30px;
+}
+
+ .access-dialog-main-layout {
+ padding: 12px 20px 0;
+ spacing: 12px;
+ }
+
+ .access-dialog-content {
+ max-width: 28em;
+ spacing: 20px;
+ }
+
+ .access-dialog-icon {
+ min-width: 48px;
+ icon-size: 48px;
+ }
+
+ .access-dialog-title {
+ font-weight: bold;
+ }
+
+ .access-dialog-subtitle {
+ color: darken($fg_color,40%);
+ font-weight: bold;
+ }
+
/* Geolocation Dialog */
.geolocation-dialog {
spacing: 30px;