[gnome-shell-sass] shellMountOperation: Share a style class



commit 718b45a9c1d9490334a0230f27b1631a1706f818
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Jul 15 09:04:56 2017 +0200

    shellMountOperation: Share a style class
    
    Two of the dialogs use virtually identical styles, so it makes sense
    to reuse the actual style classes.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=784985

 _common.scss |   34 +++++++++++++---------------------
 1 files changed, 13 insertions(+), 21 deletions(-)
---
diff --git a/_common.scss b/_common.scss
index 4b26e45..78537bf 100644
--- a/_common.scss
+++ b/_common.scss
@@ -200,8 +200,7 @@ StScrollBar {
 
 }
 
-  .show-processes-dialog-subject,
-  .mount-question-dialog-subject,
+  .mount-dialog-subject,
   .end-session-dialog-subject { //this should be a generic header class
     @include fontsize($font-size * 1.3);
   }
@@ -287,64 +286,57 @@ StScrollBar {
 /* ShellMountOperation Dialogs */
 .shell-mount-operation-icon { icon-size: 48px; }
 
-  .show-processes-dialog,
-  .mount-question-dialog {
+  .mount-dialog {
     spacing: 24px;
   }
 
-  .show-processes-dialog-subject,
-  .mount-question-dialog-subject {
+  .mount-dialog-subject {
     padding-top: 10px;
     padding-left: 17px;
     padding-bottom: 6px;
+    max-width: 34em;
   }
 
-  .mount-question-dialog-subject {
-      max-width: 34em;
-  }
-
-  .show-processes-dialog-subject:rtl,
-  .mount-question-dialog-subject:rtl {
+  .mount-dialog-subject:rtl {
     padding-left: 0px;
     padding-right: 17px;
   }
 
-  .show-processes-dialog-description,
-  .mount-question-dialog-description {
+  .mount-dialog-description {
     padding-left: 17px;
     width: 28em;
   }
 
-  .show-processes-dialog-description:rtl,
-  .mount-question-dialog-description:rtl {
+  .mount-dialog-description:rtl {
+    padding-left: 0px;
     padding-right: 17px;
   }
 
-  .show-processes-dialog-app-list {
+  .mount-dialog-app-list {
     max-height: 200px;
     padding-top: 24px;
     padding-left: 49px;
     padding-right: 32px;
   }
 
-  .show-processes-dialog-app-list:rtl {
+  .mount-dialog-app-list:rtl {
     padding-right: 49px;
     padding-left: 32px;
   }
 
-  .show-processes-dialog-app-list-item {
+  .mount-dialog-app-list-item {
     color: darken($fg_color,10%);
     &:hover { color: $fg_color; }
     &:ltr { padding-right: 1em; }
     &:rtl { padding-left: 1em; }
   }
 
-  .show-processes-dialog-app-list-item-icon {
+  .mount-dialog-app-list-item-icon {
     &:ltr { padding-right: 17px; }
     &:rtl { padding-left: 17px; }
   }
 
-  .show-processes-dialog-app-list-item-name {
+  .mount-dialog-app-list-item-name {
     font-size: 10pt;
   }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]