Updated scripts & docs; updated some css

This commit is contained in:
Sam Hewitt 2015-03-03 19:59:29 -05:00
parent c07fe668f1
commit 14989cefd5
12 changed files with 151 additions and 21 deletions

15
AUTHORS
View File

@ -1,14 +1,3 @@
Paper is designed and developed by Sam Hewitt <hewittsamuel@gmail.com>.
Paper is designed and developed by:
This theme is comprised of free artwork & software;you can
redistribute and/or modify it under the terms of the GNU General
Public License as published by the Free Software Foundation;
either version 3, or (at your option) any later version.
This theme is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with these icons;if not, see <http://www.gnu.org/licenses/>.
Sam Hewitt <hewittsamuel@gmail.com>

View File

@ -1,4 +1,3 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

View File

@ -82,8 +82,9 @@ EphyWindow .dynamic-notebook tab.right:active {
* Incognito Mode *
******************/
.incognito-mode {
background-image:none;
EphyWindow .titlebar .incognito-mode,
EphyWindow .header-bar .incognito-mode {
background:none;
background-color: shade(@epiphany, 0.8);
}

View File

@ -20,7 +20,7 @@
* Destructive action buttons *
******************************/
@define-color destructive_action_button #DC322F;
@define-color destructive_action_button_border shade(@destructive_action_button, 0.8);
@define-color destructive_action_button_border shade(@destructive_action_button, 0.7);
@define-color destructive_action_button_foreground @base;
/******************************
@ -31,6 +31,10 @@
.button.destructive-action {
border: 1px solid @destructive_action_button_border;
background-color: @destructive_action_button;
background-image: linear-gradient(to bottom,
@destructive_action_button,
shade(@destructive_action_button, 0.98)
);
color: @destructive_action_button_foreground;
}
@ -38,6 +42,10 @@
.button.destructive-action:hover {
border: 1px solid shade(@destructive_action_button_border, 1.1);
background-color: shade(@destructive_action_button, 1.1);
background-image: linear-gradient(to bottom,
shade(@destructive_action_button, 1.1),
shade(shade(@destructive_action_button, 1.1), 0.98)
);
color: @destructive_action_button_foreground;
}
@ -45,6 +53,10 @@
.button.destructive-action:active {
border: 1px solid @destructive_action_button_border;
background-color: @destructive_action_button;
background-image: linear-gradient(to bottom,
@destructive_action_button,
shade(@destructive_action_button, 0.98)
);
color: @destructive_action_button_foreground;
}
@ -67,4 +79,58 @@
border: 1px solid mix(@insensitive_border, @backdrop_border, 0.5);
background-color: mix(@insensitive_background, @backdrop_background, 0.5);
color: mix(@insensitive_text, @backdrop_text, 0.5);
}
/* Images */
.destructive-action.button GtkImage {
color: @destructive_action_button_foreground;
}
.destructive-action.button:active GtkImage,
.destructive-action.button:focus GtkImage,
.destructive-action.button:hover GtkImage {
color: @selected_foreground;
}
.destructive-action.button:backdrop GtkImage,
.destructive-action.button:backdrop:hover GtkImage,
.destructive-action.button:active:backdrop GtkImage {
color: @backdrop_text;
-gtk-image-effect: dim;
}
.destructive-action.button:insensitive GtkImage {
color: @insensitive_text;
-gtk-image-effect: dim;
}
.destructive-action.button:insensitive:backdrop GtkImage {
color: mix(@backdrop_text, @insensitive_text, 0.5);
-gtk-image-effect: dim;
}
/* Labels */
.destructive-action.button GtkLabel {
color: @destructive_action_button_foreground;
}
.destructive-action.button:active GtkLabel,
.destructive-action.button:focus GtkLabel,
.destructive-action.button:hover GtkLabel {
color: @selected_foreground;
}
.destructive-action.button:backdrop GtkLabel,
.destructive-action.button:backdrop:hover GtkLabel,
.destructive-action.button:focus:backdrop GtkLabel,
.destructive-action.button:active:backdrop GtkLabel {
color: @backdrop_text;
}
.destructive-action.button:insensitive GtkLabel {
color: @insensitive_text;
}
.destructive-action.button:insensitive:backdrop GtkLabel {
color: mix(@backdrop_text, @insensitive_text, 0.5);
}

View File

@ -29,6 +29,10 @@
.button.suggested-action {
border: 1px solid @suggested_action_button;
background-color: @suggested_action_button;
background-image: linear-gradient(to bottom,
@suggested_action_button,
shade(@suggested_action_button, 0.98)
);
color: @suggested_action_button_foreground;
}
@ -36,6 +40,10 @@
.button.suggested-action:hover {
border: 1px solid shade(@suggested_action_button, 1.2);
background-color: shade(@suggested_action_button, 1.2);
background-image: linear-gradient(to bottom,
shade(@suggested_action_button, 1.1),
shade(shade(@suggested_action_button, 1.1), 0.98)
);
color: @suggested_action_button_foreground;
}
@ -43,6 +51,10 @@
.button.suggested-action:active {
border: 1px solid shade(@suggested_action_button, 1.1);
background-color: shade(@suggested_action_button, 1.1);
background-image: linear-gradient(to bottom,
@suggested_action_button,
shade(@suggested_action_button, 0.98)
);
color: @suggested_action_button_foreground;
}
@ -107,4 +119,59 @@
border: 1px solid mix(@insensitive_border, @backdrop_border, 0.5);
background-color: mix(@insensitive_background, @backdrop_background, 0.5);
color: mix(@insensitive_text, @backdrop_text, 0.5);
}
/* Images */
.suggested-action.button GtkImage {
color: @suggested_action_button_foreground;
}
.suggested-action.button:active GtkImage,
.suggested-action.button:focus GtkImage,
.suggested-action.button:hover GtkImage {
color: @selected_foreground;
}
.suggested-action.button:backdrop GtkImage,
.suggested-action.button:backdrop:hover GtkImage,
.suggested-action.button:active:backdrop GtkImage {
color: @backdrop_text;
-gtk-image-effect: dim;
}
.suggested-action.button:insensitive GtkImage {
color: @insensitive_text;
-gtk-image-effect: dim;
}
.suggested-action.button:insensitive:backdrop GtkImage {
color: mix(@backdrop_text, @insensitive_text, 0.5);
-gtk-image-effect: dim;
}
/* Labels */
.suggested-action.button GtkLabel {
color: @suggested_action_button_foreground;
}
.suggested-action.button:active GtkLabel,
.suggested-action.button:focus GtkLabel,
.suggested-action.button:hover GtkLabel {
color: @selected_foreground;
}
.suggested-action.button:backdrop GtkLabel,
.suggested-action.button:backdrop:hover GtkLabel,
.suggested-action.button:focus:backdrop GtkLabel,
.suggested-action.button:active:backdrop GtkLabel {
color: @backdrop_text;
}
.suggested-action.button:insensitive GtkLabel {
color: @insensitive_text;
}
.suggested-action.button:insensitive:backdrop GtkLabel {
color: mix(@backdrop_text, @insensitive_text, 0.5);
}

View File

@ -29,7 +29,7 @@
.frame:backdrop {
border-color: @backdrop_border;
background-color: none;
background: none;
color: @backdrop_text;
}

View File

@ -42,5 +42,4 @@ cp -a Paper-Dark/ $RPM_BUILD_ROOT%{_datadir}/themes/
%files
%doc AUTHORS LICENSE
%{_datadir}/themes/Paper/
%{_datadir}/themes/Paper-Dark/
%{_datadir}/themes/Paper/

View File

@ -1,5 +1,7 @@
#!/usr/bin/python3
# Thanks to the GNOME theme nerds for the original source of this script
import os
import sys
import xml.sax

View File

@ -1,5 +1,7 @@
#!/usr/bin/python3
# Thanks to the GNOME theme nerds for the original source of this script
import os
import sys
import xml.sax

View File

@ -1,5 +1,7 @@
#!/usr/bin/python3
# Thanks to the GNOME theme nerds for the original source of this script
import os
import sys
import xml.sax

View File

@ -1,11 +1,12 @@
#!/usr/bin/python3
# Thanks to the GNOME theme nerds for the original source of this script
import os
import sys
import xml.sax
import subprocess
INKSCAPE = '/usr/bin/inkscape'
OPTIPNG = '/usr/bin/optipng'
SRC = os.path.join('.', 'src/metacity')

View File

@ -1,5 +1,7 @@
#!/usr/bin/python3
# Thanks to the GNOME theme nerds for the original source of this script
import os
import sys
import xml.sax