# HG changeset patch # User Aleksej Bobylev # Date 1506524052 -10800 # Node ID 417f77dae1920657bcbd9457ffbbe9e2b983b264 # Parent dac0d3286af85fdfd01fab45b1a6fafe7706fbce Up netsurf stuff, lxpanel, slitaz-next... diff -r dac0d3286af8 -r 417f77dae192 deadbeef-dev/receipt --- a/deadbeef-dev/receipt Wed Sep 27 16:49:12 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="deadbeef-dev" -VERSION="0.5.6" -CATEGORY="development" -SHORT_DESC="Deadbeef audio player devl file." -MAINTAINER="pankso@slitaz.org" -LICENSE="GPL2 LGPL2.1" -WEB_SITE="http://deadbeef.sourceforge.net/" -WANTED="deadbeef" - -DEPENDS="deadbeef deadbeef-plugins" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/deadbeef - cp -a $install/usr/lib/deadbeef/*.*a $fs/usr/lib/deadbeef - cp -a $install/usr/include $fs/usr -} diff -r dac0d3286af8 -r 417f77dae192 deadbeef-opus/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/deadbeef-opus/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,27 @@ +# SliTaz package receipt v2. + +PACKAGE="deadbeef-opus" +VERSION="0.6" +CATEGORY="multimedia" +SHORT_DESC="Ogg Opus decoder plugin for DeaDBeeF" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL2" +WEB_SITE="https://bitbucket.org/Lithopsian/deadbeef-opus/overview" + +TARBALL="opus-$VERSION.tar.gz" +WGET_URL="https://bitbucket.org/Lithopsian/deadbeef-opus/downloads/$TARBALL" + +BUILD_DEPENDS="opusfile-dev deadbeef-dev" + +compile_rules() { + # To support large files (> 2GB) on 32 bit systems + sed -i '/FILE_OFFSET_BITS/ s|^# ||' Makefile + + make PREFIX=/usr && + make PREFIX=$install/usr install +} + +genpkg_rules() { + copy @std + DEPENDS="deadbeef libcrypto libogg libssl opus opusfile" +} diff -r dac0d3286af8 -r 417f77dae192 deadbeef-plugins/receipt --- a/deadbeef-plugins/receipt Wed Sep 27 16:49:12 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="deadbeef-plugins" -VERSION="0.5.6" -CATEGORY="multimedia" -SHORT_DESC="Pugins for the Deadbeef audio player (flac, sndfile, lastfm)." -MAINTAINER="pankso@slitaz.org" -LICENSE="GPL2 LGPL2.1" -WEB_SITE="http://deadbeef.sourceforge.net/" -WANTED="deadbeef" -TAGS="music audio player mp3 ogg ape" - -DEPENDS="deadbeef flac libsndfile libcurl libssl libcrypto" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/deadbeef - cp -a $install/usr/lib/deadbeef/*.so* $fs/usr/lib/deadbeef - for l in alsa ddb_gui_GTK2 hotkeys vorbis mpgmad - do - rm $fs/usr/lib/deadbeef/$l.so* - done -} diff -r dac0d3286af8 -r 417f77dae192 deadbeef/receipt --- a/deadbeef/receipt Wed Sep 27 16:49:12 2017 +0200 +++ b/deadbeef/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -1,41 +1,64 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="deadbeef" -VERSION="0.5.6" +VERSION="0.7.2" CATEGORY="multimedia" -SHORT_DESC="Simple to use GTK+ audio player with systray support." +SHORT_DESC="Simple to use GTK+ audio player with systray support" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2 LGPL2.1" -SUGGESTED="deadbeef-plugins" +WEB_SITE="http://deadbeef.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://deadbeef.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -TAGS="music audio player mp3 ogg ape" -DEPENDS="gtk+ alsa-lib libogg libvorbis libsamplerate libmad" BUILD_DEPENDS="gtk+-dev alsa-lib-dev libogg-dev libvorbis-dev libmad-dev \ libsndfile-dev libsamplerate-dev flac-dev curl-dev libcdio-dev \ libcddb-dev intltool libsndfile libcurl yasm libzip-dev util-linux-uuid-dev" +SPLIT="deadbeef-plugins deadbeef-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src - ./configure CFLAGS="-I/usr/lib/libzip/include" $CONFIGURE_ARGS && - make && make install +BUILD_DEPENDS="gettext intltool yasm zlib-dev jansson-dev gtk+-dev \ +alsa-lib-dev dbus-dev curl-dev libmad-dev libvorbis-dev libogg-dev flac-dev \ +libsndfile-dev libcdio-dev libcddb-dev cdparanoia-III-dev xorg-libX11-dev \ +imlib2-dev libjpeg-turbo-dev libpng16-dev libsamplerate-dev faad2-dev " +SPLIT="deadbeef-plugins deadbeef-dev" + +compile_rules() { + ./configure $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/pixmaps $fs/usr/share/doc - cp -a $install/usr/bin $fs/usr - for l in alsa ddb_gui_GTK2 hotkeys vorbis mpgmad - do - cp -a $install/usr/lib/$PACKAGE/$l.so* $fs/usr/lib/$PACKAGE - done - cp -a $install/usr/share/$PACKAGE $fs/usr/share - cp -a $install/usr/share/doc/$PACKAGE $fs/usr/share/doc - cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \ - $fs/usr/share/pixmaps +genpkg_rules() { + case $PACKAGE in + deadbeef) + # only limited set of plugins + copy bin/ applications/ pixmaps/ \ + alsa.so ddb_gui_GTK2.so hotkeys.so m3u.so mms.so mp3.so notify.so \ + supereq.so vorbis.so + cook_copy_icons + DEPENDS="alsa-lib atk cairo dbus fontconfig freetype gdk-pixbuf \ + glib gtk+ jansson libmad libvorbis pango xorg-libX11" + SUGGESTED="deadbeef-plugins" + TAGS="music audio player mp3 ogg ape" + ;; + deadbeef-plugins) + copy @std + remove_already_packed; rm -r $fs/usr/share + CAT="multimedia|extra plugins" + DEPENDS="deadbeef faad2 flac imlib2 libcddb libcdio libcurl \ + libogg libsamplerate libsndfile zlib" + TAGS="music audio player mp3 ogg ape" + ;; + *-dev) + copy @dev + DEPENDS="deadbeef deadbeef-plugins \ + alsa-lib-dev atk-dev bzip2-dev cairo-dev curl-dev dbus-dev \ + faad2-dev flac-dev fontconfig-dev freetype-dev gdk-pixbuf-dev \ + glib-dev gtk+-dev harfbuzz-dev imlib2-dev jansson-dev libcddb-dev \ + libcdio-dev libffi-dev libidn2-dev libmad-dev libogg-dev \ + libpng16-dev libsamplerate-dev libsndfile-dev libssh2-dev \ + libvorbis-dev libxml2-dev openssl-dev pango-dev pcre-dev \ + util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \ + xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \ + xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev" + ;; + esac } diff -r dac0d3286af8 -r 417f77dae192 duktape/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/duktape/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,35 @@ +# SliTaz package receipt v2. + +PACKAGE="duktape" +VERSION="2.1.1" +CATEGORY="libs" +SHORT_DESC="Embeddable Javascript engine" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="http://duktape.org/" + +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="http://duktape.org/$TARBALL" + +SPLIT="duktape-dev" + +compile_rules() { + mv Makefile.sharedlibrary Makefile + sed -i 's|-Wall -Wextra|$(CFLAGS)|g' Makefile + sed -i "s|/usr/local|$install/usr|" Makefile + cp $stuff/duktape.pc . + sed -i "s|@@VERSION@@|$VERSION|" duktape.pc + + CFLAGS="$CFLAGS -D DUK_USE_FASTINT -w" make + + mkdir -p $install/usr/lib/pkgconfig $install/usr/include + make install + cp duktape.pc $install/usr/lib/pkgconfig/ +} + +genpkg_rules() { + case $PACKAGE in + duktape) copy @std;; + *-dev) copy @dev;; + esac +} diff -r dac0d3286af8 -r 417f77dae192 duktape/stuff/duktape.pc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/duktape/stuff/duktape.pc Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,10 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: duktape +Description: Embeddable Javascript engine +Version: @@VERSION@@ +Libs: -L${libdir} -lduktape +Cflags: -I${includedir} diff -r dac0d3286af8 -r 417f77dae192 hubbub-dev/receipt --- a/hubbub-dev/receipt Wed Sep 27 16:49:12 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="hubbub-dev" -VERSION="0.1.2" -CATEGORY="development" -SHORT_DESC="Hubbub HTML parser devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="MIT" -WANTED="hubbub" -WEB_SITE="http://www.netsurf-browser.org/projects/hubbub/" -HOST_ARCH="i486 arm" - -DEPENDS="pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} diff -r dac0d3286af8 -r 417f77dae192 hubbub/receipt --- a/hubbub/receipt Wed Sep 27 16:49:12 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,29 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="hubbub" -VERSION="0.1.2" -CATEGORY="system-tools" -SHORT_DESC="Hubbub is a flexible HTML parser." -MAINTAINER="pankso@slitaz.org" -LICENSE="MIT" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://www.netsurf-browser.org/projects/hubbub/" -TARBALL="lib$PACKAGE-$VERSION-src.tar.gz" -WGET_URL="http://download.netsurf-browser.org/libs/releases/$TARBALL" -HOST_ARCH="i486 arm" - -DEPENDS="libparserutils" -BUILD_DEPENDS="libparserutils-dev" - -# Rules to configure and make the package. -compile_rules() -{ - make install DESTDIR=$DESTDIR PREFIX=/usr && - make install COMPONENT_TYPE=lib-shared DESTDIR=$DESTDIR PREFIX=/usr -} -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib -} diff -r dac0d3286af8 -r 417f77dae192 jansson-dev/receipt --- a/jansson-dev/receipt Wed Sep 27 16:49:12 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="jansson-dev" -VERSION="2.6" -CATEGORY="x-window" -SHORT_DESC="Jansson static libs and include headers" -MAINTAINER="pankso@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://www.digip.org/jansson/" -HOST_ARCH="i486 arm" - -WANTED="jansson" -DEPENDS="jansson" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - get_dev_files -} diff -r dac0d3286af8 -r 417f77dae192 jansson/receipt --- a/jansson/receipt Wed Sep 27 16:49:12 2017 +0200 +++ b/jansson/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -1,29 +1,26 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="jansson" -VERSION="2.6" +VERSION="2.10" CATEGORY="x-window" -SHORT_DESC="C library for encoding, decoding and manipulating JSON data." +SHORT_DESC="C library for encoding, decoding and manipulating JSON data" MAINTAINER="pankso@slitaz.org" -LICENSE="GPL2" -TARBALL="$PACKAGE-$VERSION.tar.bz2" +LICENSE="MIT" WEB_SITE="http://www.digip.org/jansson/" -WGET_URL="http://www.digip.org/jansson/releases/$TARBALL" HOST_ARCH="i486 arm" -DEPENDS="xorg-libX11" -BUILD_DEPENDS="xorg-libX11-dev" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WGET_URL="http://www.digip.org/jansson/releases/$TARBALL" -# Rules to configure and make the package. -compile_rules() -{ - ./configure $CONFIGURE_ARGS && - make && make install +SPLIT="jansson-dev" + +compile_rules() { + ./configure $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + jansson) copy @std;; + *-dev) copy @dev;; + esac } diff -r dac0d3286af8 -r 417f77dae192 libcss/receipt --- a/libcss/receipt Wed Sep 27 16:49:12 2017 +0200 +++ b/libcss/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -1,34 +1,40 @@ # SliTaz package receipt v2. PACKAGE="libcss" -VERSION="0.6.1" +COMMIT="3e58dd9a29a10cd6400031f0b510084ffacc41d0" +VERSION="0.6.1-170920" CATEGORY="system-tools" SHORT_DESC="CSS parser and selection engine" MAINTAINER="erjo@slitaz.org" LICENSE="MIT" WEB_SITE="http://www.netsurf-browser.org/projects/libcss/" -#HOST_ARCH="i486 arm" -TARBALL="$PACKAGE-$VERSION-src.tar.gz" -WGET_URL="http://download.netsurf-browser.org/libs/releases/$TARBALL" +TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" +BASE_URL="http://source.netsurf-browser.org/$PACKAGE.git/snapshot" +if [ -n "$COMMIT" ]; then + WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2" +else + WGET_URL="$BASE_URL/release/$VERSION.tar.bz2" +fi BUILD_DEPENDS="netsurf-buildsystem libwapcaplet-dev libparserutils-dev" SPLIT="libcss-dev" -# Rules to configure and make the package. -compile_rules() -{ - sed 's:_BSD_SOURCE:_DEFAULT_SOURCE:' -i Makefile && - export CFLAGS="-Wno-error=unused-but-set-variable" && +compile_rules() { + [ -z "$COMMIT" ] && cd $VERSION - make INCLUDEDIR=include LIBDIR=lib PREFIX=/usr COMPONENT_TYPE="lib-shared" && - make INCLUDEDIR=include LIBDIR=lib PREFIX=/usr COMPONENT_TYPE="lib-shared" \ - DESTDIR="$install" install + sed -i 's|_BSD_SOURCE|_DEFAULT_SOURCE|' Makefile + export CFLAGS="-Wno-error=unused-but-set-variable" + + make \ + PREFIX=/usr \ + LIBDIR=lib \ + INCLUDEDIR=include \ + COMPONENT_TYPE=lib-shared \ + install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { case $PACKAGE in libcss) copy @std diff -r dac0d3286af8 -r 417f77dae192 libdom/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libdom/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,49 @@ +# SliTaz package receipt v2. + +PACKAGE="libdom" +COMMIT="4e9b50f5b200918088bc6b1136751ea81cd8984b" +VERSION="0.3.1-170204" +CATEGORY="web" +SHORT_DESC="Implementation of the W3C DOM" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="http://www.netsurf-browser.org/projects/libdom/" + +TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" +BASE_URL="http://source.netsurf-browser.org/$PACKAGE.git/snapshot" +if [ -n "$COMMIT" ]; then + WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2" +else + WGET_URL="$BASE_URL/release/$VERSION.tar.bz2" +fi + +BUILD_DEPENDS="netsurf-buildsystem libparserutils-dev libwapcaplet-dev \ +libhubbub-dev expat-dev" +SPLIT="libdom-dev" + +compile_rules() { + [ -z "$COMMIT" ] && cd $VERSION + + sed -i 's|_BSD_SOURCE|_DEFAULT_SOURCE|' Makefile + export CFLAGS='-Wno-error=unused-but-set-variable' + + make \ + PREFIX=/usr \ + LIBDIR=lib \ + INCLUDEDIR=include \ + COMPONENT_TYPE=lib-shared \ + install +} + +genpkg_rules() { + case $PACKAGE in + libdom) + copy @std + DEPENDS="expat libhubbub libparserutils libwapcaplet" + ;; + *-dev) + copy @dev + DEPENDS="libdom expat-dev libhubbub-dev" + ;; + esac +} diff -r dac0d3286af8 -r 417f77dae192 libharu/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libharu/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,43 @@ +# SliTaz package receipt v2. + +PACKAGE="libharu" +VERSION="2.3.0" +CATEGORY="libs" +SHORT_DESC="C library for generating PDF documents" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="zlib/libpng" +WEB_SITE="https://github.com/libharu/libharu" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/libharu/libharu/archive/RELEASE_${VERSION//./_}.tar.gz" + +BUILD_DEPENDS="automake libtool zlib-dev libpng16-dev" +SPLIT="libharu-dev" + +# Rules to configure and make the package. +compile_rules() +{ + touch include/config.h.in + aclocal && + libtoolize && + automake --add-missing && + autoconf && + ./configure $CONFIGURE_ARGS && + make && + make DESTDIR=$install install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + case $PACKAGE in + libharu) + copy @std + DEPENDS="libpng16 zlib" + ;; + *-dev) + copy @dev + DEPENDS="libharu libpng16-dev zlib-dev" + ;; + esac +} diff -r dac0d3286af8 -r 417f77dae192 libhubbub/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libhubbub/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,48 @@ +# SliTaz package receipt v2. + +PACKAGE="libhubbub" +COMMIT="0eb6188c3a931063f78b017c621b79709746706e" +VERSION="0.3.3-170909" +CATEGORY="system-tools" +SHORT_DESC="Hubbub is an HTML5 compliant parsing library, written in C" +MAINTAINER="pankso@slitaz.org" +LICENSE="MIT" +WEB_SITE="http://www.netsurf-browser.org/projects/hubbub/" +HOST_ARCH="i486 arm" + +TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" +BASE_URL="http://source.netsurf-browser.org/$PACKAGE.git/snapshot" +if [ -n "$COMMIT" ]; then + WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2" +else + WGET_URL="$BASE_URL/release/$VERSION.tar.bz2" +fi + +BUILD_DEPENDS="netsurf-buildsystem libparserutils-dev" +SPLIT="libhubbub-dev" + +compile_rules() { + [ -z "$COMMIT" ] && cd $VERSION + + make \ + PREFIX=/usr \ + LIBDIR=lib \ + INCLUDEDIR=include \ + COMPONENT_TYPE=lib-shared \ + install +} + +genpkg_rules() { + case $PACKAGE in + libhubbub) + copy @std + DEPENDS="libparserutils" + PROVIDE="hubbub" # old package name + ;; + *-dev) + copy @dev + DEPENDS="libhubbub libparserutils-dev" + PROVIDE="hubbub-dev" + ;; + esac +} diff -r dac0d3286af8 -r 417f77dae192 libkeybinder-dev/receipt --- a/libkeybinder-dev/receipt Wed Sep 27 16:49:12 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libkeybinder-dev" -VERSION="0.3.0" -CATEGORY="development" -SHORT_DESC="Library for registering global keyboard shortcuts" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="GPL2" -WEB_SITE="http://kaizer.se/wiki/keybinder/" - -WANTED="libkeybinder" -DEPENDS="libkeybinder gtk+-dev gobject-introspection-dev xorg-libXext-dev \ -python-dev pygtk-dev pygobject-dev pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/gir* $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/*.la* $fs/usr/lib - cp -a $install/usr/share/gir* $fs/usr/share -} diff -r dac0d3286af8 -r 417f77dae192 libkeybinder/receipt --- a/libkeybinder/receipt Wed Sep 27 16:49:12 2017 +0200 +++ b/libkeybinder/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -1,19 +1,20 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libkeybinder" -VERSION="0.3.0" +VERSION="0.3.1" CATEGORY="x-window" SHORT_DESC="Library for registering global keyboard shortcuts" MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL2" -WEB_SITE="http://kaizer.se/wiki/keybinder/" -SOURCE="keybinder" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="http://kaizer.se/publicfiles/$SOURCE/$TARBALL" +WEB_SITE="https://github.com/kupferlauncher/keybinder" -DEPENDS="gtk+" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/kupferlauncher/keybinder/releases/download/keybinder-3.0-v$VERSION/keybinder-3.0-$VERSION.tar.gz" +WGET_URL="https://github.com/kupferlauncher/keybinder/releases/download/v$VERSION/keybinder-$VERSION.tar.gz" + BUILD_DEPENDS="gtk+-dev gobject-introspection-dev xorg-libXext-dev python-dev \ pygtk-dev pygobject-dev automake autoconf libtool" +SPLIT="libkeybinder-python libkeybinder-dev" # Rules to configure and make the package. compile_rules() @@ -25,8 +26,30 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*so* $fs/usr/lib - cp -a $install/usr/lib/python* $fs/usr/lib + case $PACKAGE in + libkeybinder) + copy libkeybinder.so* + DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \ + libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \ + util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \ + xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \ + xorg-pixman zlib" + ;; + libkeybinder-python) + copy @std + remove_already_packed + CAT="x-window|python bindings" + DEPENDS="libkeybinder python" + ;; + *-dev) + copy @dev + DEPENDS="libkeybinder libkeybinder-python \ + atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \ + gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev libffi-dev \ + libpng16-dev libxml2-dev pango-dev pcre-dev util-linux-blkid-dev \ + util-linux-mount-dev util-linux-uuid-dev xorg-libX11-dev \ + xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \ + xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev" + ;; + esac } - diff -r dac0d3286af8 -r 417f77dae192 libnsbmp/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libnsbmp/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,39 @@ +# SliTaz package receipt v2. + +PACKAGE="libnsbmp" +COMMIT="" +VERSION="0.1.4" +CATEGORY="libs" +SHORT_DESC="Decoding library for BMP and ICO image file formats" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="http://www.netsurf-browser.org/projects/libnsbmp/" + +TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" +BASE_URL="http://source.netsurf-browser.org/$PACKAGE.git/snapshot" +if [ -n "$COMMIT" ]; then + WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2" +else + WGET_URL="$BASE_URL/release/$VERSION.tar.bz2" +fi + +BUILD_DEPENDS="netsurf-buildsystem" +SPLIT="libnsbmp-dev" + +compile_rules() { + [ -z "$COMMIT" ] && cd $VERSION + + make \ + PREFIX=/usr \ + LIBDIR=lib \ + INCLUDEDIR=include \ + COMPONENT_TYPE=lib-shared \ + install +} + +genpkg_rules() { + case $PACKAGE in + libnsbmp) copy @std;; + *-dev) copy @dev;; + esac +} diff -r dac0d3286af8 -r 417f77dae192 libnsgif-dev/receipt --- a/libnsgif-dev/receipt Wed Sep 27 16:49:12 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libnsgif-dev" -VERSION="0.0.3" -CATEGORY="development" -SHORT_DESC="The libnsgif devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="MIT" -WANTED="libnsgif" -WEB_SITE="http://www.netsurf-browser.org/projects/libnsgif/" -HOST_ARCH="i486 arm" - -DEPENDS="pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} diff -r dac0d3286af8 -r 417f77dae192 libnsgif/receipt --- a/libnsgif/receipt Wed Sep 27 16:49:12 2017 +0200 +++ b/libnsgif/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -1,26 +1,42 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libnsgif" -VERSION="0.0.3" -CATEGORY="system-tools" -SHORT_DESC="Libnsgif is a decoding library for the GIF image file format." +COMMIT="" +VERSION="0.1.4" +CATEGORY="libs" +SHORT_DESC="Decoding library for the GIF image file format" MAINTAINER="pankso@slitaz.org" LICENSE="MIT" -TARBALL="$PACKAGE-$VERSION-src.tar.gz" WEB_SITE="http://www.netsurf-browser.org/projects/libnsgif/" -WGET_URL="http://download.netsurf-browser.org/libs/releases/$TARBALL" HOST_ARCH="i486 arm" -# Rules to configure and make the package. -compile_rules() -{ - make install DESTDIR=$DESTDIR PREFIX=/usr && - make install COMPONENT_TYPE=lib-shared DESTDIR=$DESTDIR PREFIX=/usr +TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" +BASE_URL="http://source.netsurf-browser.org/$PACKAGE.git/snapshot" +if [ -n "$COMMIT" ]; then + WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2" +else + WGET_URL="$BASE_URL/release/$VERSION.tar.bz2" +fi + +BUILD_DEPENDS="netsurf-buildsystem" +SPLIT="libnsgif-dev" + +compile_rules() { + [ -z "$COMMIT" ] && cd $VERSION + + export CFLAGS="$CFLAGS -fno-strict-aliasing" + + make \ + PREFIX=/usr \ + LIBDIR=lib \ + INCLUDEDIR=include \ + COMPONENT_TYPE=lib-shared \ + install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + libnsgif) copy @std;; + *-dev) copy @dev;; + esac } diff -r dac0d3286af8 -r 417f77dae192 libnslayout/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libnslayout/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,47 @@ +# SliTaz package receipt v2. + +PACKAGE="libnslayout" +COMMIT="b77ae8ab7d1ce435d8afd3c77613c5a56c477025" +VERSION="0-170617" +CATEGORY="libs" +SHORT_DESC="NetSurf Layout Engine" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="http://source.netsurf-browser.org/libnslayout.git/" + +TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" +BASE_URL="http://source.netsurf-browser.org/$PACKAGE.git/snapshot" +if [ -n "$COMMIT" ]; then + WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2" +else + WGET_URL="$BASE_URL/release/$VERSION.tar.bz2" +fi + +BUILD_DEPENDS="netsurf-buildsystem libcss-dev libdom-dev libwapcaplet-dev \ +libparserutils-dev" +SPLIT="libnslayout-dev" + +compile_rules() { + [ -z "$COMMIT" ] && cd $VERSION + + make \ + PREFIX=/usr \ + LIBDIR=lib \ + INCLUDEDIR=include \ + COMPONENT_TYPE=lib-shared \ + install +} + +genpkg_rules() { + case $PACKAGE in + libnslayout) + copy @std + DEPENDS="expat libcss libdom libhubbub libparserutils libwapcaplet" + ;; + *-dev) + copy @dev + DEPENDS="libnslayout libcss-dev libdom-dev libparserutils-dev \ + libwapcaplet-dev" + ;; + esac +} diff -r dac0d3286af8 -r 417f77dae192 libnslog/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libnslog/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,39 @@ +# SliTaz package receipt v2. + +PACKAGE="libnslog" +COMMIT="1940ea405b3ea49eca8e696e0f2938985c9c79ac" +VERSION="0-170910" +CATEGORY="libs" +SHORT_DESC="NetSurf Parametric Logging Library" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="http://source.netsurf-browser.org/libnslog.git/" + +TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" +BASE_URL="http://source.netsurf-browser.org/$PACKAGE.git/snapshot" +if [ -n "$COMMIT" ]; then + WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2" +else + WGET_URL="$BASE_URL/release/$VERSION.tar.bz2" +fi + +BUILD_DEPENDS="netsurf-buildsystem" +SPLIT="libnslog-dev" + +compile_rules() { + [ -z "$COMMIT" ] && cd $VERSION + + make \ + PREFIX=/usr \ + LIBDIR=lib \ + INCLUDEDIR=include \ + COMPONENT_TYPE=lib-shared \ + install +} + +genpkg_rules() { + case $PACKAGE in + libnslog) copy @std;; + *-dev) copy @dev;; + esac +} diff -r dac0d3286af8 -r 417f77dae192 libnspsl/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libnspsl/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,39 @@ +# SliTaz package receipt v2. + +PACKAGE="libnspsl" +COMMIT="9724f92b7d8e54c23ca4849647763002d9019437" +VERSION="0.1.0-170528" +CATEGORY="libs" +SHORT_DESC="NetSurf public suffix list handling" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="http://source.netsurf-browser.org/libnspsl.git/" + +TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" +BASE_URL="http://source.netsurf-browser.org/$PACKAGE.git/snapshot" +if [ -n "$COMMIT" ]; then + WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2" +else + WGET_URL="$BASE_URL/release/$VERSION.tar.bz2" +fi + +BUILD_DEPENDS="netsurf-buildsystem" +SPLIT="libnspsl-dev" + +compile_rules() { + [ -z "$COMMIT" ] && cd $VERSION + + make \ + PREFIX=/usr \ + LIBDIR=lib \ + INCLUDEDIR=include \ + COMPONENT_TYPE=lib-shared \ + install +} + +genpkg_rules() { + case $PACKAGE in + libnspsl) copy @std;; + *-dev) copy @dev;; + esac +} diff -r dac0d3286af8 -r 417f77dae192 libnsutils/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libnsutils/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,39 @@ +# SliTaz package receipt v2. + +PACKAGE="libnsutils" +COMMIT="" +VERSION="0.0.3" +CATEGORY="utilities" +SHORT_DESC="NetSurf Utilities" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="http://source.netsurf-browser.org/libnsutils.git/" + +TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" +BASE_URL="http://source.netsurf-browser.org/$PACKAGE.git/snapshot" +if [ -n "$COMMIT" ]; then + WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2" +else + WGET_URL="$BASE_URL/release/$VERSION.tar.bz2" +fi + +BUILD_DEPENDS="netsurf-buildsystem" +SPLIT="libnsutils-dev" + +compile_rules() { + [ -z "$COMMIT" ] && cd $VERSION + + make \ + PREFIX=/usr \ + LIBDIR=lib \ + INCLUDEDIR=include \ + COMPONENT_TYPE=lib-shared \ + install +} + +genpkg_rules() { + case $PACKAGE in + libnsutils) copy @std;; + *-dev) copy @dev;; + esac +} diff -r dac0d3286af8 -r 417f77dae192 libparserutils/receipt --- a/libparserutils/receipt Wed Sep 27 16:49:12 2017 +0200 +++ b/libparserutils/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -1,6 +1,7 @@ # SliTaz package receipt v2. PACKAGE="libparserutils" +COMMIT="" VERSION="0.2.3" CATEGORY="system-tools" SHORT_DESC="Library for building efficient parsers" @@ -9,24 +10,32 @@ WEB_SITE="http://www.netsurf-browser.org/projects/libparserutils/" HOST_ARCH="i486 arm" -TARBALL="$PACKAGE-$VERSION-src.tar.gz" -WGET_URL="http://download.netsurf-browser.org/libs/releases/$TARBALL" +TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" +BASE_URL="http://source.netsurf-browser.org/$PACKAGE.git/snapshot" +if [ -n "$COMMIT" ]; then + WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2" +else + WGET_URL="$BASE_URL/release/$VERSION.tar.bz2" +fi BUILD_DEPENDS="netsurf-buildsystem" SPLIT="libparserutils-dev" -# Rules to configure and make the package. -compile_rules() -{ - sed -i 's|_BSD_SOURCE|_DEFAULT_SOURCE|' Makefile && - make INCLUDEDIR=include LIBDIR=lib PREFIX=/usr COMPONENT_TYPE="lib-shared" && - make INCLUDEDIR=include LIBDIR=lib PREFIX=/usr COMPONENT_TYPE="lib-shared" \ - DESTDIR="$install" install +compile_rules() { + [ -z "$COMMIT" ] && cd $VERSION + + sed -i 's|_BSD_SOURCE|_DEFAULT_SOURCE|' Makefile + echo 'CFLAGS += -DWITH_ICONV_FILTER' > Makefile.config.override + + make \ + PREFIX=/usr \ + LIBDIR=lib \ + INCLUDEDIR=include \ + COMPONENT_TYPE=lib-shared \ + install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { case $PACKAGE in libparserutils) copy @std;; *-dev) copy @dev;; diff -r dac0d3286af8 -r 417f77dae192 libsvgtiny/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libsvgtiny/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,48 @@ +# SliTaz package receipt v2. + +PACKAGE="libsvgtiny" +COMMIT="d5060009e934f2715a35601f7e4192702a473216" +VERSION="0.1.5-170724" +CATEGORY="libs" +SHORT_DESC="SVG Tiny library" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="http://www.netsurf-browser.org/projects/libsvgtiny/" + +TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" +BASE_URL="http://source.netsurf-browser.org/$PACKAGE.git/snapshot" +if [ -n "$COMMIT" ]; then + WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2" +else + WGET_URL="$BASE_URL/release/$VERSION.tar.bz2" +fi + +BUILD_DEPENDS="netsurf-buildsystem libdom-dev libwapcaplet-dev gperf" +SPLIT="libsvgtiny-dev" + +compile_rules() { + [ -z "$COMMIT" ] && cd $VERSION + + sed -i 's|_BSD_SOURCE|_DEFAULT_SOURCE|' Makefile + export CFLAGS="-Wno-error=unused-but-set-variable" + + make \ + PREFIX=/usr \ + LIBDIR=lib \ + INCLUDEDIR=include \ + COMPONENT_TYPE=lib-shared \ + install +} + +genpkg_rules() { + case $PACKAGE in + libsvgtiny) + copy @std + DEPENDS="expat libdom libhubbub libparserutils libwapcaplet" + ;; + *-dev) + copy @dev + DEPENDS="libsvgtiny libdom-dev" + ;; + esac +} diff -r dac0d3286af8 -r 417f77dae192 libutf8proc/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libutf8proc/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,39 @@ +# SliTaz package receipt v2. + +PACKAGE="libutf8proc" +COMMIT="770e329cceaf0620c7b482589a9b17ed1d19c16d" +VERSION="1.3.1-2-161123" +CATEGORY="libs" +SHORT_DESC="C library for processing UTF-8 encoded Unicode strings" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="http://git.netsurf-browser.org/libutf8proc.git/" + +TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" +BASE_URL="http://git.netsurf-browser.org/$PACKAGE.git/snapshot" +if [ -n "$COMMIT" ]; then + WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2" +else + WGET_URL="$BASE_URL/release/$VERSION.tar.bz2" +fi + +BUILD_DEPENDS="netsurf-buildsystem" +SPLIT="libutf8proc-dev" + +compile_rules() { + [ -z "$COMMIT" ] && cd $VERSION + + make \ + PREFIX=/usr \ + LIBDIR=lib \ + INCLUDEDIR=include \ + COMPONENT_TYPE=lib-shared \ + install +} + +genpkg_rules() { + case $PACKAGE in + libutf8proc) copy @std;; + *-dev) copy @dev;; + esac +} diff -r dac0d3286af8 -r 417f77dae192 libwapcaplet/receipt --- a/libwapcaplet/receipt Wed Sep 27 16:49:12 2017 +0200 +++ b/libwapcaplet/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -1,6 +1,7 @@ # SliTaz package receipt v2. PACKAGE="libwapcaplet" +COMMIT="" VERSION="0.4.0" CATEGORY="system-tools" SHORT_DESC="String internment library with rapid string comparison" @@ -9,31 +10,31 @@ WEB_SITE="http://www.netsurf-browser.org/projects/libwapcaplet/" HOST_ARCH="i486 arm" -TARBALL="$PACKAGE-$VERSION-src.tar.gz" -WGET_URL="http://download.netsurf-browser.org/libs/releases/$TARBALL" +TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" +BASE_URL="http://source.netsurf-browser.org/$PACKAGE.git/snapshot" +if [ -n "$COMMIT" ]; then + WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2" +else + WGET_URL="$BASE_URL/release/$VERSION.tar.bz2" +fi BUILD_DEPENDS="netsurf-buildsystem" SPLIT="libwapcaplet-dev" -# Rules to configure and make the package. -compile_rules() -{ - sed -i 's|_BSD_SOURCE|_DEFAULT_SOURCE|' Makefile && +compile_rules() { + [ -z "$COMMIT" ] && cd $VERSION + + sed -i 's|_BSD_SOURCE|_DEFAULT_SOURCE|' Makefile make \ PREFIX=/usr \ - COMPONENT_TYPE="lib-shared" && - make install \ + LIBDIR=lib \ INCLUDEDIR=include \ - LIBDIR=lib \ - PREFIX=/usr \ - DESTDIR="$install" \ - COMPONENT_TYPE="lib-shared" + COMPONENT_TYPE=lib-shared \ + install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { case $PACKAGE in libwapcaplet) copy @std;; *-dev) copy @dev;; diff -r dac0d3286af8 -r 417f77dae192 lxpanel/receipt --- a/lxpanel/receipt Wed Sep 27 16:49:12 2017 +0200 +++ b/lxpanel/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -1,53 +1,43 @@ # SliTaz package receipt v2. PACKAGE="lxpanel" -VERSION="0.6.2" +COMMIT="768c48fe9868adcbb48d1787b448675432f1bb6a" +VERSION="0.9.3.11" # 11th commit after 0.9.3 release CATEGORY="x-window" SHORT_DESC="LXDE panel" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" -WEB_SITE="http://www.lxde.org/" +WEB_SITE="https://wiki.lxde.org/en/LXPanel" HOST_ARCH="i486 arm" -TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="$SF_MIRROR/lxde/$TARBALL" +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="https://git.lxde.org/gitweb/?p=lxde/lxpanel.git;a=snapshot;h=$COMMIT;sf=txz" BUILD_DEPENDS_arm="gtk+-dev menu-cache-dev alsa-lib-dev wireless_tools-dev \ libxml2-dev lxmenu-data" -BUILD_DEPENDS="intltool gtk+-dev menu-cache-dev alsa-lib-dev \ -wireless_tools-dev libxml2-dev lxmenu-data libwnck2-dev" +BUILD_DEPENDS="automake libtool intltool gtk+-dev menu-cache-dev alsa-lib-dev \ +wireless_tools-dev libxml2-dev lxmenu-data libwnck2-dev libfm-dev \ +libkeybinder-dev" SPLIT="lxpanel-extra lxpanel lxpanel-dev" # Rules to configure and make the package. compile_rules() { case "$ARCH" in - i?86) pluglist="all";; - arm*) pluglist="netstatus,volumealsa,cpu,batt,xkb,thermal,cpufreq,monitors";; + arm*) ARCH_ARGS='--with-plugins="netstatus,volumealsa,cpu,batt,xkb,thermal,cpufreq,monitors"';; esac - # Match default desktop colors - sed -i 's|gdk_color_parse("green"|gdk_color_parse("#cfcfcf"|' \ - src/plugins/cpu/cpu.c || return 1 - + ./autogen.sh + CFLAGS="$CFLAGS -lgmodule-2.0" ./configure \ --sysconfdir=/etc \ --localstatedir=/var \ - --with-plugins="$pluglist" \ + $ARCH_ARGS \ $CONFIGURE_ARGS && make && make install || exit 1 - # Move profile to /etc/lxpanel (/usr maybe read-only) and default config - mkdir -p $install/etc/lxpanel - mv $install/usr/share/lxpanel/profile/* $install/etc/lxpanel - ln -sf /etc/lxpanel $install/usr/share/lxpanel/profile - mv -f $install/etc/lxpanel/default $install/etc/lxpanel/original - cp -a $stuff/default $install/etc/lxpanel - rm -rf $install/etc/lxpanel/two_panels - - # XDG autostart desktop file (lxsession will use it automaticaly) - mkdir -p $install/etc/xdg - cp -a $stuff/autostart $install/etc/xdg + # SliTaz profile + cp -r $stuff/slitaz $install/etc/xdg/lxpanel/ chown -R root:root $install } @@ -57,29 +47,38 @@ { case $PACKAGE in lxpanel-extra) - copy kbled.so wnckpager.so ns-*.png *lock-*.png xkb-flags/ \ + copy kbled.so ns-*.png *lock-*.png xkb-flags/ \ background.png file-manager.png gnome-*.png mute.png \ stock_volume.png volume-*.png window-manager.png CAT="x-window|extra files and plugins" TAGS="LXDE" - DEPENDS="lxpanel libwnck2 startup-notification xorg-xcb-util" + DEPENDS="lxpanel" ;; lxpanel) copy @std remove_already_packed DEPENDS="alsa-lib atk bzlib cairo fontconfig freetype gdk-pixbuf \ - glib gtk+ libffi libharfbuzz liblzma libpng16 libxml2 menu-cache \ - pango pcre util-linux-blkid util-linux-mount util-linux-uuid \ - wireless_tools xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \ - xorg-libXrender xorg-libxcb xorg-pixman zlib slitaz-menus" - CONFIG_FILES="/etc/lxpanel/default/" + glib gtk+ libexif libffi libfm libfm-gtk libharfbuzz libkeybinder \ + liblzma libpng16 libwnck2 libxml2 menu-cache pango pcre \ + startup-notification util-linux-blkid util-linux-mount \ + util-linux-uuid wireless_tools xorg-libX11 xorg-libXau \ + xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb xorg-pixman \ + xorg-xcb-util zlib slitaz-menus" + #CONFIG_FILES="/etc/xdg/lxpanel/default/" TAGS="LXDE gtk2 panel" SUGGESTED="lxde lxsession slitaz-icon" ;; lxpanel-dev) copy @dev DEPENDS="lxpanel lxpanel-extra \ - glib-dev menu-cache-dev" + atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \ + gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev libexif-dev \ + libffi-dev libfm-dev libkeybinder-dev libpng16-dev libwnck2-dev \ + libxml2-dev lxpanel menu-cache-dev pango-dev pcre-dev \ + startup-notification-dev util-linux-blkid-dev util-linux-mount-dev \ + util-linux-uuid-dev xorg-libX11-dev xorg-libXau-dev \ + xorg-libXdmcp-dev xorg-libXext-dev xorg-libXrender-dev \ + xorg-libxcb-dev xorg-pixman-dev xorg-xcb-util-dev xz-dev zlib" ;; esac } diff -r dac0d3286af8 -r 417f77dae192 lxpanel/stuff/patches/cpu-color.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lxpanel/stuff/patches/cpu-color.patch Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,11 @@ +--- a/plugins/cpu/cpu.c ++++ b/plugins/cpu/cpu.c +@@ -273,7 +273,7 @@ + + /* Clone a graphics context and set "green" as its foreground color. + * We will use this to draw the graph. */ +- gdk_color_parse("green", &c->foreground_color); ++ gdk_color_parse("#cfcfcf", &c->foreground_color); + + /* Connect signals. */ + g_signal_connect(G_OBJECT(c->da), "configure-event", G_CALLBACK(configure_event), (gpointer) c); diff -r dac0d3286af8 -r 417f77dae192 lxpanel/stuff/patches/netstatus-icon.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lxpanel/stuff/patches/netstatus-icon.patch Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,70 @@ +Use standard icons, drop gnome-flavored ones. + +--- a/plugins/netstatus/netstatus-icon.c ++++ b/plugins/netstatus/netstatus-icon.c +@@ -288,55 +288,55 @@ + { + netstatus_icon_init_pixbuf (icon, + &icon->priv->icons [NETSTATUS_STATE_DISCONNECTED], +- "gnome-netstatus-disconn"); ++ "network-offline"); + icon->priv->scaled_icons [NETSTATUS_STATE_DISCONNECTED] = NULL; + + netstatus_icon_init_pixbuf (icon, + &icon->priv->icons [NETSTATUS_STATE_IDLE], +- "gnome-netstatus-idle"); ++ "network-idle"); + icon->priv->scaled_icons [NETSTATUS_STATE_IDLE] = NULL; + + netstatus_icon_init_pixbuf (icon, + &icon->priv->icons [NETSTATUS_STATE_TX], +- "gnome-netstatus-tx"); ++ "network-transmit"); + icon->priv->scaled_icons [NETSTATUS_STATE_TX] = NULL; + + netstatus_icon_init_pixbuf (icon, + &icon->priv->icons [NETSTATUS_STATE_RX], +- "gnome-netstatus-rx"); ++ "network-receive"); + icon->priv->scaled_icons [NETSTATUS_STATE_RX] = NULL; + + netstatus_icon_init_pixbuf (icon, + &icon->priv->icons [NETSTATUS_STATE_TX_RX], +- "gnome-netstatus-txrx"); ++ "network-transmit-receive"); + icon->priv->scaled_icons [NETSTATUS_STATE_TX_RX] = NULL; + + netstatus_icon_init_pixbuf (icon, + &icon->priv->icons [NETSTATUS_STATE_ERROR], +- "gnome-netstatus-error"); ++ "network-error"); + icon->priv->scaled_icons [NETSTATUS_STATE_ERROR] = NULL; + + netstatus_icon_init_pixbuf (icon, + &icon->priv->signal_icons [NETSTATUS_SIGNAL_0_24], +- "gnome-netstatus-0-24"); ++ "network-wireless-signal-none"); + icon->priv->rotated_signal_icons [NETSTATUS_SIGNAL_0_24] = NULL; + icon->priv->scaled_signal_icons [NETSTATUS_SIGNAL_0_24] = NULL; + + netstatus_icon_init_pixbuf (icon, + &icon->priv->signal_icons [NETSTATUS_SIGNAL_25_49], +- "gnome-netstatus-25-49"); ++ "network-wireless-signal-low"); + icon->priv->rotated_signal_icons [NETSTATUS_SIGNAL_25_49] = NULL; + icon->priv->scaled_signal_icons [NETSTATUS_SIGNAL_25_49] = NULL; + + netstatus_icon_init_pixbuf (icon, + &icon->priv->signal_icons [NETSTATUS_SIGNAL_50_74], +- "gnome-netstatus-50-74"); ++ "network-wireless-signal-good"); + icon->priv->rotated_signal_icons [NETSTATUS_SIGNAL_50_74] = NULL; + icon->priv->scaled_signal_icons [NETSTATUS_SIGNAL_50_74] = NULL; + + netstatus_icon_init_pixbuf (icon, + &icon->priv->signal_icons [NETSTATUS_SIGNAL_75_100], +- "gnome-netstatus-75-100"); ++ "network-wireless-signal-excellent"); + icon->priv->rotated_signal_icons [NETSTATUS_SIGNAL_75_100] = NULL; + icon->priv->scaled_signal_icons [NETSTATUS_SIGNAL_75_100] = NULL; + diff -r dac0d3286af8 -r 417f77dae192 lxpanel/stuff/patches/series --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lxpanel/stuff/patches/series Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,2 @@ +cpu-color.patch +netstatus-icon.patch diff -r dac0d3286af8 -r 417f77dae192 lxpanel/stuff/slitaz/config --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lxpanel/stuff/slitaz/config Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,4 @@ +[Command] +FileManager=pcmanfm %s +Terminal=sakura +Logout=lxde-logout diff -r dac0d3286af8 -r 417f77dae192 lxpanel/stuff/slitaz/panels/panel --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lxpanel/stuff/slitaz/panels/panel Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,182 @@ +# lxpanel config file. Manually editing is not recommended. +# Use preference dialog in lxpanel to adjust config when you can. + +Global { + edge=top + allign=center + margin=0 + widthtype=percent + width=100 + height=22 + transparent=0 + tintcolor=#222222 + alpha=255 + autohide=0 + heightwhenhidden=2 + setdocktype=1 + setpartialstrut=1 + usefontcolor=0 + fontsize=10 + fontcolor=#cfcfcf + usefontsize=0 + background=0 + backgroundfile= + iconsize=22 + loglevel=2 +} + +Plugin { + type = menu + Config { + name=SliTazMenu.directory + image=start-here + tintcolor=#33230D + system { + } + separator { + } + item { + command=run + image=gtk-execute + } + separator { + } + item { + image=system-shutdown-panel-restart + command=logout + } + } +} + +Plugin { + type = launchbar + Config { + Button { + id=pcmanfm.desktop + } + Button { + id=sakura.desktop + } + Button { + id=netsurf.desktop + } + } +} + + +Plugin { + type = pager +} + +Plugin { + type = taskbar + expand=1 + Config { + tooltips=1 + IconsOnly=0 + AcceptSkipPager=1 + ShowIconified=1 + ShowMapped=1 + ShowAllDesks=0 + UseMouseWheel=1 + UseUrgencyHint=1 + FlatButton=0 + MaxTaskWidth=150 + spacing=1 + } +} + +Plugin { + type = xkb + Config { + DisplayType=1 + PerWinLayout=0 + NoResetOpt=0 + KeepSysLayouts=1 + Model=pc105 + LayoutsList=us + VariantsList=, + ToggleOpt=shift_caps_toggle + FlagSize=4 + } +} + +Plugin { + type = tray +} + +Plugin { + type = volumealsa +} + +Plugin { + type = netstatus + Config { + iface=eth0 + configtool=subox tazpanel network + } +} + +Plugin { + type = batt + Config { + HideIfNoBattery=1 + AlarmCommand=notify-send -u critical -i battery-caution -c battery 'Battery low' 'Please complete your work as soon as possible' + AlarmTime=10 + BackgroundColor=#404040 + BorderWidth=3 + ChargingColor1=#00A100 + ChargingColor2=#00A100 + DischargingColor1=#DB2C23 + DischargingColor2=#DB2C23 + Size=11 + } +} + +Plugin { + type = cpufreq +} + +Plugin { + type = monitors + Config { + DisplayCPU=1 + DisplayRAM=0 + CPUColor=#0000FF + } +} + +Plugin { + type = dclock + Config { + ClockFmt=%R + TooltipFmt=%c + BoldFont=1 + IconOnly=0 + CenterText=1 + } +} + +Plugin { + type = menu + Config { + name=user.directory + image=avatar-default + tintcolor=#33230D + item { + image=system-log-out-panel + name=Close X session + action=tazbox logout exit + } + item { + image=system-reboot-panel + name=Reboot system + action=tazbox logout reboot + } + item { + image=system-shutdown-panel + name=Shutdown system + action=tazbox logout halt + } + } +} diff -r dac0d3286af8 -r 417f77dae192 netsurf-buildsystem/receipt --- a/netsurf-buildsystem/receipt Wed Sep 27 16:49:12 2017 +0200 +++ b/netsurf-buildsystem/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -1,7 +1,8 @@ # SliTaz package receipt v2. PACKAGE="netsurf-buildsystem" -VERSION="1.5" +COMMIT="37bf169dab81e00fb0c3fd6b35c992684f018c11" +VERSION="1.5-170309" CATEGORY="development" SHORT_DESC="The Netsurf buildsystem" MAINTAINER="al.bobylev@gmail.com" @@ -9,22 +10,25 @@ WEB_SITE="http://source.netsurf-browser.org/buildsystem.git/" HOST_ARCH="i486 arm" -TARBALL="buildsystem-$VERSION.tar.gz" -WGET_URL="http://download.netsurf-browser.org/libs/releases/$TARBALL" +TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" +BASE_URL="http://source.netsurf-browser.org/buildsystem.git/snapshot" +if [ -n "$COMMIT" ]; then + WGET_URL="$BASE_URL/buildsystem-$COMMIT.tar.bz2" +else + WGET_URL="$BASE_URL/release/$VERSION.tar.bz2" +fi -# Rules to configure and make the package. -compile_rules() -{ - sed -i 's|-Werror||' Makefile && - make PREFIX=/usr COMPONENT_TYPE='lib-shared' && - make PREFIX=/usr COMPONENT_TYPE='lib-static' && - make install PREFIX=/usr COMPONENT_TYPE='lib-shared' DESTDIR="$install" && - make install PREFIX=/usr COMPONENT_TYPE='lib-static' DESTDIR="$install" +compile_rules() { + [ -z "$COMMIT" ] && cd $VERSION + + sed -i 's|-Werror||' Makefile + + make \ + PREFIX=/usr \ + install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { copy @std @dev DEPENDS="perl" } diff -r dac0d3286af8 -r 417f77dae192 netsurf/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/netsurf/description.txt Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,7 @@ +NetSurf is a free, open source web browser. It is written in C, has its own +layout and rendering engine entirely written from scratch. It is small and +capable of handling many of the web standards in use today. + +Whether you want to check your webmail, read the news or post to discussion +forums, NetSurf is your lightweight gateway to the world wide web. Actively +developed, NetSurf is continually evolving and improving. diff -r dac0d3286af8 -r 417f77dae192 netsurf/receipt --- a/netsurf/receipt Wed Sep 27 16:49:12 2017 +0200 +++ b/netsurf/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -1,54 +1,73 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="netsurf" -VERSION="3.3" +COMMIT="d3493b138f38c9e26da24fcffb3ef8b813e3ca4e" +VERSION="3.6-170919" CATEGORY="network" -SHORT_DESC="A simple, fast and light web browser using GTK." -MAINTAINER="pankso@slitaz.org" +SHORT_DESC="Lightweight and fast web browser" +MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL2" -TARBALL="$PACKAGE-all-$VERSION.tar.gz" WEB_SITE="http://www.netsurf-browser.org/" -WGET_URL="http://download.netsurf-browser.org/netsurf/releases/source-full/$TARBALL" -TAGS="web-browser" -DEPENDS="gtk+ libssl libpng jpeg lcms libparserutils hubbub libnsgif \ -libcurl libglade librsvg libgsf libcss libmng zlib libxml2" -BUILD_DEPENDS="$DEPENDS gtk+-dev libglade-dev openssl-dev libpng-dev \ -jpeg-dev lcms-dev re2c lemon libparserutils-dev hubbub-dev libnsgif-dev \ -librsvg-dev curl-dev pango-dev libcss-dev libwapcaplet-dev libmng-dev \ -zlib-dev libxml2-dev libcroco expat-dev gperf flex bison \ -perl-html-parser perl-html-tagset" +TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" +BASE_URL="http://source.netsurf-browser.org/$PACKAGE.git/snapshot" +if [ -n "$COMMIT" ]; then + WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2" +else + WGET_URL="$BASE_URL/release/$VERSION.tar.bz2" +fi -# Rules to configure and make the package. -compile_rules() -{ - #mv netsurf $PACKAGE-$VERSION 2>/dev/null - cd $src - cp -a $stuff/Makefile.config . - - # Fix install target - #sed -i 's/cp -vRL/cp -RL/' Makefile - #sed -i 's/cp -v/cp /' Makefile - make install DESTDIR=$DESTDIR PREFIX=/usr \ +BUILD_DEPENDS="libjpeg-turbo-dev libharu-dev duktape-dev libcss-dev libdom-dev \ +libnsutils-dev libutf8proc-dev curl-dev openssl-dev libpng16-dev libnsbmp-dev \ +libnsgif-dev libsvgtiny-dev libnspsl-dev libnslog-dev gstreamer0-dev gtk+-dev \ +check-dev perl-html-parser nsgenbind" # librsvg-dev + +compile_rules() { + [ -z "$COMMIT" ] && cd $VERSION + + # Enable NetSurf's use of gstreamer for displaying videos + echo 'override NETSURF_USE_VIDEO := YES' > Makefile.config + # Enable NetSurf's use of libharu for PDF export and GTK printing support. +# echo 'override NETSURF_USE_HARU_PDF := YES' >> Makefile.config + # Template used for constructing the User Agent: string. + # 1,2: major & minor version numbers; 3 `uname -s`; 4 `uname -m` + echo 'override NETSURF_UA_FORMAT_STRING := "NetSurf/%d.%d (SliTaz GNU/%s %s)"' >> Makefile.config + # Default home page, if one is not defined by the user. + echo 'override NETSURF_HOMEPAGE := "file:///usr/share/webhome/index.html"' >> Makefile.config + + + # fix installing + sed -i '/install \$(EXETARGET)/ s|^|#|' frontends/gtk/Makefile + + make \ + PREFIX=/usr \ + LIBDIR=lib \ + INCLUDEDIR=include \ TARGET=gtk \ - NETSURF_USE_WEBP=NO \ NETSURF_GTK_MAJOR=2 \ - NETSURF_USE_VIDEO=NO + install || return 1 + # FIXME: it is job for `make` + cp -af nsgtk $install/usr/bin/netsurf-gtk + + # desktop shortcut + mkdir -p $install/usr/share/applications + sed 's|netsurf.png|netsurf|' \ + < frontends/gtk/res/netsurf-gtk.desktop \ + > $install/usr/share/applications/netsurf-gtk.desktop + # desktop icons + mkdir -p $install/usr/share/icons + cp -r $stuff/hicolor $install/usr/share/icons + + chown -R root:root $install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share \ - $fs/usr/lib/netsurf - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/share/netsurf $fs/usr/share - +genpkg_rules() { + copy @std # Remove files to save some space - rm -rf $fs/usr/share/netsurf/docs rm -rf $fs/usr/share/netsurf/*.xpm - rm -rf $fs/usr/share/netsurf/license - # Webhome - cp -a stuff/webhome $fs/usr/share - chown -R root.root $fs + DEPENDS="atk cairo expat fontconfig freetype gdk-pixbuf glib gstreamer0 \ + gtk+ libcrypto libcss libcurl libdom libhubbub libjpeg-turbo libnsbmp \ + libnsgif libnslog libnspsl libnsutils libparserutils libpng16 libssl \ + libsvgtiny libutf8proc libwapcaplet libxml2 pango zlib" + TAGS="web-browser" } diff -r dac0d3286af8 -r 417f77dae192 netsurf/stuff/Makefile.config --- a/netsurf/stuff/Makefile.config Wed Sep 27 16:49:12 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,9 +0,0 @@ -# -# NetSurf default build configuration fro SliTaz -# - -NETSURF_USE_BMP := NO -NETSURF_UA_FORMAT_STRING := "NetSurf/%d.%d (%s; %s) SliTaz" -NETSURF_HOMEPAGE := "file:///usr/share/webhome/netsurf.html" -PREFIX := /usr - diff -r dac0d3286af8 -r 417f77dae192 netsurf/stuff/Makefile.defaults --- a/netsurf/stuff/Makefile.defaults Wed Sep 27 16:49:12 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,230 +0,0 @@ -# -# NetSurf default build configuration -# -# Some of these options support an 'AUTO' option, as well as YES and NO. -# When an option is set to AUTO, the Makefile will attempt to detect if that -# feature is available, enabling it if possible. -# -# Options marked "highly recommended" have a severe impact on NetSurf's -# use as a web browser and should be set to YES unless there is a particularly -# good reason not to. -# -# This file should be treated as INVIOLATE and only altered to alter -# the defaults by a core developer. If you wish to configure the build -# of NetSurf then instead please create a file called Makefile.config -# and simply override the statements you require in that. Remember -# that Makefile.config cannot override the TARGET. That must be set on -# the commandline. i.e. 'make TARGET=framebuffer' However -# Makefile.config can use the TARGET variable to control what to set -# the configuration options to. -# - -# ---------------------------------------------------------------------------- -# Options relating to all versions of NetSurf -# ---------------------------------------------------------------------------- - -# Enable NetSurf's use of libnsbmp for displaying BMPs and ICOs -# Valid options: YES, NO -NETSURF_USE_BMP := NO - -# Enable NetSurf's use of libnsgif for displaying GIFs -# Valid options: YES, NO (highly recommended) -NETSURF_USE_GIF := YES - -# Enable NetSurf's use of libjpeg for displaying JPEGs -# Valid options: YES, NO (highly recommended) -NETSURF_USE_JPEG := YES - -# Enable NetSurf's use of libpng for displaying PNGs. If MNG and PNG -# are both enabled then NetSurf will choose libpng for PNGs, leaving -# MNGs and JNGs to libmng. -# Valid options: YES, NO (at least one of PNG/MNG highly recommended) -NETSURF_USE_PNG := YES - -# Enable NetSurf's use of libmng for displaying MNGs, JNGs and PNGs -# Valid options: YES, NO (at least one of PNG/MNG highly recommended) -NETSURF_USE_MNG := NO - -# Enable NetSurf's use of libharu for PDF export and GTK printing support. -# There is no auto-detection available for this, as it does not have a -# pkg-config file. -# Valid options: YES, NO -NETSURF_USE_HARU_PDF := NO - -# Enable stripping the NetSurf binary -# Valid options: YES, NO -NETSURF_STRIP_BINARY := YES - -# Template used for constructing the User Agent: string. The first two -# replacements are major/minor version, second two are OS and architecture. -# Please don't be tempted to mention Mozilla here! Let's let that lie die. -NETSURF_UA_FORMAT_STRING := "NetSurf/%d.%d (%s; %s) SliTaz" - -# Default home page, if one is not defined by the user. Note that this -# option does not apply to the RISC OS version, as it has its own local -# home page, and it can be changed by editing the end of gui_init2() in -# riscos/gui.c -NETSURF_HOMEPAGE := "file:///usr/share/webhome/netsurf.html" - -# Force using glibc internal iconv implementation instead of external libiconv -# Valid options: YES, NO -NETSURF_USE_LIBICONV_PLUG := YES - -# Initial CFLAGS. Optimisation level etc. tend to be target specific. -CFLAGS := - -# Default installation/execution prefix -PREFIX := /usr - -# ---------------------------------------------------------------------------- -# RISC OS-specific options -# ---------------------------------------------------------------------------- -ifeq ($(TARGET),riscos) - - # Enable NetSurf's use of libsvgtiny for displaying SVGs - # Valid options: YES, NO - NETSURF_USE_NSSVG := YES - - # Enable NetSurf's use of pencil for Drawfile export - # Valid options: YES, NO - NETSURF_USE_DRAW := YES - - # Enable NetSurf's support for displaying RISC OS Sprites - # Valid options: YES, NO - NETSURF_USE_SPRITE := YES - - # Enable NetSurf's use of AWRender for displaying ArtWorks files - # Valid options: YES, NO - NETSURF_USE_ARTWORKS := YES - - # Enable NetSurf's support for the Acorn plugin protocol - # Valid options: YES, NO - NETSURF_USE_PLUGINS := NO - - # Optimisation levels - CFLAGS += -O2 -Wuninitialized - -endif - -# ---------------------------------------------------------------------------- -# GTK-specific options -# ---------------------------------------------------------------------------- -ifeq ($(TARGET),gtk) - - # Where to search for NetSurf's resources after looking in ~/.netsurf and - # $NETSURFRES. It must have a trailing / - NETSURF_GTK_RESOURCES := $(PREFIX)/share/netsurf/ - - # Where to install the netsurf binary - NETSURF_GTK_BIN := $(PREFIX)/bin/ - - # Enable NetSurf's use of librsvg in conjunction with Cairo to display SVGs - # Valid options: YES, NO, AUTO - NETSURF_USE_RSVG := AUTO - - # Enable NetSurf's use of librosprite for displaying RISC OS Sprites - # Valid options: YES, NO, AUTO - NETSURF_USE_ROSPRITE := AUTO - - # Configuration overrides for Mac OS X - ifeq ($(HOST),macosx) - NETSURF_USE_LIBICONV_PLUG := NO - NETSURF_USE_HARU_PDF := NO - endif - - # Optimisation levels - CFLAGS += -O2 -Wuninitialized - -endif - -# ---------------------------------------------------------------------------- -# BeOS-specific options -# ---------------------------------------------------------------------------- -ifeq ($(TARGET),beos) - - - # Where to install the netsurf binary - NETSURF_BEOS_BIN := /boot/apps/netsurf/ - - # TODO:HAIKU -- not sure if ~/.netsurf applies in beos - # Where to search for NetSurf's resources after looking in ~/.netsurf and - # $NETSURFRES. It must have a trailing / - NETSURF_BEOS_RESOURCES := /boot/apps/netsurf/res/ - - # Enable NetSurf's use of librosprite for displaying RISC OS Sprites - # Valid options: YES, NO, AUTO - NETSURF_USE_ROSPRITE := AUTO - - # Enable NetSurf's use of libharu for PDF export. - # Valid options: YES, NO - NETSURF_USE_HARU_PDF := NO - - # Force using glibc internal iconv implementation instead of external libiconv - # Valid options: YES, NO - NETSURF_USE_LIBICONV_PLUG := NO - - # Optimisation levels - CFLAGS += -O2 -Wuninitialized - -endif - -# ---------------------------------------------------------------------------- -# Amiga-specific options -# ---------------------------------------------------------------------------- -ifeq ($(TARGET),amiga) - - # Enable NetSurf's use of librosprite for displaying RISC OS Sprites - # Valid options: YES, NO, AUTO - NETSURF_USE_ROSPRITE := YES - - # Enable NetSurf's use of libsvgtiny for displaying SVGs - # (NB: Requires NETSURF_AMIGA_USE_CAIRO) - # Valid options: YES, NO - NETSURF_USE_NSSVG := NO - - # Enable NetSurf's use of libcairo for some plotter functions - # This will also link NetSurf with shared objects, and - # requires AmigaOS 4.1 or higher to run the resulting executable - # Valid options: YES, NO - NETSURF_AMIGA_USE_CAIRO := NO - - # Optimisation levels - CFLAGS += -O2 -Wuninitialized - -endif - -# ---------------------------------------------------------------------------- -# Framebuffer-target-specific options -# ---------------------------------------------------------------------------- -ifeq ($(TARGET),framebuffer) - # Optimisation levels - CFLAGS += -O2 -Wuninitialized - - # Framebuffer frontend. - # Valid values are: linux, sdl, vnc, able - NETSURF_FB_FRONTEND := linux - - # Use libharu to enable PDF export and GTK printing support. - # Valid options: YES, NO - NETSURF_USE_HARU_PDF := NO - - # Library to use for font plotting - # Valid options: internal, freetype - NETSURF_FB_FONTLIB := internal - - # Framebuffer frontends may have differing root paths for resources - # As such, these specify the resource path and config path. - NETSURF_FB_RESPATH_linux := $(PREFIX)/share/netsurf/ - NETSURF_FB_RESPATH_able := (tftpboot)/ - NETSURF_FB_RESPATH_dummy := ./ - NETSURF_FB_RESPATH_sdl := $(PREFIX)/share/netsurf/ - NETSURF_FB_RESPATH_vnc := $(PREFIX)/share/netsurf/ - - NETSURF_FRAMEBUFFER_RESOURCES = $(NETSURF_FB_RESPATH_$(NETSURF_FB_FRONTEND)) - NETSURF_FRAMEBUFFER_BIN := $(PREFIX)/bin/ - -endif - -# Include any local configuration --include Makefile.config - diff -r dac0d3286af8 -r 417f77dae192 netsurf/stuff/hicolor/16x16/apps/netsurf.png Binary file netsurf/stuff/hicolor/16x16/apps/netsurf.png has changed diff -r dac0d3286af8 -r 417f77dae192 netsurf/stuff/hicolor/48x48/apps/netsurf.png Binary file netsurf/stuff/hicolor/48x48/apps/netsurf.png has changed diff -r dac0d3286af8 -r 417f77dae192 netsurf/stuff/netsurf.desktop --- a/netsurf/stuff/netsurf.desktop Wed Sep 27 16:49:12 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -[Desktop Entry] -Name=NetSurf Web Browser -Name[de]=Netznavigator NetSurf -Name[fr]=Navigateur Web NetSurf -Name[pt]=Navegador Web NetSurf -Name[pt_BR]=Navegador Web NetSurf -Type=Application -Categories=Network; -MimeType=text/html;application/xhtml+xml; -Exec=netsurf %u -Icon=netsurf diff -r dac0d3286af8 -r 417f77dae192 netsurf/stuff/netsurf.png Binary file netsurf/stuff/netsurf.png has changed diff -r dac0d3286af8 -r 417f77dae192 netsurf/stuff/oldstuff/Makefile.config --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/netsurf/stuff/oldstuff/Makefile.config Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,9 @@ +# +# NetSurf default build configuration fro SliTaz +# + +NETSURF_USE_BMP := NO +NETSURF_UA_FORMAT_STRING := "NetSurf/%d.%d (%s; %s) SliTaz" +NETSURF_HOMEPAGE := "file:///usr/share/webhome/netsurf.html" +PREFIX := /usr + diff -r dac0d3286af8 -r 417f77dae192 netsurf/stuff/oldstuff/Makefile.defaults --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/netsurf/stuff/oldstuff/Makefile.defaults Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,230 @@ +# +# NetSurf default build configuration +# +# Some of these options support an 'AUTO' option, as well as YES and NO. +# When an option is set to AUTO, the Makefile will attempt to detect if that +# feature is available, enabling it if possible. +# +# Options marked "highly recommended" have a severe impact on NetSurf's +# use as a web browser and should be set to YES unless there is a particularly +# good reason not to. +# +# This file should be treated as INVIOLATE and only altered to alter +# the defaults by a core developer. If you wish to configure the build +# of NetSurf then instead please create a file called Makefile.config +# and simply override the statements you require in that. Remember +# that Makefile.config cannot override the TARGET. That must be set on +# the commandline. i.e. 'make TARGET=framebuffer' However +# Makefile.config can use the TARGET variable to control what to set +# the configuration options to. +# + +# ---------------------------------------------------------------------------- +# Options relating to all versions of NetSurf +# ---------------------------------------------------------------------------- + +# Enable NetSurf's use of libnsbmp for displaying BMPs and ICOs +# Valid options: YES, NO +NETSURF_USE_BMP := NO + +# Enable NetSurf's use of libnsgif for displaying GIFs +# Valid options: YES, NO (highly recommended) +NETSURF_USE_GIF := YES + +# Enable NetSurf's use of libjpeg for displaying JPEGs +# Valid options: YES, NO (highly recommended) +NETSURF_USE_JPEG := YES + +# Enable NetSurf's use of libpng for displaying PNGs. If MNG and PNG +# are both enabled then NetSurf will choose libpng for PNGs, leaving +# MNGs and JNGs to libmng. +# Valid options: YES, NO (at least one of PNG/MNG highly recommended) +NETSURF_USE_PNG := YES + +# Enable NetSurf's use of libmng for displaying MNGs, JNGs and PNGs +# Valid options: YES, NO (at least one of PNG/MNG highly recommended) +NETSURF_USE_MNG := NO + +# Enable NetSurf's use of libharu for PDF export and GTK printing support. +# There is no auto-detection available for this, as it does not have a +# pkg-config file. +# Valid options: YES, NO +NETSURF_USE_HARU_PDF := NO + +# Enable stripping the NetSurf binary +# Valid options: YES, NO +NETSURF_STRIP_BINARY := YES + +# Template used for constructing the User Agent: string. The first two +# replacements are major/minor version, second two are OS and architecture. +# Please don't be tempted to mention Mozilla here! Let's let that lie die. +NETSURF_UA_FORMAT_STRING := "NetSurf/%d.%d (%s; %s) SliTaz" + +# Default home page, if one is not defined by the user. Note that this +# option does not apply to the RISC OS version, as it has its own local +# home page, and it can be changed by editing the end of gui_init2() in +# riscos/gui.c +NETSURF_HOMEPAGE := "file:///usr/share/webhome/netsurf.html" + +# Force using glibc internal iconv implementation instead of external libiconv +# Valid options: YES, NO +NETSURF_USE_LIBICONV_PLUG := YES + +# Initial CFLAGS. Optimisation level etc. tend to be target specific. +CFLAGS := + +# Default installation/execution prefix +PREFIX := /usr + +# ---------------------------------------------------------------------------- +# RISC OS-specific options +# ---------------------------------------------------------------------------- +ifeq ($(TARGET),riscos) + + # Enable NetSurf's use of libsvgtiny for displaying SVGs + # Valid options: YES, NO + NETSURF_USE_NSSVG := YES + + # Enable NetSurf's use of pencil for Drawfile export + # Valid options: YES, NO + NETSURF_USE_DRAW := YES + + # Enable NetSurf's support for displaying RISC OS Sprites + # Valid options: YES, NO + NETSURF_USE_SPRITE := YES + + # Enable NetSurf's use of AWRender for displaying ArtWorks files + # Valid options: YES, NO + NETSURF_USE_ARTWORKS := YES + + # Enable NetSurf's support for the Acorn plugin protocol + # Valid options: YES, NO + NETSURF_USE_PLUGINS := NO + + # Optimisation levels + CFLAGS += -O2 -Wuninitialized + +endif + +# ---------------------------------------------------------------------------- +# GTK-specific options +# ---------------------------------------------------------------------------- +ifeq ($(TARGET),gtk) + + # Where to search for NetSurf's resources after looking in ~/.netsurf and + # $NETSURFRES. It must have a trailing / + NETSURF_GTK_RESOURCES := $(PREFIX)/share/netsurf/ + + # Where to install the netsurf binary + NETSURF_GTK_BIN := $(PREFIX)/bin/ + + # Enable NetSurf's use of librsvg in conjunction with Cairo to display SVGs + # Valid options: YES, NO, AUTO + NETSURF_USE_RSVG := AUTO + + # Enable NetSurf's use of librosprite for displaying RISC OS Sprites + # Valid options: YES, NO, AUTO + NETSURF_USE_ROSPRITE := AUTO + + # Configuration overrides for Mac OS X + ifeq ($(HOST),macosx) + NETSURF_USE_LIBICONV_PLUG := NO + NETSURF_USE_HARU_PDF := NO + endif + + # Optimisation levels + CFLAGS += -O2 -Wuninitialized + +endif + +# ---------------------------------------------------------------------------- +# BeOS-specific options +# ---------------------------------------------------------------------------- +ifeq ($(TARGET),beos) + + + # Where to install the netsurf binary + NETSURF_BEOS_BIN := /boot/apps/netsurf/ + + # TODO:HAIKU -- not sure if ~/.netsurf applies in beos + # Where to search for NetSurf's resources after looking in ~/.netsurf and + # $NETSURFRES. It must have a trailing / + NETSURF_BEOS_RESOURCES := /boot/apps/netsurf/res/ + + # Enable NetSurf's use of librosprite for displaying RISC OS Sprites + # Valid options: YES, NO, AUTO + NETSURF_USE_ROSPRITE := AUTO + + # Enable NetSurf's use of libharu for PDF export. + # Valid options: YES, NO + NETSURF_USE_HARU_PDF := NO + + # Force using glibc internal iconv implementation instead of external libiconv + # Valid options: YES, NO + NETSURF_USE_LIBICONV_PLUG := NO + + # Optimisation levels + CFLAGS += -O2 -Wuninitialized + +endif + +# ---------------------------------------------------------------------------- +# Amiga-specific options +# ---------------------------------------------------------------------------- +ifeq ($(TARGET),amiga) + + # Enable NetSurf's use of librosprite for displaying RISC OS Sprites + # Valid options: YES, NO, AUTO + NETSURF_USE_ROSPRITE := YES + + # Enable NetSurf's use of libsvgtiny for displaying SVGs + # (NB: Requires NETSURF_AMIGA_USE_CAIRO) + # Valid options: YES, NO + NETSURF_USE_NSSVG := NO + + # Enable NetSurf's use of libcairo for some plotter functions + # This will also link NetSurf with shared objects, and + # requires AmigaOS 4.1 or higher to run the resulting executable + # Valid options: YES, NO + NETSURF_AMIGA_USE_CAIRO := NO + + # Optimisation levels + CFLAGS += -O2 -Wuninitialized + +endif + +# ---------------------------------------------------------------------------- +# Framebuffer-target-specific options +# ---------------------------------------------------------------------------- +ifeq ($(TARGET),framebuffer) + # Optimisation levels + CFLAGS += -O2 -Wuninitialized + + # Framebuffer frontend. + # Valid values are: linux, sdl, vnc, able + NETSURF_FB_FRONTEND := linux + + # Use libharu to enable PDF export and GTK printing support. + # Valid options: YES, NO + NETSURF_USE_HARU_PDF := NO + + # Library to use for font plotting + # Valid options: internal, freetype + NETSURF_FB_FONTLIB := internal + + # Framebuffer frontends may have differing root paths for resources + # As such, these specify the resource path and config path. + NETSURF_FB_RESPATH_linux := $(PREFIX)/share/netsurf/ + NETSURF_FB_RESPATH_able := (tftpboot)/ + NETSURF_FB_RESPATH_dummy := ./ + NETSURF_FB_RESPATH_sdl := $(PREFIX)/share/netsurf/ + NETSURF_FB_RESPATH_vnc := $(PREFIX)/share/netsurf/ + + NETSURF_FRAMEBUFFER_RESOURCES = $(NETSURF_FB_RESPATH_$(NETSURF_FB_FRONTEND)) + NETSURF_FRAMEBUFFER_BIN := $(PREFIX)/bin/ + +endif + +# Include any local configuration +-include Makefile.config + diff -r dac0d3286af8 -r 417f77dae192 netsurf/stuff/oldstuff/netsurf.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/netsurf/stuff/oldstuff/netsurf.desktop Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=NetSurf Web Browser +Name[de]=Netznavigator NetSurf +Name[fr]=Navigateur Web NetSurf +Name[pt]=Navegador Web NetSurf +Name[pt_BR]=Navegador Web NetSurf +Type=Application +Categories=Network; +MimeType=text/html;application/xhtml+xml; +Exec=netsurf %u +Icon=netsurf diff -r dac0d3286af8 -r 417f77dae192 netsurf/stuff/oldstuff/netsurf.png Binary file netsurf/stuff/oldstuff/netsurf.png has changed diff -r dac0d3286af8 -r 417f77dae192 netsurf/stuff/oldstuff/webhome/netsurf.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/netsurf/stuff/oldstuff/webhome/netsurf.html Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,76 @@ + + + + SliTaz - Web Homepage + + + + + + + + + + +
+ + +
+ + + + + + + +
+ SliTaz @ + Twitter + Facebook + Distrowatch + Wikipedia + Flattr +
+ + +
+ + + diff -r dac0d3286af8 -r 417f77dae192 netsurf/stuff/oldstuff/webhome/style.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/netsurf/stuff/oldstuff/webhome/style.css Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,80 @@ +/* CSS style for SliTaz GNU/Linux generic xHTML files. */ + +html { min-height: 102%; } + +body { + background: #ffffff; + color: black; + font: 13px sans-serif, vernada, arial; + margin: 0; + min-width: 640px; +} + +a { text-decoration: underline; color: #215090; } +a:hover { text-decoration: none; color: blue; } +img { border: 0pt none; vertical-align: middle; } +h2 { color: #444; } +h3 { color: #666; font-size: 140%; } + +#header { + height: 40px; + background: #351a0a; +} + +#header h1 { + margin: 0; + padding: 8px 0 0 8px; + width: 250px; + color: white; + font-size: 20px; + font-style: italic; +} + +#header h1 a { + color: white; + text-decoration: none; + font-size: 20px; + font-style: italic; +} + +#header h1 a:hover, #network a:hover { + color: #d66018; +} + +#network { + float: right; + padding: 12px 5px 0; + font-size: 12px; +} + +#network a { padding: 0 6px; } + +#network a { + color: #fff; + font-weight: bold; + text-decoration: none; +} + +#block { + height: 8px; + background: #d66018; + padding: 0; + border-bottom: 1px solid #f5f5f5; +} + +#content { + padding: 30px 80px; + text-align: justify; +} + +#social { text-align: center; color: #666; } +#social a { color: #666; padding: 0 2px; } + +#footer { + text-align: center; + border-top: 1px solid #ddd; + padding: 40px; + color: #666; +} + +#footer a { color: #666; padding: 0 2px; } diff -r dac0d3286af8 -r 417f77dae192 netsurf/stuff/patches/headers.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/netsurf/stuff/patches/headers.patch Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,42 @@ +desktop/font.h -> desktop/gui_layout.h +http://git.netsurf-browser.org/netsurf.git/commit/?id=974a4a21e16a2da85a66aae9b80eeca15ca26dd6 + +desktop/gui_layout.h -> include/netsurf/layout.h +http://git.netsurf-browser.org/netsurf.git/commit/?id=9ce71876ce500e242e2384c21abb38a8f431138b + +desktop/gui_misc.h -> include/netsurf/misc.h +http://git.netsurf-browser.org/netsurf.git/commit/?id=fe7eb85614244d5e0659c88431fbd9726fa33051 + +--- a/desktop/font_haru.c ++++ b/desktop/font_haru.c +@@ -38,7 +38,7 @@ + + #include "utils/nsoption.h" + #include "desktop/font_haru.h" +-#include "desktop/font.h" ++#include "netsurf/layout.h" + #include "utils/log.h" + + +--- a/desktop/font_haru.h ++++ b/desktop/font_haru.h +@@ -27,7 +27,7 @@ + #include + + #include "desktop/plot_style.h" +-#include "desktop/font.h" ++#include "netsurf/layout.h" + + bool haru_nsfont_apply_style(const plot_font_style_t *fstyle, + HPDF_Doc doc, HPDF_Page page, +--- a/desktop/save_pdf.c ++++ b/desktop/save_pdf.c +@@ -60,7 +60,7 @@ + #include "utils/useragent.h" + #include "content/hlcache.h" + #include "utils/nsoption.h" +-#include "desktop/gui_misc.h" ++#include "netsurf/misc.h" + #include "desktop/gui_internal.h" + #include "netsurf/bitmap.h" + diff -r dac0d3286af8 -r 417f77dae192 netsurf/stuff/patches/netsurf-3.6-CFLAGS.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/netsurf/stuff/patches/netsurf-3.6-CFLAGS.patch Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,67 @@ +--- a/Makefile.defaults ++++ b/Makefile.defaults +@@ -96,12 +96,6 @@ + # Valid options: YES, NO + NETSURF_FS_BACKING_STORE := NO + +-# Initial CFLAGS. Optimisation level etc. tend to be target specific. +-CFLAGS := +- +-# Initial CXXFLAGS. Optimisation level etc. tend to be target specific. +-CXXFLAGS := +- + # Default installation/execution prefix + PREFIX ?= /usr/local + +--- a/frontends/framebuffer/Makefile ++++ b/frontends/framebuffer/Makefile +@@ -20,7 +20,7 @@ + CFLAGS += '-DNETSURF_FB_FONT_CURSIVE="$(NETSURF_FB_FONT_CURSIVE)"' + CFLAGS += '-DNETSURF_FB_FONT_FANTASY="$(NETSURF_FB_FONT_FANTASY)"' + +-CFLAGS += -std=c99 -g -Dsmall \ ++CFLAGS += -std=c99 -Dsmall \ + -D_BSD_SOURCE \ + -D_DEFAULT_SOURCE \ + -D_XOPEN_SOURCE=600 \ +--- a/frontends/framebuffer/Makefile.defaults ++++ b/frontends/framebuffer/Makefile.defaults +@@ -3,7 +3,7 @@ + # ---------------------------------------------------------------------------- + + # Optimisation levels +-CFLAGS += -O2 ++CFLAGS += + + # Framebuffer default surface provider. + # Valid values are: x, sdl, linux, vnc, able, +--- a/frontends/gtk/Makefile ++++ b/frontends/gtk/Makefile +@@ -33,7 +33,7 @@ + endif + + +-GTKCFLAGS := -std=c99 -Dgtk -Dnsgtk -g \ ++GTKCFLAGS := -std=c99 -Dgtk -Dnsgtk \ + $(GTKDEPFLAGS) \ + -D_BSD_SOURCE \ + -D_DEFAULT_SOURCE \ +--- a/frontends/gtk/Makefile.defaults ++++ b/frontends/gtk/Makefile.defaults +@@ -39,4 +39,4 @@ + NETSURF_GTK_MAJOR ?= 2 + + # Optimisation levels +-CFLAGS += -O2 ++CFLAGS += +--- a/test/Makefile ++++ b/test/Makefile +@@ -105,7 +105,7 @@ + COMMON_WARNFLAGS += -Wno-unused-parameter + endif + +-TESTCFLAGS := -std=c99 -g \ ++TESTCFLAGS := -std=c99 \ + $(COMMON_WARNFLAGS) \ + -D_BSD_SOURCE \ + -D_POSIX_C_SOURCE=200809L \ diff -r dac0d3286af8 -r 417f77dae192 netsurf/stuff/patches/netsurf-3.6-conditionally-include-image-headers.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/netsurf/stuff/patches/netsurf-3.6-conditionally-include-image-headers.patch Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,31 @@ +--- a/content/handlers/image/image.c ++++ b/content/handlers/image/image.c +@@ -27,14 +27,28 @@ + #include "netsurf/content.h" + #include "desktop/gui_internal.h" + ++#ifdef WITH_BMP + #include "image/bmp.h" ++#endif ++#ifdef WITH_GIF + #include "image/gif.h" ++#endif + #include "image/ico.h" ++#ifdef WITH_JPEG + #include "image/jpeg.h" ++#endif ++#ifdef WITH_NSSPRITE + #include "image/nssprite.h" ++#endif ++#ifdef WITH_PNG + #include "image/png.h" ++#endif ++#ifdef WITH_RSVG + #include "image/rsvg.h" ++#endif ++#ifdef WITH_NS_SVG + #include "image/svg.h" ++#endif + #include "image/image.h" + + /** diff -r dac0d3286af8 -r 417f77dae192 netsurf/stuff/patches/netsurf-3.6-gstreamer.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/netsurf/stuff/patches/netsurf-3.6-gstreamer.patch Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,31 @@ +--- a/frontends/gtk/Makefile ++++ b/frontends/gtk/Makefile +@@ -16,7 +16,6 @@ + + # GTK and GLIB flags to disable depricated usage + GTKDEPFLAGS := -DG_DISABLE_SINGLE_INCLUDES \ +- -DG_DISABLE_DEPRECATED \ + -DGTK_DISABLE_SINGLE_INCLUDES \ + -DGTK_MULTIHEAD_SAFE \ + -DPANGO_DISABLE_DEPRECATED +--- a/content/handlers/image/video.c ++++ b/content/handlers/image/video.c +@@ -22,6 +22,8 @@ + #include "content/content_protected.h" + + #include "image/video.h" ++#include "utils/http/parameter.h" ++#include "content/llcache.h" + + typedef struct nsvideo_content { + struct content base; +--- a/content/content_factory.h ++++ b/content/content_factory.h +@@ -25,6 +25,7 @@ + + #include "netsurf/content_type.h" + #include "utils/errors.h" ++#include "utils/utils.h" + + #define CONTENT_FACTORY_REGISTER_TYPES(HNAME, HTYPELIST, HHANDLER) \ + \ diff -r dac0d3286af8 -r 417f77dae192 netsurf/stuff/patches/netsurf-3.6-pdf-writer.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/netsurf/stuff/patches/netsurf-3.6-pdf-writer.patch Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,80 @@ +--- a/desktop/font_haru.c ++++ b/desktop/font_haru.c +@@ -37,7 +37,7 @@ + #include + + #include "utils/nsoption.h" +-#include "desktop/save_pdf/font_haru.h" ++#include "desktop/font_haru.h" + #include "desktop/font.h" + #include "utils/log.h" + +--- a/desktop/save_pdf.c ++++ b/desktop/save_pdf.c +@@ -60,6 +60,8 @@ + #include "utils/useragent.h" + #include "content/hlcache.h" + #include "utils/nsoption.h" ++#include "desktop/gui_misc.h" ++#include "desktop/gui_internal.h" + #include "netsurf/bitmap.h" + + #include "netsurf/plotters.h" +@@ -450,11 +452,6 @@ + + switch(content_get_type(content)){ + /*Handle "embeddable" types of images*/ +- case CONTENT_JPEG: +- image = HPDF_LoadJpegImageFromMem(pdf_doc, +- (const HPDF_BYTE *) source_data, +- source_size); +- break; + + /*Disabled until HARU PNG support will be more stable. + +@@ -700,7 +697,7 @@ + + + #ifndef PDF_DEBUG +- if (option_enable_PDF_compression) ++ if (nsoption_bool(enable_PDF_compression)) + HPDF_SetCompressionMode(pdf_doc, HPDF_COMP_ALL); /*Compression on*/ + #endif + HPDF_SetInfoAttr(pdf_doc, HPDF_INFO_CREATOR, user_agent_string()); +@@ -774,7 +771,7 @@ + assert(settings->output != NULL); + + /*Encryption on*/ +- if (option_enable_PDF_password) ++ if (nsoption_bool(enable_PDF_password)) + guit->misc->pdf_password(&owner_pass, &user_pass, + (void *)settings->output); + else +@@ -789,7 +786,7 @@ + { + nserror res = NSERROR_OK; + +- if (option_enable_PDF_password && owner_pass != NULL ) { ++ if (nsoption_bool(enable_PDF_password) && owner_pass != NULL ) { + HPDF_SetPassword(pdf_doc, owner_pass, user_pass); + HPDF_SetEncryptionMode(pdf_doc, HPDF_ENCRYPT_R3, 16); + free(owner_pass); +--- a/frontends/gtk/scaffolding.c ++++ b/frontends/gtk/scaffolding.c +@@ -731,14 +731,14 @@ + + free(url_name); + +- strncpy(dirname, option_downloads_directory, PATH_MAX); ++ strncpy(dirname, nsoption_charp(downloads_directory), PATH_MAX); + strncat(dirname, "/", PATH_MAX - strlen(dirname)); + dirname[PATH_MAX - 1] = '\0'; + + /* this way the scale used by PDF functions is synchronized with that + * used by the all-purpose print interface + */ +- haru_nsfont_set_scale((float)option_export_scale / 100); ++ haru_nsfont_set_scale((float)nsoption_int(export_scale) / 100); + + save_dialog = gtk_file_chooser_dialog_new("Export to PDF", g->window, + GTK_FILE_CHOOSER_ACTION_SAVE, diff -r dac0d3286af8 -r 417f77dae192 netsurf/stuff/patches/openssl.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/netsurf/stuff/patches/openssl.patch Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,72 @@ +From e8a9e3744523671228fef385ce7e1e11f93283b0 Mon Sep 17 00:00:00 2001 +From: Vincent Sanders +Date: Sun, 20 Nov 2016 12:14:36 +0000 +Subject: fix openSSL 1.1.0 X509 certificate handling + +--- +diff --git a/content/fetchers/curl.c b/content/fetchers/curl.c +index 66970ef..7ddf512 100644 +--- a/content/fetchers/curl.c ++++ b/content/fetchers/curl.c +@@ -128,6 +128,26 @@ static char fetch_error_buffer[CURL_ERROR_SIZE]; + static char fetch_proxy_userpwd[100]; + + ++/* OpenSSL 1.0.x to 1.1.0 certificate reference counting changed */ ++#if (OPENSSL_VERSION_NUMBER < 0x1010000fL) ++static int ns_X509_up_ref(X509 *cert) ++{ ++ cert->references++; ++ return 1; ++} ++ ++static void ns_X509_free(X509 *cert) ++{ ++ cert->references--; ++ if (cert->references == 0) { ++ X509_free(cert); ++ } ++} ++#else ++#define ns_X509_up_ref X509_up_ref ++#define ns_X509_free X509_free ++#endif ++ + /** + * Initialise a cURL fetcher. + */ +@@ -438,7 +458,7 @@ fetch_curl_verify_callback(int verify_ok, X509_STORE_CTX *x509_ctx) + */ + if (!fetch->cert_data[depth].cert) { + fetch->cert_data[depth].cert = X509_STORE_CTX_get_current_cert(x509_ctx); +- fetch->cert_data[depth].cert->references++; ++ ns_X509_up_ref(fetch->cert_data[depth].cert); + fetch->cert_data[depth].err = X509_STORE_CTX_get_error(x509_ctx); + } + +@@ -815,10 +835,7 @@ static void fetch_curl_free(void *vf) + } + + for (i = 0; i < MAX_CERTS && f->cert_data[i].cert; i++) { +- f->cert_data[i].cert->references--; +- if (f->cert_data[i].cert->references == 0) { +- X509_free(f->cert_data[i].cert); +- } ++ ns_X509_free(f->cert_data[i].cert); + } + + free(f); +@@ -986,10 +1003,7 @@ curl_start_cert_validate(struct curl_fetch_info *f, + X509_get_pubkey(certs[depth].cert)); + + /* and clean up */ +- certs[depth].cert->references--; +- if (certs[depth].cert->references == 0) { +- X509_free(certs[depth].cert); +- } ++ ns_X509_free(certs[depth].cert); + } + + msg.type = FETCH_CERT_ERR; +-- +cgit v0.9.0.3-65-g4555 diff -r dac0d3286af8 -r 417f77dae192 netsurf/stuff/patches/series --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/netsurf/stuff/patches/series Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,11 @@ +# from https://www.archlinux.org/packages/community/i686/netsurf/ +#openssl.patch + +# from https://gitweb.gentoo.org/repo/gentoo.git/tree/www-client/netsurf/files +# (modified files placing) +#netsurf-3.6-CFLAGS.patch +#netsurf-3.6-conditionally-include-image-headers.patch +#netsurf-3.6-pdf-writer.patch +netsurf-3.6-gstreamer.patch + +#headers.patch diff -r dac0d3286af8 -r 417f77dae192 netsurf/stuff/webhome/netsurf.html --- a/netsurf/stuff/webhome/netsurf.html Wed Sep 27 16:49:12 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,76 +0,0 @@ - - - - SliTaz - Web Homepage - - - - - - - - - - -
- - -
- - - - - - - -
- SliTaz @ - Twitter - Facebook - Distrowatch - Wikipedia - Flattr -
- - -
- - - diff -r dac0d3286af8 -r 417f77dae192 netsurf/stuff/webhome/style.css --- a/netsurf/stuff/webhome/style.css Wed Sep 27 16:49:12 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,80 +0,0 @@ -/* CSS style for SliTaz GNU/Linux generic xHTML files. */ - -html { min-height: 102%; } - -body { - background: #ffffff; - color: black; - font: 13px sans-serif, vernada, arial; - margin: 0; - min-width: 640px; -} - -a { text-decoration: underline; color: #215090; } -a:hover { text-decoration: none; color: blue; } -img { border: 0pt none; vertical-align: middle; } -h2 { color: #444; } -h3 { color: #666; font-size: 140%; } - -#header { - height: 40px; - background: #351a0a; -} - -#header h1 { - margin: 0; - padding: 8px 0 0 8px; - width: 250px; - color: white; - font-size: 20px; - font-style: italic; -} - -#header h1 a { - color: white; - text-decoration: none; - font-size: 20px; - font-style: italic; -} - -#header h1 a:hover, #network a:hover { - color: #d66018; -} - -#network { - float: right; - padding: 12px 5px 0; - font-size: 12px; -} - -#network a { padding: 0 6px; } - -#network a { - color: #fff; - font-weight: bold; - text-decoration: none; -} - -#block { - height: 8px; - background: #d66018; - padding: 0; - border-bottom: 1px solid #f5f5f5; -} - -#content { - padding: 30px 80px; - text-align: justify; -} - -#social { text-align: center; color: #666; } -#social a { color: #666; padding: 0 2px; } - -#footer { - text-align: center; - border-top: 1px solid #ddd; - padding: 40px; - color: #666; -} - -#footer a { color: #666; padding: 0 2px; } diff -r dac0d3286af8 -r 417f77dae192 nsgenbind/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nsgenbind/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,32 @@ +# SliTaz package receipt v2. + +PACKAGE="nsgenbind" +COMMIT="dd752ec19370014f7b222f4983c52ddbbe3e66cf" +VERSION="0.4-170323" +CATEGORY="libs" +SHORT_DESC="NetSurf JavaScript binding generator" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL" +WEB_SITE="http://git.netsurf-browser.org/nsgenbind.git/" + +TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" +BASE_URL="http://git.netsurf-browser.org/$PACKAGE.git/snapshot" +if [ -n "$COMMIT" ]; then + WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2" +else + WGET_URL="$BASE_URL/release/$VERSION.tar.bz2" +fi + +BUILD_DEPENDS="netsurf-buildsystem" + +compile_rules() { + [ -z "$COMMIT" ] && cd $VERSION + + make \ + PREFIX=/usr \ + install +} + +genpkg_rules() { + copy @std +} diff -r dac0d3286af8 -r 417f77dae192 opusfile/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/opusfile/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,32 @@ +# SliTaz package receipt v2. + +PACKAGE="opusfile" +VERSION="0.9" +CATEGORY="multimedia" +SHORT_DESC="Library for opening, seeking, and decoding .opus files" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="BSD" +WEB_SITE="https://opus-codec.org/" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://downloads.xiph.org/releases/opus/$TARBALL" + +BUILD_DEPENDS="openssl-dev libogg-dev opus-dev" +SPLIT="opusfile-dev" + +compile_rules() { + ./configure $CONFIGURE_ARGS && make && make install +} + +genpkg_rules() { + case $PACKAGE in + opusfile) + copy @std + DEPENDS="libcrypto libogg libssl opus" + ;; + *-dev) + copy @dev + DEPENDS="opusfile libogg-dev openssl-dev opus-dev" + ;; + esac +} diff -r dac0d3286af8 -r 417f77dae192 slitaz-configs/receipt --- a/slitaz-configs/receipt Wed Sep 27 16:49:12 2017 +0200 +++ b/slitaz-configs/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="slitaz-configs" -VERSION="309" +VERSION="312" CATEGORY="base-system" SHORT_DESC="SliTaz config files" MAINTAINER="pankso@slitaz.org" @@ -13,7 +13,8 @@ WGET_URL="http://hg.slitaz.org/slitaz-configs/archive/$VERSION.tar.bz2" BUILD_DEPENDS_arm="gettext" -BUILD_DEPENDS="locale-fr locale-pt_BR locale-ru gettext" +BUILD_DEPENDS="locale-de locale-en locale-fr locale-hu locale-ja locale-pt_BR \ +locale-ru locale-zh_CN gettext" SPLIT="slitaz-themes slitaz-configs-base" # Rules to configure and make the package. @@ -25,6 +26,7 @@ ln -s menu.en.xml $install/etc/xdg/openbox/menu.xml ;; esac + find /usr/share/locale -type f -name 'slitaz*' cp -a $src/rootfs/* $install @@ -32,16 +34,35 @@ mkdir -p $install/etc/skel/.config/slitaz/ cp -a $install/etc/slitaz/applications.conf $install/etc/skel/.config/slitaz/ - # Put LXPanel profile to /etc/skel for new users - mkdir -p $install/etc/skel/.config/lxpanel - cp -a $install/etc/lxpanel/slitaz $install/etc/skel/.config/lxpanel + cd $install/etc/skel + mkdir -p Desktop Documents Downloads Images Music Public Templates Videos - # Add XDG user directories - for dir in Desktop Documents Downloads Images Music Public Templates Videos; do - mkdir -p $install/etc/skel/$dir - done + # actually isolinux splash is png + mv $install/boot/isolinux/splash.jpg $install/boot/isolinux/splash.png - mv $install/boot/isolinux/splash.jpg $install/boot/isolinux/splash.png + # LXPanel settings are in lxpanel package + rm -r $install/etc/lxpanel + + # Polkit *.pkla files are not working anymore, + # Polkit switches to javascript-based rules + rm -r $install/etc/polkit-1 + + # LXsession settings are in lxsession package + rm -r $install/etc/skel/.config/lxsession + + # Beaver is gone... + sed -i 's|beaver|leafpad|' $install/usr/share/applications/defaults.list + + # SliTaz backgrounds in the slitaz-next package + rm $install/usr/share/images/slitaz-background* + + # SLiM theme in the slim package + rm -r $install/usr/share/slim + + # PCManFM settings in the pcmanfm package + rm -r $install/usr/share/slitaz/lxde + + # Remove templates, use that in /usr/share/templates/ only rm $install/etc/skel/Templates/* chown -R root:root $install @@ -57,16 +78,12 @@ case "$ARCH" in i?86) copy \ - /etc/lxpanel/ \ - /etc/skel/.config/lxpanel/ \ - /etc/skel/.config/lxsession/ \ /etc/skel/.gtkrc-2.0* \ /etc/skel/.icons/ \ /etc/skel/.Xdefaults \ /etc/skel/.xinitrc \ /etc/skel/.Xresources \ /etc/skel/.xsession \ - /etc/skel/Templates/ \ /etc/xdg/openbox/autostart \ /etc/xdg/openbox/environment \ /etc/xdg/openbox/menu.en.xml \ diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/receipt --- a/slitaz-next/receipt Wed Sep 27 16:49:12 2017 +0200 +++ b/slitaz-next/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="slitaz-next" -VERSION="170912" +VERSION="170927" CATEGORY="customization" SHORT_DESC="SliTaz Next customization" MAINTAINER="al.bobylev@gmail.com" diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/etc/skel/.config/slitaz/applications.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/etc/skel/.config/slitaz/applications.conf Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,19 @@ +# SliTaz default applications configuration file. These apps can be +# started through wrappers: browser, editor and terminal. +# + +# File manager. +FILE_MANAGER="pcmanfm" + +# Web browser. +BROWSER="netsurf-gtk" + +# Text editor. +EDITOR="leafpad" + +# X terminal. +TERMINAL="sakura" +[ "sakura" ] || TERMINAL="xterm" + +# Window manager. +WINDOW_MANAGER="lxde-session" diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/etc/slitaz/applications.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/etc/slitaz/applications.conf Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,19 @@ +# SliTaz default applications configuration file. These apps can be +# started through wrappers: browser, editor and terminal. +# + +# File manager. +FILE_MANAGER="pcmanfm" + +# Web browser. +BROWSER="netsurf-gtk" + +# Text editor. +EDITOR="leafpad" + +# X terminal. +TERMINAL="sakura" +[ "$(which $TERMINAL)" ] || TERMINAL="xterm" + +# Window manager. +WINDOW_MANAGER="lxde-session" diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/OB-Flat-black/openbox-3/bullet.xbm --- a/slitaz-next/stuff/usr/share/themes/OB-Flat-black/openbox-3/bullet.xbm Wed Sep 27 16:49:12 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -#define bullet_width 11 -#define bullet_height 11 -static unsigned char bullet_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x60, 0x00, 0xe0, 0x00, 0xe0, 0x01, - 0xe0, 0x00, 0x60, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/OB-Flat-black/openbox-3/close.xbm --- a/slitaz-next/stuff/usr/share/themes/OB-Flat-black/openbox-3/close.xbm Wed Sep 27 16:49:12 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -#define close_width 12 -#define close_height 12 -static unsigned char close_bits[] = { - 0x00, 0x00, 0x06, 0x06, 0x0e, 0x07, 0x9c, 0x03, 0xf8, 0x01, 0xf0, 0x00, - 0xf0, 0x00, 0xf8, 0x01, 0x9c, 0x03, 0x0e, 0x07, 0x06, 0x06, 0x00, 0x00 }; diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/OB-Flat-black/openbox-3/iconify.xbm --- a/slitaz-next/stuff/usr/share/themes/OB-Flat-black/openbox-3/iconify.xbm Wed Sep 27 16:49:12 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -#define iconify_width 12 -#define iconify_height 12 -static unsigned char iconify_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x0f, - 0xff, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/OB-Flat-black/openbox-3/max.xbm --- a/slitaz-next/stuff/usr/share/themes/OB-Flat-black/openbox-3/max.xbm Wed Sep 27 16:49:12 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -#define max_width 12 -#define max_height 12 -static unsigned char max_bits[] = { - 0x00, 0x00, 0xff, 0x0f, 0xff, 0x0f, 0x03, 0x0c, 0x03, 0x0c, 0x03, 0x0c, - 0x03, 0x0c, 0x03, 0x0c, 0x03, 0x0c, 0xff, 0x0f, 0xff, 0x0f, 0x00, 0x00 }; diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/OB-Flat-black/openbox-3/max_toggled.xbm --- a/slitaz-next/stuff/usr/share/themes/OB-Flat-black/openbox-3/max_toggled.xbm Wed Sep 27 16:49:12 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -#define max_toggled_width 12 -#define max_toggled_height 12 -static unsigned char max_toggled_bits[] = { - 0x00, 0x00, 0xfc, 0x0f, 0xfc, 0x0f, 0x0c, 0x0c, 0xff, 0x0d, 0xff, 0x0d, - 0x83, 0x0d, 0x83, 0x0f, 0x83, 0x0f, 0xff, 0x01, 0xff, 0x01, 0x00, 0x00 }; diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/OB-Flat-black/openbox-3/themerc --- a/slitaz-next/stuff/usr/share/themes/OB-Flat-black/openbox-3/themerc Wed Sep 27 16:49:12 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,104 +0,0 @@ -menu.items.bg: flat gradient vertical -menu.items.bg.color: #333333 -menu.items.bg.colorTo: #333333 -menu.border.width: 4 -menu.border.color: #333333 -menu.overlap.x: 0 -menu.overlap.y: 0 -menu.items.text.color: #A4A5A9 -menu.items.justify: left -menu.items.disabled.text.color: #606060 -menu.title.bg: raised splitvertical gradient -menu.title.bg.color: #353535 -menu.title.bg.colorTo: #303030 -menu.title.text.color: #A4A5A9 -menu.title.text.justify: center -menu.items.active.bg: flat -menu.items.active.bg.color: #4084D6 -menu.items.active.bg.colorTo: #4084D6 -menu.items.active.text.color: white -window.active.title.bg: Flat Vertical -window.active.title.bg.color: #333333 -window.inactive.title.bg: Flat Vertical -window.inactive.title.bg.color: #333333 -padding.width: 0 -padding.height: 5 -window.label.text.justify: center -window.active.label.bg: Parentrelative -window.active.label.bg.color: #333333 -window.active.label.bg.colorTo: #333333 -window.active.label.text.color: #5C616C -window.inactive.label.bg: Parentrelative -window.inactive.label.bg.color: #505050 -window.inactive.label.bg.colorTo: #505050 -window.inactive.label.text.color: #404040 -border.width: 1 -border.color: #EDEDED -window.client.padding.width: 0 -window.client.padding.height: 0 -window.active.client.color: #DEDEDE -window.inactive.client.color: #DEDEDE -window.active.title.separator.color: #DEDEDE -window.inactive.title.separator.color: #DEDEDE -window.handle.width: 0 -window.active.handle.bg: Flat Vertical -window.active.handle.bg.color: #DEDEDE -window.active.grip.bg: Flat Vertical -window.active.grip.bg.color: #DEDEDE -window.inactive.handle.bg: Flat Vertical -window.inactive.handle.bg.color: #DEDEDE -window.inactive.grip.bg: Flat Vertical -window.inactive.grip.bg.color: #DEDEDE -window.active.border.color: #333333 -window.active.title.bg: flat solid -window.active.title.bg.color: #333333 -window.active.title.separator.color: #333333 -window.active.text.justify: center -window.active.label.bg: parentrelative -window.active.label.text.color: #A4A5A9 -window.active.handle.bg: flat solid -window.active.handle.bg.color: #333333 -window.active.grip.bg: flat solid -window.active.grip.bg.color: #333333 -window.active.button.unpressed.bg: flat solid -window.active.button.unpressed.bg.color: #333333 -window.active.button.unpressed.image.color: #94969A -window.active.button.hover.bg: flat solid -window.active.button.hover.bg.color: #333333 -window.active.button.hover.image.color: #4084D6 -window.active.button.pressed.bg: flat solid -window.active.button.pressed.bg.color: #333333 -window.active.button.pressed.image.color: #E26767 -window.active.button.disabled.bg: flat solid -window.active.button.disabled.bg.color: #333333 -window.active.button.disabled.image.color: #333333 -window.active.button.toggled.unpressed.image.color: #94969A -window.active.button.toggled.hover.image.color: #4084D6 -window.active.button.toggled.pressed.image.color: #E26767 -window.inactive.border.color: #333333 -window.inactive.title.bg: flat solid -window.inactive.title.bg.color: #505050 -window.inactive.title.separator.color: #505050 -window.inactive.text.justify: center -window.inactive.label.bg: parentrelative -window.inactive.label.text.color: #757981 -window.inactive.handle.bg: flat solid -window.inactive.handle.bg.color: #2F343F -window.inactive.grip.bg: flat solid -window.inactive.grip.bg.color: #2F343F -window.inactive.button.unpressed.bg: flat solid -window.inactive.button.unpressed.bg.color: #505050 -window.inactive.button.unpressed.image.color: #6B6B6B -window.inactive.button.hover.bg: flat solid -window.inactive.button.hover.bg.color: #505050 -window.inactive.button.hover.image.color: #2E2E2E -window.inactive.button.pressed.bg: flat solid -window.inactive.button.pressed.bg.color: #505050 -window.inactive.button.pressed.image.color: #3E84CE -window.inactive.button.disabled.bg: flat solid -window.inactive.button.disabled.bg.color: #505050 -window.inactive.button.disabled.image.color: #505050 -window.inactive.button.toggled.hover.image.color: #2E2E2E -window.inactive.button.toggled.unpressed.image.color: #6B6B6B -padding.width: 4 -padding.height: 4 diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-2.0/gtkrc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-2.0/gtkrc Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,735 @@ +gtk-icon-sizes="gtk-large-toolbar=16,16:gtk-small-toolbar=16,16:panel-menu=16,16:gtk-button=16,16" +gtk-color-scheme="bg_color:#ECEDEF\nfg_color:#222222\nbase_color:#f9f9f9\ntext_color:#333333\nselected_bg_color:#DB6823\nselected_fg_color:#f9f9f9\ntooltip_bg_color:#2d2d2d\ntooltip_fg_color:#dedede\ntitlebar_bg_color:#444851\ntitlebar_fg_color:#dcdcdc\nmenubar_bg_color:#444851\nmenubar_fg_color:#f9f9f9\ntoolbar_bg_color:#dedede\ntoolbar_fg_color:#555555\nmenu_bg_color:#444851\nmenu_fg_color:#f9f9f9\npanel_bg_color:#2d2d2d\npanel_fg_color:#dcdcdc\nlink_color:#FF873F" +# Default Style +style "murrine-default"{ + GtkArrow::arrow-scaling=0.6 + GtkButton::child-displacement-x=0 + GtkButton::child-displacement-y=0 + GtkButton::default-border={0,0,0,0} + GtkButtonBox::child-min-height=26 + GtkCheckButton::indicator-size=16 + # The following line hints to gecko (and possibly other appliations) + # that the entry should be drawn transparently on the canvas. + # Without this, gecko will fill in the background of the entry. + GtkEntry::honors-transparent-bg-hint=1 + GtkEntry::state-hint=0 + GtkExpander::expander-size=16 + GtkImage::x-ayatana-indicator-dynamic=1 + GtkMenu::horizontal-padding=0 + GtkMenu::vertical-padding=0 + GtkMenuBar::internal-padding=0 + GtkMenuBar::window-dragging=1 + GtkMenuItem::arrow-scaling=0.5 + GtkPaned::handle-size=1 + GtkProgressBar::min-horizontal-bar-height=12 + GtkProgressBar::min-vertical-bar-width=12 + GtkRange::trough-border=0 + GtkRange::slider-width=12 + GtkRange::stepper-size=12 + GtkRange::stepper_spacing=0 + GtkRange::trough-under-steppers=1 + GtkScale::slider-length=16 + GtkScale::slider-width=16 + GtkScale::trough-side-details=1 + GtkScrollbar::activate-slider=1 + GtkScrollbar::has-backward-stepper=0 + GtkScrollbar::has-forward-stepper=0 + GtkScrollbar::has-secondary-backward-stepper=0 + GtkScrollbar::has-secondary-forward-stepper=0 + GtkScrollbar::min-slider-length=80 + GtkScrollbar::slider-width=12 + GtkScrollbar::trough-border=0 + GtkScrolledWindow::scrollbar-spacing=0 + GtkScrolledWindow::scrollbars-within-bevel=1 + GtkSeparatorMenuItem::horizontal-padding=0 + GtkToolbar::internal-padding=0 + GtkTreeView::expander-size=11 + GtkTreeView::vertical-separator=0 + GtkWidget::focus-line-width=1 + # The following line prevents the Firefox tabs + # from jumping a few pixels when you create a new tab + GtkWidget::focus-padding=0 + GtkWidget::wide-separators=1 + GtkWidget::separator-width=1 + GtkWidget::separator-height=1 + GtkWindow::resize-grip-height=0 + GtkWindow::resize-grip-width=0 + WnckTasklist::fade-overlay-rect=0 + GnomeHRef::link_color=@link_color + GtkHTML::link-color=@link_color + GtkIMHtmlr::hyperlink-color=@link_color + GtkIMHtml::hyperlink-color=@link_color + GtkWidget::link-color=@link_color + GtkWidget::visited-link-color=@text_color + GtkToolbar::shadow-type=GTK_SHADOW_NONE # Makes toolbars flat and unified + GtkMenuBar::shadow-type=GTK_SHADOW_NONE # Makes menubars flat and unified + xthickness=1 + ythickness=1 + fg[NORMAL]=@fg_color + fg[PRELIGHT]=@fg_color + fg[SELECTED]=@selected_fg_color + fg[ACTIVE]=@fg_color + fg[INSENSITIVE]=mix(0.5,@bg_color,@fg_color) + + bg[NORMAL] = @bg_color + bg[PRELIGHT] = shade (1.02, @bg_color) + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = shade (0.9, @bg_color) + bg[INSENSITIVE] = @bg_color + + base[NORMAL] = @base_color + base[PRELIGHT] = shade (0.95, @base_color) + base[SELECTED] = @selected_bg_color + base[ACTIVE] = @selected_bg_color + base[INSENSITIVE] = shade (0.85, @base_color) + + text[NORMAL] = @text_color + text[PRELIGHT] = @text_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @selected_fg_color + text[INSENSITIVE] = mix (0.5, @base_color, @text_color) + + engine "murrine" { + animation = FALSE + arrowstyle = 1 # 0 = normal arrows, 1 = filled arrows + border_shades = { 1.0, 1.0 } # gradient to draw on border + colorize_scrollbar = FALSE + comboboxstyle = 0 # 0 = normal combobox, 1 = colorized combobox below arrow + contrast = 0.8 # overal contrast with borders + focusstyle = 1 # 0 = none, 1 = grey dotted, 2 = colored with fill, 3 = colored glow + glazestyle = 0 # 0 = flat highlight, 1 = curved highlight, 2 = concave, 3 = top curved highlight, 4 = beryl highlight + glowstyle = 0 # 0 = glow on top, 1 = glow on bottom, 2 = glow on top and bottom, 3 = glow on middle vertically, 4 = glow on middle horizontally, 5 = glow on all sides + glow_shade = 1.0 # amount of glow + gradient_shades = { 1.0, 1.0, 1.0, 1.0 } # gradient to draw on widgets + highlight_shade = 1.0 # amount of highlight + lightborder_shade = 1.0 # amount of inset light border + lightborderstyle = 1 # 0 = lightborder on top side, 1 = lightborder on all sides + listviewheaderstyle = 0 # 0 = flat, 1 = glassy, 2 = raised + listviewstyle = 0 # 0 = none, 1 = dotted, 2 = line + menubaritemstyle = 0 # 0 = menuitem look, 1 = button look + menubarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped + menuitemstyle = 0 # 0 = flat, 1 = glassy, 2 = striped + menustyle = 0 # 0 = none, 1 = vertical striped + progressbarstyle = 0 # 0 = none, 1 = diagonal striped, 2 = vertical striped + reliefstyle = 0 # 0 = flat, 1 = inset, 2 = shadow, 3 = shadow with gradient, 4 = stronger shadow with gradient + roundness = 2 # roundness of widgets + scrollbarstyle = 0 # 0 = none, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles + sliderstyle = 0 # 0 = none, 1 = handles + stepperstyle = 1 # 0 = standard, 1 = integrated stepper handles + toolbarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient + } +} + +style "murrine-wide" { + xthickness = 2 + ythickness = 2 +} + +style "murrine-wider" { + xthickness = 3 + ythickness = 3 +} + +style "murrine-thin" { + xthickness = 0 + ythickness = 0 +} + +# Notebook + +style "murrine-notebook-bg" { + bg[NORMAL] = @base_color + bg[ACTIVE] = shade (0.87, @base_color) +} + +style "murrine-notebook" = "murrine-notebook-bg" { + xthickness = 2 + ythickness = 2 + + engine "murrine" { + roundness = 2 + } +} + +# Various Standard Widgets + +style "murrine-button" = "murrine-wider" { + bg[NORMAL] = shade (1.08, @bg_color) + bg[PRELIGHT] = shade (1.10, @bg_color) + bg[ACTIVE] = shade (0.95, @bg_color) + bg[INSENSITIVE] = shade (0.85, @bg_color) + + engine "murrine" { + } +} + +style "murrine-scrollbar" { + bg[NORMAL] = mix (0.21, @fg_color, @bg_color) + bg[PRELIGHT] = mix (0.31, @fg_color, @bg_color) + bg[ACTIVE] = @selected_bg_color + + engine "murrine" { + roundness = 0 + contrast = 0.0 + border_shades = { 0.9, 0.9 } + trough_shades = { 0.97, 0.97 } + trough_border_shades = { 1.0, 1.0 } + } +} + +style "murrine-overlay-scrollbar" { + bg[ACTIVE] = shade (0.8, @bg_color) + bg[INSENSITIVE] = shade (0.97, @bg_color) + + base[SELECTED] = shade (0.6, @base_color) + base[INSENSITIVE] = shade (0.85, @base_color) +} + +style "murrine-scale" = "murrine-thin" { + bg[NORMAL] = @bg_color + bg[ACTIVE] = @bg_color + bg[SELECTED] = @selected_bg_color + bg[INSENSITIVE] = shade (0.95, @bg_color) + + engine "murrine" { + roundness = 8 + gradient_shades = { 1.08, 1.08, 1.08, 1.08 } + border_shades = { 1.0, 1.0 } + trough_shades = { 1.08, 1.08 } + trough_border_shades = { 0.8, 0.8 } + } +} + +style "murrine-progressbar" = "murrine-thin" { + bg[NORMAL] = @bg_color + bg[ACTIVE] = shade (1.08, @bg_color) + + fg[PRELIGHT] = @selected_fg_color + + engine "murrine" { + roundness = 2 + border_shades = { 1.2, 1.2 } + trough_border_shades = { 0.8, 0.8 } + } +} + +style "murrine-treeview-header" = "murrine-button" { + engine "murrine" { + roundness = 0 + } +} + +style "murrine-treeview" { + engine "murrine" { + roundness = 0 + } +} + +style "murrine-frame-title" { + fg[NORMAL] = lighter (@fg_color) +} + +style "murrine-tooltips" { + xthickness = 5 + ythickness = 5 + + bg[NORMAL] = @tooltip_bg_color + bg[SELECTED] = @tooltip_bg_color + + fg[NORMAL] = @tooltip_fg_color + + engine "murrine" { + textstyle = 0 + roundness = 2 + rgba = FALSE + } +} + +style "murrine-spinbutton" = "murrine-button" { + engine "murrine" { + } +} + +style "murrine-radiocheck" = "murrine-default" { + bg[SELECTED] = @base_color + + text[NORMAL] = @selected_bg_color + text[PRELIGHT] = @selected_bg_color +} + +style "murrine-entry" = "murrine-wider" { + engine "murrine" { + border_shades = { 1.15, 1.15 } + } +} + +style "metacity-frame" = "murrine-default" { + bg[SELECTED] = @selected_bg_color +} + +style "murrine-statusbar" { } +style "murrine-comboboxentry" = "murrine-entry" { } +style "murrine-hscale" = "murrine-scale" { } +style "murrine-vscale" = "murrine-scale" { } +style "murrine-hscrollbar" = "murrine-scrollbar" { } +style "murrine-vscrollbar" = "murrine-scrollbar" { } + +# Menus + +style "murrine-menu" = "murrine-thin" { + bg[NORMAL] = @menu_bg_color + bg[PRELIGHT] = @selected_bg_color + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = @menu_bg_color + bg[INSENSITIVE] = @menu_bg_color + + fg[NORMAL] = @menu_fg_color + fg[PRELIGHT] = @selected_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color + fg[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color) + + text[NORMAL] = @menu_fg_color + text[PRELIGHT] = @selected_fg_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @selected_fg_color + text[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color) + + engine "murrine" { + roundness = 0 + } +} + +style "murrine-menu-item" = "murrine-wider" { + bg[PRELIGHT] = @selected_bg_color + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = @selected_bg_color + + fg[NORMAL] = @menu_fg_color # Fix for XFCE menu text + fg[PRELIGHT] = @selected_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color + fg[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color) + + engine "murrine" { + textstyle = 0 + border_shades = { 1.2, 1.2 } + } +} + +style "murrine-separator-menu-item" = "murrine-thin" { } + +style "murrine-menubar" { + bg[NORMAL] = @menubar_bg_color + bg[PRELIGHT] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[SELECTED] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[ACTIVE] = shade (0.9, @menubar_bg_color) + bg[INSENSITIVE] = @menubar_bg_color + + fg[NORMAL] = @menubar_fg_color + fg[PRELIGHT] = shade (1.08, @menubar_fg_color) + fg[SELECTED] = shade (1.08, @menubar_fg_color) + fg[ACTIVE] = @menubar_fg_color + fg[INSENSITIVE] = mix (0.5, @menubar_bg_color, @menubar_fg_color) + + engine "murrine" { + roundness = 0 + } +} + +style "murrine-menubaritem" { + bg[NORMAL] = @menubar_bg_color + bg[PRELIGHT] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[SELECTED] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[ACTIVE] = shade (0.9, @menubar_bg_color) + bg[INSENSITIVE] = @menubar_bg_color + + fg[NORMAL] = @menubar_fg_color + fg[PRELIGHT] = shade (1.08, @menubar_fg_color) + fg[SELECTED] = shade (1.08, @menubar_fg_color) + fg[ACTIVE] = @menubar_fg_color + fg[INSENSITIVE] = mix (0.5, @menubar_bg_color, @menubar_fg_color) + + engine "murrine" { + roundness = 0 + } +} + +# Toolbars + +style "murrine-toolbar" = "murrine-thin" { + bg[NORMAL] = @bg_color + bg[PRELIGHT] = shade (1.02, @bg_color) + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = shade (0.9, @bg_color) + bg[INSENSITIVE] = @bg_color + + fg[NORMAL] = @fg_color + fg[PRELIGHT] = @fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @fg_color + fg[INSENSITIVE] = mix (0.5, @bg_color, @fg_color) + + engine "murrine" { + } +} + +style "murrine-toolbutton" = "murrine-button" { + bg[NORMAL] = shade (1.08, @bg_color) + bg[PRELIGHT] = shade (1.10, @bg_color) + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = shade (0.95, @bg_color) + bg[INSENSITIVE] = shade (0.85, @bg_color) + + fg[NORMAL] = @fg_color + fg[PRELIGHT] = @fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @fg_color + fg[INSENSITIVE] = mix (0.5, @bg_color, @fg_color) + + engine "murrine" { + } +} + +class "GtkToolbar" style "murrine-toolbar" +class "GtkHandleBox" style "murrine-toolbar" +widget_class "*Toolbar*.*Separator*" style "murrine-toolbar" + +# Panels + +style "murrine-panel" = "murrine-thin" { + xthickness = 2 + + bg[NORMAL] = @panel_bg_color + bg[PRELIGHT] = mix (0.21, @panel_fg_color, @panel_bg_color) + bg[SELECTED] = mix (0.21, @panel_fg_color, @panel_bg_color) + bg[ACTIVE] = shade (0.8, @panel_bg_color) + bg[INSENSITIVE] = @panel_bg_color + + fg[NORMAL] = @panel_fg_color + fg[PRELIGHT] = shade (1.08, @panel_fg_color) + fg[SELECTED] = shade (1.08, @panel_fg_color) + fg[ACTIVE] = @panel_fg_color + fg[INSENSITIVE] = mix (0.5, @panel_bg_color, @panel_fg_color) + + base[NORMAL] = @panel_bg_color + base[PRELIGHT] = mix (0.21, @panel_fg_color, @panel_bg_color) + base[SELECTED] = mix (0.21, @panel_fg_color, @panel_bg_color) + base[ACTIVE] = shade (0.9, @panel_bg_color) + base[INSENSITIVE] = @panel_bg_color + + text[NORMAL] = @panel_fg_color + text[PRELIGHT] = shade (1.08, @panel_fg_color) + text[SELECTED] = shade (1.08, @panel_fg_color) + text[ACTIVE] = @panel_fg_color + text[INSENSITIVE] = mix (0.5, @panel_bg_color, @panel_fg_color) + + engine "murrine" { + roundness = 0 + contrast = 0.0 + } +} + +widget "*PanelWidget*" style "murrine-panel" +widget "*PanelApplet*" style "murrine-panel" +widget "*fast-user-switch*" style "murrine-panel" +widget "*CPUFreq*Applet*" style "murrine-panel" +widget "*indicator-applet*" style "murrine-panel" +class "PanelApp*" style "murrine-panel" +class "PanelToplevel*" style "murrine-panel" +widget_class "*PanelToplevel*" style "murrine-panel" +widget_class "*notif*" style "murrine-panel" +widget_class "*Notif*" style "murrine-panel" +widget_class "*Tray*" style "murrine-panel" +widget_class "*tray*" style "murrine-panel" +widget_class "*computertemp*" style "murrine-panel" +widget_class "*Applet*Tomboy*" style "murrine-panel" +widget_class "*Applet*Netstatus*" style "murrine-panel" +widget "*gdm-user-switch-menubar*" style "murrine-panel" + +style "bold-panel-item" { + font_name = "Bold" + + engine "murrine" { + roundness = 0 + } +} + +widget "*Panel*MenuBar*" style "bold-panel-item" +widget "*gimmie*" style "bold-panel-item" + +# widget_class "*Mail*" style "murrine-panel" # Disabled to fix Evolution bug +# class "*Panel*" style "murrine-panel" # Disabled to fix bug + +# XFCE Styles + +style "workspace-switcher" = "murrine-panel" { + bg[SELECTED] = @selected_bg_color +} + +style "xfce-header" { + bg[NORMAL] = shade (0.9, @bg_color) + base[NORMAL] = shade (1.18, @bg_color) +} + +style "xfdesktop-windowlist" { + bg[NORMAL] = @base_color + fg[INSENSITIVE] = shade (0.95, @base_color) + text[INSENSITIVE] = shade (0.95, @base_color) +} + +style "xfdesktop-icon-view" { + XfdesktopIconView::label-alpha = 0 + XfdesktopIconView::selected-label-alpha = 60 + XfdesktopIconVIew::ellipsize-icon-labels = 1 + + base[NORMAL] = @selected_bg_color + base[SELECTED] = @selected_bg_color + base[ACTIVE] = @selected_bg_color + + fg[NORMAL] = @selected_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color + + engine "murrine" { + textstyle = 5 + text_shade = 0.05 + } +} + +style "xfwm-tabwin" { + Xfwm4TabwinWidget::border-width = 0 + Xfwm4TabwinWidget::icon-size = 64 + + bg[NORMAL] = @menu_bg_color + fg[NORMAL] = @menu_fg_color + + engine "murrine" { + focusstyle = 0 + } +} + +style "xfsm-logout" { + bg[NORMAL] = @menu_bg_color + bg[ACTIVE] = @menu_bg_color + bg[PRELIGHT] = shade (1.1, @menu_bg_color) + bg[SELECTED] = shade (0.5, @menu_bg_color) + bg[INSENSITIVE] = shade (1.3, @menu_bg_color) + + fg[NORMAL] = @menu_fg_color + fg[PRELIGHT] = @menu_fg_color + + text[NORMAL] = @menu_fg_color + + engine "murrine" { + } +} + +style "xfsm-logout-button" { + bg[NORMAL] = shade (1.2, @menu_bg_color) + bg[PRELIGHT] = shade (1.4, @menu_bg_color) + + engine "murrine" { + } +} + +widget "*WnckPager*" style "workspace-switcher" + +widget "*Xfce*Panel*" style "murrine-panel" +class "*Xfce*Panel*" style "murrine-panel" + +# Thunar Styles + +style "sidepane" { + base[NORMAL] = @bg_color + base[INSENSITIVE] = mix (0.4, shade (1.35, @selected_bg_color), shade (0.9, @base_color)) + bg[NORMAL] = @bg_color + text[NORMAL] = mix (0.9, @fg_color, @bg_color) +} + +widget_class "*ThunarShortcutsView*" style "sidepane" +widget_class "*ThunarTreeView*" style "sidepane" +widget_class "*ThunarLocationEntry*" style "murrine-entry" + +# Gtk2 Open-File Dialog + +widget_class "*GtkFileChooserWidget.GtkFileChooserDefault.GtkVBox.GtkHPaned.GtkVBox.GtkScrolledWindow.GtkTreeView*" style "sidepane" +widget_class "*GtkFileChooserWidget.GtkFileChooserDefault.GtkVBox.GtkHPaned.GtkVBox.GtkScrolledWindow.." style "murrine-treeview-header" + +# Google Chrome/Chromium Styles (requires 9.0.597 or newer) + +style "chromium-toolbar-button" { + engine "murrine" { + roundness = 2 + textstyle = 0 + } +} + +style "chrome-gtk-frame" { + ChromeGtkFrame::frame-color = @titlebar_bg_color + ChromeGtkFrame::inactive-frame-color = @titlebar_bg_color + + ChromeGtkFrame::frame-gradient-size = 0 + ChromeGtkFrame::frame-gradient-color = @titlebar_bg_color + + ChromeGtkFrame::incognito-frame-color = @titlebar_bg_color + ChromeGtkFrame::incognito-inactive-frame-color = @titlebar_bg_color + + ChromeGtkFrame::incognito-frame-gradient-size = 0 + ChromeGtkFrame::incognito-frame-gradient-color = @titlebar_bg_color + + ChromeGtkFrame::scrollbar-trough-color = @bg_color + ChromeGtkFrame::scrollbar-slider-normal-color = mix (0.21, @fg_color, @bg_color) + ChromeGtkFrame::scrollbar-slider-prelight-color = mix (0.31, @fg_color, @bg_color) +} + +class "ChromeGtkFrame" style "chrome-gtk-frame" + +widget_class "*Chrom*Button*" style "chromium-toolbar-button" + +# General Styles + +class "GtkWidget" style "murrine-default" + +class "GtkFrame" style "murrine-wide" +class "MetaFrames" style "metacity-frame" +class "GtkWindow" style "metacity-frame" + +class "GtkSeparator" style "murrine-wide" +class "GtkCalendar" style "murrine-wide" + +class "GtkSpinButton" style "murrine-spinbutton" + +class "GtkScale" style "murrine-scale" +class "GtkVScale" style "murrine-vscale" +class "GtkHScale" style "murrine-hscale" +class "GtkScrollbar" style "murrine-scrollbar" +class "GtkVScrollbar" style "murrine-vscrollbar" +class "GtkHScrollbar" style "murrine-hscrollbar" + +class "GtkRadio*" style "murrine-radiocheck" +class "GtkCheck*" style "murrine-radiocheck" + +class "GtkEntry" style "murrine-entry" + +widget_class "*" style "murrine-notebook" +widget_class "**" style "murrine-notebook-bg" +widget_class "**" style "murrine-notebook-bg" +widget_class "**" style "murrine-notebook-bg" +widget_class "*.GtkNotebook.*.GtkViewport" style "murrine-notebook" + +widget_class "*" style "murrine-button" +widget_class "**" style "murrine-statusbar" +widget_class "*" style "murrine-progressbar" +widget_class "*" style "murrine-progressbar" + +widget_class "**" style "murrine-comboboxentry" +widget_class "**" style "murrine-comboboxentry" + +widget_class "**" style "murrine-menu" +widget_class "**" style "murrine-menu-item" +widget_class "**" style "murrine-separator-menu-item" +widget_class "*Menu*.*Sepa*" style "murrine-separator-menu-item" +widget_class "**" style "murrine-menubar" +widget_class "***" style "murrine-menubaritem" + +widget_class "*GtkToolButton*" style "murrine-toolbutton" +widget_class "*GtkToggleToolButton*" style "murrine-toolbutton" +widget_class "*GtkMenuToolButton*" style "murrine-toolbutton" +widget_class "*GtkToolbar*Button" style "murrine-toolbutton" + +widget_class "*.." style "murrine-frame-title" + +widget_class "*.*" style "murrine-treeview" +widget_class "*.." style "murrine-treeview-header" +widget_class "*.." style "murrine-treeview-header" +widget_class "*.." style "murrine-treeview-header" +widget_class "*.." style "murrine-treeview-header" + +widget "gtk-tooltip*" style "murrine-tooltips" + +widget_class "**" style "murrine-overlay-scrollbar" + +# Workarounds and Non-Standard Styling + +style "text-is-fg-color-workaround" { + text[NORMAL] = @text_color + text[PRELIGHT] = @fg_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @fg_color + text[INSENSITIVE] = mix (0.5, @bg_color, @fg_color) +} + +widget_class "*.." style "text-is-fg-color-workaround" + +style "fg-is-text-color-workaround" { + fg[NORMAL] = @text_color + fg[PRELIGHT] = @text_color + fg[ACTIVE] = @selected_fg_color + fg[SELECTED] = @selected_fg_color + fg[INSENSITIVE] = darker (@fg_color) +} + +widget_class "**" style "fg-is-text-color-workaround" +widget_class "*" style "fg-is-text-color-workaround" +widget_class "*" style "fg-is-text-color-workaround" + +style "murrine-evo-new-button-workaround" { + engine "murrine" { + toolbarstyle = 0 + } +} + +widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "murrine-evo-new-button-workaround" + +style "inkscape-toolbar-fix" { + engine "murrine" { + gradient_shades = { 1.0, 1.0, 1.0, 1.0 } + highlight_shade = 1.0 + } +} + +#widget "*GtkHandleBox*" style "inkscape-toolbar-fix" +#widget "*HandleBox*CommandsToolbar*" style "inkscape-toolbar-fix" +#widget "*HandleBox*SnapToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*SelectToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*NodeToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*TweakToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*ZoomToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*StarToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*RectToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*3DBoxToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*ArcToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*SpiralToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*PencilToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*PenToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*CalligraphyToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*EraserToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*LPEToolToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*DropperToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*ConnectorToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*PaintbucketToolbar*" style "inkscape-toolbar-fix" + +# Performance Fixes + +style "performance-fix" { + engine "murrine" { + textstyle = 0 + } +} + +widget_class "*gtkmm__GtkWindow*" style "performance-fix" # Inkscape +widget_class "*GimpDisplayShell*" style "performance-fix" # Gimp +widget_class "*GimpToolbox*" style "performance-fix" +widget_class "*GimpMenuDock*" style "performance-fix" +widget "*OOoFixed*" style "performance-fix" # Openoffice/Libreoffice +widget_class "*MozContainer*" style "performance-fix" # Firefox (Not sure if this one does anything though.) + +widget_class "*XfceHeading*" style "xfce-header" +widget_class "*XfceDesktop*" style "xfdesktop-windowlist" +widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view" +widget "xfwm4-tabwin*" style "xfwm-tabwin" +widget_class "*XfsmLogoutDialog*" style "xfsm-logout" +widget_class "*XfsmLogoutDialog*GtkButton" style "xfsm-logout-button" + +include "panel.rc" diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-2.0/panel.rc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-2.0/panel.rc Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,136 @@ +style "theme-panel"="default"{ + xthickness=1 + ythickness=1 + bg[NORMAL]=@panel_bg_color + bg[ACTIVE]=@panel_bg_color + bg[PRELIGHT]=shade(0.85,@selected_bg_color) + bg[SELECTED]=shade(0.65,@selected_bg_color) + fg[NORMAL]=shade(0.9,@panel_fg_color) + fg[PRELIGHT]="#FFFFFF" + fg[ACTIVE]=shade(0.9,@panel_fg_color) + fg[SELECTED]=shade(0.9,@panel_fg_color) + text[NORMAL]=shade(0.9,@panel_fg_color) + text[PRELIGHT]="#FFFFFF" + text[ACTIVE]=shade(0.9,@panel_fg_color) + text[SELECTED]=shade(0.9,@panel_fg_color) + engine "murrine"{ + roundness=0 + glowstyle=0 + glazestyle=0 + textstyle=1 + text_shade=0.2 + } +} + +style "xfdesktop-icon-view"{ + XfdesktopIconView::label-alpha=0 + XfdesktopIconView::selected-label-alpha=80 + XfdesktopIconView::shadow-x-offset=1 + XfdesktopIconView::shadow-y-offset=1 + XfdesktopIconView::selected-shadow-x-offset=1 + XfdesktopIconView::selected-shadow-y-offset=1 + XfdesktopIconView::shadow-color=@tooltip_bg_color + XfdesktopIconView::selected-shadow-color=@tooltip_bg_color + XfdesktopIconView::cell-spacing=2 + XfdesktopIconView::cell-padding=6 + XfdesktopIconView::cell-text-width-proportion=1.9 + fg[NORMAL]=shade(0.9,@selected_fg_color) + fg[ACTIVE]=@selected_fg_color + engine "murrine"{} +} + +style "theme-panel-text"{ + fg[NORMAL]=@panel_fg_color + fg[PRELIGHT]=@panel_fg_color + fg[ACTIVE]=@panel_fg_color + text[NORMAL]=@panel_fg_color + text[PRELIGHT]=@panel_fg_color + text[ACTIVE]=@panel_fg_color + engine "murrine"{ + textstyle=1 + text_shade=0.2 + } +} + +style "panel-entry"="dark"{ + fg[NORMAL]=@text_color + fg[PRELIGHT]=@text_color + fg[ACTIVE]=@text_color + fg[SELECTED]=@text_color + fg[INSENSITIVE]=@text_color + text[NORMAL]=@text_color + text[PRELIGHT]=@text_color + text[ACTIVE]=@text_color + text[SELECTED]=@text_color + text[INSENSITIVE]=@text_color +} +style "theme-main-menu-text"="theme-panel-text"{ + fg[PRELIGHT]="#ffffff" + text[PRELIGHT]="#ffffff" +} +style "workspace-switcher"="theme-panel"{ + bg[SELECTED]=shade(0.8,@selected_bg_color) +} +style "window-buttons"="theme-panel"{ + xthickness=3 + ythickness=3 + bg[ACTIVE]=shade(0.65,@selected_bg_color) + bg[PRELIGHT]=shade(0.85,@selected_bg_color) + bg[SELECTED]=shade(0.85,@selected_bg_color) + fg[NORMAL]=shade(0.7,@base_color) + fg[ACTIVE]=@base_color + fg[PRELIGHT]=@base_color + engine "murrine"{ + contrast=0.0 + gradient_shades={1.0,0.9,0.8,0.7} + roundness=1 + reliefstyle=0 + textstyle=1 + text_shade=0.2 + } +} + +style "indicator"="theme-panel"{ + xthickness=0 + ythickness=0 +} + +widget "*PanelWidget*" style "theme-panel" +widget "*PanelApplet*" style "theme-panel" +widget "*fast-user-switch*" style "theme-panel" +widget "*CPUFreq*Applet*" style "theme-panel" +class "PanelApp*" style "theme-panel" +class "PanelToplevel*" style "theme-panel" +widget_class "*PanelToplevel*" style "theme-panel" +widget_class "*notif*" style "theme-panel" +widget_class "*Notif*" style "theme-panel" +widget_class "*Tray*" style "theme-panel" +widget_class "*tray*" style "theme-panel" +widget_class "*computertemp*" style "theme-panel" +widget_class "*Applet*Tomboy*" style "theme-panel" +widget_class "*Applet*Netstatus*" style "theme-panel" + +# Fixes for tooltip text in some apps. +widget_class "*Notif*Beagle*" style "theme-panel" +widget_class "*Notif*Brasero*" style "theme-panel" + +# XFCE panel theming. +widget "*Xfce*Panel*" style "theme-panel" +class "*Xfce*Panel*" style "theme-panel" +widget "*WnckPager*" style "workspace-switcher" +widget "*XfdesktopIconView*" style "xfdesktop-icon-view" + +# Fix gtk-entries in the panel +class "*SexyIconEntry*" style:highest "entry" # fixes dict-plugin +widget "*xfce4-verve-plugin*GtkEntry" style:highest "entry" # fixes verve-plugin + +# Make sure panel text color doesn't change +widget_class "*Panel*MenuBar*" style "theme-main-menu-text" +widget_class "*Panel**" style "theme-main-menu-text" +widget "*.clock-applet-button.*" style "theme-panel-text" +widget "*PanelApplet*" style "theme-panel-text" + +# Override general panel-style with specific plugin-styles +widget "*indicator-applet*" style "indicator" +widget "*indicator-button*" style "indicator" +widget "*XfceTasklist*" style "window-buttons" \ No newline at end of file diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/apps/gnome-applications.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/apps/gnome-applications.css Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,396 @@ +/*********************** + * fallback mode panel * + ***********************/ +PanelWidget, +PanelApplet, +PanelToplevel { + padding: 0; + background-color: @panel_bg_color; + background-image: none; + color: @panel_fg_color; +} + +PanelApplet { + border-width: 0; +} + +PanelSeparator { + border-width: 0; + background-color: @panel_bg_color; + background-image: none; + color: @panel_fg_color; +} + +.gnome-panel-menu-bar, +PanelApplet > GtkMenuBar.menubar, +PanelApplet > GtkMenuBar.menubar.menuitem, +PanelMenuBar.menubar, +PanelMenuBar.menubar.menuitem { + -PanelMenuBar-icon-visible: true; + + border-width: 0; + background-color: @panel_bg_color; + background-image: none; +} + +PanelAppletFrame { + border-width: 0; + background-color: @panel_bg_color; + background-image: none; +} + +PanelApplet .button { + -GtkButton-inner-border: 2; + + border-width: 0 1px; + border-radius: 0; + border-color: transparent; + background-color: @panel_bg_color; + background-image: none; + color: @panel_fg_color; +} + +PanelApplet .button:active { + border-width: 0 1px; + border-radius: 0; + border-color: mix(@panel_bg_color, @panel_fg_color, 0.21); + background-color: mix(@panel_bg_color, @panel_fg_color, 0.21); + background-image: none; + color: shade(@panel_fg_color, 1.08); +} + +PanelApplet .button:prelight { + border-color: mix(@panel_bg_color, @panel_fg_color, 0.11); + background-color: mix(@panel_bg_color, @panel_fg_color, 0.11); + background-image: none; + color: shade(@panel_fg_color, 1.08); +} + +PanelApplet .button:active:prelight { + border-color: mix(@panel_bg_color, @panel_fg_color, 0.31); + background-color: mix(@panel_bg_color, @panel_fg_color, 0.31); + background-image: none; + color: shade(@panel_fg_color, 1.08); +} + +WnckPager, WnckTasklist { + background-color: @panel_bg_color; +} + +/************ + * nautilus * + ************/ +.nautilus-desktop.nautilus-canvas-item { + color: white; + text-shadow: 1px 1px black; +} + +.nautilus-desktop.nautilus-canvas-item:active { + color: @theme_fg_color; +} + +.nautilus-desktop.nautilus-canvas-item:selected { + color: @theme_selected_fg_color; +} + +.nautilus-desktop.nautilus-canvas-item:active, +.nautilus-desktop.nautilus-canvas-item:prelight, +.nautilus-desktop.nautilus-canvas-item:selected { + text-shadow: none; +} + +NautilusWindow .toolbar { + border-width: 0 0 1px; + border-style: solid; + border-color: shade(@toolbar_bg_color, 0.8); +} + +NautilusWindow .sidebar .frame { + border-style: none; +} + +NautilusWindow > GtkGrid > .pane-separator, +NautilusWindow > GtkGrid > .pane-separator:hover { + border-width: 0 1px 0 0; + border-style: solid; + border-color: shade(@theme_bg_color, 0.8); + background-color: @theme_bg_color; +} + +NautilusNotebook.notebook { + border-right-width: 0; + border-left-width: 0; + border-bottom-width: 0; +} + +NautilusNotebook .frame { + border-width: 0; +} + +NautilusQueryEditor .search-bar.toolbar { + border-top-width: 0; + border-bottom-width: 0; +} + +NautilusQueryEditor .toolbar { + padding-top: 3px; + padding-bottom: 2px; + border-width: 1px 0 0 0; + border-style: solid; + border-color: @toolbar_bg_color; + background-color: shade(@toolbar_bg_color, 0.9); +} + +NautilusQueryEditor .toolbar:nth-child(2) { + border-color: shade(@toolbar_bg_color, 0.8); +} + +NautilusQueryEditor .toolbar:last-child, +NautilusQueryEditor .search-bar.toolbar:only-child { + border-bottom-width: 1px; + border-bottom-color: shade(@toolbar_bg_color, 0.8); +} + +/****************** + * gnome terminal * + ******************/ +VteTerminal { + background-color: @osd_base; + color: @osd_fg; +} + +TerminalWindow GtkNotebook.notebook { + border-right-width: 0; + border-bottom-width: 0; + border-left-width: 0; +} + +TerminalWindow .scrollbars-junction, +TerminalWindow .scrollbar.trough { + background-color: @osd_base; +} + +TerminalWindow .scrollbar.button, +TerminalWindow .scrollbar.button:active, +TerminalWindow .scrollbar.button:active:hover { + color: shade(@osd_base, 0.6); +} + +TerminalWindow .scrollbar.slider { + border-color: mix(shade(@osd_base, 0.87), @osd_fg, 0.21); + background-color: mix(@osd_base, @osd_fg, 0.21); +} + +TerminalWindow .scrollbar.slider:hover, +TerminalWindow .scrollbar.slider.vertical:hover { + border-color: mix(shade(@osd_base, 0.87), @osd_fg, 0.31); + background-color: mix(@osd_base, @osd_fg, 0.31); +} + +TerminalWindow .scrollbar.slider:active, +TerminalWindow .scrollbar.slider.vertical:active { + border-color: shade(@theme_selected_bg_color, 0.9); + background-color: @theme_selected_bg_color; +} + +/********* + * gedit * + *********/ +GeditWindow .pane-separator, +GeditWindow .pane-separator:hover { + border-width: 0 1px 1px 1px; + border-style: solid; + border-color: shade(@theme_bg_color, 0.8); + background-color: @theme_bg_color; + color: shade(@theme_bg_color, 0.8); +} + +.gedit-document-panel { + background-color: @theme_bg_color; + color: mix(@theme_fg_color, @theme_bg_color, 0.1); +} + +.gedit-document-panel-group-row, +.gedit-document-panel-group-row:hover { + border-top: 1px solid shade(@theme_bg_color, 0.9); + background-color: @theme_bg_color; +} + +.gedit-document-panel-document-row:hover { + background-color: shade(@theme_bg_color, 1.05); +} + +.gedit-document-panel-document-row:selected, +.gedit-document-panel-document-row:selected:hover { + background-color: @theme_selected_bg_color; + color: @theme_selected_fg_color; +} + +.gedit-document-panel .list-row { + padding: 4px; +} + +.gedit-document-panel .list-row .button { + padding: 1px; + border-image: none; + border-radius: 2px; + border-style: solid; + border-color: transparent; + border-width: 1px; + background-color: transparent; + background-image: none; + color: transparent; + icon-shadow: none; +} + +.gedit-document-panel .prelight-row .button { + border-color: alpha(black, 0.1); + color: alpha(white, 0.8); +} + +.gedit-document-panel .list-row .button:hover, +.gedit-document-panel .prelight-row .button:hover { + border-color: alpha(black, 0.1); + color: white; +} + +.gedit-document-panel .prelight-row .button:active { + border-color: alpha(black, 0.2); + background-color: alpha(black, 0.08); + color: white; +} + +.gedit-document-panel-dragged-row { + border: 1px solid alpha(black, 0.1); + background-color: alpha(black, 0.5); + color: white; +} + +.gedit-document-panel-placeholder-row { + border: none; + background-color: alpha(black, 0.08); + transition: all 200ms ease-in; +} + +GeditStatusbar { + border-top: 1px solid shade(@theme_bg_color, 0.8); +} + +GeditStatusbar GeditSmallButton, +GeditStatusMenuButton { + text-shadow: none; +} + +GeditStatusbar GeditSmallButton.button, +GeditStatusbar GeditSmallButton.button:hover, +GeditStatusbar GeditSmallButton.button:active, +GeditStatusbar GeditSmallButton.button:active:hover, +GeditStatusMenuButton.button, +GeditStatusMenuButton.button:hover, +GeditStatusMenuButton.button:active, +GeditStatusMenuButton.button:active:hover { + border-image: none; + border-style: solid; + border-width: 0 1px; + border-radius: 0; + padding: 1px 6px 2px 4px; +} + +GeditStatusbar GeditSmallButton.button:hover, +GeditStatusbar GeditSmallButton.button:active, +GeditStatusbar GeditSmallButton.button:active:hover, +GeditStatusMenuButton.button:hover, +GeditStatusMenuButton.button:active, +GeditStatusMenuButton.button:active:hover { + border-color: shade(@theme_bg_color, 0.8); +} + +GeditStatusbar GeditSmallButton.button:active, +GeditStatusMenuButton.button:active { + background-color: shade(@theme_bg_color, 0.95); + color: @theme_fg_color; +} + +GeditViewFrame .gedit-search-slider { + padding: 4px; + border-radius: 0 0 2px 2px; + border-width: 0 1px 1px 1px; + border-style: solid; + border-color: shade(@theme_base_color, 0.8); + background-color: @theme_base_color; +} + +GeditViewFrame .gedit-search-slider .not-found { + background-color: @error_bg_color; + background-image: none; + color: @error_fg_color; +} + +GeditViewFrame .gedit-search-slider .not-found:selected { + background-color: @theme_selected_bg_color; + color: @theme_selected_fg_color; +} + +GeditFileBrowserWidget .toolbar { + padding: 2px; + border-top: none; + background-color: @theme_bg_color; + background-image: none; +} + +.gedit-search-entry-occurrences-tag { + margin: 2px; + padding: 2px; + color: mix(@theme_text_color, @theme_base_color, 0.5); +} + +/*************** + * font-viewer * + ***************/ +SushiFontWidget { + padding: 6px 12px; +} + +/************* + * gucharmap * + *************/ +GucharmapChartable { + background-color: @theme_base_color; + color: @theme_text_color; +} + +GucharmapChartable:active, +GucharmapChartable:focus, +GucharmapChartable:selected { + background-color: @theme_selected_bg_color; + color: @theme_selected_fg_color; +} + +/************* + * evolution * + *************/ +EPreviewPane .entry { + background-color: @theme_base_color; + color: @theme_text_color; +} + +/****************** + * gnome calendar * + ******************/ +.calendar-view { + background-color: shade(@theme_base_color, 0.95); + color: @theme_text_color; +} + +/******************* + * gnome-bluetooth * + *******************/ +GtkEntry.entry.pin-entry { + font: regular 50; + padding-left: 25px; + padding-right: 25px; +} + +GtkLabel.pin-label { + font: regular 50; +} diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/apps/granite-widgets.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/apps/granite-widgets.css Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,677 @@ +/******************** + * dynamic notebook * + ********************/ +.dynamic-notebook { + background-color: shade(@theme_bg_color, 1.08); + background-image: none; +} + +.dynamic-notebook GtkLabel, +.dynamic-notebook GtkImage { + color: alpha(@theme_fg_color, 0.5); +} + +.dynamic-notebook .notebook { + -GtkNotebook-tab-overlap: 3px; + -GtkNotebook-initial-gap: 12px; + + border-width: 1px 0 0 0; + border-color: shade(@theme_bg_color, 0.8); + border-radius: 0; + padding: 0; +} + +.dynamic-notebook .notebook tab { + padding: 3px; + border-width: 0 1px; + border-color: shade(@theme_bg_color, 0.85); + border-radius: 0; + background-color: shade(@theme_bg_color, 0.9); + background-image: none; + color: @theme_fg_color; +} + +.dynamic-notebook .notebook tab:nth-child(first) { +} + +.dynamic-notebook .notebook tab:active { + border-color: shade(@theme_bg_color, 0.8); + background-color: shade(@theme_base_color, 0.85); + background-image: none; + color: @theme_fg_color; + box-shadow:inset 0 -2px @theme_selected_bg_color; +} + +.dynamic-notebook .notebook tab .entry { + border-radius: 2px; + padding: 4px 3px; +} + +.dynamic-notebook .button:hover, +.dynamic-notebook .button:hover:active, +.dynamic-notebook .notebook .button, +.dynamic-notebook .notebook .button:hover, +.dynamic-notebook .notebook .button:hover:active { + border-color: shade(@theme_bg_color, 0.7); + background-color: shade(@theme_bg_color, 1.10); + background-image: none; +} + +.dynamic-notebook .button:hover:active, +.dynamic-notebook .notebook .button:hover:active { + border-color: shade(@theme_bg_color, 0.7); + color: shade(@theme_fg_color, 0.7); +} + +.dynamic-notebook .menu GtkLabel { + color: @menu_fg_color; +} + +/**************** + * content view * + ****************/ +.content-view-window { + border-width: 1px; + border-style: solid; + border-color: shade(@theme_base_color, 0.8); + border-radius: 2px; + background-color:@theme_base_color; + background-image: none; + color: @theme_text_color; +} + +.content-view, +.content-view GtkViewport { + background-color: @theme_base_color; + background-image: none; +} + +.content-view * { + background-color: transparent; + background-image: none; +} + +.content-view .entry { + background-color: @theme_base_color; + background-image: none; + color: @theme_text_color; +} + +.content-view .button { + border-width: 1px; + border-style: solid; + border-color: shade(@theme_base_color, 0.8); + border-radius: 2px; + background-color: shade(@theme_base_color, 1.08); + background-image: none; + color: @theme_text_color; +} + +.content-view .button:hover { + border-color: shade(@theme_base_color, 0.7); + background-color: shade(@theme_base_color, 1.10); + background-image: none; +} + +.content-view .button:active { + border-color: shade(@theme_base_color, 0.8); + background-color: shade(@theme_base_color, 0.95); + background-image: none; +} + +.content-view .button:active:hover { + border-color: shade(@theme_base_color, 0.7); + color: shade(@theme_text_color, 0.7); +} + +.content-view .button:insensitive { + background-color: shade(@theme_base_color, 0.9); + background-image: none; +} + +.content-view .help_button * { + color: @theme_text_color; +} + +.content-view .toolbar { + -GtkWidget-window-dragging: true; + + padding: 1px; + border-width: 0 0 1px 0; + border-style: solid; + border-color: shade(@theme_base_color, 0.8); + background-color: @theme_base_color; + background-image: none; +} + +.content-view .menu { + padding: 0; + border-radius: 0; + border-style: none; + background-color: @menu_bg_color; + background-image: none; + color: @menu_fg_color; +} + +/************** + * sourcelist * + **************/ +.source-list, +.source-list.view { + border-radius: 0; + background-color: @theme_bg_color; + background-image: none; + color: mix(@theme_fg_color, @theme_bg_color, 0.1); +} + +.source-list { + -GtkTreeView-horizontal-separator: 1; + -GtkTreeView-vertical-separator: 1; +} + +.source-list.view:selected, +.source-list.view:prelight:selected { + background-color: @theme_selected_bg_color; + background-image: none; + color: @theme_selected_fg_color; +} + +.source-list.view:prelight { + background-color: shade(@theme_bg_color, 1.08); + background-image: none; +} + +.source-list.badge, +.source-list.badge:prelight, +.source-list.badge:selected, +.source-list.badge:prelight:selected { + margin: 0 3px; + padding: 0 6px; + border-width: 0; + border-radius: 10px; + background-color: @theme_selected_bg_color; + background-image: none; + color: @theme_selected_fg_color; +} + +/****************** + * no undo button * + ******************/ +.button.noundo, +.content-view .button.noundo { + border-color: shade(@error_bg_color, 0.8); + background-color: shade(@error_bg_color, 1.08); + background-image: none; + color: @error_fg_color; +} + +.button.noundo:hover, +.content-view .button.noundo:hover { + border-color: shade(@error_bg_color, 0.7); + background-color: @error_bg_color; + background-image: none; +} + +.button.noundo:active, +.content-view .button.noundo:active { + border-color: shade(@error_bg_color, 0.8); + background-color: shade(@error_bg_color, 0.95); + background-image: none; +} + +.button.noundo:active:hover, +.content-view .button.noundo:active:hover { + border-color: shade(@error_bg_color, 0.7); + background-color: shade(@error_bg_color, 0.97); + background-image: none; +} + +.button.noundo GtkLabel, +.button.noundo Gtklabel:prelight { + color: @error_fg_color; +} + +/********************** + * affirmative button * + **********************/ +.button.affirmative, +.content-view .button.affirmative { + border-color: shade(@theme_selected_bg_color, 0.8); + background-color: shade(@theme_selected_bg_color, 1.08); + background-image: none; + color: @theme_selected_fg_color; +} + +.button.affirmative:hover, +.content-view .button.affirmative:hover { + border-color: shade(@theme_selected_bg_color, 0.7); + background-color: @theme_selected_bg_color; + background-image: none; +} + +.button.affirmative:active, +.content-view .button.affirmative:active { + border-color: shade(@theme_selected_bg_color, 0.8); + background-color: shade(@theme_selected_bg_color, 0.95); + background-image: none; +} + +.button.affirmative:active:hover, +.content-view .button.affirmative:active:hover { + border-color: shade(@theme_selected_bg_color, 0.7); + background-color: shade(@theme_selected_bg_color, 0.97); + background-image: none; +} + +.button.affirmative GtkLabel, +.button.affirmative Gtklabel:prelight { + color: @theme_selected_fg_color; +} + +/********************** + * secondary toolbars * + **********************/ +.secondary-toolbar.toolbar { + padding: 2px; + border-color: shade(@toolbar_bg_color, 0.8); + background-color: @toolbar_bg_color; + background-image: none; +} + +.secondary-toolbar.toolbar .button { + border-color: shade(@toolbar_bg_color, 0.8); + background-color: shade(@toolbar_bg_color, 1.08); + background-image: none; + color: @toolbar_fg_color; +} + +.secondary-toolbar.toolbar .button:hover { + border-color: shade(@toolbar_bg_color, 0.7); + background-color: shade(@toolbar_bg_color, 1.10); + background-image: none; +} + +.secondary-toolbar.toolbar .button:active { + border-color: shade(@toolbar_bg_color, 0.8); + background-color: shade(@toolbar_bg_color, 0.95); + background-image: none; +} + +.secondary-toolbar.toolbar .button:active:hover { + border-color: shade(@toolbar_bg_color, 0.7); +} + +.secondary-toolbar.toolbar .button:focus, +.secondary-toolbar.toolbar .button:hover:focus, +.secondary-toolbar.toolbar .button:active:focus, +.secondary-toolbar.toolbar .button:active:hover:focus { + border-color: shade(@toolbar_bg_color, 0.7); +} + +.secondary-toolbar.toolbar .button:insensitive { + border-color: shade(@toolbar_bg_color, 0.85); + background-color: shade(@toolbar_bg_color, 0.9); + background-image: none; +} + +.secondary-toolbar.toolbar .button:active *:insensitive { + border-color: shade(@toolbar_bg_color, 0.75); + background-color: shade(@toolbar_bg_color, 0.80); + background-image: none; +} + +/******************* + * bottom toolbars * + *******************/ +.bottom-toolbar.toolbar { + padding: 6px; + border-width: 1px 0 0 0; + border-color: shade(@theme_bg_color, 0.8); + background-color: @theme_bg_color; + background-image: none; +} + +.bottom-toolbar.toolbar .button { + border-color: shade(@theme_bg_color, 0.8); + background-color: shade(@theme_bg_color, 1.08); + background-image: none; + color: @theme_fg_color; +} + +.bottom-toolbar.toolbar .button:hover { + border-color: shade(@theme_bg_color, 0.7); + background-color: shade(@theme_bg_color, 1.10); + background-image: none; +} + +.bottom-toolbar.toolbar .button:active { + border-color: shade(@theme_bg_color, 0.8); + background-color: shade(@theme_bg_color, 0.95); + background-image: none; +} + +.bottom-toolbar.toolbar .button:active:hover { + border-color: shade(@theme_bg_color, 0.7); +} + +.bottom-toolbar.toolbar .button:focus, +.bottom-toolbar.toolbar .button:hover:focus, +.bottom-toolbar.toolbar .button:active:focus, +.bottom-toolbar.toolbar .button:active:hover:focus { + border-color: shade(@theme_bg_color, 0.7); +} + +.bottom-toolbar.toolbar .button:insensitive { + border-color: shade(@theme_bg_color, 0.85); + background-color: shade(@theme_bg_color, 0.9); + background-image: none; +} + +.bottom-toolbar.toolbar .button:active *:insensitive { + border-color: shade(@theme_bg_color, 0.75); + background-color: shade(@theme_bg_color, 0.80); + background-image: none; +} + +/************* + * statusbar * + *************/ +GraniteWidgetsStatusBar { + padding: 1px; + background-color: @theme_bg_color; + background-image: none; + box-shadow: inset 0 1px shade(@theme_bg_color, 0.8); +} + +/*********** + * popover * + ***********/ +GraniteWidgetsPopOver { + -GraniteWidgetsPopOver-arrow-width: 21; + -GraniteWidgetsPopOver-arrow-height: 12; + -GraniteWidgetsPopOver-border-radius: 2px; + -GraniteWidgetsPopOver-border-width: 1; + -GraniteWidgetsPopOver-shadow-size: 12; + + margin: 0; + border-style: solid; + border-color: shade(@menu_bg_color, 0.8); + color: @menu_fg_color; +} + +.popover_bg { + background-color: transparent; + background-image: linear-gradient(to bottom, + @menu_bg_color, + @menu_bg_color + ); +} + +GraniteWidgetsPopOver .sidebar.view, +GraniteWidgetsPopOver * { + background-color: transparent; + background-image: none; + color: @menu_fg_color; +} + +GraniteWidgetsPopOver .sidebar.view:selected, +GraniteWidgetsPopOver .sidebar.view:selected:focus, +GraniteWidgetsPopOver *:selected, +GraniteWidgetsPopOver *:selected:focus { + background-color: @theme_selected_bg_color; + background-image: none; + color: @theme_selected_fg_color; +} + +GraniteWidgetsPopOver .button { + border-color: shade(@menu_bg_color, 0.8); + background-color: shade(@menu_bg_color, 1.08); + background-image: none; + color: @menu_fg_color; + +} + +GraniteWidgetsPopOver .button:hover { + border-color: shade(@menu_bg_color, 0.7); + background-color: shade(@menu_bg_color, 1.10); + background-image: none; + color: shade(@menu_fg_color, 0.7); +} + +GraniteWidgetsPopOver .button:active { + border-color: shade(@menu_bg_color, 0.8); + background-color: shade(@menu_bg_color, 0.95); + background-image: none; +} + +GraniteWidgetsPopOver .button:active:hover { + border-color: shade(@menu_bg_color, 0.7); + color: shade(@menu_fg_color, 0.7); +} + +/* linked buttons */ +GraniteWidgetsPopOver .linked .button { + box-shadow: inset -1px 0 shade(@menu_bg_color, 0.9); +} + +GraniteWidgetsPopOver .linked .button:active { + box-shadow: inset -1px 0 shade(@menu_bg_color, 0.9), + inset 1px 0 alpha(@dark_shadow, 0.07), + inset 0 1px alpha(@dark_shadow, 0.08), + inset 0 -1px alpha(@dark_shadow, 0.05); +} + +GraniteWidgetsPopOver .linked .button:insensitive { + box-shadow: inset -1px 0 shade(@menu_bg_color, 0.9); +} + +/* remove box shadow from last-child and only-child */ +GraniteWidgetsPopOver .linked .button:last-child, +GraniteWidgetsPopOver .linked .button:only-child, +GraniteWidgetsPopOver .linked .button:insensitive:last-child, +GraniteWidgetsPopOver .linked .button:insensitive:only-child, +GraniteWidgetsPopOver .linked .button:active *:insensitive:last-child, +GraniteWidgetsPopOver .linked .button:active *:insensitive:only-child { + box-shadow: none; +} + +/* add back the inset shadow effect */ +GraniteWidgetsPopOver .linked .button:active:last-child, +GraniteWidgetsPopOver .linked .button:active:only-child { + box-shadow: inset 1px 0 alpha(@dark_shadow, 0.07), + inset 0 1px alpha(@dark_shadow, 0.08), + inset -1px 0 alpha(@dark_shadow, 0.07); +} + +GraniteWidgetsPopOver .entry { + border-color: shade(@menu_bg_color, 0.7); + background-color: @menu_bg_color; + background-image: none; + color: @menu_fg_color; +} + +GraniteWidgetsPopOver .entry:active, +GraniteWidgetsPopOver .entry:focus { + border-color: shade(@menu_bg_color, 0.7); +} + +GraniteWidgetsPopOver *.separator { + border-color: shade(@menu_bg_color, 0.9); + color: transparent; +} + +.button.app { + border-width: 0; + border-radius: 2px; + background-color: transparent; + background-image: none; +} + +.button.app:hover { + border-color: shade(@theme_selected_bg_color, 0.9); + background-color: @theme_selected_bg_color; + background-image: none; + color: @theme_selected_fg_color; +} + +.button.app:focus { + border-color: shade(@theme_selected_bg_color, 0.9); + background-color: @theme_selected_bg_color; + background-image: none; + color: @theme_selected_fg_color; +} + +/******** + * gala * + ********/ +.gala-workspaces-background { + border-width: 1px 0 0 0; + border-color: shade(@panel_bg_color, 0.8); + background-color: @panel_bg_color; + background-image: none; +} + +.gala-workspace-selected { + border-width: 1px; + border-radius: 2px; + border-color: shade(@theme_selected_bg_color, 0.9); + background-color: @theme_selected_bg_color; + background-image: none; +} + +/********* + * files * + *********/ +.files-overlay-bar { + margin: 3px; + padding: 3px 6px; + border-width: 1px; + border-color: shade(@theme_base_color, 0.7); + border-radius: 2px; + background-color: @theme_base_color; + background-image: none; +} + +.files-overlay-bar GtkLabel { + color: @theme_text_color; +} + +/************ + * terminal * + ************/ +PantheonTerminalPantheonTerminalWindow.background { + background-color: transparent; +} + +/********* + * noise * + *********/ +.album-list-view, +.album-list-view * { + border-color: shade(@theme_base_color, 0.7); + border-radius: 0; + background-color: @theme_base_color; + background-image: none; + color: @theme_text_color; +} + +.album-list-view GtkTreeView { + -GtkTreeView-vertical-separator: 1; + -GtkTreeView-grid-line-width: 0; + + background-color: @theme_base_color; + background-image: none; + color: @theme_text_color; +} + +.album-list-view GtkTreeView row:nth-child(even) { + border-width: 0; + border-style: none; + background-color: shade(@theme_base_color, 0.97); + background-image: none; +} + + +.album-list-view GtkTreeView row:nth-child(odd) { + border-width: 0; + border-style: none; + background-color: shade(@theme_base_color, 1.0); + background-image: none; +} + +.album-list-view GtkTreeView row:selected { + background-color: @selected_bg_color; + background-image: none; + color: @selected_fg_color; +} + +/********** + * birdie * + **********/ +BirdieWidgetsTweetList * { + background-color: transparent; + background-image: none; +} + +/********* + * tweet * + *********/ +.tweet { + padding: 0; +} + +/********** + * notify * + **********/ +.notify { + border-width: 1px; + border-style: solid; + border-color: shade(@theme_base_color, 0.7); + border-radius: 2px; + background-color: @theme_base_color; + background-image: none; + color: @theme_text_color; +} + +.notify .low { +} + +.notify .critical { +} + +/********* + * panel * +*********/ +.panel { + background-color: transparent; + color: white; + font-weight: bold; + text-shadow: 0 1px 2px alpha (black, 0.5); + icon-shadow: 0 1px 2px alpha (black, 0.5); +} + +.panel .menu .menuitem { + font-weight: normal; +} + +.panel-shadow { + background-image: none; + background-color: transparent; +} + +.panel-app-button { + -GtkMenuItem-horizontal-padding: 6px; +} + +.composited-indicator { + background-color: transparent; + color: white; + padding: 0 2px; +} + +.composited-indicator.menuitem:active, +.composited-indicator.menuitem:prelight { + border-style: none; + background-image: none; + box-shadow: none; +} diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/apps/lightdm-gtk-greeter.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/apps/lightdm-gtk-greeter.css Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,250 @@ +/********* + * panel * + *********/ +#panel_window { + background-color: transparent; + background-image: none; + color: white; + font: bold; + text-shadow: 0 1px alpha(black, 0.5); + icon-shadow: 0 1px alpha(black, 0.5); +} + +#panel_window .menubar, +#panel_window .menubar > .menuitem { + background-color: transparent; + background-image: none; + color: white; + font: bold; + text-shadow: 0 1px alpha(black, 0.5); + icon-shadow: 0 1px alpha(black, 0.5); +} + +#panel_window .menubar > .menuitem:hover { + border-style: none; + background-color: alpha(white, 0.2); + background-image: none; + color: white; +} + +#panel_window .menubar > .menuitem *:hover { + color: white; +} + +#panel_window .menubar > .menuitem:insensitive { + color: alpha(white, 0.7); +} + +#panel_window .menubar .menu { + border-radius: 1px; +} + +#panel_window .menubar .menu .menuitem { + font: normal; + text-shadow: none; +} + +/**************** + * login window * + ****************/ +#login_window, +#shutdown_dialog, +#restart_dialog { + border-style: none; + border-radius: 2px; + background-color: @lightdm_bg_color; + color: @lightdm_fg_color; + + /* draw border using box-shadow */ + box-shadow: inset 1px 0 mix(shade(@lightdm_bg_color, 0.7), @lightdm_fg_color, 0.21), + inset -1px 0 mix(shade(@lightdm_bg_color, 0.7), @lightdm_fg_color, 0.21), + inset 0 1px mix(shade(@lightdm_bg_color, 0.7), @lightdm_fg_color, 0.21), + inset 0 -1px mix(shade(@lightdm_bg_color, 0.7), @lightdm_fg_color, 0.21); +} + +#content_frame { + padding-bottom: 14px; +} + +#login_window .menu { + border-radius: 1px; +} + +#login_window GtkComboBox .button, +#login_window GtkComboBox .button:hover, +#login_window GtkComboBox .button:active, +#login_window GtkComboBox .button:active:hover, +#login_window GtkComboBox .button:focus, +#login_window GtkComboBox .button:hover:focus, +#login_window GtkComboBox .button:active:focus, +#login_window GtkComboBox .button:active:hover:focus { + padding: 0; + background: none; + border-style: none; + box-shadow: none; +} + +#login_window GtkComboBox .button:focus, +#login_window GtkComboBox .button:hover:focus, +#login_window GtkComboBox .button:active:focus, +#login_window GtkComboBox .button:active:hover:focus { + background: none; + border-style: none; +} + +#login_window #user_combobox { + color: @lightdm_fg_color; + font: 18px; +} + +#login_window #user_combobox .menu { + font: normal; +} + +#login_window #user_combobox .arrow { + color: mix(@lightdm_fg_color, @lightdm_bg_color, 0.5); +} + +#login_window .entry { + padding: 3px 5px; + border-width: 1px; + border-style: solid; + border-color: shade(@lightdm_bg_color, 0.8); + border-radius: 2px; + background-color: shade(@lightdm_bg_color, 0.9); + background-image: none; + color: @lightdm_fg_color; + + box-shadow: none; + transition: all 150ms ease-out; +} + +#login_window .entry:focus, +#login_window .entry:hover { + border-color: shade(@lightdm_bg_color, 0.7); + + box-shadow: inset 1px 0 alpha(@dark_shadow, 0.10), + inset 0 1px alpha(@dark_shadow, 0.12), + inset -1px 0 alpha(@dark_shadow, 0.10), + inset 0 -1px alpha(@dark_shadow, 0.05); +} + +#login_window .button, +#shutdown_dialog .button, +#restart_dialog .button { + padding: 3px 15px; + border-width: 1px; + border-radius: 2px; + border-style: solid; + border-color: shade(@lightdm_bg_color, 0.8); + background-color: shade(@lightdm_bg_color, 1.08); + background-image: none; + color: @lightdm_fg_color; + + transition: all 150ms ease-out; +} + +#user_image { + padding: 3px; + border-radius: 2px; + + /* draw border using box-shadow */ + box-shadow: inset 1px 0 shade(@lightdm_bg_color, 0.7), + inset -1px 0 shade(@lightdm_bg_color, 0.7), + inset 0 1px shade(@lightdm_bg_color, 0.7), + inset 0 -1px shade(@lightdm_bg_color, 0.7); +} + +#user_image_border { + border-radius: 2px; + background-color: shade(@lightdm_bg_color, 0.9); + background-image: none; + + box-shadow: inset 1px 0 alpha(@dark_shadow, 0.07), + inset 0 1px alpha(@dark_shadow, 0.08), + inset -1px 0 alpha(@dark_shadow, 0.07), + inset 0 -1px alpha(@dark_shadow, 0.05); +} + +#buttonbox_frame { + padding-top: 10px; + padding-bottom: 0; + border-style: none; + border-bottom-left-radius: 2px; + border-bottom-right-radius: 2px; + background-color: transparent; + background-image: none; + box-shadow: none; +} + +/****************************** + * default and focused button * + ******************************/ +#login_window .button.default, +#shutdown_dialog .button.default, +#restart_dialog .button.default, +#login_window .button:focus, +#login_window .button:active:focus, +#shutdown_dialog .button:focus, +#shutdown_dialog .button:active:focus, +#restart_dialog .button:focus, +#restart_dialog .button:active:focus { + border-color: shade(@theme_selected_bg_color, 0.8); + background-color: shade(@theme_selected_bg_color, 1.08); + background-image: none; + color: @theme_selected_fg_color; +} + +#login_window .button.default:hover, +#shutdown_dialog .button.default:hover, +#restart_dialog .button.default:hover, +#login_window .button:hover:focus, +#login_window .button:active:hover:focus, +#shutdown_dialog .button:hover:focus, +#shutdown_dialog .button:active:hover:focus, +#restart_dialog .button:hover:focus, +#restart_dialog .button:active:hover:focus { + border-color: shade(@theme_selected_bg_color, 0.7); + background-color: @theme_selected_bg_color; +} + +/******************* + * shutdown button * + *******************/ +#shutdown_button.button { + border-color: shade(@error_bg_color, 0.8); + background-color: shade(@error_bg_color, 1.08); + background-image: none; + color: @error_fg_color; +} + +#shutdown_button.button:hover, +#shutdown_button.button:active, +#shutdown_button.button:active:hover { + border-color: shade(@error_bg_color, 0.7); + background-color: @error_bg_color; +} + +/****************** + * restart button * + ******************/ +#restart_button.button { + border-color: shade(@warning_bg_color, 0.8); + background-color: shade(@warning_bg_color, 1.08); + background-image: none; + color: @warning_fg_color; +} + +#restart_button.button:hover, +#restart_button.button:active, +#restart_button.button:active:hover { + border-color: shade(@warning_bg_color, 0.7); + background-color: @warning_bg_color; +} + +/******************** + * password warning * + ********************/ +#greeter_infobar { + font: bold; +} diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/apps/nautilus.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/apps/nautilus.css Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,39 @@ + +/************************** + * NautilusWindow Sidebar * + **************************/ + +NautilusWindow .sidebar, +NautilusWindow .sidebar:backdrop { + background-color: @theme_bg_color; + color: @theme_fg_color; +} +NautilusWindow .sidebar-row { + background-color: @theme_bg_color; + color: @theme_fg_color; +} +NautilusWindow .sidebar-row:selected GtkGrid { + background-color: @theme_selected_bg_color; + color: @theme_selected_fg_color; +} +NautilusWindow .sidebar-row:selected:hover { + background-color: @theme_selected_bg_color; + color: @theme_selected_fg_color; +} +NautilusWindow .sidebar-row:hover { + background-color: transparent; + box-shadow: inset 3px 0px @theme_selected_bg_color; + color: @theme_selected_bg_color; +} +NautilusWindow .sidebar-icon { + padding: 5px 10px; +} +NautilusWindow .sidebar .separator { + color: shade(@theme_bg_color, 0.9); +} +NautilusWindow .sidebar .separator:backdrop { + color: shade(@theme_bg_color, 0.9); +} +NautilusWindow .pane-separator { + border-width: 1px; +} diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/apps/nemo.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/apps/nemo.css Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,76 @@ +/***************** + * desktop icons * + *****************/ +.nemo-canvas-item { + border-radius: 2px; +} + +.nemo-desktop.nemo-canvas-item { + color: white; + text-shadow: 1px 1px black; +} + +.nemo-desktop.nemo-canvas-item:active { + color: @theme_fg_color; +} + +.nemo-desktop.nemo-canvas-item:selected { + color: @theme_selected_fg_color; +} + +.nemo-desktop.nemo-canvas-item:active, +.nemo-desktop.nemo-canvas-item:prelight, +.nemo-desktop.nemo-canvas-item:selected { + text-shadow: none; +} + +/*********************** + * pathbar breadcrumbs * + ***********************/ +NemoPathbarButton { + border-color: shade(@toolbar_bg_color, 0.8); + background-color: shade(@toolbar_bg_color, 1.08); + background-image: none; + color: @toolbar_fg_color; + + -NemoPathbarButton-border-radius: 2px; +} + +NemoPathbarButton:active { + border-color: shade(@toolbar_bg_color, 0.8); + background-color: shade(@toolbar_bg_color, 0.95); + background-image: none; +} + +NemoPathbarButton:hover { + border-color: shade(@toolbar_bg_color, 0.7); + background-color: shade(@toolbar_bg_color, 1.10); + background-image: none; +} + +NemoPathbarButton:active:hover { + border-color: shade(@toolbar_bg_color, 0.7); +} + +/********************************* + * sidebar disk space indicators * + *********************************/ +NemoPlacesTreeView { + -NemoPlacesTreeView-disk-full-bg-color: shade(@toolbar_bg_color, 0.8); + -NemoPlacesTreeView-disk-full-fg-color: @theme_selected_bg_color; + -NemoPlacesTreeView-disk-full-bar-width: 1px; + -NemoPlacesTreeView-disk-full-bar-radius: 1px; + -NemoPlacesTreeView-disk-full-bottom-padding: 2px; + -NemoPlacesTreeView-disk-full-max-length: 70px; +} + +NemoPlacesTreeView:selected { + -NemoPlacesTreeView-disk-full-bg-color: @theme_selected_fg_color; + -NemoPlacesTreeView-disk-full-fg-color: shade(@theme_selected_bg_color, 1.4); +} + +NemoPlacesTreeView:hover { +} + +NemoPlacesTreeView:selected:hover { +} diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/apps/synaptic.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/apps/synaptic.css Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,11 @@ +/************ + * synaptic * + ************/ +GtkWindow > GtkVBox > .dock, +GtkWindow > GtkVBox > .dock > GtkHBox > GtkToolbar { + padding: 4px; + border-style: none; + background-color: @toolbar_bg_color; + background-image: none; + color: @toolbar_fg_color; +} diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/apps/tab-mono.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/apps/tab-mono.css Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,177 @@ +/************ + * notebook * + ************/ +.notebook { + padding: 0; + border-style: solid; + border-color: shade(@theme_base_color, 0.7); + border-width: 1px; + + background-color: @theme_base_color; + -GtkNotebook-initial-gap: 10; + -GtkNotebook-arrow-spacing: 5; + -GtkNotebook-tab-curvature: 0; + -GtkNotebook-tab-overlap: 1; + -GtkNotebook-has-tab-gap: false; + -GtkWidget-focus-padding: 0; + -GtkWidget-focus-line-width: 0; +} + +.notebook.frame { + border-width: 1px; +} + +.notebook.header { + border-width: 1px; + background-color: shade(@theme_base_color, 0.90); + box-shadow: inset 0 3px alpha(black, 0.03), inset 0 2px alpha(black, 0.03), inset 0 1px alpha(black, 0.03); +} + +.notebook.header.frame.top, +.notebook.header.frame.top:backdrop { + border-top: 1px solid shade(@theme_base_color, 0.7); + border-left: 1px solid shade(@theme_base_color, 0.7); + border-right: 1px solid shade(@theme_base_color, 0.7); +} + +.notebook.header.frame.bottom, +.notebook.header.frame.bottom:backdrop { + border-bottom: 1px solid shade(@theme_base_color, 0.7); + border-left: 1px solid shade(@theme_base_color, 0.7); + border-right: 1px solid shade(@theme_base_color, 0.7); +} + +.notebook.header.frame.left, +.notebook.header.frame.left:backdrop { + border-top: 1px solid shade(@theme_base_color, 0.7); + border-bottom: 1px solid shade(@theme_base_color, 0.7); + border-left: 1px solid shade(@theme_base_color, 0.7); +} + +.notebook.header.frame.right, +.notebook.header.frame.right:backdrop { + border-top: 1px solid shade(@theme_base_color, 0.7); + border-bottom: 1px solid shade(@theme_base_color, 0.7); + border-right: 1px solid shade(@theme_base_color, 0.7); +} + +.notebook GtkViewport { + border-width: 0; + background-color: @theme_base_color; + color: @theme_text_color; +} + +.notebook tab { + padding: 3px 15px 5px; + border-style: none; + background-color: transparent; + background-image: none; +} + +.notebook tab GtkLabel { + color: mix (@theme_fg_color, @theme_bg_color, 0.40); + font-weight: bold; + transition: all 200ms ease-out; +} + +.notebook tab:hover { + background-color: transparent; + background-image: none; + color: black; +/* box-shadow:inset 0 -3px alpha(@theme_selected_bg_color, 0.5);*/ +} + +.notebook tab:active { + background-color: transparent; + background-image: none; +} + +.notebook tab.top { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.notebook tab.top:hover { + background-color: transparent; + background-image: none; + box-shadow:inset 0 -3px alpha(@theme_selected_bg_color, 0.5); +} + +.notebook tab.top:active { + box-shadow:inset 0 -3px @theme_selected_bg_color; +} + +.notebook tab.right { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.notebook tab.right:hover { + background-color: transparent; + background-image: none; + box-shadow:inset 3px 0 alpha(@theme_selected_bg_color, 0.5); +} + +.notebook tab.right:active { + box-shadow:inset 3px 0 @theme_selected_bg_color; +} + +.notebook tab.bottom { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.notebook tab.bottom:hover { + background-color: transparent; + background-image: none; + box-shadow:inset 0 3px alpha(@theme_selected_bg_color, 0.5); +} + +.notebook tab.bottom:active { + box-shadow:inset 0 3px @theme_selected_bg_color; +} + +.notebook tab.left { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.notebook tab.left:hover { + background-color: transparent; + background-image: none; + box-shadow:inset -3px 0 alpha(@theme_selected_bg_color, 0.5); +} + +.notebook tab.left:active { + box-shadow:inset -3px 0 @theme_selected_bg_color; +} + +/*.notebook tab GtkLabel {*/ +/* color: mix(@theme_text_color, @theme_base_color, 0.3);*/ +/*}*/ + +.notebook .active-page, +.notebook tab .active-page GtkLabel { + color: @theme_text_color; +} + +/* close button styling */ +.notebook tab .button, +.notebook tab .button:active, +.notebook tab .button:hover { + background-image: none; + background-color: transparent; + color: mix(@theme_text_color, @theme_base_color, 0.5); +} + +.notebook tab .button:hover { + color: @theme_text_color; + border-color: shade(@theme_base_color, 0.8); +} + +.notebook tab .button:active, +.notebook tab .button:active:hover { + border-color: shade(@theme_base_color, 0.7); + background-color: shade(@theme_base_color, 0.95); +} + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/apps/unity.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/apps/unity.css Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,79 @@ +UnityDecoration { + -UnityDecoration-extents: 28px 2px 2px 2px; + -UnityDecoration-input-extents: 10px; + + -UnityDecoration-shadow-offset-x: 1px; + -UnityDecoration-shadow-offset-y: 1px; + -UnityDecoration-active-shadow-color: rgba(0,0,0,0.7); + -UnityDecoration-active-shadow-radius: 8px; + -UnityDecoration-inactive-shadow-color: rgba(0,0,0,0.5); + -UnityDecoration-inactive-shadow-radius: 5px; + + -UnityDecoration-glow-size: 10px; + -UnityDecoration-glow-color: @theme_selected_bg_color; + + -UnityDecoration-title-indent: 10px; + -UnityDecoration-title-fade: 35px; + -UnityDecoration-title-alignment: 0.0; +} + +UnityDecoration.top { + border: 0px solid mix(shade(@titlebar_bg_color, 0.7), @titlebar_fg_color, 0.21); + border-bottom-width: 0; + border-radius: 0 0 0 0; + padding: 1px 8px 0 8px; + background-color: @titlebar_bg_color; + color: mix(@titlebar_fg_color, @titlebar_bg_color, 0.1); + text-shadow: none; +} + +UnityDecoration.top:backdrop { + border: 1px solid mix(shade(@titlebar_bg_color, 0.7), @titlebar_fg_color, 0.12); + border-bottom-width: 0; + background-color: @titlebar_bg_color; + color: mix(@titlebar_fg_color, @titlebar_bg_color, 0.4); +} + +UnityDecoration.left, +UnityDecoration.right, +UnityDecoration.bottom { + background-color: @titlebar_bg_color; +} + +UnityDecoration.left:backdrop, +UnityDecoration.right:backdrop, +UnityDecoration.bottom:backdrop { + background-color: @titlebar_bg_color; +} + +UnityPanelWidget, +.unity-panel { + border-width: 0 0 1px 0; + border-style: solid; + border-color: @panel_bg_color; + background-color: @panel_bg_color; + background-image: none; + color: @panel_fg_color; +} + +.unity-panel.menubar, +.unity-panel .menubar { +} + +.unity-panel.menuitem, +.unity-panel .menuitem { + border-width: 0 1px; + color: @panel_fg_color; +} + +.unity-panel.menubar.menuitem:hover, +.unity-panel.menubar .menuitem *:hover { + border-color: mix(@panel_bg_color, @panel_fg_color, 0.21); + background-color: mix(@panel_bg_color, @panel_fg_color, 0.21); + background-image: none; + color: shade(@panel_fg_color, 1.08); +} +/* Force Quit */ +SheetStyleDialog.unity-force-quit { + background-color: @base_color; +} diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/apps/xfce.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/apps/xfce.css Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,50 @@ +CatfishWindow .sidebar .button.flat { + padding: 4px 6px; + transition: none; +} + +CatfishWindow .sidebar .button.flat:active, +CatfishWindow .sidebar .button.flat:checked { + border-color: shade(@theme_bg_color, 0.8); + background-color: shade(@theme_bg_color, 0.95); + background-image: none; +} + +XfceHeading { + margin: 0; + padding: 0; + border-width: 0; + background-color: @theme_base_color; + background-image: none; + color: @theme_text_color; +} + +.xfce4-panel { + background-color: @panel_bg_color; + color: @panel_fg_color; + font: normal; +} + +.xfce4-panel .button { + padding: 0 2px; + border-radius: 0; + border-style: none; + color: @panel_fg_color; +} + +.xfce4-panel .button:active { + background-color: shade(@panel_bg_color, 0.8); + background-image: none; + color: @panel_fg_color; +} + +.xfce4-panel .button:hover, +.xfce4-panel .button:active:hover { + background-color: mix(@panel_bg_color, @panel_fg_color, 0.21); + background-image: none; + color: shade(@panel_fg_color, 1.08); +} + +.xfce4-panel .menu { + -gtk-image-effect: none; +} diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-checked-dark.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-checked-dark.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,7 @@ + + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-checked-insensitive-dark.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-checked-insensitive-dark.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,9 @@ + + + + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-checked-insensitive.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-checked-insensitive.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,9 @@ + + + + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-checked.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-checked.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,7 @@ + + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-mixed-dark.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-mixed-dark.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,7 @@ + + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-mixed-insensitive-dark.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-mixed-insensitive-dark.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,9 @@ + + + + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-mixed-insensitive.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-mixed-insensitive.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,9 @@ + + + + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-mixed.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-mixed.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,7 @@ + + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-unchecked-dark.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-unchecked-dark.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,6 @@ + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-unchecked-insensitive-dark.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-unchecked-insensitive-dark.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,6 @@ + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-unchecked-insensitive.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-unchecked-insensitive.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,6 @@ + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-unchecked.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/checkbox-unchecked.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,6 @@ + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/grid-selection-checked-dark.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/grid-selection-checked-dark.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,7 @@ + + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/grid-selection-checked.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/grid-selection-checked.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,7 @@ + + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/grid-selection-unchecked-dark.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/grid-selection-unchecked-dark.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,6 @@ + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/grid-selection-unchecked.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/grid-selection-unchecked.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,6 @@ + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/menuitem-checkbox-checked-hover.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/menuitem-checkbox-checked-hover.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,5 @@ + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/menuitem-checkbox-checked-insensitive.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/menuitem-checkbox-checked-insensitive.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,5 @@ + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/menuitem-checkbox-checked.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/menuitem-checkbox-checked.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,5 @@ + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/menuitem-checkbox-mixed-hover.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/menuitem-checkbox-mixed-hover.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,5 @@ + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/menuitem-checkbox-mixed-insensitive.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/menuitem-checkbox-mixed-insensitive.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,5 @@ + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/menuitem-checkbox-mixed-selected.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/menuitem-checkbox-mixed-selected.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,5 @@ + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/menuitem-checkbox-mixed.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/menuitem-checkbox-mixed.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,11 @@ + + + + + + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/menuitem-radio-checked-hover.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/menuitem-radio-checked-hover.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,5 @@ + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/menuitem-radio-checked-insensitive.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/menuitem-radio-checked-insensitive.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,5 @@ + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/menuitem-radio-checked.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/menuitem-radio-checked.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,5 @@ + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/pane-handle-vertical.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/pane-handle-vertical.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,7 @@ + + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/pane-handle.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/pane-handle.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,7 @@ + + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-mixed-dark.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-mixed-dark.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,7 @@ + + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-mixed-insensitive-dark.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-mixed-insensitive-dark.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,9 @@ + + + + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-mixed-insensitive.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-mixed-insensitive.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,9 @@ + + + + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-mixed.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-mixed.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,7 @@ + + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-selected-dark.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-selected-dark.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,7 @@ + + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-selected-insensitive-dark.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-selected-insensitive-dark.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,9 @@ + + + + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-selected-insensitive.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-selected-insensitive.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,9 @@ + + + + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-selected.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-selected.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,7 @@ + + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-unselected-dark.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-unselected-dark.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,6 @@ + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-unselected-insensitive-dark.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-unselected-insensitive-dark.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,6 @@ + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-unselected-insensitive.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-unselected-insensitive.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,6 @@ + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-unselected.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/assets/radio-unselected.svg Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,6 @@ + + + + + + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/gtk-dark.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/gtk-dark.css Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,87 @@ +/* default color scheme */ +@define-color base_color #353A46; +@define-color bg_color #444851; +@define-color text_color #eeeeee; +@define-color fg_color #ECEDEF; +@define-color selected_bg_color #DB6823; +@define-color selected_fg_color #f9f9f9; +@define-color tooltip_bg_color #444851; +@define-color tooltip_fg_color #eeeeee; + +/* dark color scheme */ +@define-color dark_bg_color #444851; +@define-color dark_fg_color #eeeeee; + +/* colormap actually used by the theme, to be overridden in other css files */ +@define-color theme_bg_color @bg_color; +@define-color theme_fg_color @fg_color; +@define-color theme_base_color @base_color; +@define-color theme_text_color @text_color; +@define-color theme_selected_bg_color @selected_bg_color; +@define-color theme_selected_fg_color @selected_fg_color; +@define-color theme_tooltip_bg_color @tooltip_bg_color; +@define-color theme_tooltip_fg_color @tooltip_fg_color; + +/* shadow effects */ +@define-color light_shadow #fff; +@define-color dark_shadow #000; + +/* misc colors used by gtk+ */ +@define-color info_fg_color rgb (58, 135, 173); +@define-color info_bg_color rgb (217, 237, 247); +@define-color warning_fg_color rgb (192, 152, 83); +@define-color warning_bg_color rgb (252, 248, 227); +@define-color question_fg_color rgb (214, 73, 55); +@define-color question_bg_color rgb (252, 229, 213); +@define-color error_fg_color rgb (185, 74, 72); +@define-color error_bg_color rgb (242, 222, 222); +@define-color link_color #FF873F; +@define-color success_color #53a93f; +@define-color warning_color #f57900; +@define-color error_color #cc0000; + +/* widget colors */ +@define-color titlebar_bg_color @dark_bg_color; +@define-color titlebar_fg_color @dark_fg_color; +@define-color menubar_bg_color @dark_bg_color; +@define-color menubar_fg_color @dark_fg_color; +@define-color toolbar_bg_color @theme_bg_color; +@define-color toolbar_fg_color @theme_fg_color; +@define-color menu_bg_color @dark_bg_color; +@define-color menu_fg_color @dark_fg_color; +@define-color panel_bg_color @dark_bg_color; +@define-color panel_fg_color @dark_fg_color; + +/* osd */ +@define-color osd_base @dark_bg_color; +@define-color osd_fg @dark_fg_color; +@define-color osd_bg alpha(@osd_base, 0.8); + +/* lightdm greeter colors */ +@define-color lightdm_bg_color @dark_bg_color; +@define-color lightdm_fg_color @dark_fg_color; + +/* window manager colors */ +@define-color wm_bg @titlebar_bg_color; +@define-color wm_border_focused mix(shade(@titlebar_bg_color, 0.7), @titlebar_fg_color, 0.21); +@define-color wm_border_unfocused mix(shade(@titlebar_bg_color, 0.7), @titlebar_fg_color, 0.12); +@define-color wm_title_focused mix(@titlebar_fg_color, @titlebar_bg_color, 0.1); +@define-color wm_title_unfocused mix(@titlebar_fg_color, @titlebar_bg_color, 0.4); +@define-color wm_icons_focused mix(@titlebar_fg_color, @titlebar_bg_color, 0.1); +@define-color wm_icons_focused_prelight @selected_bg_color; +@define-color wm_icons_focused_pressed shade(@selected_bg_color, 0.8); +@define-color wm_icons_unfocused mix(@titlebar_fg_color, @titlebar_bg_color, 0.4); +@define-color wm_icons_unfocused_prelight @selected_bg_color; +@define-color wm_icons_unfocused_pressed shade(@selected_bg_color, 0.8); + +@import url("gtk-widgets.css"); +@import url("gtk-widgets-assets.css"); +@import url("gtk-widgets-assets-dark.css"); +@import url("apps/gnome-applications.css"); +@import url("apps/granite-widgets.css"); +@import url("apps/unity.css"); +@import url("apps/xfce.css"); +@import url("apps/nemo.css"); +@import url("apps/tab-mono.css"); +@import url("apps/synaptic.css"); +@import url("apps/lightdm-gtk-greeter.css"); diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/gtk-widgets-assets-dark.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/gtk-widgets-assets-dark.css Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,67 @@ +/******************* +* check and radio * +*******************/ +/* draw regular check and radio items using our assets */ +.check { + -gtk-icon-source: url("assets/checkbox-unchecked-dark.svg"); +} + +.check:insensitive { + -gtk-icon-source: url("assets/checkbox-unchecked-insensitive-dark.svg"); +} + +.check:checked { + -gtk-icon-source: url("assets/checkbox-checked-dark.svg"); +} + +.check:checked:insensitive { + -gtk-icon-source: url("assets/checkbox-checked-insensitive-dark.svg"); +} + +.check:inconsistent { + -gtk-icon-source: url("assets/checkbox-mixed-dark.svg"); +} + +.check:inconsistent:insensitive { + -gtk-icon-source: url("assets/checkbox-mixed-insensitive-dark.svg"); +} + +.radio { + -gtk-icon-source: url("assets/radio-unselected-dark.svg"); +} + +.radio:insensitive { + -gtk-icon-source: url("assets/radio-unselected-insensitive-dark.svg"); +} + +.radio:checked { + -gtk-icon-source: url("assets/radio-selected-dark.svg"); +} + +.radio:checked:insensitive { + -gtk-icon-source: url("assets/radio-selected-insensitive-dark.svg"); +} + +.radio:inconsistent { + -gtk-icon-source: url("assets/radio-mixed-dark.svg"); +} + +.radio:inconsistent:insensitive { + -gtk-icon-source: url("assets/radio-mixed-insensitive-dark.svg"); +} + +.menuitem.check { + -gtk-icon-source: none; +} + +.menuitem.radio { + -gtk-icon-source: none; +} + +GtkIconView.content-view.cell.check { + -gtk-icon-source: url("assets/grid-selection-unchecked-dark.svg"); +} + +GtkIconView.content-view.cell.check:active { + -gtk-icon-source: url("assets/grid-selection-checked-dark.svg"); +} diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/gtk-widgets-assets.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/gtk-widgets-assets.css Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,154 @@ +/******************* + * check and radio * + *******************/ +/* draw regular check and radio items using our assets */ +.check { + -gtk-icon-source: url("assets/checkbox-unchecked.svg"); +} + +.check:insensitive { + -gtk-icon-source: url("assets/checkbox-unchecked-insensitive.svg"); +} + +.check:checked { + -gtk-icon-source: url("assets/checkbox-checked.svg"); +} + +.check:checked:insensitive { + -gtk-icon-source: url("assets/checkbox-checked-insensitive.svg"); +} + +.check:inconsistent { + -gtk-icon-source: url("assets/checkbox-mixed.svg"); +} + +.check:inconsistent:insensitive { + -gtk-icon-source: url("assets/checkbox-mixed-insensitive.svg"); +} + +.radio { + -gtk-icon-source: url("assets/radio-unselected.svg"); +} + +.radio:insensitive { + -gtk-icon-source: url("assets/radio-unselected-insensitive.svg"); +} + +.radio:checked { + -gtk-icon-source: url("assets/radio-selected.svg"); +} + +.radio:checked:insensitive { + -gtk-icon-source: url("assets/radio-selected-insensitive.svg"); +} + +.radio:inconsistent { + -gtk-icon-source: url("assets/radio-mixed.svg"); +} + +.radio:inconsistent:insensitive { + -gtk-icon-source: url("assets/radio-mixed-insensitive.svg"); +} + +.menuitem.check { + -gtk-icon-source: none; +} + +.menuitem.check:active, +.menuitem.check:checked { + -gtk-icon-source: url("assets/menuitem-checkbox-checked.svg"); +} + +.menuitem.check:active:hover, +.menuitem.check:checked:hover { + -gtk-icon-source: url("assets/menuitem-checkbox-checked-hover.svg"); +} + +.menuitem.check:active:insensitive, +.menuitem.check:checked:insensitive { + -gtk-icon-source: url("assets/menuitem-checkbox-checked-insensitive.svg"); +} + +.menuitem.check:inconsistent:hover, +.menuitem.radio:inconsistent:hover { + -gtk-icon-source: url("assets/menuitem-checkbox-mixed-hover.svg"); +} + +.menuitem.check:inconsistent, +.menuitem.radio:inconsistent { + -gtk-icon-source: url("assets/menuitem-checkbox-mixed.svg"); +} + +.menuitem.check:inconsistent:insensitive, +.menuitem.radio:inconsistent:insensitive { + -gtk-icon-source: url("assets/menuitem-checkbox-mixed-insensitive.svg"); +} + +.menuitem.radio { + -gtk-icon-source: none; +} + +.menuitem.radio:active, +.menuitem.radio:checked { + -gtk-icon-source: url("assets/menuitem-radio-checked.svg"); +} + +.menuitem.radio:active:hover, +.menuitem.radio:checked:hover { + -gtk-icon-source: url("assets/menuitem-radio-checked-hover.svg"); +} + +.menuitem.radio:active:insensitive, +.menuitem.radio:checked:insensitive { + -gtk-icon-source: url("assets/menuitem-radio-checked-insensitive.svg"); +} + +GtkIconView.content-view.cell.check { + -gtk-icon-source: url("assets/grid-selection-unchecked.svg"); +} + +GtkIconView.content-view.cell.check:active { + -gtk-icon-source: url("assets/grid-selection-checked.svg"); +} + +/****************** + * pane separator * + ******************/ +.pane-separator, +.pane-separator.horizontal { + background-image: linear-gradient(to bottom, + shade(@theme_bg_color, 0.8) 0%, + shade(@theme_bg_color, 0.8) 20%, + transparent 20%, + transparent 45%, + shade(@theme_bg_color, 0.8) 45%, + shade(@theme_bg_color, 0.8) 55%, + transparent 55%, + transparent 80%, + shade(@theme_bg_color, 0.8) 80%, + shade(@theme_bg_color, 0.8) + ); + + background-size: 4px 10px; + background-repeat: no-repeat; + background-position: center center; +} + +.pane-separator.vertical { + background-image: linear-gradient(to right, + shade(@theme_bg_color, 0.8) 0%, + shade(@theme_bg_color, 0.8) 20%, + transparent 20%, + transparent 45%, + shade(@theme_bg_color, 0.8) 45%, + shade(@theme_bg_color, 0.8) 55%, + transparent 55%, + transparent 80%, + shade(@theme_bg_color, 0.8) 80%, + shade(@theme_bg_color, 0.8) + ); + + background-size: 10px 4px; + background-repeat: no-repeat; + background-position: center center; +} diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/gtk-widgets.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/gtk-widgets.css Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,4177 @@ +/* NOTES to contributors: + * use 4 spaces indents, and keep code ALIGNED and ORDERED */ + +/* default */ +* { + -GtkArrow-arrow-scaling: 0.5; + -GtkButton-child-displacement-x: 0; + -GtkButton-child-displacement-y: 0; + -GtkButton-default-border: 0; + -GtkButton-image-spacing: 0; + -GtkButton-inner-border: 1; + -GtkButton-interior-focus: true; + -GtkButtonBox-child-min-height: 24; + -GtkButtonBox-child-internal-pad-y: 1; + -GtkCheckButton-indicator-size: 16; + -GtkCheckMenuItem-indicator-size: 14; + -GtkExpander-expander-size: 8; + -GtkMenu-horizontal-padding: 0; + -GtkMenu-vertical-padding: 0; + -GtkPaned-handle-size: 0; + -GtkProgressBar-min-horizontal-bar-height: 12; + -GtkProgressBar-min-vertical-bar-width: 12; + -GtkRange-slider-width: 12; + -GtkRange-stepper-spacing: 0; + -GtkRange-trough-border: 0; + -GtkRange-trough-under-steppers: 1; + -GtkScrollbar-has-backward-stepper: false; + -GtkScrollbar-has-forward-stepper: false; + -GtkScrollbar-min-slider-length: 80; + -GtkScrolledWindow-scrollbar-spacing: 0; + -GtkScrolledWindow-scrollbars-within-bevel: 1; + -GtkStatusbar-shadow-type: none; + -GtkTextView-error-underline-color: @error_color; + -GtkToolButton-icon-spacing: 6; + -GtkToolItemGroup-expander-size: 8; + -GtkTreeView-expander-size: 8; + -GtkWindow-resize-grip-height: 0; + -GtkWindow-resize-grip-width: 0; + -WnckTasklist-fade-overlay-rect: 0; + + /* legacy only */ + -GtkWidget-focus-line-width: 1; + -GtkWidget-focus-padding: 0; + + background-clip: padding-box; + +/* outline-color: alpha(@theme_selected_bg_color, 0.5);*/ +/* outline-style: dashed;*/ +/* outline-width: 1px;*/ +/* outline-offset: -2px;*/ +/* outline-radius: 2px;*/ +} + +/*************** + * base states * + ***************/ +.background { + background-color: @theme_bg_color; + color: @theme_fg_color; +} + +.background:backdrop { + text-shadow: none; + icon-shadow: none; +} + +* { + /* inherit colors from parent */ + color: inherit; + background-color: inherit; +} + +/*Fix black background*/ + +GtkWindow { + color: @theme_fg_color; + background-color: @theme_bg_color; +} + +GtkWindow:backdrop { + color: @theme_fg_color; +} + +/*GtkPaned {*/ +/* background-color: @theme_bg_color;*/ +/*}*/ + +GtkEventBox { + background-color: @theme_bg_color; +} + +Assistant GtkEventBox { + background-color: @theme_bg_color; +} + +GtkWindow:backdrop { + color: @theme_fg_color; +} + +GtkEventBox { + background-color: @theme_bg_color; +} + +Assistant GtkEventBox { + background-color: @theme_bg_color; +} + +*:selected, +*:selected:focus { + background-color: @theme_selected_bg_color; + color: @theme_selected_fg_color; +} + +*:insensitive, +*:insensitive:insensitive { + color: mix(@theme_fg_color, @theme_bg_color, 0.5); +} + +/* apply effects to insensitive and prelit images */ +*:insensitive { + -gtk-image-effect: dim; +} + +*:hover { + -gtk-image-effect: highlight; +/* transition: all 100ms ease-in;*/ +} + +.gtkstyle-fallback { + background-color: @theme_bg_color; + color: @theme_fg_color; +} + +.gtkstyle-fallback:prelight { + background-color: shade(@theme_bg_color, 1.1); + color: @theme_fg_color; +} + +.gtkstyle-fallback:active { + background-color: shade(@theme_bg_color, 0.9); + color: @theme_fg_color; +} + +.gtkstyle-fallback:insensitive { + background-color: shade(shade(@theme_bg_color, 0.95), 1.05); + color: mix(@theme_fg_color, @theme_bg_color, 0.5); +} + +.gtkstyle-fallback:selected { + background-color: @theme_selected_bg_color; + color: @theme_selected_fg_color; +} + +GtkImage, +GtkImage:insensitive, +GtkLabel, +GtkLabel:insensitive, +GtkBox, +GtkBox:insensitive, +GtkGrid, +GtkGrid:insensitive { + background-color: transparent; +} + +/************** + * hyperlinks * + **************/ +* { + -GtkHTML-link-color: @link_color; + -GtkIMHtml-hyperlink-color: @link_color; + -GtkWidget-link-color: @link_color; + -GtkWidget-visited-link-color: @link_color; +} + +*:link, +*:visited { + color: @link_color; +} + +/****************** + * visual effects * + ******************/ +/* transitions */ +.button { +/* transition: border 100ms ease-in-out;*/ +} + +.entry { + transition: border 100ms ease-out; +} + +.entry:focus { + transition: border 100ms ease-in; +} + +.entry.image.left { + padding-right: 4px; +} + +.notebook tab GtkLabel, +.notebook .prelight-page, +.notebook .prelight-page GtkLabel, +.notebook .active-page, +.notebook .active-page GtkLabel { + transition: all 200ms ease-in; +} + +/* inset shadows */ +.button:active, +.primary-toolbar .button:active, +.toolbar .button:active, +.header-bar .button:active, +.button:checked, +.primary-toolbar .button:checked, +.toolbar .button:checked, +.header-bar .button:checked, +.notebook.header { + box-shadow: inset 1px 0 alpha(@dark_shadow, 0.07), + inset 0 1px alpha(@dark_shadow, 0.08), + inset -1px 0 alpha(@dark_shadow, 0.07), + inset 0 -1px alpha(@dark_shadow, 0.05); +} + +.entry { + box-shadow: inset 1px 0 alpha(@dark_shadow, 0.10), + inset 0 1px alpha(@dark_shadow, 0.12), + inset -1px 0 alpha(@dark_shadow, 0.10), + inset 0 -1px alpha(@dark_shadow, 0.05); +} + +/* disable inset shadow */ +.button:active:insensitive, +.primary-toolbar .button:active:insensitive, +.toolbar .button:active:insensitive, +.header-bar .button:active:insensitive, +.button:checked:insensitive, +.primary-toolbar .button:checked:insensitive, +.toolbar .button:checked:insensitive, +.header-bar .button:checked:insensitive, +.entry:insensitive { + box-shadow: none; +} + +/************* + * assistant * + *************/ +GtkAssistant .sidebar .highlight { + font: bold; +} + +GtkAssistant .sidebar { + padding: 6px; + border-width: 0 1px 0 0; + border-style: solid; + border-right-color: shade(@theme_bg_color, 0.8); + border-radius: 0; + background-color: @theme_bg_color; + color: mix(@theme_fg_color, @theme_bg_color, 0.1); +} + +/********** + * button * + **********/ +.button { + -GtkWidget-focus-padding: 1; + -GtkWidget-focus-line-width: 0; + + padding: 3px; + border-width: 1px; + border-radius: 2px; + border-style: solid; + border-color: shade(@theme_bg_color, 0.8); + background-color: shade(@theme_bg_color, 1.08); + background-image: none; + color: @theme_fg_color; + transition: all 100ms ease-in; +} + +.button:hover { + border-color: shade(@theme_bg_color, 0.7); + background-color: shade(@theme_bg_color, 1.10); + background-image: none; +} + +.button:hover, .button.flat:hover, .primary-toolbar .button:hover, +.header-bar .button:hover { + border-color: shade(@theme_bg_color, 0.7); + background-color: shade(@theme_bg_color, 1.10); + +} + +.button:active, +.button:checked { + border-color: shade(@theme_bg_color, 0.8); + background-color: shade(@theme_bg_color, 0.95); + background-image: none; +} + +.button:active, .button.flat:active, .primary-toolbar .button:active, +.button:checked, .button.flat:checked, .primary-toolbar .button:checked, +.header-bar .button.titlebutton:active, +.header-bar .button.titlebutton:checked{ + border-color: shade(@theme_bg_color, 0.8); + background-color: shade(@theme_bg_color, 0.95); + box-shadow: inset 0 0 1px alpha(black, 0.2); + transition-duration: 50ms; + outline-color: alpha(@theme_fg_color, 0.3); +} + +.button:active:hover, +.button:checked:hover { + border-color: shade(@theme_bg_color, 0.7); +} + +.button:focus, +.button:hover:focus, +.button:active:focus, +.button:active:hover:focus, +.button:checked:focus, +.button:checked:hover:focus { + border-color: shade(@theme_bg_color, 0.7); +} + +.button:insensitive { + border-color: shade(@theme_bg_color, 0.85); + background-color: shade(@theme_bg_color, 0.9); + background-image: none; +} + +.button:active:insensitive, +.button:checked:insensitive { + border-color: shade(@theme_bg_color, 0.75); + background-color: shade(@theme_bg_color, 0.80); + background-image: none; +} + +/* default button */ +.button.default { +} + +.button.default:hover { + border-color: shade(@theme_selected_bg_color, 0.7); + background-color: shade(@theme_selected_bg_color, 1.1); + color: @theme_selected_fg_color; +} + +.button.default:active, +.button.default:checked { + border-color: shade(@theme_selected_bg_color, 0.8); + background-color: shade(@theme_selected_bg_color, 0.95); + color: @theme_selected_fg_color; +} + +.button.default:active:hover, +.button.default:checked:hover { + border-color: shade(@theme_selected_bg_color, 0.7); + background-color: shade(@theme_selected_bg_color, 0.97); + color: @theme_selected_fg_color; +} + +.button.flat, +.button.flat:insensitive { + border-color: transparent; + background-color: transparent; + background-image: none; + box-shadow: none; +} + +/**************** + * cell and row * + ****************/ +.cell { + border-width: 0; + border-radius: 0; +} + +.cell:selected, +.cell:selected:focus { + background-color: @theme_selected_bg_color; + color: @theme_selected_fg_color; +} + +row:selected, +row:selected:hover, +row:selected:focus { + -GtkWidget-focus-padding: 1; + -GtkWidget-focus-line-width: 0; + + border-width: 1px 0; + border-style: solid; + border-color: shade(@theme_selected_bg_color, 0.9); + background-color: @theme_selected_bg_color; + background-image: none; + color: @theme_selected_fg_color; +} + +row:prelight, +row:prelight { + color: @theme_text_color; + background-color: alpha(@theme_selected_bg_color, 0.1); +} + +/***************** + * column-header * + *****************/ +column-header .button, +column-header .button:active, +column-header .button:checked { + border-width: 0 1px 1px 0; + border-radius: 0; +} + +column-header .button, +column-header .button:active, +column-header .button:checked, +column-header .button:focus, +column-header .button:active:focus, +column-header .button:checked:focus { + border-color: shade(@theme_base_color, 0.9); + border-bottom-color: shade(@theme_base_color, 0.8); + background-color: shade(@theme_base_color, 0.97); + background-image: none; +} + +column-header .button:hover, +column-header .button:active:hover, +column-header .button:checked:hover, +column-header .button:hover:focus, +column-header .button:active:hover:focus, +column-header .button:checked:hover:focus { + border-color: shade(@theme_base_color, 0.9); + border-bottom-color: shade(@theme_base_color, 0.8); + background-color: shade(@theme_base_color, 0.99); + background-image: none; +} + +column-header:last-child .button { + border-width: 0 0 1px 0; +} + +/**************** + * content view * + ****************/ +.content-view.subtitle { + font: smaller; + padding: 0 12px; +} + +.content-view.view { + background-color: @theme_base_color; +} + +.content-view.view:prelight { + background-color: alpha(@theme_selected_bg_color, 0.6); +} + +.content-view.view:selected, +.content-view.view:active { + background-color: @theme_selected_bg_color; +} + +.content-view.view:insensitive { + background-color: shade(@theme_base_color, 0.9); +} + +GdMainIconView.content-view { + -GdMainIconView-icon-size: 40; +} + +GtkIconView.content-view.check { + background-color: transparent; +} + +GtkIconView.content-view.check:active { + background-color: transparent; +} + +.content-view.view.check, +.content-view.view.check:active { + background-color: transparent; +} + +GtkIconView.content-view.check:prelight, +GtkIconView.content-view.check:insensitive, +GtkIconView.content-view.check:selected { + background-color: transparent; +} + +/**************** + * drawing area * + ****************/ +GtkDrawingArea { + background-color: transparent; +} + +GtkDrawingArea:insensitive { + background-color: shade(@theme_base_color, 0.9); +} + +/*********** + * gtkhtml * + ***********/ +GtkHTML { + background-color: @theme_base_color; + color: @link; +} + +/*********** +* calendar * +************/ +GtkCalendar { + padding: 4px; + outline-offset: -1px; +} + +GtkCalendar:inconsistent { + color: mix(@theme_fg_color, @theme_bg_color, 0.5); +} + +GtkCalendar.view, +GtkCalendar.header, +GtkCalendar.button, +GtkCalendar.button:hover, +GtkCalendar.button:insensitive { + border-width: 0; + background-color: transparent; + background-image: none; +} + +.highlight, +GtkCalendar.highlight { + border-width: 0; + background-color: transparent; + color: @theme_selected_bg_color; +} + +/****************** + * combobox entry * + ******************/ +.primary-toolbar GtkComboBox.combobox-entry .entry, +.primary-toolbar GtkComboBox.combobox-entry .entry:active, +.primary-toolbar GtkComboBox.combobox-entry .entry:focus, +.primary-toolbar GtkComboBox.combobox-entry .entry:insensitive, +GtkComboBox.combobox-entry .entry, +GtkComboBox.combobox-entry .entry:active, +GtkComboBox.combobox-entry .entry:focus, +GtkComboBox.combobox-entry .entry:insensitive { + border-width: 1px 0 1px 1px; + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.primary-toolbar GtkComboBox.combobox-entry .button, +.primary-toolbar GtkComboBox.combobox-entry .button:hover, +.primary-toolbar GtkComboBox.combobox-entry .button:active, +.primary-toolbar GtkComboBox.combobox-entry .button:checked, +.primary-toolbar GtkComboBox.combobox-entry .button:insensitive, +GtkComboBox.combobox-entry .button, +GtkComboBox.combobox-entry .button:hover, +GtkComboBox.combobox-entry .button:active, +GtkComboBox.combobox-entry .button:checked, +GtkComboBox.combobox-entry .button:insensitive { + border-width: 1px 1px 1px 1px; + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +/********* + * entry * + *********/ +.entry { + padding: 4px 3px; + border-width: 1px; + border-style: solid; + border-color: shade(@theme_bg_color, 0.8); + border-radius: 2px; + background-color: @theme_base_color; + background-image: none; + color: @theme_text_color; +} + +.entry:active, +.entry:focus { + border-color: shade(@theme_bg_color, 0.7); +} + +.entry:selected, +.entry:selected:focus { + background-color: @theme_selected_bg_color; + color: @theme_selected_fg_color; +} + +.entry:insensitive { + background-color: shade(@theme_bg_color, 0.95); + background-image: none; + color: mix(@theme_text_color, @theme_base_color, 0.5); +} + +.entry.progressbar { + border-width: 0; + border-radius: 2px; + background-color: @theme_selected_bg_color; + background-image: none; + color: @theme_selected_fg_color; +} + +/************ + * expander * +************/ +GtkExpander { + padding: 3px; + outline-offset: 1px; +} + +.expander { + color: alpha(currentColor, 0.7); + border: alpha(currentColor, 0.7); +} + +.expander:hover { + color: alpha(currentColor, 0.8); + border-color: alpha(currentColor, 0.8); +} + +.expander:active { + color: alpha(currentColor, 0.9); + border-color: alpha(currentColor, 0.9); +} + +/************** + * list boxes * + **************/ +.list { + background-color: @theme_bg_color; + color: @theme_fg_color; +} +.list-row, .list-row.button { + border: 0; + border-radius: 0; + padding: 5px; + background-image: none; + background-color: @theme_bg_color; + box-shadow: none; +} + +.list-row:hover, .list-row.button:hover { + background-color: @theme_bg_color; + box-shadow: inset 3px 0px @theme_selected_bg_color; + color: @theme_selected_bg_color; +} + +.list-row:selected, .list-row:selected:hover, .list-row:selected:focus, .list-row.button:selected, .list-row.button:selected:hover, .list-row.button:selected:focus { + background-image: none; + background-color: @theme_selected_bg_color; + color: @theme_selected_fg_color; +} + +.list-row:selected GtkGrid { + background-image: none; + background-color: @theme_selected_bg_color; + color: @theme_selected_fg_color; +} + +.list-row:selected:backdrop { + background-image: none; + background-color: @theme_selected_bg_color; + color: @theme_selected_fg_color; +} + +.list-row:selected:hover { + background-image: none; + background-color: @theme_selected_bg_color; + color: @theme_selected_fg_color; +} + +/************** +* flow boxes * +**************/ + +.grid-child { + padding: 3px; +} + +/********* + * frame * + *********/ +.frame { + border: 1px solid shade(@theme_bg_color, 0.8); + border-radius: 0; +} + +.frame.flat { + border: none; + box-shadow: none; +} + +/******************* + * scrolled window * + *******************/ +GtkScrolledWindow.frame { + border-width: 1px; + border-style: solid; + border-color: shade(@theme_bg_color, 0.8); + border-radius: 0; +} + +/* avoid double borders when a viewport is + * packed into a GtkScrolledWindow */ +GtkScrolledWindow GtkViewport.frame { + border-style: none; +} + +/************ + * iconview * + ************/ +GtkIconView.view.cell:selected, +GtkIconView.view.cell:selected:focus { + border-width: 1px; + border-style: solid; + border-color: shade(@theme_selected_bg_color, 0.9); + border-radius: 2px; + background-color: @theme_selected_bg_color; + background-image: none; + color: @theme_selected_fg_color; +} + +.content-view.view.rubberband, +.view.rubberband, +.rubberband { + border-width: 1px; + border-style: solid; + border-color: shade(@theme_selected_bg_color, 0.9); + border-radius: 0; + background-color: alpha(@theme_selected_bg_color, 0.3); +} + +/********** +* Overflow * +***********/ + +.overshoot.top { + background-image: -gtk-gradient(radial, center top, 0, center top, 0.6, from(alpha(@theme_selected_bg_color, 0.2)), to(alpha(@theme_selected_bg_color, 0))); + background-size: 100% 60%; + background-repeat: no-repeat; + background-position: center top; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.bottom { + background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.6, from(alpha(@theme_selected_bg_color, 0.2)), to(alpha(@theme_selected_bg_color, 0))); + background-size: 100% 60%; + background-repeat: no-repeat; + background-position: center bottom; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.left { + background-image: -gtk-gradient(radial, left center, 0, left center, 0.6, from(alpha(@theme_selected_bg_color, 0.2)), to(alpha(@theme_selected_bg_color, 0))); + background-size: 60% 100%; + background-repeat: no-repeat; + background-position: left center; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.right { + background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(alpha(@theme_selected_bg_color, 0.2)), to(alpha(@theme_selected_bg_color, 0))); + background-size: 60% 100%; + background-repeat: no-repeat; + background-position: right center; + background-color: transparent; + border: none; + box-shadow: none; } + +.undershoot.top { + background-color: transparent; + background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(alpha(@theme_selected_bg_color, 0.2)), to(alpha(@theme_selected_bg_color, 0))); + padding-top: 1px; + background-size: 10px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: center top; } + +.undershoot.bottom { + background-color: transparent; + background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(alpha(@theme_selected_bg_color, 0.2)), to(alpha(@theme_selected_bg_color, 0))); + padding-bottom: 1px; + background-size: 10px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: center bottom; } + +.undershoot.left { + background-color: transparent; + background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(alpha(@theme_selected_bg_color, 0.2)), to(alpha(@theme_selected_bg_color, 0))); + padding-left: 1px; + background-size: 1px 10px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: left center; } + +.undershoot.right { + background-color: transparent; + background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(alpha(@theme_selected_bg_color, 0.2)), to(alpha(@theme_selected_bg_color, 0))); + padding-right: 1px; + background-size: 1px 10px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: right center; } + + .overshoot.top:backdrop { + background-image: -gtk-gradient(radial, center top, 0, center top, 0.6, from(alpha(@theme_selected_bg_color, 0.2)), to(alpha(@theme_selected_bg_color, 0))); + background-size: 100% 60%; + background-repeat: no-repeat; + background-position: center top; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.bottom:backdrop { + background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.6, from(alpha(@theme_selected_bg_color, 0.2)), to(alpha(@theme_selected_bg_color, 0))); + background-size: 100% 60%; + background-repeat: no-repeat; + background-position: center bottom; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.left:backdrop { + background-image: -gtk-gradient(radial, left center, 0, left center, 0.6, from(alpha(@theme_selected_bg_color, 0.2)), to(alpha(@theme_selected_bg_color, 0))); + background-size: 60% 100%; + background-repeat: no-repeat; + background-position: left center; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.right:backdrop { + background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(alpha(@theme_selected_bg_color, 0.2)), to(alpha(@theme_selected_bg_color, 0))); + background-size: 60% 100%; + background-repeat: no-repeat; + background-position: right center; + background-color: transparent; + border: none; + box-shadow: none; } + +.undershoot.top:backdrop { + background-color: transparent; + background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(alpha(@theme_selected_bg_color, 0.2)), to(alpha(@theme_selected_bg_color, 0))); + padding-top: 1px; + background-size: 10px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: center top; } + +.undershoot.bottom:backdrop { + background-color: transparent; + background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(alpha(@theme_selected_bg_color, 0.2)), to(alpha(@theme_selected_bg_color, 0))); + padding-bottom: 1px; + background-size: 10px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: center bottom; } + +.undershoot.left:backdrop { + background-color: transparent; + background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(alpha(@theme_selected_bg_color, 0.2)), to(alpha(@theme_selected_bg_color, 0))); + padding-left: 1px; + background-size: 1px 10px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: left center; } + +.undershoot.right:backdrop { + background-color: transparent; + background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(alpha(@theme_selected_bg_color, 0.2)), to(alpha(@theme_selected_bg_color, 0))); + padding-right: 1px; + background-size: 1px 10px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: right center; } + +/*********** + * infobar * + ***********/ +GtkInfoBar { + border-width: 0; + border-style: none; +} + +.info { + border-width: 1px; + border-style: solid; + border-color: shade(@info_bg_color, 0.8); + background-color: @info_bg_color; + background-image: none; + color: @info_fg_color; +} + +.info .button { + border-top-color: shade(@info_bg_color, 0.8); + border-right-color: shade(@info_bg_color, 0.72); + border-left-color: shade(@info_bg_color, 0.72); + border-bottom-color: shade(@info_bg_color, 0.7); + background-color: shade(@info_bg_color, 1.08); + color: @info_fg_color; +} + +.info .button:hover { + border-top-color: shade(@info_bg_color, 0.85); + border-right-color: shade(@info_bg_color, 0.78); + border-left-color: shade(@info_bg_color, 0.78); + border-bottom-color: shade(@info_bg_color, 0.7); + background-color: shade(@info_bg_color, 1.10); +} + +.info .button:active, +.info .button:checked { + border-color: shade(@info_bg_color, 0.6); + background-color: shade(@info_bg_color, 0.95); +} + +.info .button:active:hover, +.info .button:active:checked { + border-top-color: shade(@info_bg_color, 0.85); + border-right-color: shade(@info_bg_color, 0.78); + border-left-color: shade(@info_bg_color, 0.78); + border-bottom-color: shade(@info_bg_color, 0.7); +} + +.info .button.close { + color: @info_fg_color; +} + +.info .button.close:hover { + background-color: alpha(white, 0.2); +} + +.info .button.close:active { + color: @info_fg_color; + background-color: alpha(black, 0.1); +} + +.warning { + border-width: 1px; + border-style: solid; + border-color: shade(@warning_bg_color, 0.8); + background-color: @warning_bg_color; + background-image: none; + color: @warning_fg_color; +} + +.warning .button { + border-top-color: shade(@warning_bg_color, 0.8); + border-right-color: shade(@warning_bg_color, 0.72); + border-left-color: shade(@warning_bg_color, 0.72); + border-bottom-color: shade(@warning_bg_color, 0.7); + background-color: shade(@warning_bg_color, 1.08); + color: @warning_fg_color; +} + +.warning .button:hover { + border-top-color: shade(@warning_bg_color, 0.85); + border-right-color: shade(@warning_bg_color, 0.78); + border-left-color: shade(@warning_bg_color, 0.78); + border-bottom-color: shade(@warning_bg_color, 0.7); + background-color: shade(@warning_bg_color, 1.10); +} + +.warning .button:active, +.warning .button:checked { + border-color: shade(@warning_bg_color, 0.6); + background-color: shade(@warning_bg_color, 0.95); +} + +.warning .button:active:hover, +.warning .button:checked:hover { + border-top-color: shade(@warning_bg_color, 0.85); + border-right-color: shade(@warning_bg_color, 0.78); + border-left-color: shade(@warning_bg_color, 0.78); + border-bottom-color: shade(@warning_bg_color, 0.7); +} + +.warning .button.close { + color: @warning_fg_color; +} + +.warning .button.close:hover { + background-color: alpha(white, 0.2); +} + +.warning .button.close:active { + color: @warning_fg_color; + background-color: alpha(black, 0.1); +} + +.question { + border-width: 1px; + border-style: solid; + border-color: shade(@question_bg_color, 0.8); + background-color: @question_bg_color; + background-image: none; + color: @question_fg_color; +} + +.question .button { + border-top-color: shade(@question_bg_color, 0.8); + border-right-color: shade(@question_bg_color, 0.72); + border-left-color: shade(@question_bg_color, 0.72); + border-bottom-color: shade(@question_bg_color, 0.7); + background-color: shade(@question_bg_color, 1.08); + color: @question_fg_color; +} + +.question .button:hover { + border-top-color: shade(@question_bg_color, 0.85); + border-right-color: shade(@question_bg_color, 0.78); + border-left-color: shade(@question_bg_color, 0.78); + border-bottom-color: shade(@question_bg_color, 0.7); + background-color: shade(@question_bg_color, 1.10); +} + +.question .button:active, +.question .button:checked { + border-color: shade(@question_bg_color, 0.6); + background-color: shade(@question_bg_color, 0.95); +} + +.question .button:active:hover, +.question .button:checked:hover { + border-top-color: shade(@question_bg_color, 0.85); + border-right-color: shade(@question_bg_color, 0.78); + border-left-color: shade(@question_bg_color, 0.78); + border-bottom-color: shade(@question_bg_color, 0.7); +} + +.question .button.close { + color: @question_fg_color; +} + +.question .button.close:hover { + background-color: alpha(white, 0.2); +} + +.question .button.close:active { + color: @question_fg_color; + background-color: alpha(black, 0.1); +} + +.error { + border-width: 1px; + border-style: solid; + border-color: shade(@error_bg_color, 0.8); + background-color: @error_bg_color; + background-image: none; + color: @error_fg_color; +} + +.error .button { + border-top-color: shade(@error_bg_color, 0.8); + border-right-color: shade(@error_bg_color, 0.72); + border-left-color: shade(@error_bg_color, 0.72); + border-bottom-color: shade(@error_bg_color, 0.7); + background-color: shade(@error_bg_color, 1.08); + color: @error_fg_color; +} + +.error .button:hover { + border-top-color: shade(@error_bg_color, 0.85); + border-right-color: shade(@error_bg_color, 0.78); + border-left-color: shade(@error_bg_color, 0.78); + border-bottom-color: shade(@error_bg_color, 0.7); + background-color: shade(@error_bg_color, 1.10); +} + +.error .button:active, +.error .button:checked { + border-color: shade(@error_bg_color, 0.6); + background-color: shade(@error_bg_color, 0.95); +} + +.error .button:active:hover, +.error .button:checked:hover { + border-top-color: shade(@error_bg_color, 0.85); + border-right-color: shade(@error_bg_color, 0.78); + border-left-color: shade(@error_bg_color, 0.78); + border-bottom-color: shade(@error_bg_color, 0.7); +} + +.error .button.close { + color: @error_fg_color; +} + +.error .button.close:hover { + background-color: alpha(white, 0.2); +} + +.error .button.close:active { + color: @error_fg_color; + background-color: alpha(black, 0.1); +} + +/******************* + * symbolic images * + *******************/ +.image { + color: alpha(currentColor, 0.5); +} + +.image:hover { + color: alpha(currentColor, 0.9); +} + +.image:selected, +.image:selected:hover { + color: @theme_selected_fg_color; +} + +.view.image, +.view.image:hover { + color: alpha(currentColor, 0.9); +} + +.view.image:selected, +.view.image:selected:hover { + color: @theme_selected_fg_color; +} + +/***************** + * miscellaneous * + *****************/ +.floating-bar { + border-width: 1px; + border-style: solid; + border-color: shade(@theme_bg_color, 0.8); + border-radius: 2px; + background-color: @theme_bg_color; + background-image: none; + color: @theme_fg_color; +} + +.floating-bar.top { + border-top-width: 0; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.floating-bar.right { + border-right-width: 0; + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.floating-bar.bottom { + border-bottom-width: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.floating-bar.left { + border-left-width: 0; + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.floating-bar .button { + -GtkButton-image-spacing: 0; + -GtkButton-inner-border: 0; + + border-style: none; + background-color: transparent; + background-image: none; +} + +.view.dim-label, +.dim-label { + color: alpha(currentColor, 0.5); +} + +.dnd { + border-width: 1px; + border-style: solid; + border-color: shade(@theme_selected_bg_color, 0.9); +} + +.grip { + background-color: transparent; +} + +.arrow { + color: alpha(currentColor, 0.7); +} + +/******** + * menu * + ********/ + +.content-view .menu, +.context-menu, +.menu, +.popup { + padding: 4px 0; + border-radius: 4px; + box-shadow: 0 2px 4px 0 alpha(#000,0.1), + inset 0 1px 0 0 alpha(#fff,0.1); + background-color: @menu_bg_color; + color: @menu_fg_color; +} + +GtkTreeMenu.menu, +GtkMenuToolButton.menu, +GtkComboBox .menu { + background-color: @menu_bg_color; + margin: 3px; +} + +.primary-toolbar .menu, +.primary-toolbar .button .menu, +.toolbar .menu, +.toolbar .primary-toolbar .menu, +.header-bar .menu, +.header-bar .primary-toolbar .menu, +.menu { + padding: 0; + border-radius: 0; + border-style: none; + background-color: @menu_bg_color; + color: @menu_fg_color; +} + +/* Hover-effect on play-button in ubuntu soundmenu */ +.menu:selected { + background-color: @selected_bg_color; +} + +.menu.button:hover, +.menu.button:active, +.menu.button:checked, +.menu.button:active:insensitive, +.menu.button:checked:insensitive, +.menu.button:insensitive, +.menu.button { + border-width: 0; + background-color: @menu_bg_color; + background-image: none; +} + +.context-menu { + font: initial; +} + +/* ubuntu software center menu */ +#toolbar-popup { + background-color: @menu_bg_color; + color: @menu_fg_color; +} + +/*********** + * menubar * + ***********/ +.menubar { + -GtkWidget-window-dragging: true; + + border-style: none; + background-color: @menubar_bg_color; + background-image: none; + color: @menubar_fg_color; +} + +/*************** + * menubaritem * + ***************/ +.menubar.menuitem, +.menubar .menuitem { + padding: 3px 5px; + border-width: 1px; + border-style: solid; + border-color: transparent; + background-color: transparent; + background-image: none; + color: @menubar_fg_color; +} + +.menubar.menuitem:hover, +.menubar .menuitem:hover { + border-color: transparent; + background-color: transparent; + background-image: none; + box-shadow: inset 0px -3px @selected_bg_color; + color: white; +} + +.menubar .menuitem *:hover { + color: white; +} + +/************ + * menuitem * + ************/ +GtkTreeMenu .menuitem { + padding: 0; + border-width: 0; +} + +.menuitem, +.menu .menuitem { + -GtkMenuItem-arrow-scaling: 0.5; + + padding: 3px; + border-width: 1px; + border-style: solid; + border-color: transparent; + border-radius: 0; + background-color: transparent; + background-image: none; + color: @menu_fg_color; +} + +.menu .menuitem:active, +.menu .menuitem:hover { + border-color: shade(@theme_selected_bg_color, 0.9); + background-color: @theme_selected_bg_color; + background-image: none; +} + +.menu .menuitem:active, +.menu .menuitem *:active, +.menu .menuitem:hover, +.menu .menuitem *:hover { + color: @theme_selected_fg_color; +} + +.menu .menuitem:insensitive, +.menu .menuitem *:insensitive { + color: mix(@menu_fg_color, @menu_bg_color, 0.5); +} + +.menuitem.check, +.menuitem.radio, +.menuitem.check:hover, +.menuitem.radio:hover, +.menuitem.check:insensitive, +.menuitem.radio:insensitive { + border-style: none; + background-color: transparent; + background-image: none; +} + +.menuitem.check:active, +.menuitem.radio:active { + border-style: none; + background-color: transparent; +} + +.menuitem GtkCalendar:inconsistent { + color: mix(@menu_fg_color, @menu_bg_color, 0.5); +} + +.menuitem GtkCalendar.button { + border-style: none; + background-color: transparent; + background-image: none; +} + +.menuitem .entry { + border-color: shade(@menu_bg_color, 0.7); + background-color: @menu_bg_color; + background-image: none; + color: @menu_fg_color; +} + +.menuitem .entry:active, +.menuitem .entry:focus { + border-color: shade(@menu_bg_color, 0.7); +} + +.menuitem .accelerator { + color: alpha(@menu_fg_color, 0.6); +} + +.menuitem .accelerator:hover { + color: alpha(@theme_selected_fg_color, 0.8); +} + +.menuitem .accelerator:insensitive { + color: alpha(mix(@menu_fg_color, @menu_bg_color, 0.5), 0.6); +} + +GtkModelMenuItem GtkBox GtkImage { + padding-right: 4px; +} + +.menuitem.button { + color: @menu_fg_color; +} + +.menuitem.button, +.menuitem.button:active, +.menuitem.button:checked, +.menuitem.button:insensitive, +.menuitem.button:active:insensitive, +.menuitem.button:checked:insensitive { + background-color: transparent; + background-image: none; + border: none; + box-shadow: none; + color: @menu_fg_color; +} + +.menuitem.button:active:hover, +.menuitem.button:checked:hover, +.menuitem.button:hover, +.menuitem.button:selected { + border: none; + background-color: @theme_selected_bg_color; + background-image: none; + color: @theme_selected_fg_color; +} + +GtkModelButton.button { + color: @menu_fg_color; +} + + +GtkModelButton.button:focus, +GtkModelButton.button:active:focus, +GtkModelButton.button:checked:focus, +GtkModelButton.button:active, +GtkModelButton.button:checked, +GtkModelButton.button:insensitive:insensitive, +GtkModelButton.button:active:insensitive, +GtkModelButton.button:checked:insensitive, +GtkModelButton.button { + background-color: transparent; + background-image: none; + border-color: transparent; + border-image: none; + border-style: none; + box-shadow: none; +} + +GtkModelButton.button:backdrop, +GtkModelButton.button:hover:backdrop, +GtkModelButton.button:insensitive:backdrop, +GtkModelButton.button:active:insensitive:backdrop, +GtkModelButton.button:active:backdrop, +GtkModelButton.button:active:hover:backdrop, +GtkModelButton.button:active:selected:backdrop, +GtkModelButton.button:checked:insensitive:backdrop, +GtkModelButton.button:checked:backdrop, +GtkModelButton.button:checked:hover:backdrop, +GtkModelButton.button:checked:selected:backdrop { + text-shadow: none; + icon-shadow: none; + color: @theme_selected_fg_color; + background-color: transparent; + background-image: none; + border-color: transparent; + border-image: none; + border-style: none; + box-shadow: none; +} + +GtkModelButton.button:active:hover, +GtkModelButton.button:checked:hover, +GtkModelButton.button:hover, +GtkModelButton.button:selected { + background-image: none; + background-color: @theme_selected_bg_color; + color: @theme_selected_fg_color; + text-shadow: none; + border-width: 0; + border-color: transparent; + border-radius: 2px; +} + +/************ + * popovers * + ************/ +GtkPopover { + margin: 10px; + padding: 2px; + border-radius: 2px; + border-color: shade(@menu_bg_color, 0.8); + border-width: 1px; + border-style: solid; + background-clip: border-box; + background-image: none; + background-color: @menu_bg_color; + color: @menu_fg_color; + box-shadow: 0 2px 3px alpha(black, 0.5); +} + +GtkPopover:insensitive { + border-color: #3a3a3a; } +GtkPopover:active:insensitive, GtkPopover:checked:insensitive { + border-color: #363636; } + +GtkPopover.background { + background-image: none; + background-color: @menu_bg_color; + color: @menu_fg_color; +} + +GtkPopover:backdrop { + box-shadow: none; +} + +GtkPopover.osd { + box-shadow: 0 2px 7px 3px alpha(black, 0.5); +} + +GtkPopover > .list, +GtkPopover > .view, +GtkPopover > .toolbar { + background-image: none; + background-color: transparent; +} + +GtkPopover .list-row { + color: @menu_fg_color; +} + +GtkPopover .list-row:hover { + background-image: none; + background-color: @theme_selected_bg_color; + color: @theme_selected_fg_color; +} + +GtkPopover .frame { + border: 1px solid mix(@menu_bg_color, @menu_fg_color, 0.12); + border-radius: 2px; +} + +GtkPopover .entry { + border-color: mix(@menu_bg_color, @menu_fg_color, 0.12); + background-color: @menu_bg_color; + background-image: none; + color: @menu_fg_color; +} + +GtkPopover .entry:hover, +GtkPopover .entry:focus, +GtkPopover .entry:active { + border-color: mix(@menu_bg_color, @menu_fg_color, 0.21); +} + +GtkPopover.osd > .toolbar .button { + border-radius: 0; + border-width: 0; + background-image: none; + background-color: transparent; +} + + GtkPopover .view, GtkPopover GtkHTML, GtkPopover .list { + background-color: shade(@dark_bg_color, 0.9); + background-image: none; + color: @dark_fg_color; } + GtkPopover .view:hover, GtkPopover GtkHTML:hover, GtkPopover .list:hover { + background-image: none; + background-color: alpha(@selected_bg_color, 0.5); + color: @selected_fg_color; } + GtkPopover .list-row, GtkPopover .list-row.button { + background-color: transparent; + background-image: none; + color: @selected_fg_color; } + GtkPopover .list-row:focus, GtkPopover .list-row:hover, GtkPopover .list-row:active, GtkPopover .list-row.button:focus, GtkPopover .list-row.button:hover, GtkPopover .list-row.button:active { + background-image: none; + background-color: @selected_bg_color; + color: @selected_fg_color; } + GtkPopover .frame { + border-color: shade(@tooltip_bg_color, 0.8); + border-radius: 2px; } + GtkPopover .entry { + background-color: shade(@dark_bg_color, 0.9); + background-image: none; + border-color: shade(@tooltip_bg_color, 0.8); + color: @selected_fg_color; } + GtkPopover .entry:focus, GtkPopover .entry:hover { + border-color: shade(@tooltip_bg_color, 0.8); } + GtkPopover .entry:active, GtkPopover .entry:active:hover, GtkPopover .entry:active:focus, GtkPopover .entry:active:hover:focus, GtkPopover .entry:checked, GtkPopover .entry:checked:hover, GtkPopover .entry:checked:focus, GtkPopover .entry:checked:hover:focus { + border-color: shade(@tooltip_bg_color, 0.8); } + GtkPopover .entry:insensitive { + border-color: shade(@tooltip_bg_color, 0.8); } + GtkPopover .entry:active:insensitive, GtkPopover .entry:checked:insensitive { + border-color: shade(@tooltip_bg_color, 0.8); } + GtkPopover .entry:focus, GtkPopover .entry:active { + border-color: @selected_bg_color; } + GtkPopover .entry:insensitive { + background-color: @dark_bg_color; + background-image: none; + color: mix(@dark_bg_color,@dark_fg_color,0.5); } + GtkPopover .button { + background-color: @dark_bg_color; + background-image: none; + border-color: shade(@tooltip_bg_color, 0.8); + color: @dark_fg_color; + box-shadow: none; } + GtkPopover .button:focus, GtkPopover .button:hover { + border-color: shade(@tooltip_bg_color, 0.8); } + GtkPopover .button:active, GtkPopover .button:active:hover, GtkPopover .button:active:focus, GtkPopover .button:active:hover:focus, GtkPopover .button:checked, GtkPopover .button:checked:hover, GtkPopover .button:checked:focus, GtkPopover .button:checked:hover:focus { + border-color: shade(@tooltip_bg_color, 0.8); } + GtkPopover .button:insensitive { + border-color: shade(@tooltip_bg_color, 0.8); } + GtkPopover .button:active:insensitive, GtkPopover .button:checked:insensitive { + border-color: shade(@tooltip_bg_color, 0.8); } + GtkPopover .button.flat { + border-color: shade(@tooltip_bg_color, 0.8); + background-color: @dark_bg_color; + background-image: none; + box-shadow: none; } + GtkPopover .button:hover, GtkPopover .button.flat:hover { + background-color: @selected_bg_color; + background-image: none; + border-color: shade(@tooltip_bg_color, 0.8); + box-shadow: none; } + GtkPopover .button:focus:focus, GtkPopover .button:focus:hover, GtkPopover .button:hover:focus, GtkPopover .button:hover:hover, GtkPopover .button.flat:focus:focus, GtkPopover .button.flat:focus:hover, GtkPopover .button.flat:hover:focus, GtkPopover .button.flat:hover:hover { + border-color: shade(@tooltip_bg_color, 0.8); } +GtkPopover .button:focus:insensitive, GtkPopover .button:hover:insensitive, GtkPopover .button.flat:focus:insensitive, GtkPopover .button.flat:hover:insensitive { + border-color: rgba(0, 0, 0, 0.3); } + GtkPopover .button:focus:active:insensitive, GtkPopover .button:focus:checked:insensitive, GtkPopover .button:hover:active:insensitive, GtkPopover .button:hover:checked:insensitive, GtkPopover .button.flat:focus:active:insensitive, GtkPopover .button.flat:focus:checked:insensitive, GtkPopover .button.flat:hover:active:insensitive, GtkPopover .button.flat:hover:checked:insensitive { + border-color: rgba(0, 0, 0, 0.3); } + GtkPopover .button:active, GtkPopover .button:checked, GtkPopover .button.flat:active, GtkPopover .button.flat:checked { + background-color: transparent; + background-image: none; + color: #fff; + box-shadow: none; } + +GtkPopover .separator { + border: 0; + background-color: transparent; + color: alpha(currentColor, 0.1); + font-size: 80%; + font-weight: bold; +} + +/****************** + * pane separator * + ******************/ +.pane-separator { + background-color: @theme_bg_color; + color: transparent; +} + +/************************* + * progressbar and scale * + *************************/ +GtkProgressBar { + padding: 0; + border-width: 1px; + border-radius: 2px; + font-size: smaller; + color: alpha(@theme_fg_color, 0.6); +} + +.progressbar, +.progressbar row, +.progressbar row:hover, +.progressbar row:selected, +.progressbar row:selected:focus { + border-width: 1px; + border-style: solid; + border-color: shade(@theme_selected_bg_color, 0.9); + background-color: @theme_selected_bg_color; + background-image: linear-gradient(to bottom, + @theme_selected_bg_color, + @theme_selected_bg_color + ); +} + +.progressbar.vertical { + background-color: @theme_selected_bg_color; + background-image: linear-gradient(to right, + @theme_selected_bg_color, + @theme_selected_bg_color + ); +} + +.trough, +.trough row, +.trough row:hover, +.trough row:selected, +.trough row:selected:focus { + border-width: 1px; + border-style: solid; + border-color: shade(@theme_bg_color, 0.8); + background-color: shade(@theme_bg_color, 1.08); + background-image: none; +} + +.trough.vertical { + background-color: shade(@theme_bg_color, 1.08); + background-image: none; +} + +/* level bars as used for password quality or remaining power */ +GtkLevelBar { + -GtkLevelBar-min-block-width: 34; + -GtkLevelBar-min-block-height: 2; +} + +GtkLevelBar.vertical { + -GtkLevelBar-min-block-width: 2; + -GtkLevelBar-min-block-height: 34; +} + +.level-bar.trough { + padding: 1px; + border-radius: 2px; +} + +.level-bar.fill-block { + border-width: 1px; + border-style: solid; + border-color: shade(@theme_selected_bg_color, 0.9); + background-color: @theme_selected_bg_color; +} + +.level-bar.indicator-continuous.fill-block { + padding: 1px; + border-radius: 2px; +} + +.level-bar.indicator-discrete.fill-block.horizontal { + margin: 0 1px; +} + +.level-bar.indicator-discrete.fill-block.vertical { + margin: 1px 0; +} + +/* discrete indicator border rounding, + uncomment when :nth-child will be working + on the widget + +.level-bar.indicator-discrete.fill-block.horizontal:first-child { + border-radius: 2px 0 0 2px; +} + +.level-bar.indicator-discrete.fill-block.horizontal:last-child { + border-radius: 0 2px 2px 0; +} + +.level-bar.indicator-discrete.fill-block.vertical:first-child { + border-radius: 2px 2px 0 0; +} + +.level-bar.indicator-discrete.fill-block.vertical:last-child { + border-radius: 0 0 2px 2px; +} +*/ + +.level-bar.fill-block.level-high { + border-color: shade(@success_color, 0.85); + background-image: linear-gradient(to bottom, + shade(@success_color, 1.2), + @success_color 75%, + shade(@success_color, 0.95) + ); +} + +.level-bar.fill-block.level-low { + border-color: shade(@warning_color, 0.80); + background-image: linear-gradient(to bottom, + shade(@warning_color, 1.3), + @warning_color 75%, + shade(@warning_color, 0.9) + ); +} + +.level-bar.fill-block.empty-fill-block { + border-color: alpha(@theme_fg_color, 0.1); + background-color: transparent; + background-image: none; +} + +.scale { + -GtkRange-slider-width: 16; + -GtkRange-trough-border: 1; + -GtkScale-slider-length: 16; + + padding: 0; + border-width: 1px; + border-radius: 2px; + outline-offset: -1px; +} + +.scale.slider { + border-radius: 8px; + background-color: shade(@theme_bg_color, 1.08); + background-image: none; + /* we will draw the border using box shadow for now */ + box-shadow: inset 1px 0 shade(@theme_bg_color, 0.8), + inset 0 1px shade(@theme_bg_color, 0.8), + inset -1px 0 shade(@theme_bg_color, 0.8), + inset 0 -1px shade(@theme_bg_color, 0.8); +} + +.scale.slider:hover { + box-shadow: inset 1px 0 shade(@theme_bg_color, 0.7), + inset 0 1px shade(@theme_bg_color, 0.7), + inset -1px 0 shade(@theme_bg_color, 0.7), + inset 0 -1px shade(@theme_bg_color, 0.7); +} + +.scale.slider:insensitive { + background-color: shade(@theme_bg_color, 0.9); + background-image: none; + box-shadow: inset 1px 0 shade(@theme_bg_color, 0.85), + inset 0 1px shade(@theme_bg_color, 0.85), + inset -1px 0 shade(@theme_bg_color, 0.85), + inset 0 -1px shade(@theme_bg_color, 0.85); +} + +.scale.slider.fine-tune:active, +.scale.slider.fine-tune:active:hover, +.scale.slider.fine-tune.horizontal:active, +.scale.slider.fine-tune.horizontal:active:hover { + background-size: 50%; + background-repeat: no-repeat; + background-position: center; +} + +.scale.mark { + border-color: shade(@theme_bg_color, 0.8); +} + +.scale.trough { + margin: 7px 0; + border-color: shade(@theme_bg_color, 0.8); + border-radius: 2px; + background-color: shade(@theme_bg_color, 1.08); + background-image: none; +} + +.scale.trough.vertical { + margin: 0 7px; +} + +.menuitem .scale.highlight.left, +.scale.highlight.left { + border-color: @theme_selected_bg_color; + background-color: @theme_selected_bg_color; + background-image: none; +} + +.menuitem .scale.highlight.left:hover { + border-color: shade(@theme_selected_bg_color, 0.8); + background-color: shade(@theme_selected_bg_color, 0.8); +} + +.scale.highlight.bottom { + border-color: @theme_selected_bg_color; + background-color: @theme_selected_bg_color; + background-image: none; +} + +.scale.trough:insensitive, +.scale.highlight.left:insensitive { + border-color: shade(@theme_bg_color, 0.85); + background-color: shade(@theme_bg_color, 0.9); + background-image: none; +} + +/************** + * Scrollbars * + **************/ +.scrollbar { + -GtkRange-slider-width: 12; + -GtkRange-trough-border: 0; + -GtkScrollbar-has-backward-stepper: false; + -GtkScrollbar-has-forward-stepper: false; + -GtkScrollbar-min-slider-length: 50; + -GtkRange-stepper-spacing: 0; + -GtkRange-trough-under-steppers: 1; +} +.scrollbar .button, .scrollbar .header-bar .button.titlebutton, .header-bar .scrollbar .button.titlebutton, .scrollbar .titlebar .button.titlebutton, .titlebar .scrollbar .button.titlebutton { + border: none; +} +/*.scrollbar.overlay-indicator:not(.dragging):not(.hovering) { + opacity: 0.4; + -GtkRange-slider-width: 5px; +}*/ +/*.scrollbar.overlay-indicator:not(.dragging):not(.hovering) .slider { + margin: 0; + background-color: alpha(@theme_bg_color, 0.5); + border: 1px solid rgba(255, 255, 255, 0.6); + background-clip: padding-box; +}*/ +/*.scrollbar.overlay-indicator:not(.dragging):not(.hovering) .trough { + border-style: none; + background-color: transparent; +}*/ +/*.scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical .slider { + margin-top: 2px; + margin-bottom: 2px; +}*/ +/*.scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal .slider { + margin-left: 2px; + margin-right: 2px; +}*/ +.scrollbar.overlay-indicator.dragging, .scrollbar.overlay-indicator.hovering { + opacity: 0.7; +} +.scrollbar .trough { + background-color: alpha(@dark_bg_color, 0.15); + border: 0; +} +.scrollbar .trough:backdrop { + background-color: alpha(@dark_bg_color, 0.1); +} +.scrollbar .slider { + background-color: alpha(@theme_selected_bg_color, 0.8); +} +.scrollbar .slider:hover { + background-color: @theme_selected_bg_color; +} +.scrollbar .slider:prelight:active { + background-color: shade(@theme_selected_bg_color, 0.9); +} +.scrollbar .slider:backdrop { + background-color: alpha(@theme_selected_bg_color, 0.5); +} +.scrollbar .slider:insensitive { + background-color: transparent; +} +.scrollbar .slider { + border-radius: 100px; + margin: 3px; +} +.scrollbar.fine-tune .slider { + margin: 4px; +} +.scrollbar.vertical .slider { + margin-left: 4px; +} +.scrollbar.vertical .slider:dir(rtl) { + margin-left: 3px; + margin-right: 4px; +} +.scrollbar.vertical.fine-tune .slider { + margin-left: 5px; +} +.scrollbar.vertical.fine-tune .slider:dir(rtl) { + margin-left: 4px; + margin-right: 5px; +} +.scrollbar.vertical .trough { + border-left-style: solid; +} +.scrollbar.vertical .trough:dir(rtl) { + border-left-style: none; + border-right-style: solid; +} +.scrollbar.horizontal .slider { + margin-top: 4px; +} +.scrollbar.horizontal.fine-tune .slider { + margin-top: 5px; +} +.scrollbar.horizontal .trough { + border-top-style: solid; +} +.scrollbars-junction, .scrollbars-junction.frame { + border-color: transparent; + border-image: linear-gradient(to bottom, #a1a1a1 1px, transparent 1px) 0 0 0 1/0 1px stretch; + background-color: #dbdbdb; +} +.scrollbars-junction:dir(rtl), .scrollbars-junction.frame:dir(rtl) { + border-image-slice: 0 1 0 0; +} +.scrollbars-junction:backdrop, .scrollbars-junction.frame:backdrop { + border-image-source: linear-gradient(to bottom, #a8a8a8 1px, transparent 1px); + background-color: #e5e5e5; +} + +/************* + * separator * + *************/ +.sidebar.separator, +.sidebar.view.separator, +.sidebar .view.separator, +.view.separator, +.separator { + border-width: 1px; + border-style: solid; + border-color: shade(@theme_bg_color, 0.9); + color: shade(@theme_bg_color, 0.9); +} + +.button .separator, +.button.separator { + border-color: shade(@theme_bg_color, 0.95); +} + +.button .separator:insensitive, +.button.separator:insensitive { + border-color: shade(@theme_bg_color, 0.85); +} + +.primary-toolbar GtkSeparatorToolItem, +.primary-toolbar .separator, +.primary-toolbar .separator:insensitive, +.toolbar GtkSeparatorToolItem, +.toolbar .separator, +.toolbar .separator:insensitive { + -GtkWidget-window-dragging: true; + + border-color: shade(@toolbar_bg_color, 0.95); + color: shade(@toolbar_bg_color, 0.95); +} + +.header-bar GtkSeparatorToolItem, +.header-bar .separator, +.header-bar .separator:insensitive, +.titlebar GtkSeparatorToolItem, +.titlebar .separator, +.titlebar .separator:insensitive { + -GtkWidget-window-dragging: true; + + border-color: shade(@titlebar_bg_color, 0.95); + color: shade(@titlebar_bg_color, 0.95); +} + +.primary-toolbar .button .separator, +.primary-toolbar .button.separator, +.toolbar .button .separator, +.toolbar .button.separator { + border-color: shade(@toolbar_bg_color, 0.95); +} + +.header-bar .button .separator, +.header-bar .button.separator, +.titlebar .button .separator, +.titlebar .button.separator { + border-color: shade(@titlebar_bg_color, 0.95); +} + +.primary-toolbar .button .separator:insensitive, +.primary-toolbar .button.separator:insensitive, +.toolbar .button .separator:insensitive, +.toolbar .button.separator:insensitive { + border-color: shade(@toolbar_bg_color, 0.85); +} + +.header-bar .button .separator:insensitive, +.header-bar .button.separator:insensitive, +.titlebar .button .separator:insensitive, +.titlebar .button.separator:insensitive { + border-color: shade(@titlebar_bg_color, 0.85); +} + +.menuitem.separator { + -GtkMenuItem-horizontal-padding: 0; + -GtkWidget-separator-height: 1; + + border-style: none; + color: shade(@menu_bg_color, 0.9); +} + +GtkComboBox .separator { + /* always disable separators */ + -GtkWidget-wide-separators: true; + -GtkWidget-horizontal-separator: 0; + -GtkWidget-vertical-separator: 0; + + border-style: none; +} + +GtkTreeView { + -GtkTreeView-vertical-separator: 5px; + -GtkTreeView-horizontal-separator: 6px; + -GtkTreeView-expander-size: 8px; + -GtkTreeView-grid-line-pattern: "\000\000"; + border: 2px solid shade(@titlebar_bg_color, 0.7); +} + +/*********** + * sidebar * + ***********/ +.sidebar, +.sidebar.view, +.sidebar .view, +.sidebar GtkScrolledWindow { + background-color: @theme_bg_color; + color: mix(@theme_fg_color, @theme_bg_color, 0.1); +} + +.sidebar row:selected, +.sidebar row:selected:hover, +.sidebar row:selected:focus, +.sidebar .view row:selected, +.sidebar .view row:selected:hover, +.sidebar .view row:selected:focus { + border-color: shade(@theme_selected_bg_color, 0.9); + background-color: @theme_selected_bg_color; + background-image: none; + color: @theme_selected_fg_color; +} + +.sidebar row, +.sidebar .view row { +/* background-color: alpha(@theme_selected_bg_color, 0.1);*/ +/* color: @theme_selected_fg_color;*/ +} + +.sidebar row:prelight, +.sidebar .view row:prelight { + border-color: transparent; + background-color: transparent; + background-image: none; + box-shadow: inset 3px 0px @theme_selected_bg_color; + color: @theme_selected_bg_color; +} + +.sidebar row:selected:prelight, +.sidebar .view row:selected:prelight { + border-color: shade(@theme_selected_bg_color, 1.05); + background-color: shade(@theme_selected_bg_color, 1.05); + background-image: none; + color: @theme_selected_fg_color; +} + +.sidebar .frame { + border-width: 1px; +} + +/************** + * spinbutton * + **************/ +.spinbutton .button { + color: mix(@theme_text_color, @theme_base_color, 0.4); + padding: 2px 4px; + border-width: 0; + border-radius: 0; + border-style: none; + background-color: transparent; + background-image: none; + box-shadow: inset 1px 0 shade(@theme_base_color, 0.9); +} + +.spinbutton .button:insensitive { + color: mix(@theme_text_color, @theme_base_color, 0.7); + box-shadow: inset 1px 0 shade(@theme_bg_color, 0.95); +} + +.spinbutton .button:active, +.spinbutton .button:checked, +.spinbutton .button:hover { + color: @theme_fg_color; +} + +.spinbutton .button:first-child { + border-radius: 2px 0 0 2px; + box-shadow: none; +} + +.spinbutton .button:last-child { + border-radius: 0 2px 2px 0; +} + +.spinbutton .button:dir(rtl) { + box-shadow: inset -1px 0 shade(@theme_base_color, 0.9); +} + +.spinbutton.vertical .button { + border-width: 1px; + border-style: solid; + border-color: shade(@theme_bg_color, 0.8); + border-radius: 2px; + background-color: shade(@theme_bg_color, 1.08); + background-image: none; + color: @theme_fg_color; + box-shadow: none; +} + +.spinbutton.vertical .button:hover { + border-color: shade(@theme_bg_color, 0.7); + background-color: shade(@theme_bg_color, 1.10); + background-image: none; +} + +.spinbutton.vertical .button:active, +.spinbutton.vertical .button:checked { + border-color: shade(@theme_bg_color, 0.8); + background-color: shade(@theme_bg_color, 0.95); + background-image: none; +} + +.spinbutton.vertical .button:active:hover, +.spinbutton.vertical .button:checked:hover { + border-color: shade(@theme_bg_color, 0.7); +} + +.spinbutton.vertical .button:focus, +.spinbutton.vertical .button:hover:focus, +.spinbutton.vertical .button:active:focus, +.spinbutton.vertical .button:active:hover:focus, +.spinbutton.vertical .button:checked:focus, +.spinbutton.vertical .button:checked:hover:focus { + border-color: shade(@theme_bg_color, 0.7); +} + +.spinbutton.vertical .button:insensitive { + border-color: shade(@theme_bg_color, 0.85); + background-color: shade(@theme_bg_color, 0.9); + background-image: none; +} + +.spinbutton.vertical .button:first-child { + border-width: 1px; + border-bottom-width: 0; + border-radius: 2px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.spinbutton.vertical .button:last-child { + border-width: 1px; + border-top-width: 0; + border-radius: 2px; + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +.spinbutton.vertical.entry { + border-width: 1px; + border-style: solid; + border-radius: 0; +} + +/*********** + * spinner * + ***********/ +@keyframes spin { + to { -gtk-icon-transform: rotate(1turn); } +} + +.spinner { + background-image: none; + background-color: blue; + opacity: 0; + + -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); +} + +.spinner:active { + opacity: 1; + animation: spin 1s linear infinite; +} + +.spinner:active:insensitive { opacity: 0.5; } + +.menu.spinner, +.menu .spinner, +.menu .spinner:hover, +.primary-toolbar .spinner { + color: @theme_selected_bg_color; + border: none; + box-shadow: none; +} + +/************* + * statusbar * + *************/ +GtkStatusbar { + padding: 4px; + color: @theme_fg_color; +} + +/********** + * switch * + **********/ +GtkSwitch { + font: 1; + -GtkSwitch-slider-width: 20; + -GtkSwitch-slider-height: 20; + transition: all 200ms ease-in; +} + +GtkSwitch.slider { + background-color: @base_color; + border: none; + border-radius: 50%; + + box-shadow: 0 2px 2px alpha (#000, 0.2), + 0 1px 2px alpha (#000, 0.2); + padding: 2px; +} + +GtkSwitch.slider:insensitive { + background-color: shade(@theme_bg_color, 0.9); + background-image: none; +} + +GtkSwitch.trough { + border: none; + border-radius: 12px; + color: transparent; + padding: 2px; + background-color: shade(@theme_bg_color, 0.8); +} + +GtkSwitch.trough:active { + background-color: @theme_selected_bg_color; + background-image: none; + color: @theme_selected_fg_color; +} + +GtkSwitch.trough:insensitive { + background-color: shade(@theme_bg_color, 0.9); + background-image: none; + color: mix(@theme_fg_color, @theme_bg_color, 0.5); +} + +/************ + * textview * + ************/ +GtkTextView { + background-color: @theme_base_color; + color: @theme_text_color; +} + +/***************** + * color chooser * + *****************/ +GtkColorSwatch, +GtkColorSwatch:selected { + border-width: 1px; + border-style: solid; + border-color: alpha(black, 0.1); + border-radius: 1px; + background-color: transparent; + background-clip: border-box; +} + +GtkColorSwatch:hover, +GtkColorSwatch:selected:hover { + border-color: alpha(black, 0.3); +} + +GtkColorSwatch.color-dark:hover { +} + +GtkColorSwatch.color-light:hover { +} + +GtkColorSwatch.color-light:selected:hover, +GtkColorSwatch.color-dark:selected:hover { + background-image: none; +} + +GtkColorSwatch.left, +GtkColorSwatch:first-child { + border-top-left-radius: 2px; + border-bottom-left-radius: 2px; +} + +GtkColorSwatch.right, +GtkColorSwatch:last-child { + border-top-right-radius: 2px; + border-bottom-right-radius: 2px; +} + +GtkColorSwatch:only-child { + border-radius: 2px; +} + +GtkColorSwatch.top { + border-top-left-radius: 2px; + border-top-right-radius: 2px; +} + +GtkColorSwatch.bottom { + border-bottom-left-radius: 2px; + border-bottom-right-radius: 2px; +} + +GtkColorChooserWidget #add-color-button { + background-clip: padding-box; + border-color: alpha(black, 0.1); + background-color: shade(@theme_bg_color, 0.95); + color: @theme_fg_color; +} + +GtkColorChooserWidget #add-color-button:hover { + border-color: alpha(black, 0.3); + background-color: shade(@theme_bg_color, 0.90); + color: @theme_fg_color; +} + +.color-active-badge, +.color-active-badge:selected { + border-width: 1px; + border-style: solid; + border-width: 2px; + background-color: transparent; +} + +.color-active-badge.color-light, +.color-active-badge.color-light:hover { + border-color: alpha(black, 0.3); + color: alpha(black, 0.3); +} + +.color-active-badge.color-dark, +.color-active-badge.color-dark:hover { + border-color: alpha(white, 0.3); + color: alpha(white, 0.3); +} + +GtkColorEditor GtkColorSwatch { + border-radius: 2px; +} + +GtkColorEditor GtkColorSwatch.color-dark:hover, +GtkColorEditor GtkColorSwatch.color-light:hover { + background-image: none; + border-color: alpha(black, 0.3); +} + +GtkColorButton.button { + padding: 2px; +} + +/************** + * header-bar * + **************/ +.header-bar { + padding: 6px; + border-width: 0 0 1px 0; + border-style: solid; + border-color: shade(@titlebar_bg_color, 0.8); + background-color: @titlebar_bg_color; + background-image: none; + color: @titlebar_fg_color; +} + +.header-bar .button.text-button { + padding: 6px; +} + +.header-bar .button.image-button { + padding: 8px; +} + +.header-bar .title { + font: bold; + padding: 0 12px; +} + +.header-bar .subtitle { + font: smaller; + padding: 0 12px; +} + +.header-bar GtkComboBox, +.header-bar .button { + border-color: shade(@titlebar_bg_color, 0.8); + background-color: shade(@titlebar_bg_color, 1.0); + background-image: none; + color: @titlebar_fg_color; +} + +.header-bar .button:hover { + border-color: shade(@titlebar_bg_color, 0.7); + background-color: shade(@titlebar_bg_color, 1.10); + background-image: none; +} + +.header-bar .button:active, +.header-bar .button:checked { + border-color: shade(@titlebar_bg_color, 0.8); + background-color: shade(@titlebar_bg_color, 0.90); + background-image: none; +} + +.header-bar .button:active:hover, +.header-bar .button:checked:hover { + border-color: shade(@titlebar_bg_color, 0.7); +} + +.header-bar .button:focus, +.header-bar .button:hover:focus, +.header-bar .button:active:focus, +.header-bar .button:checked:focus, +.header-bar .button:active:hover:focus +.header-bar .button:checked:hover:focus { + border-color: shade(@titlebar_bg_color, 0.7); +} + +.header-bar .button:insensitive { + border-color: shade(@titlebar_bg_color, 0.85); + background-color: shade(@titlebar_bg_color, 0.9); + background-image: none; +} + +.header-bar .button:active:insensitive, +.header-bar .button:checked:insensitive { + border-color: shade(@titlebar_bg_color, 0.75); + background-color: shade(@titlebar_bg_color, 0.80); + background-image: none; +} + +.header-bar .entry { + border-color: shade(@titlebar_bg_color, 0.8); +} + +.header-bar .entry:active, +.header-bar .entry:focus { + border-color: shade(@titlebar_bg_color, 0.7); +} + +/*********** + * toolbar * + ***********/ +.toolbar { + padding: 6px; + border-style: none; + background-color: @toolbar_bg_color; + background-image: none; + color: @toolbar_fg_color; +} + +.toolbar .button { + padding: 6px; +} + +.toolbar .button.text-button { + padding: 6px 8px; +} + +.toolbar .button.image-button { + padding: 6px 4px 4px 6px; +} + +.toolbar:insensitive { + background-color: shade(@toolbar_bg_color, 0.9); + color: mix(@toolbar_fg_color, @toolbar_bg_color, 0.5); +} + +/* menubar toolbars */ +.toolbar.menubar { + -GtkToolbar-button-relief: normal; +} + +/******************* + * primary-toolbar * + *******************/ +.primary-toolbar, +.primary-toolbar .toolbar, +.primary-toolbar.toolbar { + -GtkWidget-window-dragging: true; + + padding: 4px; + border-width: 0 0 1px 0; + border-style: solid; + border-color: shade(@toolbar_bg_color, 0.8); + background-color: @toolbar_bg_color; + background-image: none; + color: @toolbar_fg_color; +} + +.primary-toolbar GtkComboBox, +.primary-toolbar .button { + padding: 6px; + border-width: 1px; + border-color: transparent; + border-radius: 2px; + background-color: shade(@toolbar_bg_color, 1.08); + background-image: none; + color: @toolbar_fg_color; +} + +.primary-toolbar GtkComboBox.flat, +.primary-toolbar .button.flat, +.primary-toolbar GtkComboBox.flat, +.primary-toolbar .button.flat, +.toolbar GtkComboBox.flat, +.toolbar .button.flat, +.primary-toolbar GtkComboBox.flat:insensitive, +.primary-toolbar .button.flat:insensitive, +.primary-toolbar GtkComboBox.flat:insensitive, +.primary-toolbar .button.flat:insensitive, +.toolbar GtkComboBox.flat:insensitive, +.toolbar .button.flat:insensitive { + border-color: transparent; + background-color: transparent; + background-image: none; + box-shadow: none; +} + +.primary-toolbar .raised .button, +.primary-toolbar .raised.button, +.toolbar GtkComboBox, +.toolbar .button { + border-color: shade(@toolbar_bg_color, 0.8); + background-color: shade(@toolbar_bg_color, 1.08); + background-image: none; + color: @toolbar_fg_color; +} + +.primary-toolbar .button:hover, +.toolbar .button:hover { + border-color: shade(@toolbar_bg_color, 0.80); + background-color: shade(@toolbar_bg_color, 0.95); + background-image: none; +/* box-shadow:inset 0px -3px 0px @selected_bg_color;*/ +} + +.primary-toolbar .button:active, +.toolbar .button:active, +.primary-toolbar .button:checked, +.toolbar .button:checked { + border-color: shade(@toolbar_bg_color, 0.8); + background-color: shade(@toolbar_bg_color, 0.95); + background-image: none; +/* box-shadow:inset 0px -3px 0px shade(@selected_bg_color, 0.95);*/ +} + +.primary-toolbar .button:active:hover, +.toolbar .button:active:hover, +.primary-toolbar .button:checked:hover, +.toolbar .button:checked:hover { + border-color: shade(@toolbar_bg_color, 0.7); +/* box-shadow:inset 0px -3px 0px @selected_bg_color;*/ +} + +.primary-toolbar .button:focus, +.primary-toolbar .button:hover:focus, +.primary-toolbar .button:active:focus, +.primary-toolbar .button:active:hover:focus, +.primary-toolbar .button:checked:focus, +.primary-toolbar .button:checked:hover:focus, +.toolbar .button:focus, +.toolbar .button:hover:focus, +.toolbar .button:active:focus, +.toolbar .button:active:hover:focus, +.toolbar .button:checked:focus, +.toolbar .button:checked:hover:focus { + border-color: shade(@toolbar_bg_color, 0.7); +/* box-shadow:inset 0px -3px 0px @selected_bg_color;*/ +} + +.primary-toolbar .button:insensitive, +.toolbar .button:insensitive { + border-color: shade(@toolbar_bg_color, 0.85); + background-color: shade(@toolbar_bg_color, 0.9); + background-image: none; +} + +.primary-toolbar .button:active:insensitive, +.toolbar .button:active:insensitive, +.primary-toolbar .button:checked:insensitive, +.toolbar .button:checked:insensitive { + border-color: shade(@toolbar_bg_color, 0.75); + background-color: shade(@toolbar_bg_color, 0.80); + background-image: none; +} + +.primary-toolbar .entry, +.toolbar .entry { + border-color: shade(@toolbar_bg_color, 0.8); +} + +.primary-toolbar .entry:active, +.primary-toolbar .entry:focus, +.toolbar .entry:active, +.toolbar .entry:focus { + border-color: shade(@toolbar_bg_color, 0.7); +} + +/* inline-toolbar */ +.inline-toolbar.toolbar { + -GtkToolbar-button-relief: normal; + + padding: 1px; + border-width: 1px; + border-style: solid; + border-color: shade(@theme_bg_color, 0.8); + border-radius: 0; + background-color: @theme_bg_color; + background-image: none; +} + +.inline-toolbar.toolbar:last-child { + border-width: 0 1px 1px 1px; + border-color: shade(@theme_bg_color, 0.8); + border-radius: 0; +} + +.inline-toolbar.toolbar .button { + padding: 1px; + border-width: 1px 0 1px 1px; + border-style: solid; + border-color: shade(@theme_bg_color, 0.8); + border-radius: 0; + background-color: shade(@theme_bg_color, 1.08); + background-image: none; + color: @theme_fg_color; +} + +.inline-toolbar.toolbar .button:hover { + border-color: shade(@theme_bg_color, 0.7); + background-color: shade(@theme_bg_color, 1.10); + background-image: none; +} + +.inline-toolbar.toolbar .button:active, +.inline-toolbar.toolbar .button:checked { + border-color: shade(@theme_bg_color, 0.8); + background-color: shade(@theme_bg_color, 0.95); + background-image: none; +} + +.inline-toolbar.toolbar .button:active:hover, +.inline-toolbar.toolbar .button:checked:hover { + border-color: shade(@theme_bg_color, 0.7); +} + +.inline-toolbar.toolbar .button:focus, +.inline-toolbar.toolbar .button:hover:focus, +.inline-toolbar.toolbar .button:active:focus, +.inline-toolbar.toolbar .button:active:hover:focus, +.inline-toolbar.toolbar .button:checked:focus, +.inline-toolbar.toolbar .button:checked:hover:focus { + border-color: shade(@theme_bg_color, 0.7); +} + +.inline-toolbar.toolbar .button:insensitive, +.inline-toolbar.toolbar GtkToolButton .button:insensitive { + border-color: shade(@theme_bg_color, 0.85); + background-color: shade(@theme_bg_color, 0.9); + background-image: none; +} + +.inline-toolbar.toolbar .button:active:insensitive +.inline-toolbar.toolbar GtkToolButton .button:active:insensitive, +.inline-toolbar.toolbar .button:checked:insensitive +.inline-toolbar.toolbar GtkToolButton .button:checked:insensitive { + border-color: shade(@theme_bg_color, 0.75); + background-color: shade(@theme_bg_color, 0.80); + background-image: none; +} + +/****************** + * linked buttons * + *****************/ +/* set up shadows for visual separation */ +.linked .button, +.inline-toolbar.toolbar .button, +.inline-toolbar.toolbar GtkToolButton .button, +.inline-toolbar.toolbar GtkToolButton > .button { + box-shadow: inset -1px 0 shade(@theme_bg_color, 0.9); +} + +.linked .button:active, +.inline-toolbar.toolbar .button:active, +.inline-toolbar.toolbar GtkToolButton .button:active, +.inline-toolbar.toolbar GtkToolButton > .button:active, +.linked .button:checked, +.inline-toolbar.toolbar .button:checked, +.inline-toolbar.toolbar GtkToolButton .button:checked, +.inline-toolbar.toolbar GtkToolButton > .button:checked { + box-shadow: inset -1px 0 shade(@theme_bg_color, 0.9), + inset 1px 0 alpha(@dark_shadow, 0.07), + inset 0 1px alpha(@dark_shadow, 0.08), + inset 0 -1px alpha(@dark_shadow, 0.05); +} + +.linked .button:insensitive, +.inline-toolbar.toolbar .button:insensitive, +.inline-toolbar.toolbar GtkToolButton .button:insensitive, +.inline-toolbar.toolbar GtkToolButton > .button:insensitive { + box-shadow: inset -1px 0 shade(@theme_bg_color, 0.85); +} + +/* remove box shadow from last-child and only-child */ +.linked .button:last-child, +.linked .button:only-child, +.linked .button:insensitive:last-child, +.linked .button:insensitive:only-child, +.linked .button:active:insensitive:last-child, +.linked .button:active:insensitive:only-child, +.linked .button:checked:insensitive:last-child, +.linked .button:checked:insensitive:only-child, +.inline-toolbar.toolbar .button:last-child, +.inline-toolbar.toolbar .button:only-child, +.inline-toolbar.toolbar .button:insensitive:last-child, +.inline-toolbar.toolbar .button:insensitive:only-child, +.inline-toolbar.toolbar .button:active:insensitive:last-child, +.inline-toolbar.toolbar .button:active:insensitive:only-child, +.inline-toolbar.toolbar .button:checked:insensitive:last-child, +.inline-toolbar.toolbar .button:checked:insensitive:only-child, +.inline-toolbar.toolbar GtkToolButton:last-child > .button, +.inline-toolbar.toolbar GtkToolButton:only-child > .button, +.inline-toolbar.toolbar GtkToolButton:last-child > .button:insensitive, +.inline-toolbar.toolbar GtkToolButton:only-child > .button:insensitive, +.inline-toolbar.toolbar GtkToolButton:last-child > .button:active:insensitive, +.inline-toolbar.toolbar GtkToolButton:only-child > .button:active:insensitive, +.inline-toolbar.toolbar GtkToolButton:last-child > .button:checked:insensitive, +.inline-toolbar.toolbar GtkToolButton:only-child > .button:checked:insensitive { + box-shadow: none; +} + +/* add back the inset shadow effect */ +.linked .button:active:last-child, +.linked .button:active:only-child, +.inline-toolbar.toolbar .button:active:last-child, +.inline-toolbar.toolbar .button:active:only-child, +.inline-toolbar.toolbar GtkToolButton:last-child > .button:active, +.inline-toolbar.toolbar GtkToolButton:only-child > .button:active, +.linked .button:checked:last-child, +.linked .button:checked:only-child, +.inline-toolbar.toolbar .button:checked:last-child, +.inline-toolbar.toolbar .button:checked:only-child, +.inline-toolbar.toolbar GtkToolButton:last-child > .button:checked, +.inline-toolbar.toolbar GtkToolButton:only-child > .button:checked { + box-shadow: inset 1px 0 alpha(@dark_shadow, 0.07), + inset 0 1px alpha(@dark_shadow, 0.08), + inset -1px 0 alpha(@dark_shadow, 0.07); +} + +/* middle button */ +.linked .entry, +.linked .button, +.linked .button:active, +.linked .button:active:hover, +.linked .button:checked, +.linked .button:checked:hover, +.linked .button:insensitive, +.inline-toolbar.toolbar .button, +.inline-toolbar.toolbar .button:active, +.inline-toolbar.toolbar .button:checked, +.inline-toolbar.toolbar .button:insensitive, +.inline-toolbar.toolbar GtkToolButton .button, +.inline-toolbar.toolbar GtkToolButton .button:active, +.inline-toolbar.toolbar GtkToolButton .button:checked, +.inline-toolbar.toolbar GtkToolButton .button:insensitive { + border-width: 1px; + border-radius: 0; + border-right-width: 0; + border-left-width: 0; +} + +/*leftmost button */ +.linked .entry:first-child, +.linked .button:first-child, +.linked .button:active:first-child, +.linked .button:active:hover:first-child, +.linked .button:checked:first-child, +.linked .button:checked:hover:first-child, +.linked .button:insensitive:first-child, +.inline-toolbar.toolbar .button:first-child, +.inline-toolbar.toolbar .button:active:first-child, +.inline-toolbar.toolbar .button:checked:first-child, +.inline-toolbar.toolbar .button:insensitive:first-child, +.inline-toolbar.toolbar GtkToolButton:first-child .button, +.inline-toolbar.toolbar GtkToolButton:first-child .button:active, +.inline-toolbar.toolbar GtkToolButton:first-child .button:checked, +.inline-toolbar.toolbar GtkToolButton:first-child .button:insensitive { + border-width: 1px; + border-radius: 2px; + border-right-width: 0; + border-bottom-right-radius: 0; + border-top-right-radius: 0; +} + +/* rightmost button */ +.linked .entry:last-child, +.linked .button:last-child, +.linked .button:active:last-child, +.linked .button:active:hover:last-child, +.linked .button:checked:last-child, +.linked .button:checked:hover:last-child, +.linked .button:insensitive:last-child, +.inline-toolbar.toolbar .button:last-child, +.inline-toolbar.toolbar .button:active:last-child, +.inline-toolbar.toolbar .button:checked:last-child, +.inline-toolbar.toolbar .button:insensitive:last-child, +.inline-toolbar.toolbar GtkToolButton:last-child .button, +.inline-toolbar.toolbar GtkToolButton:last-child .button:active, +.inline-toolbar.toolbar GtkToolButton:last-child .button:checked, +.inline-toolbar.toolbar GtkToolButton:last-child .button:insensitive { + border-width: 1px; + border-radius: 2px; + border-left-width: 0; + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +/* linked single button */ +.linked .entry:only-child, +.linked .button:only-child, +.linked .button:active:only-child, +.linked .button:active:hover:only-child, +.linked .button:checked:only-child, +.linked .button:checked:hover:only-child, +.linked .button:insensitive:only-child, +.inline-toolbar.toolbar .button:only-child, +.inline-toolbar.toolbar .button:active:only-child, +.inline-toolbar.toolbar .button:checked:only-child, +.inline-toolbar.toolbar .button:insensitive:only-child, +.inline-toolbar.toolbar GtkToolButton:only-child .button, +.inline-toolbar.toolbar GtkToolButton:only-child .button:active, +.inline-toolbar.toolbar GtkToolButton:only-child .button:checked, +.inline-toolbar.toolbar GtkToolButton:only-child .button:insensitive { + border-width: 1px; + border-radius: 2px; +} + +/* linked button shadows (vertical) */ +.linked.vertical .button, +.inline-toolbar.toolbar.vertical .button, +.inline-toolbar.toolbar.vertical GtkToolButton > .button { + box-shadow: inset 0 -1px shade(@theme_bg_color, 0.9); +} + +.linked.vertical .button:active, +.inline-toolbar.toolbar.vertical .button:active, +.inline-toolbar.toolbar.vertical GtkToolButton > .button:activeactive, +.linked.vertical .button:checked, +.inline-toolbar.toolbar.vertical .button:checked, +.inline-toolbar.toolbar.vertical GtkToolButton > .button:checked { + box-shadow: inset 0 -1px shade(@theme_bg_color, 0.9), + inset 1px 0 alpha(@dark_shadow, 0.07), + inset 0 1px alpha(@dark_shadow, 0.08), + inset -1px 0 alpha(@dark_shadow, 0.07); +} + +.linked.vertical .button:insensitive, +.inline-toolbar.toolbar.vertical .button:insensitive, +.inline-toolbar.toolbar.vertical GtkToolButton > .button:insensitive { + box-shadow: inset 0 -1px shade(@theme_bg_color, 0.85); +} + +/* remove box shadow from last-child and only-child */ +.linked.vertical .button:last-child, +.linked.vertical .button:only-child, +.linked.vertical .button:insensitive:last-child, +.linked.vertical .button:insensitive:only-child, +.linked.vertical .button:active:insensitive:last-child, +.linked.vertical .button:active:insensitive:only-child, +.linked.vertical .button:checked:insensitive:last-child, +.linked.vertical .button:checked:insensitive:only-child, +.inline-toolbar.toolbar.vertical .button:last-child, +.inline-toolbar.toolbar.vertical .button:only-child, +.inline-toolbar.toolbar.vertical .button:insensitive:last-child, +.inline-toolbar.toolbar.vertical .button:insensitive:only-child, +.inline-toolbar.toolbar.vertical .button:active:insensitive:last-child, +.inline-toolbar.toolbar.vertical .button:active:insensitive:only-child, +.inline-toolbar.toolbar.vertical .button:checked:insensitive:last-child, +.inline-toolbar.toolbar.vertical .button:checked:insensitive:only-child, +.inline-toolbar.toolbar.vertical GtkToolButton:last-child > .button, +.inline-toolbar.toolbar.vertical GtkToolButton:only-child > .button, +.inline-toolbar.toolbar.vertical GtkToolButton:last-child > .button:insensitive, +.inline-toolbar.toolbar.vertical GtkToolButton:only-child > .button:insensitive, +.inline-toolbar.toolbar.vertical GtkToolButton:last-child > .button:active:insensitive, +.inline-toolbar.toolbar.vertical GtkToolButton:only-child > .button:active:insensitive, +.inline-toolbar.toolbar.vertical GtkToolButton:last-child > .button:checked:insensitive, +.inline-toolbar.toolbar.vertical GtkToolButton:only-child > .button:checked:insensitive { + box-shadow: none; +} + +/* add back the inset shadow effect */ +.linked.vertical .button:active:last-child, +.linked.vertical .button:active:only-child, +.inline-toolbar.toolbar.vertical .button:active:last-child, +.inline-toolbar.toolbar.vertical .button:active:only-child, +.inline-toolbar.toolbar.vertical GtkToolButton:last-child > .button:active, +.inline-toolbar.toolbar.vertical GtkToolButton:only-child > .button:active, +.linked.vertical .button:active:last-child, +.linked.vertical .button:active:only-child, +.inline-toolbar.toolbar.vertical .button:active:last-child, +.inline-toolbar.toolbar.vertical .button:active:only-child, +.inline-toolbar.toolbar.vertical GtkToolButton:last-child > .button:active, +.inline-toolbar.toolbar.vertical GtkToolButton:only-child > .button:active, +.linked.vertical .button:checked:last-child, +.linked.vertical .button:checked:only-child, +.inline-toolbar.toolbar.vertical .button:checked:last-child, +.inline-toolbar.toolbar.vertical .button:checked:only-child, +.inline-toolbar.toolbar.vertical GtkToolButton:last-child > .button:checked, +.inline-toolbar.toolbar.vertical GtkToolButton:only-child > .button:checked { + box-shadow: inset 1px 0 alpha(@dark_shadow, 0.07), + inset 0 1px alpha(@dark_shadow, 0.08), + inset -1px 0 alpha(@dark_shadow, 0.07); +} + +/* middle button (vertical) */ +.linked.vertical .entry, +.linked.vertical .button, +.linked.vertical .button:active, +.linked.vertical .button:active:hover, +.linked.vertical .button:checked, +.linked.vertical .button:checked:hover, +.linked.vertical .button:insensitive { + border-width: 1px; + border-radius: 0; + border-top-width: 0; + border-bottom-width: 0; +} + +/* top button (vertical) */ +.linked.vertical .entry:first-child, +.linked.vertical .button:first-child, +.linked.vertical .button:active:first-child, +.linked.vertical .button:active:hover:first-child, +.linked.vertical .button:checked:first-child, +.linked.vertical .button:checked:hover:first-child, +.linked.vertical .button:insensitive:first-child { + border-width: 1px; + border-radius: 2px; + border-bottom-width: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +/* bottom button (vertical) */ +.linked.vertical .entry:last-child, +.linked.vertical .button:last-child, +.linked.vertical .button:active:last-child, +.linked.vertical .button:active:hover:last-child, +.linked.vertical .button:checked:last-child, +.linked.vertical .button:checked:hover:last-child, +.linked.vertical .button:insensitive:last-child { + border-width: 1px; + border-radius: 2px; + border-top-width: 0; + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +/* linked single button (vertical) */ +.linked.vertical .entry:only-child, +.linked.vertical .button:only-child, +.linked.vertical .button:active:only-child, +.linked.vertical .button:active:hover:only-child, +.linked.vertical .button:checked:only-child, +.linked.vertical .button:checked:hover:only-child, +.linked.vertical .button:insensitive:only-child { + border-width: 1px; + border-radius: 2px; +} + +/* linked toolbar buttons */ +.primary-toolbar .button.raised.linked, +.primary-toolbar .raised.linked .button, +.toolbar .button.raised.linked, +.toolbar .raised.linked .button, +.toolbar .linked .button { + box-shadow: inset -1px 0 shade(@toolbar_bg_color, 0.9); +} + +.primary-toolbar .button.raised.linked:active, +.primary-toolbar .raised.linked .button:active, +.toolbar .button.raised.linked:active, +.toolbar .raised.linked .button:active, +.toolbar .linked .button:active, +.primary-toolbar .raised.linked .button:checked, +.toolbar .button.raised.linked:checked, +.toolbar .raised.linked .button:checked, +.toolbar .linked .button:checked { + box-shadow: inset -1px 0 shade(@toolbar_bg_color, 0.9), + inset 1px 0 alpha(@dark_shadow, 0.07), + inset 0 1px alpha(@dark_shadow, 0.08), + inset 0 -1px alpha(@dark_shadow, 0.05); +} + +.primary-toolbar .button.raised.linked:insensitive, +.primary-toolbar .raised.linked .button:insensitive, +.toolbar .button.raised.linked:insensitive, +.toolbar .raised.linked .button:insensitive, +.toolbar .linked .button:insensitive { + box-shadow: inset -1px 0 shade(@toolbar_bg_color, 0.85); +} + +/* remove box shadow from last-child and only-child */ +.primary-toolbar .button.raised.linked:last-child, +.primary-toolbar .button.raised.linked:only-child, +.primary-toolbar .button:insensitive.raised.linked:last-child, +.primary-toolbar .button:insensitive.raised.linked:only-child, +.primary-toolbar .button:active:insensitive.raised.linked:last-child, +.primary-toolbar .button:active:insensitive.raised.linked:only-child, +.primary-toolbar .button:checked:insensitive.raised.linked:last-child, +.primary-toolbar .button:checked:insensitive.raised.linked:only-child, +.primary-toolbar .raised.linked .button:last-child, +.primary-toolbar .raised.linked .button:only-child, +.primary-toolbar .raised.linked .button:insensitive:last-child, +.primary-toolbar .raised.linked .button:insensitive:only-child, +.primary-toolbar .raised.linked .button:active:insensitive:last-child, +.primary-toolbar .raised.linked .button:active:insensitive:only-child, +.primary-toolbar .raised.linked .button:checked:insensitive:last-child, +.primary-toolbar .raised.linked .button:checked:insensitive:only-child, +.toolbar .button.raised.linked:last-child, +.toolbar .button.raised.linked:only-child, +.toolbar .button:insensitive.raised.linked:last-child, +.toolbar .button:insensitive.raised.linked:only-child, +.toolbar .button:active:insensitive.raised.linked:last-child, +.toolbar .button:active:insensitive.raised.linked:only-child, +.toolbar .button:checked:insensitive.raised.linked:last-child, +.toolbar .button:checked:insensitive.raised.linked:only-child, +.toolbar .raised.linked .button:last-child, +.toolbar .raised.linked .button:only-child, +.toolbar .raised.linked .button:insensitive:last-child, +.toolbar .raised.linked .button:insensitive:only-child, +.toolbar .raised.linked .button:active:insensitive:last-child, +.toolbar .raised.linked .button:active:insensitive:only-child, +.toolbar .raised.linked .button:checked:insensitive:last-child, +.toolbar .raised.linked .button:checked:insensitive:only-child, +.toolbar .linked .button:last-child, +.toolbar .linked .button:only-child, +.toolbar .linked .button:insensitive:last-child, +.toolbar .linked .button:insensitive:only-child, +.toolbar .linked .button:active:insensitive:last-child, +.toolbar .linked .button:active:insensitive:only-child +.toolbar .linked .button:checked:insensitive:last-child, +.toolbar .linked .button:checked:insensitive:only-child { + box-shadow: none; +} + +/* add back the inset shadow effect */ +.primary-toolbar .button:active.raised.linked:last-child, +.primary-toolbar .button:active.raised.linked:only-child, +.primary-toolbar .raised.linked .button:active:last-child, +.primary-toolbar .raised.linked .button:active:only-child, +.toolbar .button:active.raised.linked:last-child, +.toolbar .button:active.raised.linked:only-child, +.toolbar .raised.linked .button:active:last-child, +.toolbar .raised.linked .button:active:only-child, +.toolbar .linked .button:active:last-child, +.toolbar .linked .button:active:only-child, +.primary-toolbar .button:checked.raised.linked:last-child, +.primary-toolbar .button:checked.raised.linked:only-child, +.primary-toolbar .raised.linked .button:checked:last-child, +.primary-toolbar .raised.linked .button:checked:only-child, +.toolbar .button:checked.raised.linked:last-child, +.toolbar .button:checked.raised.linked:only-child, +.toolbar .raised.linked .button:checked:last-child, +.toolbar .raised.linked .button:checked:only-child, +.toolbar .linked .button:checked:last-child, +.toolbar .linked .button:checked:only-child { + box-shadow: inset 1px 0 alpha(@dark_shadow, 0.07), + inset 0 1px alpha(@dark_shadow, 0.08), + inset -1px 0 alpha(@dark_shadow, 0.07); +} + +/* middle button */ +.primary-toolbar .button.raised.linked, +.primary-toolbar .button.raised.linked:active, +.primary-toolbar .button.raised.linked:checked, +.primary-toolbar .button.raised.linked:insensitive, +.primary-toolbar .raised.linked .button, +.primary-toolbar .raised.linked .button:active, +.primary-toolbar .raised.linked .button:checked, +.primary-toolbar .raised.linked .button:insensitive, +.toolbar .button.raised.linked, +.toolbar .button.raised.linked:active, +.toolbar .button.raised.linked:checked, +.toolbar .button.raised.linked:insensitive, +.toolbar .raised.linked .button, +.toolbar .raised.linked .button:active, +.toolbar .raised.linked .button:checked, +.toolbar .raised.linked .button:insensitive, +.toolbar .linked .button, +.toolbar .linked .button:active, +.toolbar .linked .button:checked, +.toolbar .linked .button:insensitive { + border-width: 1px; + border-radius: 0; + border-right-width: 0; + border-left-width: 0; +} + +/* leftmost button */ +.primary-toolbar .button.raised.linked:first-child, +.primary-toolbar .button.raised.linked:active:first-child, +.primary-toolbar .button.raised.linked:checked:first-child, +.primary-toolbar .button.raised.linked:insensitive:first-child, +.primary-toolbar .raised.linked .button:first-child, +.primary-toolbar .raised.linked .button:active:first-child, +.primary-toolbar .raised.linked .button:checked:first-child, +.primary-toolbar .raised.linked .button:insensitive:first-child, +.toolbar .button.raised.linked:first-child, +.toolbar .button.raised.linked:active:first-child, +.toolbar .button.raised.linked:checked:first-child, +.toolbar .button.raised.linked:insensitive:first-child, +.toolbar .raised.linked .button:first-child, +.toolbar .raised.linked .button:active:first-child, +.toolbar .raised.linked .button:checked:first-child, +.toolbar .raised.linked .button:insensitive:first-child, +.toolbar .linked .button:first-child, +.toolbar .linked .button:active:first-child, +.toolbar .linked .button:checked:first-child { + border-width: 1px; + border-radius: 2px; + border-right-width: 0; + border-bottom-right-radius: 0; + border-top-right-radius: 0; +} + +/* rightmost button */ +.primary-toolbar .button.raised.linked:last-child, +.primary-toolbar .button.raised.linked:active:last-child, +.primary-toolbar .button.raised.linked:checked:last-child, +.primary-toolbar .button.raised.linked:insensitive:last-child, +.primary-toolbar .raised.linked .button:last-child, +.primary-toolbar .raised.linked .button:active:last-child, +.primary-toolbar .raised.linked .button:checked:last-child, +.primary-toolbar .raised.linked .button:insensitive:last-child, +.toolbar .button.raised.linked:last-child, +.toolbar .button.raised.linked:active:last-child, +.toolbar .button.raised.linked:checked:last-child, +.toolbar .button.raised.linked:insensitive:last-child, +.toolbar .raised.linked .button:last-child, +.toolbar .raised.linked .button:active:last-child, +.toolbar .raised.linked .button:checked:last-child, +.toolbar .raised.linked .button:insensitive:last-child, +.toolbar .linked .button:last-child, +.toolbar .linked .button:active:last-child, +.toolbar .linked .button:checked:last-child, +.toolbar .linked .button:insensitive:last-child { + border-width: 1px; + border-radius: 2px; + border-left-width: 0; + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +/* linked single button */ +.primary-toolbar .button.raised.linked:only-child, +.primary-toolbar .button.raised.linked:active:only-child, +.primary-toolbar .button.raised.linked:checked:only-child, +.primary-toolbar .button.raised.linked:insensitive:only-child, +.primary-toolbar .raised.linked .button:only-child, +.primary-toolbar .raised.linked .button:active:only-child, +.primary-toolbar .raised.linked .button:checked:only-child, +.primary-toolbar .raised.linked .button:insensitive:only-child, +.toolbar .button.raised.linked:only-child, +.toolbar .button.raised.linked:active:only-child, +.toolbar .button.raised.linked:checked:only-child, +.toolbar .button.raised.linked:insensitive:only-child, +.toolbar .raised.linked .button:only-child, +.toolbar .raised.linked .button:active:only-child, +.toolbar .raised.linked .button:checked:only-child, +.toolbar .raised.linked .button:insensitive:only-child, +.toolbar .linked .button:only-child, +.toolbar .linked .button:active:only-child, +.toolbar .linked .button:checked:only-child, +.toolbar .linked .button:insensitive:only-child { + border-width: 1px; + border-radius: 2px; +} + +/* linked titlebar buttons */ +.header-bar .button.raised.linked, +.header-bar .raised.linked .button, +.header-bar .linked .button { + box-shadow: inset -1px 0 shade(@titlebar_bg_color, 0.9); +} + +.header-bar .button.raised.linked:active, +.header-bar .raised.linked .button:active, +.header-bar .button.raised.linked:checked, +.header-bar .raised.linked .button:checked, +.header-bar .linked .button:active, +.header-bar .linked .button:checked { + box-shadow: inset -1px 0 shade(@titlebar_bg_color, 0.9), + inset 1px 0 alpha(@dark_shadow, 0.07), + inset 0 1px alpha(@dark_shadow, 0.08), + inset 0 -1px alpha(@dark_shadow, 0.05); +} + +.header-bar .button.raised.linked:insensitive, +.header-bar .raised.linked .button:insensitive, +.header-bar .linked .button:insensitive { + box-shadow: inset -1px 0 shade(@titlebar_bg_color, 0.85); +} + +/* remove box shadow from last-child and only-child */ +.header-bar .button.raised.linked:last-child, +.header-bar .button.raised.linked:only-child, +.header-bar .button:insensitive.raised.linked:last-child, +.header-bar .button:insensitive.raised.linked:only-child, +.header-bar .button:active:insensitive.raised.linked:last-child, +.header-bar .button:active:insensitive.raised.linked:only-child, +.header-bar .button:checked:insensitive.raised.linked:last-child, +.header-bar .button:checked:insensitive.raised.linked:only-child, +.header-bar .raised.linked .button:last-child, +.header-bar .raised.linked .button:only-child, +.header-bar .raised.linked .button:insensitive:last-child, +.header-bar .raised.linked .button:insensitive:only-child, +.header-bar .raised.linked .button:active:insensitive:last-child, +.header-bar .raised.linked .button:active:insensitive:only-child, +.header-bar .raised.linked .button:checked:insensitive:last-child, +.header-bar .raised.linked .button:checked:insensitive:only-child, +.header-bar .linked .button:last-child, +.header-bar .linked .button:only-child, +.header-bar .linked .button:insensitive:last-child, +.header-bar .linked .button:insensitive:only-child, +.header-bar .linked .button:active:insensitive:last-child, +.header-bar .linked .button:active:insensitive:only-child, +.header-bar .linked .button:checked:insensitive:last-child, +.header-bar .linked .button:checked:insensitive:only-child { + box-shadow: none; +} + +/* add back the inset shadow effect */ +.header-bar .button:active.raised.linked:last-child, +.header-bar .button:active.raised.linked:only-child, +.header-bar .raised.linked .button:active:last-child, +.header-bar .raised.linked .button:active:only-child, +.header-bar .linked .button:active:last-child, +.header-bar .linked .button:active:only-child, +.header-bar .button:checked.raised.linked:last-child, +.header-bar .button:checked.raised.linked:only-child, +.header-bar .raised.linked .button:checked:last-child, +.header-bar .raised.linked .button:checked:only-child, +.header-bar .linked .button:checked:last-child, +.header-bar .linked .button:checked:only-child { + box-shadow: inset 1px 0 alpha(@dark_shadow, 0.07), + inset 0 1px alpha(@dark_shadow, 0.08), + inset -1px 0 alpha(@dark_shadow, 0.07); +} + +/* middle button */ +.header-bar .button.raised.linked, +.header-bar .button.raised.linked:active, +.header-bar .button.raised.linked:checked, +.header-bar .button.raised.linked:insensitive, +.header-bar .raised.linked .button, +.header-bar .raised.linked .button:active, +.header-bar .raised.linked .button:checked, +.header-bar .raised.linked .button:insensitive, +.header-bar .linked .button, +.header-bar .linked .button:active, +.header-bar .linked .button:checked, +.header-bar .linked .button:insensitive { + border-width: 1px; + border-radius: 0; + border-right-width: 0; + border-left-width: 0; +} + +/* leftmost button */ +.header-bar .button.raised.linked:first-child, +.header-bar .button.raised.linked:active:first-child, +.header-bar .button.raised.linked:insensitive:first-child, +.header-bar .raised.linked .button:first-child, +.header-bar .raised.linked .button:active:first-child, +.header-bar .raised.linked .button:insensitive:first-child, +.header-bar .linked .button:first-child, +.header-bar .linked .button:active:first-child, +.header-bar .linked .button:insensitive:first-child { + border-width: 1px; + border-radius: 2px; + border-right-width: 0; + border-bottom-right-radius: 0; + border-top-right-radius: 0; +} + +/* rightmost button */ +.header-bar .button.raised.linked:last-child, +.header-bar .button.raised.linked:active:last-child, +.header-bar .button.raised.linked:checked:last-child, +.header-bar .button.raised.linked:insensitive:last-child, +.header-bar .raised.linked .button:last-child, +.header-bar .raised.linked .button:active:last-child, +.header-bar .raised.linked .button:checked:last-child, +.header-bar .raised.linked .button:insensitive:last-child, +.header-bar .linked .button:last-child, +.header-bar .linked .button:active:last-child, +.header-bar .linked .button:checked:last-child, +.header-bar .linked .button:insensitive:last-child { + border-width: 1px; + border-radius: 2px; + border-left-width: 0; + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +/* linked single button */ +.header-bar .button.raised.linked:only-child, +.header-bar .button.raised.linked:active:only-child, +.header-bar .button.raised.linked:checked:only-child, +.header-bar .button.raised.linked:insensitive:only-child, +.header-bar .raised.linked .button:only-child, +.header-bar .raised.linked .button:active:only-child, +.header-bar .raised.linked .button:checked:only-child, +.header-bar .raised.linked .button:insensitive:only-child, +.header-bar .linked .button:only-child, +.header-bar .linked .button:active:only-child, +.header-bar .linked .button:checked:only-child, +.header-bar .linked .button:insensitive:only-child { + border-width: 1px; + border-radius: 2px; +} + +/*********** + * tooltip * + ***********/ +.tooltip { + border-width: 1px; + border-style: solid; + border-color: shade(@theme_tooltip_bg_color, 0.8); + border-radius: 2px; + background-color: @theme_tooltip_bg_color; + background-image: none; + color: @theme_tooltip_fg_color; +} + +.tooltip * { + background-color: transparent; +} + +/************ + * treeview * + ************/ +GtkTreeView { + -GtkTreeView-vertical-separator: 0; + + outline-offset: -1px; +} + +GtkTreeView.dnd { + border-width: 1px; + border-style: solid; + border-color: @theme_selected_bg_color; + border-radius: 0; +} + +GtkTreeView .entry { + border-radius: 0; + background-color: @theme_base_color; + background-image: none; +} + +/************ + * viewport * + ************/ +GtkViewport.frame { + border-width: 0; +} + +.view { + background-color: @theme_base_color; + color: @theme_text_color; +} + +.view:insensitive, +.view:insensitive:insensitive { + background-color: shade(@theme_base_color, 0.9); + color: mix(@theme_fg_color, @theme_bg_color, 0.5); +} + +.view:selected, +.view:selected:focus { + background-color: @theme_selected_bg_color; + color: @theme_selected_fg_color; +} + +/************** + * action-bar * + **************/ +.action-bar { + padding: 6px; + border-width: 1px 0 0 0; + border-style: solid; + border-color: shade(@theme_bg_color, 0.8); + background-color: @theme_bg_color; + background-image: none; + color: @theme_fg_color; +} + +.action-bar .button.text-button { + padding: 6px; +} + +.action-bar .button.image-button { + padding: 8px; +} + +.action-bar .title { + font: bold; + padding: 0 12px; +} + +.action-bar .subtitle { + font: smaller; + padding: 0 12px; +} + +/*************** + * search bars * + ***************/ +.search-bar { + border-width: 0 0 1px 0; + border-style: solid; + border-color: shade(@theme_bg_color, 0.8); + background-color: shade(@theme_bg_color, 0.98); +} + +.search-bar .button.close-button { + padding: 6px; +} + +/*********** + * dialogs * + ***********/ +GtkMessageDialog, +.prompt { + -GtkDialog-content-area-border: 0; + -GtkDialog-action-area-border: 0; + -GtkDialog-button-spacing: 0; + + margin: 0; + padding: 0; +} + +/******************** + * various choosers * + ********************/ +GtkFontButton .separator, +GtkFileChooserButton .separator { + /* always disable separators */ + -GtkWidget-wide-separators: true; + -GtkWidget-horizontal-separator: 0; + -GtkWidget-vertical-separator: 0; +} + +GtkFontButton GtkLabel:last-child { + color: alpha(currentColor, 0.7); +} + +GtkFileChooserButton GtkImage:last-child { + color: alpha(currentColor, 0.7); +} + +GtkFileChooser .pane-separator, +GtkFileChooser .pane-separator:hover { + border-width: 0 1px 0 0; + border-style: solid; + border-color: shade(@theme_bg_color, 0.8); + background-color: @theme_bg_color; + color: shade(@theme_bg_color, 0.9); +} + +/* for fallback when header bar not used */ +GtkFileChooser .dialog-action-box { + border-width: 1px 0 0; + border-style: solid; + border-color: shade(@theme_bg_color, 0.7); +} + +/********************* + * app notifications * + *********************/ +.app-notification { + border-style: solid; + border-color: shade(@theme_base_color, 0.8); + border-width: 0 1px 1px 1px; + border-radius: 0 0 2px 2px; + padding: 8px; + background-color: @theme_base_color; + background-image: none; + color: @theme_text_color; +} + +/******* + * osd * + *******/ +.background.osd { + color: @osd_fg; + background-color: @osd_bg; +} + +GtkOverlay.osd { + background-color: transparent; +} + +.osd.frame { + background-clip: border-box; + background-origin: border-box; +} + +.osd.button, +.osd .button { + padding: 6px; + border-width: 1px; + border-style: solid; + border-color: shade(@osd_bg, 0.8); + border-radius: 2px; + background-color: shade(@osd_bg, 1.08); + background-image: none; + color: @osd_fg; +} + +.osd.button:prelight, +.osd.button:hover, +.osd .button:hover { + border-color: shade(@osd_bg, 0.7); + background-color: shade(@osd_bg, 1.10); + background-image: none; +} + +.osd.button:active, +.osd .button:active, +.osd GtkMenuButton.button:active, +.osd.button:checked, +.osd .button:checked, +.osd GtkMenuButton.button:checked { + border-color: shade(@osd_bg, 0.8); + background-color: shade(@osd_bg, 0.95); + background-image: none; +} + +.osd.button:active:hover, +.osd .button:active:hover, +.osd GtkMenuButton.button:active:hover, +.osd.button:checked:hover, +.osd .button:checked:hover, +.osd GtkMenuButton.button:checked:hover { + border-color: shade(@osd_bg, 0.7); +} + +.osd.button:insensitive, +.osd .button:insensitive { + border-color: shade(@osd_bg, 0.85); + background-color: shade(@osd_bg, 0.9); + background-image: none; +} + +.osd.button:active:insensitive, +.osd .button:active:insensitive, +.osd.button:checked:insensitive, +.osd .button:checked:insensitive { + background-color: shade(@osd_bg, 0.80); + background-image: none; +} + +.osd.toolbar { + -GtkToolbar-button-relief: normal; + + padding: 6px; + border-width: 1px; + border-style: solid; + border-radius: 2px; + border-color: shade(@osd_bg, 0.8); + background-color: @osd_bg; + background-image: none; + color: @osd_fg; +} + +.osd.toolbar .button { + padding: 6px; + border-width: 1px; + border-style: solid; + border-color: shade(@osd_bg, 0.8); + border-radius: 2px; + background-color: shade(@osd_bg, 1.08); + background-image: none; + color: @osd_fg; +} + +.osd.toolbar .button:hover { + border-color: shade(@osd_bg, 0.7); + background-color: shade(@osd_bg, 1.10); + background-image: none; +} + +.osd.toolbar .button:active, +.osd.toolbar .button:checked { + border-color: shade(@osd_bg, 0.8); + background-color: shade(@osd_bg, 0.95); + background-image: none; +} + +.osd.toolbar .button:active:hover, +.osd.toolbar .button:checked:hover { + border-color: shade(@osd_bg, 0.7); +} + +.osd.toolbar .button:focus, +.osd.toolbar .button:hover:focus, +.osd.toolbar .button:active:focus, +.osd.toolbar .button:active:hover:focus, +.osd.toolbar .button:checked:focus, +.osd.toolbar .button:checked:hover:focus { + border-color: shade(@osd_bg, 0.7); +} + +.osd.toolbar .button:insensitive { + border-color: shade(@osd_bg, 0.85); + background-color: shade(@osd_bg, 0.9); + background-image: none; +} + +.osd.toolbar .button:active:insensitive, +.osd.toolbar .button:checked:insensitive { + border-color: shade(@osd_bg, 0.75); + background-color: shade(@osd_bg, 0.80); + background-image: none; +} + +.osd.toolbar .button:first-child { + border-radius: 2px 0 0 2px; + border-width: 1px 0 1px 1px; + box-shadow: inset -1px 0 shade(@osd_bg, 0.9); +} + +.osd.toolbar .button:last-child { + box-shadow: none; + border-radius: 0 2px 2px 0; + border-width: 1px 1px 1px 0; +} + +.osd.toolbar .button:only-child, +.osd.toolbar GtkToolButton .button, +.osd.toolbar GtkToolButton:only-child .button, +.osd.toolbar GtkToolButton:last-child .button, +.osd.toolbar GtkToolButton:first-child .button { + border-width: 1px; + border-radius: 2px; + border-style: solid; +} + +.osd.toolbar .separator { + color: shade(@osd_bg, 0.9); +} + +/* used by gnome-settings-daemon's media-keys OSD */ +.osd.trough { + background-color: shade(@osd_bg, 0.8); +} + +.osd.progressbar { + background-color: @osd_fg; +} + +.osd .scale.slider { + background-color: shade(@osd_bg, 1.08); + background-image: none; + /* we will draw the border using box shadow for now */ + box-shadow: inset 1px 0 shade(@osd_bg, 0.8), + inset 0 1px shade(@osd_bg, 0.8), + inset -1px 0 shade(@osd_bg, 0.8), + inset 0 -1px shade(@osd_bg, 0.8); +} + +.osd .scale.slider:hover { + box-shadow: inset 1px 0 shade(@osd_bg, 0.7), + inset 0 1px shade(@osd_bg, 0.7), + inset -1px 0 shade(@osd_bg, 0.7), + inset 0 -1px shade(@osd_bg, 0.7); +} + +.osd .scale.slider:insensitive { + background-color: shade(@osd_bg, 0.9); + background-image: none; + box-shadow: inset 1px 0 shade(@osd_bg, 0.85), + inset 0 1px shade(@osd_bg, 0.85), + inset -1px 0 shade(@osd_bg, 0.85), + inset 0 -1px shade(@osd_bg, 0.85); +} + +.osd .scale.trough { + border-color: shade(@osd_bg, 0.8); + background-color: shade(@osd_bg, 1.08); + background-image: none; +} + +.osd .scale.trough.highlight { + border-color: @theme_selected_bg_color; + background-color: @theme_selected_bg_color; + background-image: none; +} + +.osd .scale.trough:insensitive, +.osd .scale.trough.highlight:insensitive { + border-color: shade(@osd_bg, 0.85); + background-color: shade(@osd_bg, 0.9); + background-image: none; +} + +.osd GtkProgressBar, +GtkProgressBar.osd { + -GtkProgressBar-xspacing: 0; + -GtkProgressBar-yspacing: 2px; + -GtkProgressBar-min-horizontal-bar-height: 2px; + + padding: 0; +} + +.osd GtkProgressBar.trough, +GtkProgressBar.osd.trough { + padding: 0; + border-style: none; + border-radius: 0; + background-image: none; + background-color: transparent; +} + +.osd GtkProgressBar.progressbar, +GtkProgressBar.osd.progressbar { + border-style: none; + border-radius: 0; + background-color: @theme_selected_bg_color; + background-image: none; +} + +.osd .view, +.osd.view { + background-color: @osd_base; +} + +.osd .scrollbar.trough { + background-color: @osd_bg; +} + +.osd .scrollbar.slider { + border-width: 1px; + border-color: mix(shade(@osd_base, 0.87), @osd_fg, 0.21); + border-radius: 0; + background-color: mix(@osd_base, @osd_fg, 0.21); +} + +.osd .scrollbar.slider:hover { + border-color: mix(shade(@osd_base, 0.87), @osd_fg, 0.31); + background-color: mix(@osd_base, @osd_fg, 0.31); +} + +.osd .scrollbar.slider:active { + border-color: shade(@theme_selected_bg_color, 0.9); + background-color: @theme_selected_bg_color; +} + +.osd GtkIconView.cell:selected, +.osd GtkIconView.cell:selected:focus { + background-color: transparent; + border-style: solid; + border-radius: 2px; + border-width: 3px; + border-color: @osd_fg; + outline-color: transparent; +} + +/* used by Documents */ +.osd .page-thumbnail { + border-style: solid; + border-width: 1px; + border-color: shade(@osd_bg, 0.9); + /* when there's no pixbuf yet */ + background-color: @osd_bg; +} + +/****************************** + * destructive action buttons * + ******************************/ +.destructive-action.button { + border-width: 1px; + border-style: solid; + border-color: shade(@error_color, 0.8); + border-radius: 2px; + background-color: @error_color; + background-image: none; + color: mix(@theme_selected_fg_color, @error_color, 0.1); +} + +.destructive-action.button:hover { + border-color: shade(@error_color, 0.7); + background-color: shade(@error_color, 1.12); + background-image: none; +} + +.destructive-action.button:active, +.destructive-action.button:checked { + border-color: shade(@error_color, 0.8); + background-color: shade(@error_color, 0.87); + background-image: none; +} + +.destructive-action.button:hover:active { + border-color: shade(@error_color, 0.7); +} + +/****************************** + * suggested action buttons * + ******************************/ +.suggested-action.button { + border-width: 1px; + border-style: solid; + border-color: shade(@theme_selected_bg_color, 0.9); + border-radius: 2px; + background-color: shade(@theme_selected_bg_color, 1.18); + background-image: none; + color: mix(@theme_selected_fg_color, @theme_selected_bg_color, 0.1); +} + +.suggested-action.button:hover { + border-color: shade(@theme_selected_bg_color, 0.8); + background-color: shade(@theme_selected_bg_color, 1.20); + background-image: none; +} + +.suggested-action.button:active, +.suggested-action.button:checked { + border-color: shade(@theme_selected_bg_color, 0.9); + background-color: shade(@theme_selected_bg_color, 1.05); + background-image: none; +} + +.suggested-action.button:hover:active, +.suggested-action.button:hover:checked { + border-color: shade(@theme_selected_bg_color, 0.8); +} + +/****************** + * selection mode * + ******************/ +.selection-mode.header-bar, +.selection-mode.toolbar { + border-style: solid; + border-color: @theme_selected_bg_color; + background-color: shade(@theme_selected_bg_color, 1.6); + background-image: none; + color: @theme_selected_bg_color; +} + +.selection-mode.header-bar { + border-top-color: shade(@theme_selected_bg_color, 1.6); + border-bottom-color: @theme_selected_bg_color; +} + +.selection-mode.toolbar { + padding: 6px; +} + +/* regular button */ +.selection-mode.header-bar .button, +.selection-mode.toolbar .button, +.selection-mode.toolbar GtkToolButton .button { + border-width: 1px; + border-style: solid; + border-color: @theme_selected_bg_color; + border-radius: 2px; + background-color: shade(@theme_selected_bg_color, 1.68); + background-image: none; + color: shade(@theme_selected_bg_color, 0.8); +} + +.selection-mode.header-bar .button:hover, +.selection-mode.toolbar .button:hover, +.selection-mode.toolbar GtkToolButton .button:hover { + border-color: shade(@theme_selected_bg_color, 0.9); + background-color: shade(@theme_selected_bg_color, 1.70); + background-image: none; +} + +.selection-mode.header-bar .button:active, +.selection-mode.toolbar .button:active, +.selection-mode.toolbar GtkToolButton .button:active, +.selection-mode.header-bar .button:checked, +.selection-mode.toolbar .button:checked, +.selection-mode.toolbar GtkToolButton .button:checked { + border-color: shade(@theme_selected_bg_color, 0.9); + background-color: shade(@theme_selected_bg_color, 1.55); + background-image: none; +} + +.selection-mode.header-bar .button:hover:active, +.selection-mode.toolbar .button:hover:active, +.selection-mode.toolbar GtkToolButton .button:hover:active { + border-color: shade(@theme_selected_bg_color, 0.8); +} + +/* suggested button */ +.selection-mode.header-bar .suggested-action.button, +.selection-mode.toolbar .suggested-action.button, +.selection-mode.toolbar GtkToolButton.suggested-action .button { + border-width: 1px; + border-style: solid; + border-color: shade(@theme_selected_bg_color, 0.9); + border-radius: 2px; + background-color: shade(@theme_selected_bg_color, 1.18); + background-image: none; + color: mix(@theme_selected_fg_color, @theme_selected_bg_color, 0.1); +} + +.selection-mode.header-bar .suggested-action.button:hover, +.selection-mode.toolbar .suggested-action.button:hover, +.selection-mode.toolbar GtkToolButton.suggested-action .button:hover { + border-color: shade(@theme_selected_bg_color, 0.8); + background-color: shade(@theme_selected_bg_color, 1.20); + background-image: none; +} + +.selection-mode.header-bar .suggested-action.button:active, +.selection-mode.toolbar .suggested-action.button:active, +.selection-mode.toolbar GtkToolButton.suggested-action:active, +.selection-mode.header-bar .suggested-action.button:checked, +.selection-mode.toolbar .suggested-action.button:checked, +.selection-mode.toolbar GtkToolButton.suggested-action:checked { + border-color: shade(@theme_selected_bg_color, 0.9); + background-color: shade(@theme_selected_bg_color, 1.05); + background-image: none; +} + +.selection-mode.header-bar .suggested-action.button:hover:active, +.selection-mode.toolbar .suggested-action.button:hover:active, +.selection-mode.toolbar GtkToolButton.suggested-action .button:hover:active, +.selection-mode.header-bar .suggested-action.button:hover:checked, +.selection-mode.toolbar .suggested-action.button:hover:checked, +.selection-mode.toolbar GtkToolButton.suggested-action .button:hover:checked { + border-color: shade(@theme_selected_bg_color, 0.8); +} + +/* menu button */ +.selection-mode.header-bar .selection-menu.button, +.selection-mode.toolbar .selection-menu.button { + border-style: none; + background-color: transparent; + background-image: none; + color: shade(@theme_selected_bg_color, 0.8); +} + +.selection-mode.toolbar .dim-label, +.selection-mode.toolbar .selection-menu.button .dim-label { + color: shade(@theme_selected_bg_color, 0.7); +} + +.selection-mode.header-bar .selection-menu.button:hover, +.selection-mode.toolbar .dim-label:hover, +.selection-mode.toolbar .selection-menu.button:hover, +.selection-mode.toolbar .selection-menu.button .dim-label:hover { + color: shade(@theme_selected_bg_color, 0.7); +} + +.selection-mode.header-bar .selection-menu.button:active, +.selection-mode.toolbar .selection-menu.button:active, +.selection-mode.header-bar .selection-menu.button:checked, +.selection-mode.toolbar .selection-menu.button:checked { + color: shade(@theme_selected_bg_color, 0.8); + box-shadow: none; +} + +/************************* + * touch text selections * + *************************/ +GtkBubbleWindow { + border-radius: 2px; + background-clip: border-box; +} + +GtkBubbleWindow.osd.background { + background-color: @osd_bg; +} + +GtkBubbleWindow .toolbar { + background-color: transparent; +} + +/******* + * CSD * + *******/ +.titlebar { + border-radius: 2px 2px 0 0; + background-color: @titlebar_bg_color; + color: mix(@titlebar_fg_color, @titlebar_bg_color, 0.1); +} + +.tiled .titlebar { + border-radius: 0; +} + +.maximized .titlebar { + border-radius: 0; +} + +/* this is the default titlebar that is added by GTK + * when client-side decorations are in use and the application + * did not set a custom titlebar. + */ +.titlebar.default-decoration { + +} + +.titlebar .title { + font: bold; +} + +.titlebar:backdrop { + background-color: @titlebar_bg_color; + color: mix(@titlebar_fg_color, @titlebar_bg_color, 0.4); +} + +.titlebar .titlebutton { + padding: 6px; + border-style: solid; + border-color: transparent; + color: mix(@titlebar_fg_color, @titlebar_bg_color, 0.1); +} + +.titlebar .titlebutton:hover, +.titlebar .titlebutton:hover:focus { + border-style: solid; + color: @theme_selected_bg_color; + border-color: shade(@dark_bg_color, 0.7); + background-color: shade(@dark_bg_color, 0.95); + box-shadow: inset 0 0 1px alpha(black, 0.2); +} + +.titlebar .titlebutton:active, +.titlebar .titlebutton:active:hover, +.titlebar .titlebutton:checked, +.titlebar .titlebutton:checked:hover { + border-color: shade(@dark_bg_color, 0.8); + background-color: shade(@dark_bg_color, 0.92); + box-shadow: inset 0 0 1px alpha(black, 0.2); + transition-duration: 50ms; + outline-color: alpha(@theme_fg_color, 0.3); + border-style: solid; + color: shade(@theme_selected_bg_color, 0.9); +} + +/* +.titlebar .right .titlebutton:first-child { + border-left: 1px solid shade(@titlebar_bg_color, 0.9); +} + +.titlebar .right .titlebutton:last-child { +} + +.titlebar .left .titlebutton:last-child { + border-right: 1px solid shade(@titlebar_bg_color, 0.9); +} + +.titlebar .left .titlebutton:first-child { +} +*/ + +.titlebar .titlebutton:backdrop { + color: mix(@titlebar_fg_color, @titlebar_bg_color, 0.4); +} + +/********************** + * Window Decorations * + *********************/ +.window-frame { + border-radius: 4px 4px 0 0; + border-width: 0px; + box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 8px 8px 0 rgba(0, 0, 0, 0.2); + /* this is used for the resize cursor area */ + margin: 10px; } + .window-frame:backdrop { + box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 5px 5px 0 rgba(0, 0, 0, 0.2); } + .window-frame.tiled { + border-radius: 0; } + .window-frame.ssd { + border-radius: 4px 4px 0 0; + box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1); } + .window-frame.ssd.maximized { + border-radius: 0; } + .window-frame.csd.popup, .window-frame.csd.menu { + border-radius: 2px; + box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.1); } + .window-frame.csd.tooltip { + border-radius: 2px; + box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.1); } + .window-frame.csd.message-dialog { + border-radius: 3px; } + .window-frame.solid-csd { + border-radius: 0; + margin: 1px; + background-color: @titlebar_bg_color; + box-shadow: none; } + diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/gtk.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/gtk.css Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,92 @@ +/* desktop itens */ +@define-color desktop_item_fg #eeeeee; +@define-color desktop_item_selected_fg @theme_selected_fg_color; +@define-color desktop_item_text_shadow alpha(black, 0.8); + +/* default color scheme */ +@define-color bg_color #dedede; +@define-color fg_color #222222; +@define-color base_color #f9f9f9; +@define-color text_color #333333; +@define-color selected_bg_color #DB6823; +@define-color selected_fg_color #f9f9f9; +@define-color tooltip_bg_color #444851; +@define-color tooltip_fg_color #eeeeee; + +/* dark color scheme */ +@define-color dark_bg_color #444851; +@define-color dark_fg_color #eeeeee; + +/* colormap actually used by the theme, to be overridden in other css files */ +@define-color theme_bg_color @bg_color; +@define-color theme_fg_color @fg_color; +@define-color theme_base_color @base_color; +@define-color theme_text_color @text_color; +@define-color theme_selected_bg_color @selected_bg_color; +@define-color theme_selected_fg_color @selected_fg_color; +@define-color theme_tooltip_bg_color @tooltip_bg_color; +@define-color theme_tooltip_fg_color @tooltip_fg_color; + +/* shadow effects */ +@define-color light_shadow #fff; +@define-color dark_shadow #000; + +/* misc colors used by gtk+ */ +@define-color info_fg_color rgb (58, 135, 173); +@define-color info_bg_color rgb (217, 237, 247); +@define-color warning_fg_color rgb (192, 152, 83); +@define-color warning_bg_color rgb (252, 248, 227); +@define-color question_fg_color rgb (214, 73, 55); +@define-color question_bg_color rgb (252, 229, 213); +@define-color error_fg_color rgb (185, 74, 72); +@define-color error_bg_color rgb (242, 222, 222); +@define-color link_color #FF873F; +@define-color success_color #53a93f; +@define-color warning_color #f57900; +@define-color error_color #cc0000; + +/* widget colors */ +@define-color titlebar_bg_color @dark_bg_color; +@define-color titlebar_fg_color @dark_fg_color; +@define-color menubar_bg_color @dark_bg_color; +@define-color menubar_fg_color @dark_fg_color; +@define-color toolbar_bg_color @dark_bg_color; +@define-color toolbar_fg_color @dark_fg_color; +@define-color menu_bg_color @dark_bg_color; +@define-color menu_fg_color @dark_fg_color; +@define-color panel_bg_color @dark_bg_color; +@define-color panel_fg_color @dark_fg_color; + +/* osd */ +@define-color osd_base @dark_bg_color; +@define-color osd_fg @dark_fg_color; +@define-color osd_bg alpha(@osd_base, 0.8); + +/* lightdm greeter colors */ +@define-color lightdm_bg_color @dark_bg_color; +@define-color lightdm_fg_color @dark_fg_color; + +/* window manager colors */ +@define-color wm_bg @titlebar_bg_color; +@define-color wm_border_focused mix(shade(@titlebar_bg_color, 0.7), @titlebar_fg_color, 0.21); +@define-color wm_border_unfocused mix(shade(@titlebar_bg_color, 0.7), @titlebar_fg_color, 0.12); +@define-color wm_title_focused mix(@titlebar_fg_color, @titlebar_bg_color, 0.1); +@define-color wm_title_unfocused mix(@titlebar_fg_color, @titlebar_bg_color, 0.4); +@define-color wm_icons_focused mix(@titlebar_fg_color, @titlebar_bg_color, 0.1); +@define-color wm_icons_focused_prelight @selected_bg_color; +@define-color wm_icons_focused_pressed shade(@selected_bg_color, 0.8); +@define-color wm_icons_unfocused mix(@titlebar_fg_color, @titlebar_bg_color, 0.4); +@define-color wm_icons_unfocused_prelight @selected_bg_color; +@define-color wm_icons_unfocused_pressed shade(@selected_bg_color, 0.8); + +@import url("gtk-widgets.css"); +@import url("gtk-widgets-assets.css"); +@import url("apps/gnome-applications.css"); +@import url("apps/granite-widgets.css"); +@import url("apps/unity.css"); +@import url("apps/xfce.css"); +@import url("apps/nemo.css"); +@import url("apps/nautilus.css"); +@import url("apps/tab-mono.css"); +@import url("apps/synaptic.css"); +@import url("apps/lightdm-gtk-greeter.css"); diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/settings.ini --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/gtk-3.0/settings.ini Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,3 @@ +[Settings] +gtk-auto-mnemonics = 1 +gtk-visible-focus = automatic diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/index.theme --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/index.theme Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=X-GNOME-Metatheme +Name=StylishDark-wpp +Comment=A modern flat theme + +[X-GNOME-Metatheme] +GtkTheme=StylishDark-wpp +MetacityTheme=StylishDark-wpp +ButtonLayout=:minimize,maximize,close diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/openbox-3/close.xbm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/openbox-3/close.xbm Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,4 @@ +#define close_width 8 +#define close_height 8 +static unsigned char close_bits[] = { + 0xc3, 0xe7, 0x7e, 0x3c, 0x3c, 0x7e, 0xe7, 0xc3 }; diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/openbox-3/desk.xbm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/openbox-3/desk.xbm Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,4 @@ +#define desk_toggled_width 8 +#define desk_toggled_height 8 +static unsigned char desk_toggled_bits[] = { + 0xe7, 0xe7, 0xe7, 0x00, 0x00, 0xe7, 0xe7, 0xe7 }; diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/openbox-3/desk_toggled.xbm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/openbox-3/desk_toggled.xbm Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,4 @@ +#define desk_width 8 +#define desk_height 8 +static unsigned char desk_bits[] = { + 0x04, 0x0e, 0x3f, 0x1e, 0x1c, 0x24, 0x40, 0x80 }; diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/openbox-3/iconify.xbm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/openbox-3/iconify.xbm Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,4 @@ +#define iconify_width 8 +#define iconify_height 8 +static unsigned char iconify_bits[] = { + 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00 }; diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/openbox-3/max.xbm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/openbox-3/max.xbm Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,4 @@ +#define max_width 8 +#define max_height 8 +static unsigned char max_bits[] = { + 0xff, 0xff, 0xc3, 0xc3, 0xc3, 0xc3, 0xff, 0xff }; diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/openbox-3/max_toggled.xbm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/openbox-3/max_toggled.xbm Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,4 @@ +#define max_toggled_width 8 +#define max_toggled_height 8 +static unsigned char max_toggled_bits[] = { + 0xff, 0xff, 0xc3, 0xc3, 0xc3, 0xc3, 0xff, 0xff }; diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/openbox-3/shade.xbm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/openbox-3/shade.xbm Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,4 @@ +#define shade_width 8 +#define shade_height 8 +static unsigned char shade_bits[] = { + 0x18, 0x3c, 0x7e, 0xff, 0xdb, 0x18, 0x18, 0x18 }; diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/openbox-3/shade_toggled.xbm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/openbox-3/shade_toggled.xbm Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,4 @@ +#define shade_toggled_width 8 +#define shade_toggled_height 8 +static unsigned char shade_toggled_bits[] = { + 0x18, 0x18, 0x18, 0xdb, 0xff, 0x7e, 0x3c, 0x18 }; diff -r dac0d3286af8 -r 417f77dae192 slitaz-next/stuff/usr/share/themes/StylishDark-wpp/openbox-3/themerc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-next/stuff/usr/share/themes/StylishDark-wpp/openbox-3/themerc Wed Sep 27 17:54:12 2017 +0300 @@ -0,0 +1,133 @@ +# Name: Numix Openbox theme +# Author: Satyajit Sahoo +# License: GPL-3.0+ + + +# Menu +menu.border.color: #2d2d2d + +menu.title.bg: flat solid +menu.title.bg.color: #2d2d2d +menu.title.text.color: #dcdcdc +menu.title.text.justify: center + +menu.items.bg: flat solid +menu.items.bg.color: #2d2d2d +menu.items.text.color: #dcdcdc +menu.items.disabled.text.color: #888888 + +menu.items.active.bg: flat solid +menu.items.active.bg.color: #d64937 +menu.items.active.text.color: #f9f9f9 + +menu.separator.color: #262626 +menu.separator.width: 1 +menu.separator.padding.width: 2 +menu.separator.padding.height: 4 + + +# Active window +window.active.border.color: #484848 + +window.active.title.bg: flat solid +window.active.title.bg.color: #2d2d2d +window.active.title.separator.color: #2d2d2d +window.active.text.justify: center + +window.active.label.bg: parentrelative +window.active.label.text.color: #dcdcdc + +window.active.handle.bg: flat solid +window.active.handle.bg.color: #2d2d2d + +window.active.grip.bg: flat solid +window.active.grip.bg.color: #2d2d2d + +window.active.button.unpressed.bg: flat solid +window.active.button.unpressed.bg.color: #2d2d2d +window.active.button.unpressed.image.color: #dcdcdc + +window.active.button.pressed.bg: flat solid +window.active.button.pressed.bg.color: #2d2d2d +window.active.button.pressed.image.color: #d64937 + +window.active.button.disabled.bg: flat solid +window.active.button.disabled.bg.color: #2d2d2d +window.active.button.disabled.image.color: #888888 + + +# Inactive window +window.inactive.border.color: #393939 + +window.inactive.title.bg: flat solid +window.inactive.title.bg.color: #2d2d2d +window.inactive.title.separator.color: #2d2d2d +window.inactive.text.justify: center + +window.inactive.label.bg: parentrelative +window.inactive.label.text.color: #888888 + +window.inactive.handle.bg: flat solid +window.inactive.handle.bg.color: #2d2d2d + +window.inactive.grip.bg: flat solid +window.inactive.grip.bg.color: #2d2d2d + +window.inactive.button.unpressed.bg: flat solid +window.inactive.button.unpressed.bg.color: #2d2d2d +window.inactive.button.unpressed.image.color: #888888 + +window.inactive.button.pressed.bg: flat solid +window.inactive.button.pressed.bg.color: #2d2d2d +window.inactive.button.pressed.image.color: #d64937 + +window.inactive.button.disabled.bg: flat solid +window.inactive.button.disabled.bg.color: #2d2d2d +window.inactive.button.disabled.image.color: #888888 + + +# OSD +osd.border.width: 1 +osd.border.color: #484848 + +osd.bg: flat solid +osd.bg.color: #2d2d2d +osd.label.bg: flat solid +osd.label.bg.color: #2d2d2d +osd.label.text.color: #dcdcdc + +osd.hilight.bg: flat solid +osd.hilight.bg.color: #d64937 + +osd.unhilight.bg: flat solid +osd.unhilight.bg.color: #888888 + +osd.button.unpressed.bg: flat border +osd.button.unpressed.bg.color: #303030 +osd.button.unpressed.*.border.color: #242424 + +osd.button.pressed.bg: flat border +osd.button.pressed.bg.color: #2a2a2a +osd.button.pressed.*.border.color: #242424 + +osd.button.focused.bg: flat solid border +osd.button.focused.bg.color: #303030 +osd.button.focused.*.border.color: #1e1e1e + +osd.button.focused.box.color: #d64937 + + +# Fonts +window.active.label.text.font:shadow=n +window.inactive.label.text.font:shadow=n +menu.items.font:shadow=n +menu.title.text.font:shadow=n + + +# Everything else +border.width: 1 +padding.width: 8 +padding.height: 4 +window.handle.width: 0 +window.client.padding.width: 0 +window.label.text.justify: center diff -r dac0d3286af8 -r 417f77dae192 wqy-microhei/receipt --- a/wqy-microhei/receipt Wed Sep 27 16:49:12 2017 +0200 +++ b/wqy-microhei/receipt Wed Sep 27 17:54:12 2017 +0300 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="wqy-microhei" VERSION="0.2.0-beta" @@ -6,22 +6,21 @@ SHORT_DESC="文泉驿微米黑,版本v0.2.0-beta (开发代号:远古大爆炸,Codename: BigBang)" MAINTAINER="lufeng369@slitaz.org" LICENSE="Apache GPL3" +WEB_SITE="http://wenq.org/index.cgi?MicroHei" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://wenq.org/index.cgi?MicroHei" WGET_URL="$SF_MIRROR/wqy/$TARBALL" -DEPENDS="" - # Rules to configure and make the package. -compile_rules() -{ - mkdir -p $DESTDIR - cp -a $src/* $DESTDIR +compile_rules() { + fontdir="$install/usr/share/fonts/truetype/WenQuanYi" + mkdir -p $fontdir + cp -a *.ttc $fontdir + cook_pick_docs *.txt + chown -R root:root $install } # Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share/fonts/truetype/WenQuanYi - cp -a $install/*.ttc $fs/usr/share/fonts/truetype/WenQuanYi +genpkg_rules() { + copy *.ttc }