From d03665ad846ea694e53c97ee163b5e1875c857da Mon Sep 17 00:00:00 2001 From: Sam Hewitt Date: Wed, 25 Mar 2015 15:07:50 -0400 Subject: [PATCH] Added some legacy GNOME shell stuff --- Paper/gnome-shell/gnome-legacy.css | 108 ----------------------------- Paper/gnome-shell/gnome-shell.css | 93 ++++++++++++++++++++++++- 2 files changed, 92 insertions(+), 109 deletions(-) delete mode 100644 Paper/gnome-shell/gnome-legacy.css diff --git a/Paper/gnome-shell/gnome-legacy.css b/Paper/gnome-shell/gnome-legacy.css deleted file mode 100644 index cfbbded..0000000 --- a/Paper/gnome-shell/gnome-legacy.css +++ /dev/null @@ -1,108 +0,0 @@ - -/* Copyright 2015 Sam Hewitt. -* -* This file is part of the Paper theme. -* -* Layout and code style adapted from the default GNOME Shell theme -* Copyright 2009 Red Hat, Inc. -* -* This program is free software; you can redistribute it and/or modify it -* under the terms and conditions of the GNU General Public License, -* version 3, as published by the Free Software Foundation. -* -* This program is distributed in the hope it will be useful, but WITHOUT ANY -* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for -* more details. -*/ - - -/* Buttons */ -.candidate-page-button, -.notification-button, -.notification-icon-button, -.hotplug-notification-item, -.hotplug-resident-eject-button, -.modal-dialog-button { - border-radius: 2px; - border-width: 1px; - margin-top: 0.5em; - padding: 4px 32px; - color: #dbdee0; - font-weight: bold; - background:none; - background-gradient-direction: none; - border:none; - border-color: rgba(0,0,0,0); - box-shadow: none; - text-shadow: none; - icon-shadow: none; - background-gradient-direction: none; - background-gradient-start: rgba(255, 255, 255, 0); - background-gradient-end: rgba(255, 255, 255, 0);} - -.candidate-page-button:hover, -.notification-button:hover, -.notification-icon-button:hover, -.hotplug-notification-item:hover, -.hotplug-resident-eject-button:hover, -.modal-dialog-button:hover { - color: #fff; - border-color: rgba(0,0,0,0); - border:none; - background-color: rgba(255,255,255,0.1); - background-gradient-direction: none; - box-shadow: none; - text-shadow: none; - icon-shadow: none; - background-gradient-start: rgba(255, 255, 255, 0); - background-gradient-end: rgba(255, 255, 255, 0);} - -.notification-button:focus, -.notification-icon-button:focus, -.hotplug-notification-item:focus, -.modal-dialog-button:focus { - color: #fff; - border-color: rgba(0,0,0,0); - border:none; - background-color: rgba(255,255,255,0.1); - background-gradient-direction: none; - box-shadow: none; - text-shadow: none; - icon-shadow: none; - border-width: 0px;} - -.candidate-page-button:active, -.candidate-page-button:pressed, -.notification-button:active, -.notification-icon-button:active, -.hotplug-notification-item:active, -.hotplug-resident-eject-button:active, -.modal-dialog-button:active, -.modal-dialog-button:pressed { - color: #fff; - border-color: rgba(0,0,0,0); - background-color: rgba(0,0,0,0.1); - background-gradient-direction: none; - box-shadow: none; - text-shadow: none; - icon-shadow: none; - background-gradient-start: rgba(255, 255, 255, 0); - background-gradient-end: rgba(255, 255, 255, 0);} - -.candidate-page-button:insensitive, -.notification-button:insensitive, -.notification-icon-button:insensitive, -.modal-dialog-button:insensitive { - color: rgba(255,255,255,0.3); - border-color: rgba(0,0,0,0); - background-color: rgba(0,0,0,0.0); - background-gradient-direction: none; - box-shadow: none; - text-shadow: none; - icon-shadow: none;} - -/* Menus */ -.popup-submenu-menu-item:open { - background-color: #454d50; -} \ No newline at end of file diff --git a/Paper/gnome-shell/gnome-shell.css b/Paper/gnome-shell/gnome-shell.css index 947c33d..e46e43a 100644 --- a/Paper/gnome-shell/gnome-shell.css +++ b/Paper/gnome-shell/gnome-shell.css @@ -1963,4 +1963,95 @@ StScrollBar { margin: 12px } -@import url("gnome-legacy.css"); \ No newline at end of file +/******************** + * Legacy Overrides * + ********************/ + +.candidate-page-button, +.notification-button, +.notification-icon-button, +.hotplug-notification-item, +.hotplug-resident-eject-button, +.modal-dialog-button { + border-radius: 2px; + border-width: 1px; + margin-top: 0.5em; + padding: 4px 32px; + color: #dbdee0; + font-weight: bold; + background:none; + background-gradient-direction: none; + border:none; + border-color: rgba(0,0,0,0); + box-shadow: none; + text-shadow: none; + icon-shadow: none; + background-gradient-direction: none; + background-gradient-start: rgba(255, 255, 255, 0); + background-gradient-end: rgba(255, 255, 255, 0);} + +.candidate-page-button:hover, +.notification-button:hover, +.notification-icon-button:hover, +.hotplug-notification-item:hover, +.hotplug-resident-eject-button:hover, +.modal-dialog-button:hover { + color: #fff; + border-color: rgba(0,0,0,0); + border:none; + background-color: rgba(255,255,255,0.1); + background-gradient-direction: none; + box-shadow: none; + text-shadow: none; + icon-shadow: none; + background-gradient-start: rgba(255, 255, 255, 0); + background-gradient-end: rgba(255, 255, 255, 0);} + +.notification-button:focus, +.notification-icon-button:focus, +.hotplug-notification-item:focus, +.modal-dialog-button:focus { + color: #fff; + border-color: rgba(0,0,0,0); + border:none; + background-color: rgba(255,255,255,0.1); + background-gradient-direction: none; + box-shadow: none; + text-shadow: none; + icon-shadow: none; + border-width: 0px;} + +.candidate-page-button:active, +.candidate-page-button:pressed, +.notification-button:active, +.notification-icon-button:active, +.hotplug-notification-item:active, +.hotplug-resident-eject-button:active, +.modal-dialog-button:active, +.modal-dialog-button:pressed { + color: #fff; + border-color: rgba(0,0,0,0); + background-color: rgba(0,0,0,0.1); + background-gradient-direction: none; + box-shadow: none; + text-shadow: none; + icon-shadow: none; + background-gradient-start: rgba(255, 255, 255, 0); + background-gradient-end: rgba(255, 255, 255, 0);} + +.candidate-page-button:insensitive, +.notification-button:insensitive, +.notification-icon-button:insensitive, +.modal-dialog-button:insensitive { + color: rgba(255,255,255,0.3); + border-color: rgba(0,0,0,0); + background-color: rgba(0,0,0,0.0); + background-gradient-direction: none; + box-shadow: none; + text-shadow: none; + icon-shadow: none;} + +/* Menus */ +.popup-submenu-menu-item:open { + background-color: #454d50; +} \ No newline at end of file