Datemenu spacing improvements, modal/script/notif buttons fixes
- Now "spacing" property is responsible for spacings in datemenu, not components with margins. Looks the same on 47 and 43; - Fixed styles mismatch on older GNOME versions; - Fixed notification buttons on older GNOME versions; - Fixed some buttons in login/unlock dialogs on older GNOME versions; - Fixed an issue where generate_file moved specific GNOME version assets to marble folder instead of copying them to temp folder;
This commit is contained in:
@@ -1,33 +1,33 @@
|
||||
/* if first button: margin-right: 12px/2 */
|
||||
/* if first button: margin-right: 8px/2 */
|
||||
.modal-dialog-linked-button:ltr:first-child,
|
||||
.notification-button:ltr:first-child,
|
||||
.hotplug-notification-item:ltr:first-child,
|
||||
.modal-dialog-linked-button:rtl:last-child,
|
||||
.notification-button:rtl:last-child,
|
||||
.hotplug-notification-item:rtl:last-child {
|
||||
margin: 0 6px 0 0 !important;
|
||||
margin: 0 4px 8px 8px !important;
|
||||
}
|
||||
|
||||
/* if last button: margin-left: 12px/2 */
|
||||
/* if last button: margin-left: 8px/2 */
|
||||
.modal-dialog-linked-button:ltr:last-child,
|
||||
.notification-button:ltr:last-child,
|
||||
.hotplug-notification-item:ltr:last-child,
|
||||
.modal-dialog-linked-button:rtl:first-child,
|
||||
.notification-button:rtl:first-child,
|
||||
.hotplug-notification-item:rtl:first-child {
|
||||
margin: 0 0 0 6px !important;
|
||||
margin: 0 8px 8px 4px !important;
|
||||
}
|
||||
|
||||
/* if only button: normal margin */
|
||||
.modal-dialog-linked-button:first-child:last-child,
|
||||
.notification-button:first-child:last-child,
|
||||
.hotplug-notification-item:first-child:last-child {
|
||||
margin: 0 !important;
|
||||
margin: 0 8px 8px 8px !important;
|
||||
}
|
||||
|
||||
/* else: margin-right/left: 12px/2 */
|
||||
/* else: margin-right/left: 8px/2 */
|
||||
.modal-dialog-linked-button,
|
||||
.notification-button,
|
||||
.hotplug-notification-item {
|
||||
margin: 0 6px !important;
|
||||
margin: 0 4px 8px 4px !important;
|
||||
}
|
||||
Reference in New Issue
Block a user