Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: breeze

breeze (4:5.20.90-0ubuntu1) hirsute; urgency=medium * New upstream (beta) release (5.20.90) * Install new breezetwilight look-and-feel global theme. -- Rik Mills <rikmills@kde.org> Thu, 21 Jan 2021 23:43:29 +0000

Modifications :
  1. Download patch kstyle/breezesplitterproxy.cpp

    --- 4:5.20.5-2/kstyle/breezesplitterproxy.cpp 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/kstyle/breezesplitterproxy.cpp 2021-01-21 12:38:55.000000000 +0000 @@ -6,7 +6,6 @@ #include "breezesplitterproxy.h" -#include "breeze.h" #include "breezestyleconfigdata.h" #include <QCoreApplication>
  2. Download patch lookandfeel.twilight/contents/defaults

    --- 4:5.20.5-2/lookandfeel.twilight/contents/defaults 1970-01-01 00:00:00.000000000 +0000 +++ 4:5.20.90-0ubuntu1/lookandfeel.twilight/contents/defaults 2021-01-21 12:38:55.000000000 +0000 @@ -0,0 +1,23 @@ +[kdeglobals][KDE] +widgetStyle=Breeze + +[kdeglobals][General] +ColorScheme=BreezeLight + +[kdeglobals][Icons] +Theme=breeze + +[plasmarc][Theme] +name=breeze-dark + +[kcminputrc][Mouse] +cursorTheme=breeze_cursors + +[kwinrc][WindowSwitcher] +LayoutName=org.kde.breeze.desktop + +[kwinrc][DesktopSwitcher] +LayoutName=org.kde.breeze.desktop + +[kwinrc][org.kde.kdecoration2] +library=org.kde.breeze Binary files 4:5.20.5-2/lookandfeel.twilight/contents/previews/fullscreenpreview.jpg and 4:5.20.90-0ubuntu1/lookandfeel.twilight/contents/previews/fullscreenpreview.jpg differ Binary files 4:5.20.5-2/lookandfeel.twilight/contents/previews/preview.png and 4:5.20.90-0ubuntu1/lookandfeel.twilight/contents/previews/preview.png differ
  3. Download patch kstyle/breezemetrics.h

    --- 4:5.20.5-2/kstyle/breezemetrics.h 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/kstyle/breezemetrics.h 2021-01-21 12:38:55.000000000 +0000 @@ -44,13 +44,19 @@ namespace Breeze static constexpr int Layout_DefaultSpacing = 6; // line editors - static constexpr int LineEdit_FrameWidth = 6; + struct LineEdit { + static constexpr int FrameWidth = 6; + static constexpr int Margin = 2; + + static constexpr int TotalExpansion = FrameWidth + Margin; + }; // menu items static constexpr int Menu_FrameWidth = 0; - static constexpr int MenuItem_MarginWidth = 5; - static constexpr int MenuItem_MarginHeight = 3; + static constexpr int MenuItem_MarginWidth = 10; + static constexpr int MenuItem_MarginHeight = 5; static constexpr int MenuItem_ItemSpacing = 4; + static constexpr int MenuItem_SeparatorPadding = 0; static constexpr int MenuItem_AcceleratorSpace = 16; static constexpr int MenuButton_IndicatorWidth = 20; @@ -58,7 +64,7 @@ namespace Breeze static constexpr int ComboBox_FrameWidth = 6; // spinbox - static constexpr int SpinBox_FrameWidth = LineEdit_FrameWidth; + static constexpr int SpinBox_FrameWidth = LineEdit::TotalExpansion; static constexpr int SpinBox_ArrowButtonWidth = 20; // groupbox title margin @@ -92,7 +98,7 @@ namespace Breeze static constexpr int ScrollBar_DoubleButtonHeight = 2*ScrollBar_Extend; // toolbars - static constexpr int ToolBar_FrameWidth = 2; + static constexpr int ToolBar_FrameWidth = 6; static constexpr int ToolBar_HandleExtent = 10; static constexpr int ToolBar_HandleWidth = 6; static constexpr int ToolBar_SeparatorWidth = 8;
  4. Download patch po/sk/breeze_kwin_deco.po

    --- 4:5.20.5-2/po/sk/breeze_kwin_deco.po 2021-01-05 11:47:18.000000000 +0000 +++ 4:5.20.90-0ubuntu1/po/sk/breeze_kwin_deco.po 2021-01-21 12:39:15.000000000 +0000 @@ -1,5 +1,5 @@ # translation of breeze_kwin_deco.po to Slovak -# Roman Paholik <wizzardsk@gmail.com>, 2014, 2015, 2016, 2017, 2020. +# Roman Paholik <wizzardsk@gmail.com>, 2014, 2015, 2016, 2017. # Mthw <jari_45@hotmail.com>, 2018. # Matej Mrenica <matejm98mthw@gmail.com>, 2019. msgid "" @@ -7,14 +7,14 @@ msgstr "" "Project-Id-Version: breeze_kwin_deco\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2020-09-11 02:27+0200\n" -"PO-Revision-Date: 2020-12-20 19:45+0100\n" -"Last-Translator: Roman Paholík <wizzardsk@gmail.com>\n" -"Language-Team: Slovak <kde-sk@linux.sk>\n" +"PO-Revision-Date: 2019-11-18 09:32+0100\n" +"Last-Translator: Matej Mrenica <matejm98mthw@gmail.com>\n" +"Language-Team: Slovak <kde-i18n-doc@kde.org>\n" "Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Lokalize 20.08.2\n" +"X-Generator: Lokalize 19.11.80\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #: config/breezeexceptionlistwidget.cpp:96 @@ -169,7 +169,8 @@ msgstr "Pridať spracovač na zmenu veľ #. i18n: ectx: property (text), widget (QCheckBox, drawTitleBarSeparator) #: config/ui/breezeconfigurationui.ui:151 -#, kde-format +#, fuzzy, kde-format +#| msgid "Draw separator between titlebar and window" msgid "Draw separator under active window's titlebar" msgstr "Kresliť oddeľovač medzi záhlavím a oknom"
  5. Download patch kstyle/breezetoolsareamanager.cpp
  6. Download patch cursors/Breeze_Snow/src/index.theme

    --- 4:5.20.5-2/cursors/Breeze_Snow/src/index.theme 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/cursors/Breeze_Snow/src/index.theme 2021-01-21 12:38:55.000000000 +0000 @@ -66,7 +66,7 @@ Comment[pt_BR]=Breeze Light pelo KDE VDG Comment[ro]=Briză, luminos, de KDE VDG Comment[ru]=Светлый вариант Breeze от KDE VDG Comment[sk]=Svetlý vánok od KDE VDG -Comment[sl]=Sapica lahka s strani KDE Visual Design Group +Comment[sl]=Sapica lahka s strani KDE VDG Comment[sv]=Breeze ljus av KDE:s visuella designgrupp Comment[tg]=Насими сабук аз KDE VDG Comment[uk]=Світла Breeze, автори — KDE VDG
  7. Download patch kstyle/breezeframeshadow.cpp

    --- 4:5.20.5-2/kstyle/breezeframeshadow.cpp 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/kstyle/breezeframeshadow.cpp 2021-01-21 12:38:55.000000000 +0000 @@ -6,7 +6,6 @@ #include "breezeframeshadow.h" -#include "breeze.h" #include "breezemetrics.h" #include <QDebug>
  8. Download patch kstyle/animations/breezetabbardata.cpp

    --- 4:5.20.5-2/kstyle/animations/breezetabbardata.cpp 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/kstyle/animations/breezetabbardata.cpp 2021-01-21 12:38:55.000000000 +0000 @@ -10,7 +10,6 @@ #include "breezetabbardata.h" #include <QHoverEvent> -#include <QTabBar> namespace Breeze {
  9. Download patch kdecoration/breezesettingsdata.kcfg

    --- 4:5.20.5-2/kdecoration/breezesettingsdata.kcfg 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/kdecoration/breezesettingsdata.kcfg 2021-01-21 12:38:55.000000000 +0000 @@ -93,7 +93,7 @@ <!-- size grip --> <entry name="DrawBackgroundGradient" type = "Bool"> - <default>true</default> + <default>false</default> </entry> <!-- size grip -->
  10. Download patch po/zh_CN/breeze_kwin_deco.po

    --- 4:5.20.5-2/po/zh_CN/breeze_kwin_deco.po 2021-01-05 11:47:23.000000000 +0000 +++ 4:5.20.90-0ubuntu1/po/zh_CN/breeze_kwin_deco.po 2021-01-21 12:39:19.000000000 +0000 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2020-09-11 02:27+0200\n" -"PO-Revision-Date: 2021-01-03 09:06\n" +"PO-Revision-Date: 2021-01-16 04:27\n" "Last-Translator: \n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" @@ -19,8 +19,8 @@ msgstr "" "X-Crowdin-Project: kdeorg\n" "X-Crowdin-Project-ID: 269464\n" "X-Crowdin-Language: zh-CN\n" -"X-Crowdin-File: /kf5-stable/messages/breeze/breeze_kwin_deco.pot\n" -"X-Crowdin-File-ID: 2386\n" +"X-Crowdin-File: /kf5-trunk/messages/breeze/breeze_kwin_deco.pot\n" +"X-Crowdin-File-ID: 4320\n" #: config/breezeexceptionlistwidget.cpp:96 #, kde-format
  11. Download patch kstyle/animations/breezegenericdata.cpp

    --- 4:5.20.5-2/kstyle/animations/breezegenericdata.cpp 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/kstyle/animations/breezegenericdata.cpp 2021-01-21 12:38:55.000000000 +0000 @@ -6,7 +6,6 @@ #include "breezegenericdata.h" -#include <QTextStream> namespace Breeze {
  12. Download patch kstyle/CMakeLists.txt

    --- 4:5.20.5-2/kstyle/CMakeLists.txt 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/kstyle/CMakeLists.txt 2021-01-21 12:38:55.000000000 +0000 @@ -75,8 +75,10 @@ set(breeze_PART_SRCS breezestyleplugin.cpp breezetileset.cpp breezewindowmanager.cpp + breezetoolsareamanager.cpp ) +kconfig_add_kcfg_files(breeze_PART_SRCS ../kdecoration/breezesettings.kcfgc) kconfig_add_kcfg_files(breeze_PART_SRCS breezestyleconfigdata.kcfgc) add_library(breeze MODULE ${breeze_PART_SRCS}) target_link_libraries(breeze Qt5::Core Qt5::Gui Qt5::Widgets Qt5::DBus)
  13. Download patch kstyle/breezehelper.cpp

    --- 4:5.20.5-2/kstyle/breezehelper.cpp 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/kstyle/breezehelper.cpp 2021-01-21 12:38:55.000000000 +0000 @@ -13,13 +13,22 @@ #include <KWindowSystem> #include <QApplication> +#include <QDBusConnection> +#include <QFileInfo> #include <QPainter> +#include <QMainWindow> +#include <QMenuBar> +#include <QMdiArea> +#include <QDockWidget> +#include <QWindow> #if BREEZE_HAVE_QTX11EXTRAS #include <QX11Info> #endif #include <algorithm> +#include <QDialog> + namespace Breeze { @@ -28,14 +37,37 @@ namespace Breeze static const qreal arrowShade = 0.15; //____________________________________________________________________ - Helper::Helper( KSharedConfig::Ptr config ): - _config( std::move( config ) ) - {} + Helper::Helper( KSharedConfig::Ptr config, QObject *parent ) : + QObject ( parent ), + _config( std::move( config ) ), + _kwinConfig( KSharedConfig::openConfig("kwinrc") ), + _decorationConfig( new InternalSettings() ) + { + if (qApp) { + connect(qApp, &QApplication::paletteChanged, this, [=]() { + if (qApp->property("KDE_COLOR_SCHEME_PATH").isValid()) { + const auto path = qApp->property("KDE_COLOR_SCHEME_PATH").toString(); + KConfig config(path, KConfig::SimpleConfig); + KConfigGroup group( config.group("WM") ); + const QPalette palette( QApplication::palette() ); + _activeTitleBarColor = group.readEntry( "activeBackground", palette.color( QPalette::Active, QPalette::Highlight ) ); + _activeTitleBarTextColor = group.readEntry( "activeForeground", palette.color( QPalette::Active, QPalette::HighlightedText ) ); + _inactiveTitleBarColor = group.readEntry( "inactiveBackground", palette.color( QPalette::Disabled, QPalette::Highlight ) ); + _inactiveTitleBarTextColor = group.readEntry( "inactiveForeground", palette.color( QPalette::Disabled, QPalette::HighlightedText ) ); + } + }); + } + } //____________________________________________________________________ KSharedConfig::Ptr Helper::config() const { return _config; } + + //____________________________________________________________________ + QSharedPointer<InternalSettings> Helper::decorationConfig() const + { return _decorationConfig; } + //____________________________________________________________________ void Helper::loadConfig() { @@ -47,11 +79,18 @@ namespace Breeze _viewNeutralTextBrush = KStatefulBrush( KColorScheme::View, KColorScheme::NeutralText ); const QPalette palette( QApplication::palette() ); - const KConfigGroup group( _config->group( "WM" ) ); - _activeTitleBarColor = group.readEntry( "activeBackground", palette.color( QPalette::Active, QPalette::Highlight ) ); - _activeTitleBarTextColor = group.readEntry( "activeForeground", palette.color( QPalette::Active, QPalette::HighlightedText ) ); - _inactiveTitleBarColor = group.readEntry( "inactiveBackground", palette.color( QPalette::Disabled, QPalette::Highlight ) ); - _inactiveTitleBarTextColor = group.readEntry( "inactiveForeground", palette.color( QPalette::Disabled, QPalette::HighlightedText ) ); + _config->reparseConfiguration(); + _kwinConfig->reparseConfiguration(); + _cachedAutoValid = false; + _decorationConfig->load(); + + KConfig config(qApp->property("KDE_COLOR_SCHEME_PATH").toString(), KConfig::SimpleConfig); + KConfigGroup appGroup( config.group("WM") ); + KConfigGroup globalGroup( _config->group("WM") ); + _activeTitleBarColor = appGroup.readEntry( "activeBackground", globalGroup.readEntry( "activeBackground", palette.color( QPalette::Active, QPalette::Highlight ) ) ); + _activeTitleBarTextColor = appGroup.readEntry( "activeForeground", globalGroup.readEntry( "activeForeground", palette.color( QPalette::Active, QPalette::HighlightedText ) ) ); + _inactiveTitleBarColor = appGroup.readEntry( "inactiveBackground", globalGroup.readEntry( "inactiveBackground", palette.color( QPalette::Disabled, QPalette::Highlight ) ) ); + _inactiveTitleBarTextColor = appGroup.readEntry( "inactiveForeground", globalGroup.readEntry( "inactiveForeground", palette.color( QPalette::Disabled, QPalette::HighlightedText ) ) ); } //____________________________________________________________________ @@ -443,7 +482,7 @@ namespace Breeze QRectF copy( strokedRect( rect ) ); - const qreal radius( frameRadius( PenWidth::Frame, -1 ) ); + const qreal radius( frameRadius( PenWidth::Frame ) ); if( !(sides&SideTop) ) copy.adjust( 0, -radius, 0, 0 ); if( !(sides&SideBottom) ) copy.adjust( 0, 0, 0, radius ); if( !(sides&SideLeft) ) copy.adjust( -radius, 0, 0, 0 ); @@ -476,7 +515,8 @@ namespace Breeze //______________________________________________________________________________ void Helper::renderFrame( QPainter* painter, const QRect& rect, - const QColor& color, const QColor& outline ) const + const QColor& color, const QColor& outline, + FrameHints hints ) const { painter->setRenderHint( QPainter::Antialiasing ); @@ -502,6 +542,19 @@ namespace Breeze if( color.isValid() ) painter->setBrush( color ); else painter->setBrush( Qt::NoBrush ); + if (hints & FrameHint::DoubleRing) { + painter->save(); + { + auto rect2 = frameRect.adjusted( -2, -2, 2, 2 ); + painter->setPen( Qt::NoPen ); + painter->setBrush( outline ); + painter->setOpacity( 0.4 ); + + painter->drawRoundedRect(rect2, radius*2, radius*2); + } + painter->restore(); + } + // render painter->drawRoundedRect( frameRect, radius, radius ); @@ -568,7 +621,7 @@ namespace Breeze painter->setRenderHint( QPainter::Antialiasing ); QRectF frameRect( rect ); - qreal radius( frameRadius( PenWidth::NoPen, -1 ) ); + qreal radius( frameRadius( PenWidth::NoPen ) ); // set pen if( outline.isValid() ) @@ -1597,4 +1650,42 @@ namespace Breeze } return pixmap; } + + bool Helper::shouldDrawToolsArea(const QWidget* widget) const { + if (!widget) { + return false; + } + static bool isAuto = false; + static QString borderSize; + if (!_cachedAutoValid) { + KConfigGroup kdecorationGroup(_kwinConfig->group("org.kde.kdecoration2")); + isAuto = kdecorationGroup.readEntry("BorderSizeAuto", true); + borderSize = kdecorationGroup.readEntry("BorderSize", "Normal"); + _cachedAutoValid = true; + } + if (isAuto) { + auto window = widget->window(); + if (qobject_cast<const QDialog*>(widget)) { + return true; + } + if (window) { + auto handle = window->windowHandle(); + if (handle) { + auto toolbar = qobject_cast<const QToolBar*>(widget); + if (toolbar) { + if (toolbar->isFloating()) { + return false; + } + } + return true; + } + } else { + return false; + } + } + if (borderSize != "None" && borderSize != "NoSides") { + return false; + } + return true; + } }
  14. Download patch debian/control

    --- 4:5.20.5-2/debian/control 2021-01-06 14:47:03.000000000 +0000 +++ 4:5.20.90-0ubuntu1/debian/control 2021-01-21 23:43:29.000000000 +0000 @@ -9,7 +9,7 @@ Build-Depends: cmake (>= 3.0~), debhelper-compat (= 13), extra-cmake-modules (>= 5.74.0~), gettext, - libkdecorations2-dev (>= 4:5.20~), + libkdecorations2-dev (>= 4:5.20.90~), libkf5config-dev (>= 5.74.0~), libkf5configwidgets-dev (>= 5.74.0~), libkf5coreaddons-dev (>= 5.74.0~), @@ -62,7 +62,8 @@ Description: Default Plasma cursor theme Package: breeze-dev Architecture: any -Depends: ${misc:Depends}, ${shlibs:Depends} +Depends: ${misc:Depends}, + ${shlibs:Depends}, Description: Default Plasma theme (development files) This is the default theme for the KDE Plasma desktop. . @@ -72,7 +73,8 @@ Description: Default Plasma theme (devel Package: kde-style-breeze Architecture: any -Depends: ${misc:Depends}, ${shlibs:Depends} +Depends: ${misc:Depends}, + ${shlibs:Depends}, Description: Widget style for Qt and KDE Software This is the default widget style for KDE's Plasma desktop. .
  15. Download patch kstyle/breezetoolsareamanager.h

    --- 4:5.20.5-2/kstyle/breezetoolsareamanager.h 1970-01-01 00:00:00.000000000 +0000 +++ 4:5.20.90-0ubuntu1/kstyle/breezetoolsareamanager.h 2021-01-21 12:38:55.000000000 +0000 @@ -0,0 +1,66 @@ +#ifndef breezetoolsareamanager_h +#define breezetoolsareamanager_h + +#include <QApplication> +#include <QObject> +#include <KSharedConfig> +#include <KConfigWatcher> +#include "breezestyle.h" +#include "breezehelper.h" + +namespace Breeze { + class ToolsAreaManager; + + // Trying to discriminate QApplication events from events from all QObjects + // belonging to it is impractical with everything going through a single + // eventFilter, so we have this class which provides a second one that allows + // us to filter for the events we want. + class AppListener : public QObject + { + Q_OBJECT + + bool eventFilter(QObject *watched, QEvent *event) override; + + ToolsAreaManager *manager; + friend class ToolsAreaManager; + }; + + class ToolsAreaManager : public QObject + { + Q_OBJECT + + private: + Helper* _helper; + QHash<QMainWindow*,QVector<QPointer<QToolBar>>> _windows; + KSharedConfigPtr _config; + KConfigWatcher::Ptr _watcher; + QPalette _palette = QPalette(); + AppListener* _listener; + bool _colorSchemeHasHeaderColor; + + friend class AppListener; + + protected: + bool tryRegisterToolBar(QPointer<QMainWindow> window, QPointer<QWidget> widget); + void tryUnregisterToolBar(QPointer<QMainWindow> window, QPointer<QWidget> widget); + void configUpdated(); + + public: + explicit ToolsAreaManager(Helper *helper, QObject *parent = nullptr); + ~ToolsAreaManager(); + + bool eventFilter(QObject *watched, QEvent *event) override; + + const QPalette& palette() const { return _palette; } + + void registerApplication(QApplication *application); + void registerWidget(QWidget *widget); + void unregisterWidget(QWidget *widget); + + QRect toolsAreaRect(const QMainWindow *window); + + bool hasHeaderColors(); + }; +} + +#endif
  16. Download patch colors/BreezeLight.colors
  17. Download patch CMakeLists.txt

    --- 4:5.20.5-2/CMakeLists.txt 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/CMakeLists.txt 2021-01-21 12:38:55.000000000 +0000 @@ -1,9 +1,9 @@ cmake_minimum_required(VERSION 3.0) project(breeze) -set(PROJECT_VERSION "5.20.5") +set(PROJECT_VERSION "5.20.90") set(PROJECT_VERSION_MAJOR 5) -set(KF5_MIN_VERSION "5.74") +set(KF5_MIN_VERSION "5.78") set(QT_MIN_VERSION "5.15.0") include(GenerateExportHeader) @@ -40,6 +40,7 @@ endif() find_package(KF5Package ${KF5_MIN_VERSION} CONFIG REQUIRED) kpackage_install_package(lookandfeel.dark org.kde.breezedark.desktop look-and-feel plasma) +kpackage_install_package(lookandfeel.twilight org.kde.breezetwilight.desktop look-and-feel plasma) if(EXISTS ${CMAKE_SOURCE_DIR}/po AND IS_DIRECTORY ${CMAKE_SOURCE_DIR}/po) find_package(KF5I18n CONFIG REQUIRED) ki18n_install(po) @@ -51,7 +52,7 @@ ecm_setup_version(${PROJECT_VERSION} VAR ) # create a Config.cmake and a ConfigVersion.cmake file and install them -set(CMAKECONFIG_INSTALL_DIR "${CMAKECONFIG_INSTALL_PREFIX}/Breeze") +set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/Breeze") ecm_configure_package_config_file("${CMAKE_CURRENT_SOURCE_DIR}/BreezeConfig.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/BreezeConfig.cmake"
  18. Download patch kstyle/breezehelper.h

    --- 4:5.20.5-2/kstyle/breezehelper.h 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/kstyle/breezehelper.h 2021-01-21 12:38:55.000000000 +0000 @@ -10,11 +10,14 @@ #include "breeze.h" #include "breezemetrics.h" #include "breezeanimationdata.h" +#include "breezesettings.h" #include "config-breeze.h" #include <KColorScheme> #include <KSharedConfig> +#include <KConfigWatcher> +#include <QToolBar> #include <QPainterPath> #include <QIcon> #include <QWidget> @@ -24,12 +27,22 @@ namespace Breeze //* breeze style helper class. /** contains utility functions used at multiple places in both breeze style and breeze window decoration */ - class Helper + class Helper : public QObject { + Q_OBJECT + public: + enum class FrameHint { + None = 0, + DoubleRing = 1, + }; + + Q_ENUM(FrameHint) + Q_DECLARE_FLAGS(FrameHints, FrameHint) + //* constructor - explicit Helper( KSharedConfig::Ptr ); + explicit Helper( KSharedConfig::Ptr, QObject *parent = nullptr ); //* destructor virtual ~Helper() @@ -41,6 +54,9 @@ namespace Breeze //* pointer to shared config KSharedConfig::Ptr config() const; + //* pointer to kdecoration config + QSharedPointer<InternalSettings> decorationConfig() const; + //*@name color utilities //@{ @@ -81,7 +97,7 @@ namespace Breeze //* titlebar text color const QColor& titleBarTextColor( bool active ) const - { return active ? _activeTitleBarTextColor:_inactiveTitleBarTextColor; } + { return active ? _activeTitleBarTextColor : _inactiveTitleBarTextColor; } //* frame outline color, using animations QColor frameOutlineColor( const QPalette&, bool mouseOver = false, bool hasFocus = false, qreal opacity = AnimationData::OpacityInvalid, AnimationMode = AnimationNone ) const; @@ -157,7 +173,7 @@ namespace Breeze void renderFocusLine( QPainter*, const QRect&, const QColor& ) const; //* generic frame - void renderFrame( QPainter*, const QRect&, const QColor& color, const QColor& outline = QColor() ) const; + void renderFrame( QPainter*, const QRect&, const QColor& color, const QColor& outline = QColor(), FrameHints hints = FrameHint::None ) const; //* side panel frame void renderSidePanelFrame( QPainter*, const QRect&, const QColor& outline, Side ) const; @@ -263,6 +279,9 @@ namespace Breeze //* returns true if a given widget supports alpha channel bool hasAlphaChannel( const QWidget* ) const; + //* returns true if the tools area should be drawn + bool shouldDrawToolsArea ( const QWidget* ) const; + //@} //* return device pixel ratio for a given pixmap @@ -295,6 +314,12 @@ namespace Breeze //* configuration KSharedConfig::Ptr _config; + //* KWin configuration + KSharedConfig::Ptr _kwinConfig; + + //* decoration configuration + QSharedPointer<InternalSettings> _decorationConfig; + //*@name brushes //@{ KStatefulBrush _viewFocusBrush; @@ -313,6 +338,10 @@ namespace Breeze QColor _inactiveTitleBarTextColor; //@} + mutable bool _cachedAutoValid = false; + + friend class ToolsAreaManager; + }; }
  19. Download patch cursors/Breeze/Breeze/index.theme

    --- 4:5.20.5-2/cursors/Breeze/Breeze/index.theme 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/cursors/Breeze/Breeze/index.theme 2021-01-21 12:38:55.000000000 +0000 @@ -76,7 +76,7 @@ Comment[pt_BR]=Breeze pelo KDE VDG Comment[ro]=Briză, de KDE VDG Comment[ru]=Breeze от KDE VDG Comment[sk]=Vánok od KDE VDG -Comment[sl]=Sapica s strani KDE Visual Design Group +Comment[sl]=Sapica s strani KDE VDG Comment[sv]=Breeze av KDE:s visuella designgrupp Comment[tg]=Насим аз KDE VDG Comment[uk]=Breeze, автори — KDE VDG
  20. Download patch kdecoration/breezedecoration.cpp
  21. Download patch .gitignore

    --- 4:5.20.5-2/.gitignore 1970-01-01 00:00:00.000000000 +0000 +++ 4:5.20.90-0ubuntu1/.gitignore 2021-01-21 12:38:55.000000000 +0000 @@ -0,0 +1 @@ +.clang-format
  22. Download patch kstyle/config/breezestyleconfig.desktop

    --- 4:5.20.5-2/kstyle/config/breezestyleconfig.desktop 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/kstyle/config/breezestyleconfig.desktop 2021-01-21 12:38:55.000000000 +0000 @@ -122,6 +122,7 @@ X-KDE-Keywords[lt]=breeze,valdiklis,stil X-KDE-Keywords[nb]=breeze,skjermelement,stil X-KDE-Keywords[nl]=breeze,widget,stijl X-KDE-Keywords[nn]=breeze,skjermelement,skjermkontrollar,stil,utsjånad +X-KDE-Keywords[pa]=ਬਰੀਜ਼,ਵਿਜੈਟ,ਸਟਾਈਲ X-KDE-Keywords[pl]=breeze,widget,styl,bryza,element interfejsu X-KDE-Keywords[pt]=brisa,elemento,estilo X-KDE-Keywords[pt_BR]=breeze,widget,estilo Binary files 4:5.20.5-2/lookandfeel.dark/contents/previews/fullscreenpreview.jpg and 4:5.20.90-0ubuntu1/lookandfeel.dark/contents/previews/fullscreenpreview.jpg differ Binary files 4:5.20.5-2/lookandfeel.dark/contents/previews/preview.png and 4:5.20.90-0ubuntu1/lookandfeel.dark/contents/previews/preview.png differ
  23. Download patch kstyle/breezepropertynames.h

    --- 4:5.20.5-2/kstyle/breezepropertynames.h 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/kstyle/breezepropertynames.h 2021-01-21 12:38:55.000000000 +0000 @@ -21,6 +21,7 @@ namespace Breeze static const char menuTitle[]; static const char alteredBackground[]; static const char highlightNeutral[]; + static const char noSeparator[]; }; }
  24. Download patch wallpapers/Next/metadata.desktop

    --- 4:5.20.5-2/wallpapers/Next/metadata.desktop 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/wallpapers/Next/metadata.desktop 2021-01-21 12:38:55.000000000 +0000 @@ -1,36 +1,25 @@ [Desktop Entry] -Name=Shell -Name[az]=Üzlük -Name[ca]=Shell -Name[cs]=Shell -Name[da]=Skal -Name[de]=Flow -Name[el]=Φλοιός -Name[en_GB]=Shell -Name[es]=Shell -Name[et]=Merekarp -Name[eu]=Oskola -Name[fi]=Komentotulkki -Name[fr]=Interpréteur -Name[hu]=Kagylóhéj -Name[ia]=Shell -Name[it]=Shell -Name[ko]=셸 -Name[nl]=Shell -Name[nn]=Skal -Name[pl]=Powłoka -Name[pt]=Consola -Name[pt_BR]=Concha -Name[ro]=Înveliș -Name[ru]=Ракушка -Name[sk]=Ulita -Name[sv]=Skal -Name[uk]=Оболонка -Name[x-test]=xxShellxx -Name[zh_CN]=Shell -Name[zh_TW]=殼層 +Name=Milky Way +Name[az]=Süd Yolu +Name[ca]=Via Làctia +Name[el]=Ο Γαλαξίας μας +Name[en_GB]=Milky Way +Name[es]=Vía Láctea +Name[eu]=Esne-Bidea +Name[fr]=Voie lactée +Name[hu]=Tejút +Name[it]=Via Lattea +Name[nl]=Melkweg +Name[nn]=Mjølkevegen +Name[pt]=Via Láctea +Name[pt_BR]=Via Láctea +Name[ru]=Млечный Путь +Name[sl]=Mlečna cesta +Name[sv]=Vintergatan +Name[uk]=Чумацький Шлях +Name[x-test]=xxMilky Wayxx X-KDE-PluginInfo-Name=Next -X-KDE-PluginInfo-Author=Lucas Andrade -X-KDE-PluginInfo-Email=luwx@hotmail.com.br +X-KDE-PluginInfo-Author=ruvkr +X-KDE-PluginInfo-Email=universalemail.gm@gmail.com X-KDE-PluginInfo-License=CC-BY-SA-4.0
  25. Download patch kdecoration/config/breezeconfigwidget.cpp

    --- 4:5.20.5-2/kdecoration/config/breezeconfigwidget.cpp 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/kdecoration/config/breezeconfigwidget.cpp 2021-01-21 12:38:55.000000000 +0000 @@ -9,7 +9,6 @@ #include "breezeconfigwidget.h" #include "breezeexceptionlist.h" -#include "breezesettings.h" #include <KLocalizedString>
  26. Download patch kdecoration/breezebutton.cpp

    --- 4:5.20.5-2/kdecoration/breezebutton.cpp 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/kdecoration/breezebutton.cpp 2021-01-21 12:38:55.000000000 +0000 @@ -405,9 +405,11 @@ namespace Breeze } auto c = d->client().data(); + QColor redColor( c->color( ColorGroup::Warning, ColorRole::Foreground ) ); + if( isPressed() ) { - if( type() == DecorationButtonType::Close ) return c->color( ColorGroup::Warning, ColorRole::Foreground ); + if( type() == DecorationButtonType::Close ) return redColor.darker(); else return KColorUtils::mix( d->titleBarColor(), d->fontColor(), 0.3 ); } else if( ( type() == DecorationButtonType::KeepBelow || type() == DecorationButtonType::KeepAbove || type() == DecorationButtonType::Shade ) && isChecked() ) { @@ -421,11 +423,11 @@ namespace Breeze if( d->internalSettings()->outlineCloseButton() ) { - return KColorUtils::mix( d->fontColor(), c->color( ColorGroup::Warning, ColorRole::Foreground ).lighter(), m_opacity ); + return c->isActive() ? KColorUtils::mix( redColor, redColor.lighter(), m_opacity ) : KColorUtils::mix( redColor.lighter(), redColor, m_opacity ); } else { - QColor color( c->color( ColorGroup::Warning, ColorRole::Foreground ).lighter() ); + QColor color( redColor.lighter() ); color.setAlpha( color.alpha()*m_opacity ); return color; @@ -441,12 +443,12 @@ namespace Breeze } else if( isHovered() ) { - if( type() == DecorationButtonType::Close ) return c->color( ColorGroup::Warning, ColorRole::Foreground ).lighter(); + if( type() == DecorationButtonType::Close ) return c->isActive() ? redColor.lighter() : redColor; else return d->fontColor(); } else if( type() == DecorationButtonType::Close && d->internalSettings()->outlineCloseButton() ) { - return d->fontColor(); + return c->isActive() ? redColor : d->fontColor(); } else {
  27. Download patch colors/BreezeDark.colors

    --- 4:5.20.5-2/colors/BreezeDark.colors 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/colors/BreezeDark.colors 2021-01-21 12:38:55.000000000 +0000 @@ -19,88 +19,116 @@ IntensityAmount=0 IntensityEffect=0 [Colors:Button] -BackgroundAlternate=77,77,77 +BackgroundAlternate=30,87,116 BackgroundNormal=49,54,59 DecorationFocus=61,174,233 DecorationHover=61,174,233 ForegroundActive=61,174,233 -ForegroundInactive=189,195,199 -ForegroundLink=41,128,185 +ForegroundInactive=161,169,177 +ForegroundLink=29,153,243 ForegroundNegative=218,68,83 ForegroundNeutral=246,116,0 -ForegroundNormal=239,240,241 +ForegroundNormal=252,252,252 ForegroundPositive=39,174,96 -ForegroundVisited=127,140,141 +ForegroundVisited=155,89,182 + +[Colors:Complementary] +BackgroundAlternate=30,87,116 +BackgroundNormal=42,46,50 +DecorationFocus=61,174,233 +DecorationHover=61,174,233 +ForegroundActive=61,174,233 +ForegroundInactive=161,169,177 +ForegroundLink=29,153,243 +ForegroundNegative=218,68,83 +ForegroundNeutral=246,116,0 +ForegroundNormal=252,252,252 +ForegroundPositive=39,174,96 +ForegroundVisited=155,89,182 + +[Colors:Header] +BackgroundAlternate=42,46,50 +BackgroundNormal=49,54,59 +DecorationFocus=61,174,233 +DecorationHover=61,174,233 +ForegroundActive=61,174,233 +ForegroundInactive=161,169,177 +ForegroundLink=29,153,243 +ForegroundNegative=218,68,83 +ForegroundNeutral=246,116,0 +ForegroundNormal=252,252,252 +ForegroundPositive=39,174,96 +ForegroundVisited=155,89,182 + +[Colors:Header][Inactive] +BackgroundAlternate=49,54,59 +BackgroundNormal=42,46,50 +DecorationFocus=61,174,233 +DecorationHover=61,174,233 +ForegroundActive=61,174,233 +ForegroundInactive=161,169,177 +ForegroundLink=29,153,243 +ForegroundNegative=218,68,83 +ForegroundNeutral=246,116,0 +ForegroundNormal=252,252,252 +ForegroundPositive=39,174,96 +ForegroundVisited=155,89,182 [Colors:Selection] -BackgroundAlternate=29,153,243 +BackgroundAlternate=30,87,116 BackgroundNormal=61,174,233 DecorationFocus=61,174,233 DecorationHover=61,174,233 ForegroundActive=252,252,252 -ForegroundInactive=239,240,241 +ForegroundInactive=161,169,177 ForegroundLink=253,188,75 ForegroundNegative=218,68,83 ForegroundNeutral=246,116,0 -ForegroundNormal=239,240,241 +ForegroundNormal=252,252,252 ForegroundPositive=39,174,96 -ForegroundVisited=189,195,199 +ForegroundVisited=155,89,182 [Colors:Tooltip] -BackgroundAlternate=77,77,77 +BackgroundAlternate=42,46,50 BackgroundNormal=49,54,59 DecorationFocus=61,174,233 DecorationHover=61,174,233 ForegroundActive=61,174,233 -ForegroundInactive=189,195,199 -ForegroundLink=41,128,185 +ForegroundInactive=161,169,177 +ForegroundLink=29,153,243 ForegroundNegative=218,68,83 ForegroundNeutral=246,116,0 -ForegroundNormal=239,240,241 +ForegroundNormal=252,252,252 ForegroundPositive=39,174,96 -ForegroundVisited=127,140,141 +ForegroundVisited=155,89,182 [Colors:View] -BackgroundAlternate=49,54,59 -BackgroundNormal=35,38,41 +BackgroundAlternate=35,38,41 +BackgroundNormal=27,30,32 DecorationFocus=61,174,233 DecorationHover=61,174,233 ForegroundActive=61,174,233 -ForegroundInactive=189,195,199 -ForegroundLink=41,128,185 +ForegroundInactive=161,169,177 +ForegroundLink=29,153,243 ForegroundNegative=218,68,83 ForegroundNeutral=246,116,0 -ForegroundNormal=239,240,241 +ForegroundNormal=252,252,252 ForegroundPositive=39,174,96 -ForegroundVisited=127,140,141 +ForegroundVisited=155,89,182 [Colors:Window] -BackgroundAlternate=77,77,77 -BackgroundNormal=49,54,59 +BackgroundAlternate=49,54,59 +BackgroundNormal=42,46,50 DecorationFocus=61,174,233 DecorationHover=61,174,233 ForegroundActive=61,174,233 -ForegroundInactive=189,195,199 -ForegroundLink=41,128,185 +ForegroundInactive=161,169,177 +ForegroundLink=29,153,243 ForegroundNegative=218,68,83 ForegroundNeutral=246,116,0 -ForegroundNormal=239,240,241 +ForegroundNormal=252,252,252 ForegroundPositive=39,174,96 -ForegroundVisited=127,140,141 - -[Colors:Complementary] -BackgroundAlternate=59,64,69 -BackgroundNormal=49,54,59 -DecorationFocus=30,146,255 -DecorationHover=61,174,230 -ForegroundActive=246,116,0 -ForegroundInactive=175,176,179 -ForegroundLink=61,174,230 -ForegroundNegative=237,21,21 -ForegroundNeutral=201,206,59 -ForegroundNormal=239,240,241 -ForegroundPositive=17,209,22 -ForegroundVisited=61,174,230 +ForegroundVisited=155,89,182 [General] ColorScheme=Breeze Dark @@ -138,7 +166,7 @@ Name[pt_BR]=Breeze Dark Name[ro]=Briză, întunecat Name[ru]=Breeze, тёмный вариант Name[sk]=Tmavý vánok -Name[sl]=Sapica (temna) +Name[sl]=Sapica temna Name[sr]=Поветарац тамни Name[sr@ijekavian]=Поветарац тамни Name[sr@ijekavianlatin]=Povetarac tamni @@ -157,8 +185,8 @@ contrast=4 [WM] activeBackground=49,54,59 -activeBlend=255,255,255 -activeForeground=239,240,241 -inactiveBackground=49,54,59 -inactiveBlend=75,71,67 -inactiveForeground=127,140,141 +activeBlend=252,252,252 +activeForeground=252,252,252 +inactiveBackground=42,46,50 +inactiveBlend=161,169,177 +inactiveForeground=161,169,177
  28. Download patch po/ia/breeze_kwin_deco.po

    --- 4:5.20.5-2/po/ia/breeze_kwin_deco.po 2021-01-05 11:47:09.000000000 +0000 +++ 4:5.20.90-0ubuntu1/po/ia/breeze_kwin_deco.po 2021-01-21 12:39:06.000000000 +0000 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2020-09-11 02:27+0200\n" -"PO-Revision-Date: 2020-12-07 15:34+0100\n" +"PO-Revision-Date: 2020-12-07 16:45+0100\n" "Last-Translator: Giovanni Sora <g.sora@tiscali.it>\n" "Language-Team: Interlingua <kde-i18n-doc@kde.org>\n" "Language: ia\n"
  29. Download patch lookandfeel.dark/metadata.desktop

    --- 4:5.20.5-2/lookandfeel.dark/metadata.desktop 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/lookandfeel.dark/metadata.desktop 2021-01-21 12:38:55.000000000 +0000 @@ -70,7 +70,7 @@ Name[pt_BR]=Breeze Dark Name[ro]=Briză, întunecat Name[ru]=Breeze, тёмный вариант Name[sk]=Tmavý vánok -Name[sl]=Sapica (temna) +Name[sl]=Sapica temna Name[sr]=Поветарац тамни Name[sr@ijekavian]=Поветарац тамни Name[sr@ijekavianlatin]=Povetarac tamni
  30. Download patch kstyle/breezewindowmanager.cpp

    --- 4:5.20.5-2/kstyle/breezewindowmanager.cpp 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/kstyle/breezewindowmanager.cpp 2021-01-21 12:38:55.000000000 +0000 @@ -43,8 +43,8 @@ #if BREEZE_HAVE_QTQUICK // needed to enable dragging from QQuickWindows -#include <QQuickItem> #include <QQuickWindow> +#include <QQuickRenderControl> #endif namespace Util @@ -184,7 +184,8 @@ namespace Breeze { if ( !item ) return; - if( auto window = item->window() ) + auto window = item->window(); + if( window && window->objectName() != QStringLiteral("QQuickOffScreenWindow")) { auto contentItem = window->contentItem(); contentItem->setAcceptedMouseButtons( Qt::LeftButton ); @@ -280,10 +281,12 @@ namespace Breeze { _dragTimer.stop(); + setLocked( false ); if( _target ) startDrag( _target.data()->window()->windowHandle() ); #if BREEZE_HAVE_QTQUICK else if( _quickTarget ) startDrag( _quickTarget.data()->window() ); #endif + resetDrag(); } else {
  31. Download patch kstyle/breezestyle.h

    --- 4:5.20.5-2/kstyle/breezestyle.h 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/kstyle/breezestyle.h 2021-01-21 12:38:55.000000000 +0000 @@ -48,6 +48,7 @@ namespace Breeze class WidgetExplorer; class WindowManager; class BlurHelper; + class ToolsAreaManager; //* convenience typedef for base class #if !BREEZE_HAVE_KSTYLE @@ -83,6 +84,9 @@ namespace Breeze //* widget unpolishing void unpolish( QWidget* ) override; + //* application polishing + void polish( QApplication* ) override; + //* polish scrollarea void polishScrollArea( QAbstractScrollArea* ); @@ -230,6 +234,7 @@ namespace Breeze { return true; } bool drawFramePrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; + bool drawPanelLineEditPrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; bool drawFrameLineEditPrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; bool drawFrameFocusRectPrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; bool drawFrameMenuPrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; @@ -267,6 +272,7 @@ namespace Breeze bool drawIndicatorToolBarHandlePrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; bool drawIndicatorToolBarSeparatorPrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; bool drawIndicatorBranchPrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; + bool drawWidgetPrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; //@} @@ -496,6 +502,9 @@ namespace Breeze //* splitter Factory, to extend splitters hit area SplitterFactory* _splitterFactory = nullptr; + //* signal manager for the tools area + ToolsAreaManager* _toolsAreaManager = nullptr; + //* widget explorer WidgetExplorer* _widgetExplorer = nullptr;
  32. Download patch kstyle/breezepropertynames.cpp

    --- 4:5.20.5-2/kstyle/breezepropertynames.cpp 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/kstyle/breezepropertynames.cpp 2021-01-21 12:38:55.000000000 +0000 @@ -18,5 +18,6 @@ namespace Breeze const char PropertyNames::menuTitle[] = "_breeze_toolButton_menutitle"; const char PropertyNames::alteredBackground[] = "_breeze_altered_background"; const char PropertyNames::highlightNeutral[] = "_kde_highlight_neutral"; + const char PropertyNames::noSeparator[] = "_breeze_no_separator"; }
  33. Download patch kdecoration/breezedecoration.h

    --- 4:5.20.5-2/kdecoration/breezedecoration.h 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/kdecoration/breezedecoration.h 2021-01-21 12:38:55.000000000 +0000 @@ -107,7 +107,8 @@ namespace Breeze void createButtons(); void paintTitleBar(QPainter *painter, const QRect &repaintRegion); - void createShadow(); + void updateShadow(); + static QSharedPointer<KDecoration2::DecorationShadow> createShadowObject(const InternalSettingsPtr& internalSettings, const float strengthScale); //*@name border size //@{ @@ -134,9 +135,11 @@ namespace Breeze //* active state change animation QVariantAnimation *m_animation; + QVariantAnimation *m_shadowAnimation; //* active state change opacity qreal m_opacity = 0; + qreal m_shadowOpacity = 0; };
  34. Download patch lookandfeel.twilight/metadata.desktop

    --- 4:5.20.5-2/lookandfeel.twilight/metadata.desktop 1970-01-01 00:00:00.000000000 +0000 +++ 4:5.20.90-0ubuntu1/lookandfeel.twilight/metadata.desktop 2021-01-21 12:38:55.000000000 +0000 @@ -0,0 +1,66 @@ +[Desktop Entry] +Comment=Breeze Twilight by the KDE VDG +Comment[az]=Breeze -Toranlıq - KDE VDG tərəfindən +Comment[ca]=Brisa crepuscular, creat pel VDG del KDE +Comment[da]=Breeze Twilight af KDE's visuelle designgruppe +Comment[el]=Breeze του λυκόφωτος από το KDE VDG +Comment[en_GB]=Breeze Twilight by the KDE VDG +Comment[es]=Brisa crepúsculo por KDE VDG +Comment[et]=Breeze videvik KDE VDG-lt +Comment[eu]=Breeze ilunabarra, KDE VDGk egina +Comment[fi]=Hämärän Breeze KDE VDG:ltä +Comment[fr]=Breeze gris par l'équipe de conception visuelle de KDE « VDG » +Comment[hu]=Breeze Twilight a KDE VDG-től +Comment[ia]=Brisa Crepusculo (Breeze Twilight) per KDE VDG +Comment[it]=Brezza crepuscolo a cura del VDG di KDE +Comment[lt]=Breeze prieblanda pagal KDE VDG +Comment[nl]=Breeze Twilight door de KDE VDG +Comment[nn]=Breeze skumring frå KDE VDG +Comment[pt]=Brisa da Madrugada da VDG do KDE +Comment[pt_BR]=Breeze Twilight pelo KDE VDG +Comment[ro]=Briză, amurg, de KDE VDG +Comment[ru]=Breeze Twilight от KDE VDG +Comment[sl]=Sapica ob mraku s strani KDE VDG +Comment[sv]=Breeze skymning av KDE:s visuella designgrupp +Comment[uk]=Сутінкова Breeze, автори — KDE VDG +Comment[x-test]=xxBreeze Twilight by the KDE VDGxx +Comment[zh_CN]=Breeze 微风薄暮,主题由 KDE VDG (视觉设计团队) 设计制作 +Name=Breeze Twilight +Name[az]=Breeze Toranlıq +Name[ca]=Brisa crepuscular +Name[da]=Breeze twilight +Name[el]=Breeze του λυκόφωτος +Name[en_GB]=Breeze Twilight +Name[es]=Brisa crepúsculo +Name[et]=Breeze videvik +Name[eu]=Breeze ilunabarra +Name[fi]=Hämärän Breeze +Name[fr]=Breeze gris +Name[hu]=Breeze Twilight +Name[ia]=Brisa Crepusculo (Breeze Twilight) +Name[it]=Brezza crepuscolo +Name[lt]=Breeze prieblanda +Name[nl]=Breeze Twilight +Name[nn]=Breeze skumring +Name[pt]=Brisa da Madrugada +Name[pt_BR]=Breeze Twilight +Name[ro]=Briză, amurg +Name[ru]=Breeze Twilight +Name[sl]=Sapica ob mraku +Name[sv]=Breeze skymning +Name[uk]=Сутінкова Breeze +Name[x-test]=xxBreeze Twilightxx +Name[zh_CN]=Breeze 微风薄暮 +Type=Service + +X-KDE-ServiceTypes=Plasma/LookAndFeel +X-KDE-ParentApp= +X-KDE-PluginInfo-Author=KDE Visual Design Group +X-KDE-PluginInfo-Category= +X-KDE-PluginInfo-Email=plasma-devel@kde.org +X-KDE-PluginInfo-License=GPL-2.0+ +X-KDE-PluginInfo-Name=org.kde.breezetwilight.desktop +X-KDE-PluginInfo-Version=2.0 +X-KDE-PluginInfo-Website=https://www.kde.org +X-Plasma-MainScript=defaults +X-KDE-PluginInfo-License=GPLv2+
  35. Download patch debian/breeze.install

    --- 4:5.20.5-2/debian/breeze.install 2017-11-04 14:23:18.000000000 +0000 +++ 4:5.20.90-0ubuntu1/debian/breeze.install 2021-01-21 23:43:29.000000000 +0000 @@ -4,5 +4,7 @@ usr/share/icons/hicolor/*/apps/breeze-se usr/share/icons/hicolor/scalable/apps/breeze-settings.svgz usr/share/kconf_update usr/share/metainfo/org.kde.breezedark.desktop.appdata.xml +usr/share/metainfo/org.kde.breezetwilight.desktop.appdata.xml usr/share/plasma/look-and-feel/org.kde.breezedark.desktop/ +usr/share/plasma/look-and-feel/org.kde.breezetwilight.desktop/ usr/share/wallpapers/Next
  36. Download patch po/zh_CN/breeze_style_config.po

    --- 4:5.20.5-2/po/zh_CN/breeze_style_config.po 2021-01-05 11:47:23.000000000 +0000 +++ 4:5.20.90-0ubuntu1/po/zh_CN/breeze_style_config.po 2021-01-21 12:39:19.000000000 +0000 @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2020-09-11 02:27+0200\n" -"PO-Revision-Date: 2021-01-03 09:06\n" +"PO-Revision-Date: 2021-01-16 04:27\n" "Last-Translator: \n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" @@ -20,8 +20,8 @@ msgstr "" "X-Crowdin-Project: kdeorg\n" "X-Crowdin-Project-ID: 269464\n" "X-Crowdin-Language: zh-CN\n" -"X-Crowdin-File: /kf5-stable/messages/breeze/breeze_style_config.pot\n" -"X-Crowdin-File-ID: 2387\n" +"X-Crowdin-File: /kf5-trunk/messages/breeze/breeze_style_config.pot\n" +"X-Crowdin-File-ID: 4322\n" #: main.cpp:24 main.cpp:28 #, kde-format Binary files 4:5.20.5-2/wallpapers/Next/contents/images/1024x768.jpg and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/1024x768.jpg differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/1024x768.png and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/1024x768.png differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/1080x1920.jpg and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/1080x1920.jpg differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/1080x1920.png and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/1080x1920.png differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/1280x1024.jpg and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/1280x1024.jpg differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/1280x1024.png and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/1280x1024.png differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/1280x800.jpg and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/1280x800.jpg differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/1280x800.png and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/1280x800.png differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/1366x768.jpg and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/1366x768.jpg differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/1366x768.png and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/1366x768.png differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/1440x900.jpg and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/1440x900.jpg differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/1440x900.png and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/1440x900.png differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/1600x1200.jpg and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/1600x1200.jpg differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/1600x1200.png and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/1600x1200.png differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/1680x1050.jpg and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/1680x1050.jpg differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/1680x1050.png and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/1680x1050.png differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/1920x1080.jpg and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/1920x1080.jpg differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/1920x1080.png and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/1920x1080.png differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/1920x1200.jpg and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/1920x1200.jpg differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/1920x1200.png and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/1920x1200.png differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/2560x1440.jpg and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/2560x1440.jpg differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/2560x1440.png and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/2560x1440.png differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/2560x1600.jpg and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/2560x1600.jpg differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/2560x1600.png and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/2560x1600.png differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/3200x1800.jpg and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/3200x1800.jpg differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/3200x1800.png and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/3200x1800.png differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/3200x2000.jpg and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/3200x2000.jpg differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/3200x2000.png and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/3200x2000.png differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/360x720.jpg and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/360x720.jpg differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/360x720.png and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/360x720.png differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/3840x2160.jpg and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/3840x2160.jpg differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/3840x2160.png and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/3840x2160.png differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/5120x2880.jpg and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/5120x2880.jpg differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/5120x2880.png and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/5120x2880.png differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/720x1440.jpg and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/720x1440.jpg differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/720x1440.png and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/720x1440.png differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/base_size.jpg and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/base_size.jpg differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/base_size.png and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/base_size.png differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/vertical_base_size.jpg and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/vertical_base_size.jpg differ Binary files 4:5.20.5-2/wallpapers/Next/contents/images/vertical_base_size.png and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/images/vertical_base_size.png differ Binary files 4:5.20.5-2/wallpapers/Next/contents/screenshot.png and 4:5.20.90-0ubuntu1/wallpapers/Next/contents/screenshot.png differ
  37. Download patch kstyle/breezestyle.cpp
  38. Download patch cursors/Breeze_Snow/Breeze_Snow/index.theme

    --- 4:5.20.5-2/cursors/Breeze_Snow/Breeze_Snow/index.theme 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/cursors/Breeze_Snow/Breeze_Snow/index.theme 2021-01-21 12:38:55.000000000 +0000 @@ -66,7 +66,7 @@ Comment[pt_BR]=Breeze Light pelo KDE VDG Comment[ro]=Briză, luminos, de KDE VDG Comment[ru]=Светлый вариант Breeze от KDE VDG Comment[sk]=Svetlý vánok od KDE VDG -Comment[sl]=Sapica lahka s strani KDE Visual Design Group +Comment[sl]=Sapica lahka s strani KDE VDG Comment[sv]=Breeze ljus av KDE:s visuella designgrupp Comment[tg]=Насими сабук аз KDE VDG Comment[uk]=Світла Breeze, автори — KDE VDG
  39. Download patch cursors/Breeze/src/index.theme

    --- 4:5.20.5-2/cursors/Breeze/src/index.theme 2021-01-05 11:46:57.000000000 +0000 +++ 4:5.20.90-0ubuntu1/cursors/Breeze/src/index.theme 2021-01-21 12:38:55.000000000 +0000 @@ -76,7 +76,7 @@ Comment[pt_BR]=Breeze pelo KDE VDG Comment[ro]=Briză, de KDE VDG Comment[ru]=Breeze от KDE VDG Comment[sk]=Vánok od KDE VDG -Comment[sl]=Sapica s strani KDE Visual Design Group +Comment[sl]=Sapica s strani KDE VDG Comment[sv]=Breeze av KDE:s visuella designgrupp Comment[tg]=Насим аз KDE VDG Comment[uk]=Breeze, автори — KDE VDG

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: breeze-grub

breeze-grub (5.20.90-0ubuntu1) hirsute; urgency=medium * New upstream (beta) release (5.20.90) -- Rik Mills <rikmills@kde.org> Thu, 21 Jan 2021 23:43:34 +0000 breeze-grub (5.20.5-1ubuntu1) hirsute; urgency=medium * Merge from debian unstable. Remaining changes: - Build with Architecture: any in Ubuntu. -- Rik Mills <rikmills@kde.org> Thu, 14 Jan 2021 14:11:31 +0000

Modifications :
  1. Download patch debian/control

    --- 5.20.5-1/debian/control 2020-12-26 21:08:48.000000000 +0000 +++ 5.20.90-0ubuntu1/debian/control 2021-01-21 23:43:34.000000000 +0000 @@ -5,7 +5,7 @@ Maintainer: Debian Qt/KDE Maintainers <d Uploaders: Scarlett Moore <sgmoore@kde.org>, Patrick Franz <patfra71@gmail.com>, Norbert Preining <norbert@preining.info>, -Build-Depends: debhelper-compat (= 13) +Build-Depends: debhelper-compat (= 13), Standards-Version: 4.5.0 Homepage: https://invent.kde.org/plasma/breeze-grub Vcs-Browser: https://salsa.debian.org/qt-kde-team/kde/breeze-grub @@ -13,7 +13,7 @@ Vcs-Git: https://salsa.debian.org/qt-kde Rules-Requires-Root: no Package: grub-theme-breeze -Architecture: any-amd64 any-arm any-arm64 any-i386 any-ia64 any-mipsel any-powerpc any-ppc64 any-ppc64el any-sparc any-sparc64 +Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: Breeze theme for GRUB 2 Breeze theme for the GRUB boot loader to fit in with KDE Plasma's

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: breeze-gtk

breeze-gtk (5.20.90-0ubuntu1) hirsute; urgency=medium * New upstream (beta) release (5.20.90) -- Rik Mills <rikmills@kde.org> Thu, 21 Jan 2021 23:43:39 +0000

Modifications :
  1. Download patch src/gtk4/widgets/_lists.scss

    --- 5.20.5-1/src/gtk4/widgets/_lists.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_lists.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,69 @@ +@charset "UTF-8"; + +/********* + * Lists * + *********/ + +@mixin list-item-highlight { + @if $new-highlight { + background-color: gtk("@theme_selected_bg_color"); + color: gtk("@theme_button_foreground_active"); + border-top: 1px solid gtk("@theme_button_decoration_focus"); + border-bottom: 1px solid gtk("@theme_button_decoration_focus"); + border-radius: 0px; + } @else { + background-color: gtk("@theme_selected_bg_color"); + } +} + +list { + background-color: gtk("@theme_bg_color"); + color: gtk("@theme_fg_color"); + border-width: 0px; + &:backdrop { + background-color: gtk("@theme_unfocused_bg_color"); + color: gtk("@theme_unfocused_fg_color"); + } + row { padding: 2px; } +} + +row { + + + + + &.activatable { + @if $new-highlight { + border: 1px solid transparent; + } + + &.has-open-popup, // this is for indicathing which row generated a popover see https://bugzilla.gnome.org/show_bug.cgi?id=754411 + + &:hover { + @include list-item-highlight(); + } + + &:active { + box-shadow: none; + @include list-item-highlight(); + } + + &:selected { + &:active { + box-shadow: none; + @include list-item-highlight(); + } + + &.has-open-popup, + &:hover { + @include list-item-highlight(); + } + + &:backdrop { + background-color: gtk("@theme_unfocused_selected_bg_color_alt"); + } + } + } + + &:selected { @extend %selected_items; } +} \ No newline at end of file
  2. Download patch src/gtk3/widgets/_pathbar.scss

    --- 5.20.5-1/src/gtk3/widgets/_pathbar.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/widgets/_pathbar.scss 2021-01-21 12:40:08.000000000 +0000 @@ -12,12 +12,17 @@ @include button(undecorated); padding: 4px 8px; color: gtk("@theme_fg_color"); - &:hover {border-color: gtk("@theme_button_decoration_hover"); } - &:active, &:checked { + &:hover { + border-color: gtk("@theme_button_decoration_hover"); + } + &:active, + &:checked { background-color: gtk("@borders"); font-weight: normal; - } - &.text-button, &.image-button, & { + } + &.text-button, + &.image-button, + & { padding-left: 4px; padding-right: 4px; } @@ -27,9 +32,14 @@ padding-right: 0; } - &.text-button.image-button, & { - label:last-child { padding-right: 8px; } - label:first-child { padding-left: 8px; } + &.text-button.image-button, + & { + label:last-child { + padding-right: 8px; + } + label:first-child { + padding-left: 8px; + } } image {
  3. Download patch src/gtk4/widgets/_link.scss

    --- 5.20.5-1/src/gtk4/widgets/_link.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_link.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,57 @@ +@charset "UTF-8"; + +/********* + * Links * + *********/ +%link, +*:link { + color: gtk("@link_color"); + &:visited { + color: gtk("@link_visited_color"); + *:selected & { + color: gtkmix(gtk("@theme_selected_fg_color"), gtk("@theme_selected_bg_color"), 0.6); + } + } + &:hover { + color: gtkshade("@link_color", 1.1); + *:selected & { + color: gtkmix(gtk("@theme_selected_fg_color"), gtk("@theme_selected_bg_color"), 0.9); + } + } + &:active { + color: gtk("@link_color"); + *:selected & { + color: gtkmix(gtk("@theme_selected_fg_color"), gtk("@theme_selected_bg_color"), 0.8); + } + } + &:backdrop, &:backdrop:hover, &:backdrop:hover:selected { + color: gtk("@theme_unfocused_selected_bg_color"); + } + @at-root %link_selected, + &:selected, *:selected & { + color: gtkmix(gtk("@theme_selected_fg_color"), gtk("@theme_selected_bg_color"), 0.8); + } +} + +button:link, +button:visited { + @extend %undecorated_button; + + @extend *:link; + + text-shadow: none; + + &:hover, + &:active, + &:checked { + @extend %undecorated_button; + + text-shadow: none; + } + + > label { + @extend %link; + + text-decoration-line: underline; + } +}
  4. Download patch src/gtk3/widgets/_overshoot.scss

    --- 5.20.5-1/src/gtk3/widgets/_overshoot.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/widgets/_overshoot.scss 2021-01-21 12:40:08.000000000 +0000 @@ -1,19 +1,19 @@ @charset "UTF-8"; -@mixin overshoot($p, $t:normal, $c:gtk("@theme_fg_color")) { -// -// overshoot -// -// $p: position -// $t: type -// $c: base color -// -// possible $p values: -// top, bottom, right, left -// -// possible $t values: -// normal, backdrop -// +@mixin overshoot($p, $t: normal, $c: gtk("@theme_fg_color")) { + // + // overshoot + // + // $p: position + // $t: type + // $c: base color + // + // possible $p values: + // top, bottom, right, left + // + // possible $t values: + // normal, backdrop + // $_small_gradient_length: 5%; $_big_gradient_length: 100%; @@ -25,15 +25,11 @@ @if $p==bottom { $_position: center bottom; $_linear_gradient_direction: to top; - } - - @else if $p==right { + } @else if $p==right { $_position: right center; $_small_gradient_size: $_small_gradient_length 100%; $_big_gradient_size: $_big_gradient_length 100%; - } - - @else if $p==left { + } @else if $p==left { $_position: left center; $_small_gradient_size: $_small_gradient_length 100%; $_big_gradient_size: $_big_gradient_length 100%; @@ -46,27 +42,35 @@ $_small_gradient_color: gtkshade("@borders", 0.9); $_big_gradient_color: gtk("@theme_fg_color"); - @if $t==backdrop { $_small_gradient_color: gtk("@unfocused_borders"); } + @if $t==backdrop { + $_small_gradient_color: gtk("@unfocused_borders"); + } } - $_small_gradient: -gtk-gradient(radial, - $_position, 0, - $_position, 0.5, - to($_small_gradient_color), - to(gtkalpha($_small_gradient_color, 0))); - - $_big_gradient: -gtk-gradient(radial, - $_position, 0, - $_position, 0.6, - from(gtkalpha($_big_gradient_color, 0.07)), - to(gtkalpha($_big_gradient_color, 0))); + $_small_gradient: -gtk-gradient( + radial, + $_position, + 0, + $_position, + 0.5, + to($_small_gradient_color), + to(gtkalpha($_small_gradient_color, 0)) + ); + + $_big_gradient: -gtk-gradient( + radial, + $_position, + 0, + $_position, + 0.6, + from(gtkalpha($_big_gradient_color, 0.07)), + to(gtkalpha($_big_gradient_color, 0)) + ); @if $t==normal { background-image: $_small_gradient, $_big_gradient; background-size: $_small_gradient_size, $_big_gradient_size; - } - - @else if $t==backdrop { + } @else if $t==backdrop { background-image: $_small_gradient; background-size: $_small_gradient_size; } @@ -75,10 +79,10 @@ background-position: $_position; background-color: transparent; // reset some properties to be sure to not inherit them somehow - border: none; // - box-shadow: none; // + border: none; // + box-shadow: none; // } - + scrolledwindow { // This is used when content is touch-dragged past boundaries. // draws a box on top of the content, the size changes programmatically. @@ -86,25 +90,33 @@ scrolledwindow { &.top { @include overshoot(top); - &:backdrop { @include overshoot(top, backdrop); } + &:backdrop { + @include overshoot(top, backdrop); + } } &.bottom { @include overshoot(bottom); - &:backdrop { @include overshoot(bottom, backdrop); } + &:backdrop { + @include overshoot(bottom, backdrop); + } } &.left { @include overshoot(left); - &:backdrop { @include overshoot(left, backdrop); } + &:backdrop { + @include overshoot(left, backdrop); + } } &.right { @include overshoot(right); - &:backdrop { @include overshoot(right, backdrop); } + &:backdrop { + @include overshoot(right, backdrop); + } } } @@ -113,4 +125,4 @@ scrolledwindow { background-image: none; border: none; } -} \ No newline at end of file +}
  5. Download patch src/gtk3/widgets/_scale.scss

    --- 5.20.5-1/src/gtk3/widgets/_scale.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/widgets/_scale.scss 2021-01-21 12:40:08.000000000 +0000 @@ -4,7 +4,6 @@ * GtkScale * ************/ scale { - &.fine-tune { &.trough { margin: 8px; @@ -22,7 +21,7 @@ scale { margin: -9px; &:hover { border-style: solid; - border-width: 2px; + border-width: 2px; border-color: gtk("@theme_button_decoration_hover"); border-radius: 50%; // needed for double marks scales &:backdrop { @@ -32,12 +31,18 @@ scale { } &:disabled { border-style: solid; // needed for double marks scales or they'll get - border-radius: 50%; // overridden - background-color: gtkalpha(gtk("@theme_button_background_insensitive"), 100.0); - opacity: 1.0; + border-radius: 50%; // overridden + background-color: gtkalpha( + gtk("@theme_button_background_insensitive"), + 100 + ); + opacity: 1; border-color: gtk("@insensitive_borders"); &:backdrop { - background-color: gtkalpha(gtk("@theme_button_background_backdrop_insensitive"), 100.0); + background-color: gtkalpha( + gtk("@theme_button_background_backdrop_insensitive"), + 100 + ); border-color: gtk("@unfocused_insensitive_borders"); } } @@ -62,7 +67,8 @@ scale { background-color: $trough_color; box-shadow: none; - &:disabled, &.vertical:disabled { + &:disabled, + &.vertical:disabled { border-color: $trough_color_insensitive; background-color: $trough_color_insensitive; box-shadow: none; @@ -80,17 +86,17 @@ scale { border: 0px solid; border-radius: 3px; background-color: gtk("@theme_selected_bg_color"); - border-color: gtk("@theme_selected_bg_color"); + border-color: gtk("@theme_selected_bg_color"); &.vertical { background-color: gtk("@theme_selected_bg_color"); - border-color: gtk("@theme_selected_bg_color"); + border-color: gtk("@theme_selected_bg_color"); } - &:disabled { + &:disabled { background-color: gtk("@insensitive_selected_bg_color"); } &:backdrop { background-color: gtk("@theme_unfocused_selected_bg_color"); - border-color: gtk("@theme_unfocused_selected_bg_color"); + border-color: gtk("@theme_unfocused_selected_bg_color"); &:disabled { background-color: gtk("@insensitive_unfocused_selected_bg_color"); }
  6. Download patch src/gtk4/widgets/_tooltips.scss

    --- 5.20.5-1/src/gtk4/widgets/_tooltips.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_tooltips.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,32 @@ +@charset "UTF-8"; + +/************ + * Tooltips * + ************/ + +tooltip { + &.background { + // background-color needs to be set this way otherwise it gets drawn twice + // see https://bugzilla.gnome.org/show_bug.cgi?id=736155 for details. + background-color: gtk("@tooltip_background"); + background-clip: padding-box; + } + + color: gtk("@tooltip_text"); + padding: 4px; /* not working */ + border-radius: $r; + box-shadow: none; // otherwise it gets inherited by windowframe.csd + text-shadow: none; + border: 1px solid gtk("@tooltip_border"); + &.window-frame.csd { + background-color: transparent; + box-shadow: none; + } + decoration { background-color: transparent; } +} + +tooltip * { //Yeah this is ugly + padding: 0px; + background-color: transparent; + color: gtk("@tooltip_text"); // just to be sure +}
  7. Download patch src/gtk4/widgets/_switch.scss

    --- 5.20.5-1/src/gtk4/widgets/_switch.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_switch.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,54 @@ +@charset "UTF-8"; + +/********** + * Switch * + **********/ + +switch { + margin: 2px; + font-weight: bold; + font-size: smaller; + min-width: 48px; + min-height: 24px; + border: 0px solid; + border-radius: 12px; + color: transparent; + background-color: gtkalpha(gtk("@theme_button_foreground_normal"),0.3); + text-shadow: none; + + &:checked { + background-color: gtk("@theme_selected_bg_color"); + } + + &:backdrop { + background-color: gtkalpha(gtk("@theme_button_foreground_backdrop"), 0.3); + text-shadow: none; + + &:checked { + background-color: gtk("@theme_unfocused_selected_bg_color_alt"); + } + } + + slider { + min-width: 22px; + min-height: 22px; + border: 1px solid; + border-radius: 11px; + background-color: gtk("@theme_bg_color"); + border-color: gtk("@borders"); + } + + &:hover slider { border-color: gtk("@theme_button_decoration_hover"); } + + &:disabled slider { + background-color: gtk("@insensitive_bg_color"); + } + + &:backdrop { + slider { + background-color: gtk("@theme_unfocused_bg_color"); + } + + &:disabled slider { background-color: gtk("@insensitive_unfocused_bg_color"); } + } +}
  8. Download patch src/gtk3/widgets/_menus.scss
  9. Download patch src/gtk3/widgets/_entry.scss
  10. Download patch src/gtk3/widgets/_button.scss
  11. Download patch src/_colors.scss

    --- 5.20.5-1/src/_colors.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/_colors.scss 2021-01-21 12:40:08.000000000 +0000 @@ -269,4 +269,4 @@ these are pretty self explicative */ @define-color warning_color @warning_color_breeze; @define-color error_color @error_color_breeze; @define-color success_color @success_color_breeze; -@define-color content_view_bg @content_view_bg_breeze; \ No newline at end of file +@define-color content_view_bg @content_view_bg_breeze;
  12. Download patch src/gtk4/widgets/_pathbar.scss

    --- 5.20.5-1/src/gtk4/widgets/_pathbar.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_pathbar.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,44 @@ +@charset "UTF-8"; + +/************ + * Pathbars * + ************/ +.path-bar { + background-color: gtk("@theme_bg_color"); + border-bottom: 1px solid gtk("@borders"); +} + +.path-bar button { + @include button(undecorated); + padding: 4px 8px; + color: gtk("@theme_fg_color"); + &:hover {border-color: gtk("@theme_button_decoration_hover"); } + &:active, &:checked { + background-color: gtk("@borders"); + font-weight: normal; + } + &.text-button, &.image-button, & { + padding-left: 4px; + padding-right: 4px; + } + + &.text-button.image-button label { + padding-left: 0; + padding-right: 0; + } + + &.text-button.image-button, & { + label:last-child { padding-right: 8px; } + label:first-child { padding-left: 8px; } + } + + image { + padding-left: 4px; + padding-right: 4px; + } + + &.slider-button { + padding-left: 0; + padding-right: 0; + } +}
  13. Download patch src/gtk4/widgets/_color_chooser.scss

    --- 5.20.5-1/src/gtk4/widgets/_color_chooser.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_color_chooser.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,100 @@ +@charset "UTF-8"; + +/***************** + * Color Chooser * + *****************/ +// FIXME button.color in buttons section +colorswatch { +// take care of colorswatches on selected elements + :selected & { + box-shadow: none; + &.overlay, &.overlay:hover { + border-color: gtk("@theme_selected_fg_color"); + } + } + + &:selected { box-shadow: none; } + + &.top, + &.bottom, + &.left, &:first-child:not(.overlay):not(.top), + &.right, &:last-child:not(.overlay):not(.bottom), + &:only-child:not(.overlay), + &.top > .overlay, + &.bottom > .overlay, + &:first-child:not(.top) > .overlay, + &:last-child:not(.bottom) > .overlay, + &:only-child > .overlay { border-radius: $r; } + + // hover effect + &:hover, + &:hover:selected { + background-image: linear-gradient(135deg, transparentize(white, 0.3), + transparentize(white, 1) 50%); + box-shadow: inset 0 1px transparentize(white, 0.6); + &.color-dark { // swatches with colors with luminosity lower than 50% get the color-dark class + background-image: linear-gradient(135deg, transparentize(white, 0.5), + transparentize(white, 1) 50%); + } + } + &:backdrop, + &:backdrop:selected + &.color-dark:backdrop, + &.color-dark:backdrop:selected { + background-image: none; + box-shadow: none; + } + + // no hover effect for the colorswatch in the color editor + GtkColorEditor & { + border-radius: $r; // same radius as the entry + &:hover { + background-image: none; + box-shadow: none; + } + &:backdrop { box-shadow: none; } + } + + // indicator and keynav outline colors + &.color-dark { + color: white; + outline-color: transparentize(black, 0.7); + &:backdrop { color: transparentize(white, 0.7); } + } + &.color-light { + color: black; + outline-color: transparentize(white, 0.5); + &:backdrop { color: transparentize(black, 0.7); } + } + + // border color + overlay, + overlay:selected { + border: 1px solid gtk("@borders"); + &:hover { + border-color: gtk("@theme_button_decoration_hover"); + } + } + + // make the add color button looks like, well, a button + &#add-color-button { + border-style: solid; // the borders are drawn by the overlay for standard colorswatches to have them semi + border-width: 1px; // translucent on the colored background, here it's not necessary so they need to be set + @include button(normal); + &:hover { @include button(hover); } + &:backdrop { @include button(backdrop); } + overlay { @include button(undecorated); } // reset the overlay to not cover the button style underneat + } +} + +GtkColorButton.button { + padding: 5px; // Uniform padding on the GtkColorButton + + GtkColorSwatch:first-child:last-child { // :first-child:last-child for a specificity bump, it gets overridden by the + // colorpicker style, otherwise + border-radius: 0; + box-shadow: none; + &:disabled, + &:backdrop { box-shadow: none; } + } +}
  14. Download patch src/gtk3/widgets/_calendar.scss

    --- 5.20.5-1/src/gtk3/widgets/_calendar.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/widgets/_calendar.scss 2021-01-21 12:40:08.000000000 +0000 @@ -23,7 +23,7 @@ calendar { color: gtk("@theme_unfocused_text_color"); border-color: gtk("@unfocused_borders"); } - + &:disabled { color: gtk("@insensitive_base_fg_color"); } @@ -49,15 +49,14 @@ calendar { &:indeterminate, &.highlight { - color: gtkalpha(gtk("@theme_text_color"),0.5); + color: gtkalpha(gtk("@theme_text_color"), 0.5); } &:indeterminate:backdrop, &.highlight:backdrop { - color:gtkalpha(gtk("@theme_unfocused_text_color"),0.5); + color: gtkalpha(gtk("@theme_unfocused_text_color"), 0.5); } - &:backdrop { color: gtk("@theme_unfocused_text_color"); border-color: gtk("@unfocused_borders");
  15. Download patch src/gtk4/widgets/_progressbar.scss

    --- 5.20.5-1/src/gtk4/widgets/_progressbar.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_progressbar.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,145 @@ +@charset "UTF-8"; + +/***************** + * Progress bars * + *****************/ +progressbar { + // sizing + &.horizontal { + trough, + progress { min-height: 6px; } + } + + &.vertical { + trough, + progress { min-width: 6px; } + } + + // FIXME: insensitive state missing and some other state should be set probably + font-size: smaller; + color: gtkalpha(gtk("@theme_button_foreground_normal"), 0.3); + + trough { + border: 0px solid transparent; + border-radius: $r; + background-color: gtkalpha(gtk("@theme_button_foreground_normal"),0.3); + } + + &:backdrop trough { background-color: gtkalpha(gtk("@theme_button_foreground_backdrop"),0.3); } // looks like states are not passed to the trough component here + + progress { + background-color: gtk("@theme_selected_bg_color"); + border: 0px solid transparent; + border-radius: 3px; + box-shadow: none; //needed for clipping + } + + &:backdrop progress { + background-color: gtk("@theme_unfocused_selected_bg_color_alt"); + } // states not passed here as well + + &.osd { // progressbar.osd used for epiphany page loading progress + background-color: transparent; + } +} + +treeview.view { + &.progressbar { + border: 0px solid transparent; + border-radius: $r; + background-color: gtk("@theme_selected_bg_color"); + color: gtk("@theme_selected_fg_color"); + background-image: none; + &:selected { + &:focus, & { + background-color: gtkalpha(gtk("@theme_selected_bg_color"),0.25); + } + } + } + &.trough { + background-color: $trough_color; + &:selected { + &:focus, & { + background-color: gtkalpha(gtk("@theme_selected_fg_color"),0.3); + } + } + } +} + +/************* + * Level Bar * + *************/ +levelbar { + block { + min-width: 32px; + min-height: 6px; + } + + &.vertical block { + min-width: 6px; + min-height: 32px; + } + + trough { + border: 1px solid; + padding: 2px; + border-radius: 3px; + @include entry(normal); + + &:backdrop { @include entry(backdrop); } + } + + &.horizontal.discrete block { margin: 0 1px; } + + &.vertical.discrete block { margin: 1px 0; } + + block:not(.empty) { + border: 1px solid gtk("@theme_selected_bg_color"); + background-color: gtk("@theme_selected_bg_color"); + box-shadow: none; + border-radius: 1px; + + &:backdrop { + border-color: gtk("@theme_unfocused_selected_bg_color_alt"); + background-color: gtk("@theme_unfocused_selected_bg_color_alt"); + } + } + + block { + &.low { + border-color: gtk("@warning_color"); + background-color: gtk("@warning_color"); + &:backdrop { + background-color: gtk("@warning_color_backdrop"); + border-color: gtk("@warning_color_backdrop"); + } + } + + &.high { + border-color: gtk("@success_color"); + background-color: gtk("@success_color"); + &:backdrop { + background-color: gtk("@success_color_backdrop"); + border-color: gtk("@success_color_backdrop"); + } + } + + &.full { + border-color: gtk("@success_color"); + background-color: gtk("@success_color"); + &:backdrop { + background-color: gtk("@success_color_backdrop"); + border-color: gtk("@success_color_backdrop"); + } + } + + &.empty { + background-color: gtkalpha(gtk("@theme_button_foreground_normal"),0.3); + border-color: transparent; + box-shadow: none; + &:backdrop { + background-color: gtkalpha(gtk("@theme_button_foreground_insensitive"),0.3); + } + } + } +}
  16. Download patch src/gtk3/widgets/_notebook.scss
  17. Download patch src/gtk3/widgets/_headerbar.scss

    --- 5.20.5-1/src/gtk3/widgets/_headerbar.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/widgets/_headerbar.scss 2021-01-21 12:40:08.000000000 +0000 @@ -6,7 +6,7 @@ %titlebar, headerbar { - transition: none; + padding: 0px 6px; border-width: 0px 0px 1px 0px; border-radius: 3px 3px 0px 0px; @@ -24,17 +24,19 @@ headerbar { } label { font-weight: normal; - &:backdrop { color: gtk("@theme_titlebar_foreground_backdrop"); } + &:backdrop { + color: gtk("@theme_titlebar_foreground_backdrop"); + } } .path-bar button { color: gtk("@theme_titlebar_foreground"); font-weight: normal; - &:backdrop { + &:backdrop { color: gtk("@theme_titlebar_foreground_backdrop"); } - } + } button { - transition: none; + @include button(undecorated); color: gtk("@theme_titlebar_foreground"); @@ -45,21 +47,22 @@ headerbar { &:hover { @include button(hover); color: gtk("@theme_titlebar_foreground"); - &:backdrop { + &:backdrop { @include button(backdrop-hover); } } - &:active, &:checked { + &:active, + &:checked { @include button(active); &:hover { - @include button(active-hover); + @include button(active-hover); } &:backdrop { background-image: none; background-color: gtk("@theme_titlebar_background_backdrop"); border-color: gtk("@theme_titlebar_background_backdrop"); color: gtk("@theme_titlebar_foreground_backdrop"); - &:hover { + &:hover { @include button(backdrop-hover); } } @@ -74,24 +77,27 @@ headerbar { background-image: none; background-color: gtk("@theme_titlebar_background_backdrop"); color: gtk("@theme_titlebar_foreground_backdrop"); - } + } - &.flat:backdrop, &.flat:backdrop:disabled, &:disabled:backdrop { + &.flat:backdrop, + &.flat:backdrop:disabled, + &:disabled:backdrop { background-image: none; background-color: gtk("@theme_titlebar_background_backdrop"); color: gtk("@theme_titlebar_foreground_backdrop"); border-color: transparent; - } + } &.flat:disabled { - @extend %undecorated_button;; + @extend %undecorated_button; color: gtk("@theme_titlebar_foreground_insensitive"); - } + } &:disabled { background-color: transparent; background-image: none; border-color: transparent; color: gtk("@theme_titlebar_foreground_insensitive"); - &:active, &:checked { + &:active, + &:checked { @include button(insensitive-active); } } @@ -100,7 +106,7 @@ headerbar { .title { font-weight: normal; padding: 0px 12px; - &:backdrop { + &:backdrop { color: gtk("@theme_titlebar_foreground_backdrop"); } } @@ -109,7 +115,7 @@ headerbar { font-size: smaller; padding: 0 12px; @extend .dim-label; - &:backdrop { + &:backdrop { color: gtk("@theme_titlebar_foreground_backdrop"); } } @@ -121,14 +127,20 @@ headerbar { border-color: transparent; } - &.selection-mode, &.selection-mode headerbar { - background-color: gtkmix("@theme_titlebar_background", "@theme_button_decoration_focus", 0.5); + &.selection-mode, + &.selection-mode headerbar { + background-color: gtkmix( + "@theme_titlebar_background", + "@theme_button_decoration_focus", + 0.5 + ); separator { background-color: gtk("@theme_button_decoration_focus"); } button:not(.titlebutton) { background-color: gtkalpha(gtk("@theme_button_decoration_focus"), 0.5); - &:active, &:focus { + &:active, + &:focus { background-color: gtk("@theme_button_decoration_focus"); } } @@ -137,21 +149,26 @@ headerbar { @extend %suggested-action; } - .subtitle:link { @extend *:link:selected; } + .subtitle:link { + @extend *:link:selected; + } .selection-menu { padding: 4px 6px; - GtkArrow { -GtkArrow-arrow-scaling: 1; } + GtkArrow { + -gtkarrow-arrow-scaling: 1; + } .arrow { - -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); -gtk-icon-shadow: none; } } } - .tiled &, .maximized & { + .tiled &, + .maximized & { border-radius: 0; // squared corners when the window is max'd or tiled } } @@ -173,15 +190,16 @@ headerbar { &:hover { background-color: gtk("@theme_button_decoration_hover"); color: gtk("@theme_button_foreground_normal"); - } + } &:disabled { background-color: transparent; background-image: none; color: gtk("@theme_titlebar_foreground_insensitive"); - &:active, &:checked { + &:active, + &:checked { @include button(insensitive-active); - } } + } &:backdrop { background-color: gtk("@theme_titlebar_background_backdrop"); border-color: transparent;
  18. Download patch src/gtk4/widgets/_spinbutton.scss

    --- 5.20.5-1/src/gtk4/widgets/_spinbutton.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_spinbutton.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,104 @@ +@charset "UTF-8"; + +/***************** + * GtkSpinButton * + *****************/ +spinbutton { + text { + @extend %entry; + + border-radius: 0px; + } + + &:not(.vertical) { + // in this horizontal configuration, the whole spinbutton + // behaves as the entry, so we extend the entry styling + // and nuke the style on the internal entry + @extend %entry; + + padding: 0; + + text { + min-width: 28px; + // reset all the other props since the spinbutton node is styled here + margin: 0; + background: none; + background-color: transparent; + border: none; + border-radius: 0; + box-shadow: none; + + &:backdrop:disabled { + background-color: transparent; + } + } + + button { + @include button(undecorated); + } + } + + // Vertical + &.vertical { + // in the vertical configuration, we treat the spinbutton + // as a box, and tweak the style of the entry in the middle + // so that it's linked + + // FIXME: this should not be set at all, but otherwise it gets the wrong + // color + &:disabled { + color: gtk("@insensitive_base_fg_color"); + } + + &:backdrop:disabled { + color: gtk("@theme_unfocused_view_text_color"); + } + + &:drop(active) { + border-color: transparent; + box-shadow: none; + } + + entry { + margin: 0px; + min-height: 26px; + min-width: 26px; + border-style: none solid none solid; + border-color: gtk("@borders"); + padding: 0; + border-radius: 0; + &:disabled { + color: gtk("@insensitive_base_fg_color"); + background-color: gtk("@insensitive_base_color"); + border-color: gtk("@insensitive_borders"); + } + &:backdrop:disabled { + color: gtk("@theme_unfocused_view_text_color"); + background-color: gtk("@theme_unfocused_view_bg_color"); + border-color: gtk("@unfocused_insensitive_borders"); + } + } + + button.up { + border-radius: 3px 3px 0 0; + border-style: solid solid none solid; + } + + button.down { + border-radius: 0 0 3px 3px; + border-style: none solid solid solid; + } + } + + // Misc + treeview &:not(.vertical) { + min-height: 0; + border-style: none; + border-radius: 0; + + entry { + min-height: 0; + padding: 1px 2px; + } + } +}
  19. Download patch src/gtk3/widgets/_treeview.scss

    --- 5.20.5-1/src/gtk3/widgets/_treeview.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/widgets/_treeview.scss 2021-01-21 12:40:08.000000000 +0000 @@ -29,7 +29,10 @@ @mixin item-selected-middle-backdrop { @if $new-highlight { - background-color: gtkalpha(gtk("@theme_button_decoration_focus_backdrop"), 0.3); + background-color: gtkalpha( + gtk("@theme_button_decoration_focus_backdrop"), + 0.3 + ); color: gtk("@theme_button_foreground_active_backdrop"); border: 1px solid gtk("@theme_button_decoration_focus_backdrop"); border-left: 0; @@ -46,38 +49,46 @@ * Tree Views * **************/ treeview.view { - -GtkTreeView-grid-line-width: 0; - -GtkTreeView-grid-line-pattern: ''; - -GtkTreeView-tree-line-width: 1; - -GtkTreeView-tree-line-pattern: ''; - -GtkTreeView-expander-size: 16; + -gtktreeview-grid-line-width: 0; + -gtktreeview-grid-line-pattern: ""; + -gtktreeview-tree-line-width: 1; + -gtktreeview-tree-line-pattern: ""; + -gtktreeview-expander-size: 16; border-left-color: gtk("@borders"); // this is actually the tree lines color, - border-top-color: transparent; // while this is the grid lines color, better then nothing + border-top-color: transparent; // while this is the grid lines color, better then nothing - rubberband { @extend rubberband; } // to avoid borders being overridden by the previously set props - - &:selected { border-radius: 0; } // rest border radius in lists + rubberband { + @extend rubberband; + } // to avoid borders being overridden by the previously set props + + &:selected { + border-radius: 0; + } // rest border radius in lists &:hover { @include item-hover-middle(); } - &:selected { + &:selected { @include item-selected-middle(); } - + &:backdrop:selected { @include item-selected-middle-backdrop(); } &:disabled { - color: gtk("@insensitive_borders"); + color: gtk("@insensitive_fg_color"); &:selected { color: gtk("@insensitive_selected_fg_color"); - &:backdrop { color: gtk("@insensitive_unfocused_selected_fg_color"); } + &:backdrop { + color: gtk("@insensitive_unfocused_selected_fg_color"); + } + } + &:backdrop { + color: gtk("@insensitive_unfocused_fg_color"); } - &:backdrop { color: gtk("@unfocused_insensitive_borders"); } } &.separator { min-height: 2px; @@ -101,17 +112,29 @@ treeview.view { // GtkTreeView uses the larger of the expander’s min-width and min-height min-width: 16px; min-height: 16px; - -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); color: gtk("@theme_fg_color"); - &:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-start-symbolic'); }; - &:hover { color: gtk("@theme_button_decoration_hover"); } - &:selected { color: gtk("@theme_selected_fg_color"); } + &:dir(rtl) { + -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); + } + &:hover { + color: gtk("@theme_button_decoration_hover"); + } + &:selected { + color: gtk("@theme_selected_fg_color"); + } &:checked { - -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); - &:selected { color: gtk("@theme_selected_fg_color"); } - &:backdrop { color: gtk("@theme_unfocused_base_color"); } + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + &:selected { + color: gtk("@theme_selected_fg_color"); + } + &:backdrop { + color: gtk("@theme_unfocused_base_color"); + } + } + &:backdrop { + color: gtk("@theme_unfocused_base_color"); } - &:backdrop { color: gtk("@theme_unfocused_base_color"); } } header { button { @@ -125,31 +148,40 @@ treeview.view { color: gtk("@theme_button_foreground_normal"); background-color: gtkalpha(gtk("@theme_button_decoration_hover"), 0.5); box-shadow: none; - transition: none; //I shouldn't need this + } &:active { @extend %column_header_button; color: gtk("@theme_button_foreground_normal"); background-color: gtkalpha(gtk("@theme_button_decoration_hover"), 0.5); - transition: none; //I shouldn't need this + } } - button:last-child { &:backdrop, & { border-right-style: none; }} - } - button.dnd, - header.button.dnd { // for treeview-like derive widgets - &:active, &:selected, &:hover, & { - padding: 0 6px; - color: gtk("@theme_selected_fg_color"); - background-image: none; - background-color: gtk("@theme_selected_bg_color"); - border-style: none; - border-radius: 0; - box-shadow: none; - text-shadow: none; - transition: none; + button:last-child { + &:backdrop, + & { + border-right-style: none; } } + } + button.dnd, + header.button.dnd { + // for treeview-like derive widgets + &:active, + &:selected, + &:hover, + & { + padding: 0 6px; + color: gtk("@theme_selected_fg_color"); + background-image: none; + background-color: gtk("@theme_selected_bg_color"); + border-style: none; + border-radius: 0; + box-shadow: none; + text-shadow: none; + + } + } } %column_header_button {
  20. Download patch debian/control

    --- 5.20.5-1/debian/control 2020-12-26 21:08:52.000000000 +0000 +++ 5.20.90-0ubuntu1/debian/control 2021-01-21 23:43:39.000000000 +0000 @@ -5,12 +5,12 @@ Maintainer: Debian Qt/KDE Maintainers <d Uploaders: Scarlett Moore <sgmoore@kde.org>, Patrick Franz <patfra71@gmail.com>, Norbert Preining <norbert@preining.info>, -Build-Depends: breeze-dev (>= 4:5.14.90~), +Build-Depends: breeze-dev (>= 4:5.20.90~), cmake (>= 3.2), debhelper-compat (= 13), extra-cmake-modules (>= 5.18.0~), gtk2-engines-pixbuf, - kde-style-breeze (>= 4:5.14.90~), + kde-style-breeze (>= 4:5.20.90~), libglib2.0-dev, libgtk-3-dev, libgtk2.0-dev,
  21. Download patch src/gtk3/widgets/_app_notifications.scss

    --- 5.20.5-1/src/gtk3/widgets/_app_notifications.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/widgets/_app_notifications.scss 2021-01-21 12:40:08.000000000 +0000 @@ -10,7 +10,9 @@ padding: 10px; border-top-width: 0px; border-radius: 0px 0px 3px 3px; - &:backdrop { background-image: none; } + &:backdrop { + background-image: none; + } button { @include button(normal); &.flat { @@ -27,9 +29,13 @@ } &:backdrop, &:disabled, - &:backdrop:disabled { @extend %undecorated_button; } + &:backdrop:disabled { + @extend %undecorated_button; + } + } + &:hover { + @include button(hover); } - &:hover { @include button(hover); } &:active, &:checked, &:backdrop:active, @@ -37,10 +43,14 @@ @include button(active); } &:disabled, - &:backdrop:disabled{ + &:backdrop:disabled { @include button(insensitive); } - &:backdrop { @include button(backdrop); } + &:backdrop { + @include button(backdrop); + } + } + border { + border: none; } - border {border: none;} -} \ No newline at end of file +}
  22. Download patch src/gtk3/widgets/_spinbutton.scss
  23. Download patch CMakeLists.txt

    --- 5.20.5-1/CMakeLists.txt 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/CMakeLists.txt 2021-01-21 12:40:08.000000000 +0000 @@ -1,5 +1,5 @@ project(breeze-gtk) -set(PROJECT_VERSION "5.20.5") +set(PROJECT_VERSION "5.20.90") set(PROJECT_VERSION_MAJOR 5) cmake_minimum_required(VERSION 2.8.12)
  24. Download patch src/gtk4/widgets/_scrollbar.scss

    --- 5.20.5-1/src/gtk4/widgets/_scrollbar.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_scrollbar.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,123 @@ +@charset "UTF-8"; + +/************** + * Scrollbars * + **************/ + +scrollbar { + + background-color: gtk("@theme_bg_color"); + border-width: 0px 0px; + border-color: gtk("@theme_bg_color"); + margin: 5px; + + button { + min-width: 14px; + min-height: 14px; + margin: 0px; + padding: 0px 0px; + border: none; + border-radius: 0px; + background-image: none; + background-color: transparent; + color: transparent; + box-shadow: none; + &:hover { + border: none; + background-image: none; + background-color: gtk("@theme_bg_color"); + color: transparent; + } + &:active, + &:active:hover { + border: none; + background-image: none; + background-color: gtk("@theme_bg_color"); + color: transparent; + } + &:disabled { + border: none; + background-color: gtk("@theme_bg_color"); + background-image: none; + color: transparent; + } + } + + // Overlay Scrollbars + &.dragging, // if this isn't set, the scrollbars don't update their size correctly + &.hovering { opacity: 0.9910; } // probably a gtk bug + &.overlay-indicator:not(.dragging):not(.hovering) { opacity: 0.999; } // + + &.overlay-indicator { + background: none; + } + + trough { + //margin: 0px; + transition-duration: 0.1s; + min-width: 3px; + min-height: 14px; + border-radius: 8px; + background-color: transparent; + } + + &:hover { + trough { + background-color: $trough_color_backdrop; + min-width: 6px; + } + slider { + min-width: 6px; + background-color: gtk("@theme_button_decoration_hover"); + } + } + + &.horizontal trough { + //margin: 0px; + transition-duration: 0.1s; + min-width: 14px; + min-height: 3px; + border-radius: 8px; + background-color: transparent; + } + + &.horizontal:hover { + &.horizontal trough { + background-color: $trough_color_backdrop; + min-height: 6px; + } + &.horizontal slider { + min-height: 6px; + background-color: gtk("@theme_button_decoration_hover"); + } + } + + slider { + //margin: 0px; + transition-duration: 0.1s; + min-width: 3px; + min-height: 30px; + border-radius: 8px; + background-clip: padding-box; + background-color: gtkalpha(gtk("@theme_fg_color"), 0.5); + &:hover { + min-width: 6px; + background-color: gtk("@theme_button_decoration_hover"); + + } + } + &.horizontal slider { + transition-duration: 0.1s; + min-width: 30px; + min-height: 3px; + border-radius: 8px; + background-clip: padding-box; + background-color: gtkalpha(gtk("@theme_fg_color"), 0.5); + &:hover { + min-height: 6px; + background-color: gtk("@theme_button_decoration_hover"); + + } + + } +}
  25. Download patch src/gtk3/widgets/_tooltips.scss

    --- 5.20.5-1/src/gtk3/widgets/_tooltips.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/widgets/_tooltips.scss 2021-01-21 12:40:08.000000000 +0000 @@ -22,10 +22,13 @@ tooltip { background-color: transparent; box-shadow: none; } - decoration { background-color: transparent; } + decoration { + background-color: transparent; + } } -tooltip * { //Yeah this is ugly +tooltip * { + //Yeah this is ugly padding: 0px; background-color: transparent; color: gtk("@tooltip_text"); // just to be sure
  26. Download patch src/gtk3/widgets/_color_chooser.scss

    --- 5.20.5-1/src/gtk3/widgets/_color_chooser.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/widgets/_color_chooser.scss 2021-01-21 12:40:08.000000000 +0000 @@ -5,41 +5,54 @@ *****************/ // FIXME button.color in buttons section colorswatch { -// take care of colorswatches on selected elements + // take care of colorswatches on selected elements :selected & { box-shadow: none; - &.overlay, &.overlay:hover { + &.overlay, + &.overlay:hover { border-color: gtk("@theme_selected_fg_color"); } } - &:selected { box-shadow: none; } + &:selected { + box-shadow: none; + } &.top, &.bottom, - &.left, &:first-child:not(.overlay):not(.top), - &.right, &:last-child:not(.overlay):not(.bottom), + &.left, + &:first-child:not(.overlay):not(.top), + &.right, + &:last-child:not(.overlay):not(.bottom), &:only-child:not(.overlay), &.top > .overlay, &.bottom > .overlay, &:first-child:not(.top) > .overlay, &:last-child:not(.bottom) > .overlay, - &:only-child > .overlay { border-radius: $r; } + &:only-child > .overlay { + border-radius: $r; + } // hover effect &:hover, &:hover:selected { - background-image: linear-gradient(135deg, transparentize(white, 0.3), - transparentize(white, 1) 50%); + background-image: linear-gradient( + 135deg, + transparentize(white, 0.3), + transparentize(white, 1) 50% + ); box-shadow: inset 0 1px transparentize(white, 0.6); - &.color-dark { // swatches with colors with luminosity lower than 50% get the color-dark class - background-image: linear-gradient(135deg, transparentize(white, 0.5), - transparentize(white, 1) 50%); + &.color-dark { + // swatches with colors with luminosity lower than 50% get the color-dark class + background-image: linear-gradient( + 135deg, + transparentize(white, 0.5), + transparentize(white, 1) 50% + ); } } &:backdrop, - &:backdrop:selected - &.color-dark:backdrop, + &:backdrop:selected &.color-dark:backdrop, &.color-dark:backdrop:selected { background-image: none; box-shadow: none; @@ -52,26 +65,32 @@ colorswatch { background-image: none; box-shadow: none; } - &:backdrop { box-shadow: none; } + &:backdrop { + box-shadow: none; + } } // indicator and keynav outline colors &.color-dark { color: white; outline-color: transparentize(black, 0.7); - &:backdrop { color: transparentize(white, 0.7); } + &:backdrop { + color: transparentize(white, 0.7); + } } &.color-light { color: black; outline-color: transparentize(white, 0.5); - &:backdrop { color: transparentize(black, 0.7); } + &:backdrop { + color: transparentize(black, 0.7); + } } // border color overlay, overlay:selected { border: 1px solid gtk("@borders"); - &:hover { + &:hover { border-color: gtk("@theme_button_decoration_hover"); } } @@ -79,22 +98,31 @@ colorswatch { // make the add color button looks like, well, a button &#add-color-button { border-style: solid; // the borders are drawn by the overlay for standard colorswatches to have them semi - border-width: 1px; // translucent on the colored background, here it's not necessary so they need to be set + border-width: 1px; // translucent on the colored background, here it's not necessary so they need to be set @include button(normal); - &:hover { @include button(hover); } - &:backdrop { @include button(backdrop); } - overlay { @include button(undecorated); } // reset the overlay to not cover the button style underneat + &:hover { + @include button(hover); + } + &:backdrop { + @include button(backdrop); + } + overlay { + @include button(undecorated); + } // reset the overlay to not cover the button style underneat } } GtkColorButton.button { padding: 5px; // Uniform padding on the GtkColorButton - GtkColorSwatch:first-child:last-child { // :first-child:last-child for a specificity bump, it gets overridden by the - // colorpicker style, otherwise + GtkColorSwatch:first-child:last-child { + // :first-child:last-child for a specificity bump, it gets overridden by the + // colorpicker style, otherwise border-radius: 0; box-shadow: none; &:disabled, - &:backdrop { box-shadow: none; } + &:backdrop { + box-shadow: none; + } } }
  27. Download patch src/build_theme.sh

    --- 5.20.5-1/src/build_theme.sh 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/build_theme.sh 2021-01-21 12:40:08.000000000 +0000 @@ -3,7 +3,7 @@ set -e # Usage: create_folders <target-directory> create_folders () { - for j in gtk-2.0 gtk-3.0; do + for j in gtk-2.0 gtk-3.0 gtk-4.0; do if ! [ -d "$1/$j" ]; then mkdir -p "$1/$j" fi @@ -28,7 +28,7 @@ install_theme () { fi echo "Installing into ${THEME_INSTALL_TARGET}" mkdir -p "${THEME_INSTALL_TARGET}" - for dir in assets gtk-2.0 gtk-3.0; do + for dir in assets gtk-2.0 gtk-3.0 gtk-4.0; do if [ -d "${THEME_INSTALL_TARGET}/$dir" ]; then rm -rf "${THEME_INSTALL_TARGET:?}/$dir" fi @@ -45,6 +45,7 @@ render_theme () { python3 render_assets.py -c "$1" -a "${THEME_BUILD_DIR}/assets" \ -g "${THEME_BUILD_DIR}/gtk-2.0" -G "${THEME_BUILD_DIR}" -b "$4" build_sass gtk3/gtk.scss "${THEME_BUILD_DIR}/gtk-3.0/gtk.css" "${THEME_BUILD_DIR}" + build_sass gtk4/gtk.scss "${THEME_BUILD_DIR}/gtk-4.0/gtk.css" "${THEME_BUILD_DIR}" rm -f "${THEME_BUILD_DIR}/_global.scss" install_theme "${THEME_BUILD_DIR}" "$2" "$3" }
  28. Download patch src/_functions.scss
  29. Download patch src/gtk4/widgets/_checkboxes.scss

    --- 5.20.5-1/src/gtk4/widgets/_checkboxes.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_checkboxes.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,60 @@ +@charset "UTF-8"; + +/************************* + * Check and Radio items * + *************************/ + +checkbutton.text-button, radiobutton.text-button { + // this is for a nice focus on check and radios text + padding: 2px 0; + outline-offset: 0; + + label:not(:only-child) { + &:first-child { margin-left: 4px; } + &:last-child { margin-right: 4px; } + } + &:active check, &:active radio { + -gtk-icon-transform: translate(1px,1px); + } +} + +check, radio { + margin: 0 4px; + + &:only-child { margin: 0; } + + min-height: 18px; + min-width: 18px; + //border: none; + animation: none; + background-color: transparent; + -gtk-icon-palette: error gtk("@theme_button_decoration_focus"), success gtk("@borders"), warning gtk("@theme_button_background_normal"); + -gtk-icon-shadow: 1px 1px rgba(35,38,41,0.2); + + &:hover { + -gtk-icon-palette: error gtk("@theme_button_decoration_focus"), success gtk("@theme_button_decoration_focus"), warning gtk("@theme_button_background_normal"); + } + &:disabled { + -gtk-icon-palette: error gtk("@theme_button_decoration_focus_insensitive"), success gtk("@insensitive_borders"), warning gtk("@theme_button_background_insensitive"); + } + + menu menuitem & { + margin: 0; // this is a workaround for a menu check/radio size allocation issue + min-height: 18px; + min-width: 18px; + background-color: transparent; + box-shadow: none; + -gtk-icon-shadow: none; + animation: none; + } +} +@each $type in ('check', 'radio') { + #{$type} { + -gtk-icon-source: -gtk-recolor(url("../assets/breeze-#{$type}-unchecked-symbolic.svg")); + @each $state in ('checked', 'indeterminate') { + &:#{$state} { + -gtk-icon-source: -gtk-recolor(url("../assets/breeze-#{$type}-#{$state}-symbolic.svg")); + } + } + } +}
  30. Download patch src/gtk4/widgets/_libhandy.scss

    --- 5.20.5-1/src/gtk4/widgets/_libhandy.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_libhandy.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,51 @@ +@charset "UTF-8"; + +hdydialer { + button { + font-weight: lighter; + background-color: transparent; + border: 0; + box-shadow: none; + &:backdrop { + background-color: transparent; + } + &:focus { + background-color: transparent; + border: none; + } + } +} +hdyviewswitcher { + > button { + border: 0; + background-color: transparent; + &:backdrop:hover, &:hover, &:active, &:hover:focus, &:active:focus, &:checked, &:checked:hover { + background-color: transparent; + } + &:checked, &:checked:backdrop { + border-top: 0; + border-left: 0; + border-right: 0; + background-color: transparent; + > stack { + border-bottom: 3px solid transparent; + border-top: 3px solid gtk("@theme_button_decoration_focus"); + } + } + &.needs-attention > stack > box label { + animation: needs_attention 150ms ease-in; + background-image: radial-gradient(circle, gtk("@theme_button_decoration_focus") 0%, transparent 5px); + background-size: 6px 6px, 6px 6px; + background-repeat: no-repeat; + background-position: right 0px, right 1px; + } + } +} +headerbar hdyviewswitcher > button:checked > stack { + &:backdrop { + border-top: 3px solid transparent; + border-bottom: 3px solid gtk("@theme_button_decoration_focus"); + } + border-top: 3px solid transparent; + border-bottom: 3px solid gtk("@theme_button_decoration_focus"); +} \ No newline at end of file
  31. Download patch src/gtk3/gtk.scss

    --- 5.20.5-1/src/gtk3/gtk.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/gtk.scss 2021-01-21 12:40:08.000000000 +0000 @@ -2,9 +2,9 @@ $new-highlight: false; -@import 'global'; -@import '../functions'; -@import '../colors'; +@import "global"; +@import "../functions"; +@import "../colors"; @import "widgets/base"; @import "widgets/button";
  32. Download patch src/gtk3/applications/_firefox.scss

    --- 5.20.5-1/src/gtk3/applications/_firefox.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/applications/_firefox.scss 2021-01-21 12:40:08.000000000 +0000 @@ -1,8 +1,8 @@ #MozillaGtkWidget { - scrollbar { - margin: 0px; - slider { - border: 5px solid transparent; - } + scrollbar { + margin: 0px; + slider { + border: 5px solid transparent; } -} \ No newline at end of file + } +}
  33. Download patch src/gtk4/widgets/_sidebar.scss
  34. Download patch src/gtk3/widgets/_checkboxes.scss

    --- 5.20.5-1/src/gtk3/widgets/_checkboxes.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/widgets/_checkboxes.scss 2021-01-21 12:40:08.000000000 +0000 @@ -4,38 +4,52 @@ * Check and Radio items * *************************/ -checkbutton.text-button, radiobutton.text-button { - // this is for a nice focus on check and radios text - padding: 2px 0; - outline-offset: 0; - - label:not(:only-child) { - &:first-child { margin-left: 4px; } - &:last-child { margin-right: 4px; } - } - &:active check, &:active radio { - -gtk-icon-transform: translate(1px,1px); - } +checkbutton.text-button, +radiobutton.text-button { + // this is for a nice focus on check and radios text + padding: 2px 0; + outline-offset: 0; + + label:not(:only-child) { + &:first-child { + margin-left: 4px; + } + &:last-child { + margin-right: 4px; + } + } + &:active check, + &:active radio { + -gtk-icon-transform: translate(1px, 1px); + } } -check, radio { +check, +radio { margin: 0 4px; - &:only-child { margin: 0; } + &:only-child { + margin: 0; + } min-height: 18px; min-width: 18px; //border: none; animation: none; background-color: transparent; - -gtk-icon-palette: error gtk("@theme_button_decoration_focus"), success gtk("@borders"), warning gtk("@theme_button_background_normal"); - -gtk-icon-shadow: 1px 1px rgba(35,38,41,0.2); + -gtk-icon-palette: error gtk("@theme_button_decoration_focus"), + success gtk("@borders"), warning gtk("@theme_button_background_normal"); + -gtk-icon-shadow: 1px 1px rgba(35, 38, 41, 0.2); &:hover { - -gtk-icon-palette: error gtk("@theme_button_decoration_focus"), success gtk("@theme_button_decoration_focus"), warning gtk("@theme_button_background_normal"); + -gtk-icon-palette: error gtk("@theme_button_decoration_focus"), + success gtk("@theme_button_decoration_focus"), + warning gtk("@theme_button_background_normal"); } &:disabled { - -gtk-icon-palette: error gtk("@theme_button_decoration_focus_insensitive"), success gtk("@insensitive_borders"), warning gtk("@theme_button_background_insensitive"); + -gtk-icon-palette: error gtk("@theme_button_decoration_focus_insensitive"), + success gtk("@insensitive_borders"), + warning gtk("@theme_button_background_insensitive"); } menu menuitem & { @@ -48,12 +62,16 @@ check, radio { animation: none; } } -@each $type in ('check', 'radio') { +@each $type in ("check", "radio") { #{$type} { - -gtk-icon-source: -gtk-recolor(url("../assets/breeze-#{$type}-unchecked-symbolic.svg")); - @each $state in ('checked', 'indeterminate') { + -gtk-icon-source: -gtk-recolor( + url("../assets/breeze-#{$type}-unchecked-symbolic.svg") + ); + @each $state in ("checked", "indeterminate") { &:#{$state} { - -gtk-icon-source: -gtk-recolor(url("../assets/breeze-#{$type}-#{$state}-symbolic.svg")); + -gtk-icon-source: -gtk-recolor( + url("../assets/breeze-#{$type}-#{$state}-symbolic.svg") + ); } } }
  35. Download patch src/gtk3/widgets/_switch.scss

    --- 5.20.5-1/src/gtk3/widgets/_switch.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/widgets/_switch.scss 2021-01-21 12:40:08.000000000 +0000 @@ -5,50 +5,54 @@ **********/ switch { - margin: 2px; - font-weight: bold; - font-size: smaller; - min-width: 48px; - min-height: 24px; - border: 0px solid; - border-radius: 12px; - color: transparent; - background-color: gtkalpha(gtk("@theme_button_foreground_normal"),0.3); - text-shadow: none; - - &:checked { - background-color: gtk("@theme_selected_bg_color"); - } - - &:backdrop { - background-color: gtkalpha(gtk("@theme_button_foreground_backdrop"), 0.3); - text-shadow: none; - - &:checked { - background-color: gtk("@theme_unfocused_selected_bg_color_alt"); - } - } - - slider { - min-width: 22px; - min-height: 22px; - border: 1px solid; - border-radius: 11px; - background-color: gtk("@theme_bg_color"); - border-color: gtk("@borders"); - } - - &:hover slider { border-color: gtk("@theme_button_decoration_hover"); } - - &:disabled slider { - background-color: gtk("@insensitive_bg_color"); - } - - &:backdrop { - slider { - background-color: gtk("@theme_unfocused_bg_color"); - } - - &:disabled slider { background-color: gtk("@insensitive_unfocused_bg_color"); } - } + margin: 2px; + font-weight: bold; + font-size: smaller; + min-width: 48px; + min-height: 24px; + border: 0px solid; + border-radius: 12px; + color: transparent; + background-color: gtkalpha(gtk("@theme_button_foreground_normal"), 0.3); + text-shadow: none; + + &:checked { + background-color: gtk("@theme_selected_bg_color"); + } + + &:backdrop { + background-color: gtkalpha(gtk("@theme_button_foreground_backdrop"), 0.3); + text-shadow: none; + + &:checked { + background-color: gtk("@theme_unfocused_selected_bg_color_alt"); + } + } + + slider { + min-width: 22px; + min-height: 22px; + border: 1px solid; + border-radius: 11px; + background-color: gtk("@theme_bg_color"); + border-color: gtk("@borders"); + } + + &:hover slider { + border-color: gtk("@theme_button_decoration_hover"); + } + + &:disabled slider { + background-color: gtk("@insensitive_bg_color"); + } + + &:backdrop { + slider { + background-color: gtk("@theme_unfocused_bg_color"); + } + + &:disabled slider { + background-color: gtk("@insensitive_unfocused_bg_color"); + } + } }
  36. Download patch src/gtk3/widgets/_toolbar.scss

    --- 5.20.5-1/src/gtk3/widgets/_toolbar.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/widgets/_toolbar.scss 2021-01-21 12:40:08.000000000 +0000 @@ -3,8 +3,8 @@ /************ * Toolbars * ************/ - %toolbar { - -GtkWidget-window-dragging: true; +%toolbar { + -gtkwidget-window-dragging: true; padding: 4px; background-color: gtk("@theme_bg_color"); } @@ -18,7 +18,8 @@ toolbar { button { margin: 2px; padding: 3px; - &.image-button, &.text-button.image-button { + &.image-button, + &.text-button.image-button { padding: 3px; } } @@ -30,7 +31,9 @@ toolbar { margin: 3px; } // on OSD - .osd & { background-color: transparent; } + .osd & { + background-color: transparent; + } &.osd { padding: 13px; border: none; @@ -44,7 +47,9 @@ toolbar { &.left, &.right, &.top, - &.bottom { border-radius: 0; } // positional classes for `attached` osd toolbars + &.bottom { + border-radius: 0; + } // positional classes for `attached` osd toolbars } }
  37. Download patch src/gtk3/applications/_chromium.scss
  38. Download patch src/gtk3/widgets/_sidebar.scss

    --- 5.20.5-1/src/gtk3/widgets/_sidebar.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/widgets/_sidebar.scss 2021-01-21 12:40:08.000000000 +0000 @@ -33,14 +33,16 @@ &:selected { @extend %selected_items; } - &:backdrop { + &:backdrop { background-color: gtk("@theme_unfocused_bg_color"); } row { - transition: all 150ms $ease-out-quad; - - &:hover { transition: none; } - + + + &:hover { + + } + &.activatable { border: 0; &:dir(ltr) { @@ -49,23 +51,23 @@ &:dir(rtl) { border-left: 3px solid transparent; } - + &.has-open-popup, // this is for indicathing which row generated a popover see https://bugzilla.gnome.org/show_bug.cgi?id=754411 - &:hover:dir(ltr) { + &:hover:dir(ltr) { @include selected-item-highlight(); } &:hover:dir(rtl) { @include selected-item-highlight-rtl(); } - + &:active:dir(ltr) { @include selected-item-highlight(); } &:active:dir(rtl) { @include selected-item-highlight-rtl(); } - + &:selected { &:dir(ltr) { @include selected-item-highlight(); @@ -82,7 +84,7 @@ @include selected-item-highlight-rtl(); } } - + &.has-open-popup, &:hover { &:dir(ltr) { @@ -92,20 +94,24 @@ @include selected-item-highlight-rtl(); } } - - &:backdrop { + + &:backdrop { background-color: gtk("@theme_unfocused_selected_bg_color_alt"); } } } - - &:selected { @extend %selected_items; } + + &:selected { + @extend %selected_items; + } } } // Places sidebar is a special case, since the view here have to look like chrome not content, so we override text color placessidebar { - > viewport.frame { border-style: none; } + > viewport.frame { + border-style: none; + } row { // Needs overriding of the GtkListBoxRow padding @@ -114,37 +120,46 @@ placessidebar { // Using margins/padding directly in the SidebarRow // will make the animation of the new bookmark row jump - > revealer { padding: 0 14px; } + > revealer { + padding: 0 14px; + } - &:selected { + &:selected { color: gtk("@theme_selected_fg_color"); } - &:disabled { + &:disabled { color: gtk("@insensitive_fg_color"); } &:backdrop { color: gtk("@theme_unfocused_fg_color"); - &:selected { + &:selected { color: gtk("@theme_unfocused_selected_bg_color_alt"); } - &:disabled { + &:disabled { color: gtk("@insensitive_unfocused_fg_color"); } } image.sidebar-icon { - - &:dir(ltr) { padding-right: 8px; } - &:dir(rtl) { padding-left: 8px; } + &:dir(ltr) { + padding-right: 8px; + } + &:dir(rtl) { + padding-left: 8px; + } } label.sidebar-label { - &:dir(ltr) { padding-right: 2px; } - &:dir(rtl) { padding-left: 2px; } + &:dir(ltr) { + padding-right: 2px; + } + &:dir(rtl) { + padding-left: 2px; + } } @at-root button.sidebar-button { @@ -157,11 +172,12 @@ placessidebar { margin-top: 3px; margin-bottom: 3px; padding: 0; - } // in the sidebar case it makes no sense to click the selected row - &:selected:active { box-shadow: none; } + &:selected:active { + box-shadow: none; + } &.sidebar-placeholder-row { padding: 0 8px; @@ -170,7 +186,7 @@ placessidebar { background-clip: content-box; } - &.sidebar-new-bookmark-row { + &.sidebar-new-bookmark-row { color: gtk("@theme_selected_bg_color"); } @@ -189,16 +205,18 @@ placessidebar { placesview { .server-list-button > image { - transition: 200ms $ease-out-quad; + -gtk-icon-transform: rotate(0turn); } .server-list-button:checked > image { - transition: 200ms $ease-out-quad; + -gtk-icon-transform: rotate(-0.5turn); } - row.activatable:hover { background-color: transparent; } + row.activatable:hover { + background-color: transparent; + } // this selects the "connect to server" label > actionbar > revealer > box > label {
  39. Download patch src/gtk4/widgets/_overshoot.scss

    --- 5.20.5-1/src/gtk4/widgets/_overshoot.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_overshoot.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,112 @@ +@charset "UTF-8"; + +@mixin overshoot($p, $t:normal, $c:gtk("@theme_fg_color")) { +// +// overshoot +// +// $p: position +// $t: type +// $c: base color +// +// possible $p values: +// top, bottom, right, left +// +// possible $t values: +// normal, backdrop +// + + $_small_gradient_length: 5%; + $_big_gradient_length: 100%; + + $_position: center top; + $_small_gradient_size: 100% $_small_gradient_length; + $_big_gradient_size: 100% $_big_gradient_length; + + @if $p==bottom { + $_position: center bottom; + $_linear_gradient_direction: to top; + } + + @else if $p==right { + $_position: right center; + $_small_gradient_size: $_small_gradient_length 100%; + $_big_gradient_size: $_big_gradient_length 100%; + } + + @else if $p==left { + $_position: left center; + $_small_gradient_size: $_small_gradient_length 100%; + $_big_gradient_size: $_big_gradient_length 100%; + } + + $_small_gradient_color: $c; + $_big_gradient_color: $c; + + @if $c==gtk("@theme_fg_color") { + $_small_gradient_color: gtkshade("@borders", 0.9); + $_big_gradient_color: gtk("@theme_fg_color"); + + @if $t==backdrop { $_small_gradient_color: gtk("@unfocused_borders"); } + } + + $_small_gradient: radial-gradient(circle, + $_small_gradient_color 0%, + gtkalpha($_small_gradient_color, 0) 5px); + + $_big_gradient: radial-gradient(circle, + gtkalpha($_big_gradient_color, 0.07) 0%, + gtkalpha($_big_gradient_color, 0) 6px); + + @if $t==normal { + background-image: $_small_gradient, $_big_gradient; + background-size: $_small_gradient_size, $_big_gradient_size; + } + + @else if $t==backdrop { + background-image: $_small_gradient; + background-size: $_small_gradient_size; + } + + background-repeat: no-repeat; + background-position: $_position; + + background-color: transparent; // reset some properties to be sure to not inherit them somehow + border: none; // + box-shadow: none; // +} + +scrolledwindow { + // This is used when content is touch-dragged past boundaries. + // draws a box on top of the content, the size changes programmatically. + overshoot { + &.top { + @include overshoot(top); + + &:backdrop { @include overshoot(top, backdrop); } + } + + &.bottom { + @include overshoot(bottom); + + &:backdrop { @include overshoot(bottom, backdrop); } + } + + &.left { + @include overshoot(left); + + &:backdrop { @include overshoot(left, backdrop); } + } + + &.right { + @include overshoot(right); + + &:backdrop { @include overshoot(right, backdrop); } + } + } + + // Overflow indication, works similarly to the overshoot, the size if fixed tho. + undershoot { + background-image: none; + border: none; + } +} \ No newline at end of file
  40. Download patch src/gtk4/widgets/_button.scss
  41. Download patch src/gtk4/widgets/_base.scss
  42. Download patch src/gtk3/widgets/_infobar.scss

    --- 5.20.5-1/src/gtk3/widgets/_infobar.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/widgets/_infobar.scss 2021-01-21 12:40:08.000000000 +0000 @@ -27,7 +27,7 @@ infobar { } button { box-shadow: none; - background-image:none; + background-image: none; background-color: gtkalpha(gtk("@warning_color"), 0.5); border-color: gtkalpha(gtk("@warning_color"), 0.5); color: gtk("@theme_button_foreground_normal"); @@ -35,7 +35,8 @@ infobar { background-color: gtkalpha(gtk("@warning_color"), 0.25); border-color: gtk("@warning_color"); } - &:active, &:checked { + &:active, + &:checked { background-color: gtk("@warning_color"); color: gtk("@theme_bg_color"); border-color: gtk("@warning_color"); @@ -49,13 +50,17 @@ infobar { background-color: gtkalpha(gtk("@warning_color_backdrop"), 0.5); border-color: gtkalpha(gtk("@warning_color_backdrop"), 0.5); color: gtk("@theme_button_foreground_backdrop"); - &:active, &:checked { + &:active, + &:checked { background-color: gtk("@warning_color_backdrop"); color: gtk("@theme_unfocused_bg_color"); border-color: gtk("@warning_color_backdrop"); } &:disabled { - background-color: gtkalpha(gtk("@warning_color_insensitive_backdrop"), 0.5); + background-color: gtkalpha( + gtk("@warning_color_insensitive_backdrop"), + 0.5 + ); border-color: gtkalpha(gtk("@warning_color_insensitive_backdrop"), 0.5); color: gtk("@theme_button_foreground_backdrop_insensitive"); }
  43. Download patch src/gtk3/widgets/_misc.scss

    --- 5.20.5-1/src/gtk3/widgets/_misc.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/widgets/_misc.scss 2021-01-21 12:40:08.000000000 +0000 @@ -8,20 +8,22 @@ * Print dialog * *****************/ printdialog { - paper { - color: gtk("@theme_fg_color"); - border: 1px solid gtk("@borders"); - background: white; - padding: 0; - - &:backdrop { - color: gtk("@theme_unfocused_fg_color"); - border-color: gtk("@unfocused_borders"); - background: gtk("@print_paper_backdrop"); - } - } + paper { + color: gtk("@theme_fg_color"); + border: 1px solid gtk("@borders"); + background: white; + padding: 0; + + &:backdrop { + color: gtk("@theme_unfocused_fg_color"); + border-color: gtk("@unfocused_borders"); + background: gtk("@print_paper_backdrop"); + } + } - .dialog-action-box { margin: 12px; } + .dialog-action-box { + margin: 12px; + } } /********** @@ -35,24 +37,32 @@ frame > border, border-radius: 0; border: 1px solid gtk("@borders"); - &.flat { border-style: none; } + &.flat { + border-style: none; + } - &:backdrop { border-color: gtk("@unfocused_borders"); } + &:backdrop { + border-color: gtk("@unfocused_borders"); + } } -actionbar > revealer > box { +actionbar > revealer > box { padding: 6px; border-top: 1px solid gtk("@borders"); - &:backdrop { border-color: gtk("@unfocused_borders"); } + &:backdrop { + border-color: gtk("@unfocused_borders"); + } } scrolledwindow { - viewport.frame { // avoid double borders when viewport inside scrolled window + viewport.frame { + // avoid double borders when viewport inside scrolled window border-style: none; } - junction { // the small square between two scrollbars + junction { + // the small square between two scrollbars border-color: transparent; background-color: transparent; background-image: none; @@ -74,10 +84,16 @@ expander { arrow { min-width: 16px; min-height: 16px; - -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); - &:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-start-symbolic');} - &:hover { color: gtkshade(gtk("@theme_fg_color"),1.3); } //only lightens the arrow - &:checked { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); } + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); + &:dir(rtl) { + -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); + } + &:hover { + color: gtkshade(gtk("@theme_fg_color"), 1.3); + } //only lightens the arrow + &:checked { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + } } } @@ -98,7 +114,9 @@ paned { //&:selected { background-image: image($selected_bg_color); } // FIXME is this needed? - &:backdrop { background-image: image(gtk("@unfocused_borders")); } + &:backdrop { + background-image: image(gtk("@unfocused_borders")); + } &.wide { min-width: 5px; @@ -110,7 +128,7 @@ paned { &:backdrop { background-color: gtk("@theme_unfocused_bg_color"); background-image: image(gtk("@unfocused_borders")), - image(gtk("@unfocused_borders")); + image(gtk("@unfocused_borders")); } } } @@ -157,18 +175,20 @@ paned { *********************/ @keyframes spin { - to { -gtk-icon-transform: rotate(1turn); } + to { + -gtk-icon-transform: rotate(1turn); + } } spinner { - background-image: none; - opacity: 0; // non spinning spinner makes no sense - -gtk-icon-source: -gtk-icontheme('process-working-symbolic'); - &:checked { - opacity: 1; - animation: spin 1s linear infinite; - &:disabled { - opacity: 0.5; - } - } + background-image: none; + opacity: 0; // non spinning spinner makes no sense + -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); + &:checked { + opacity: 1; + animation: spin 1s linear infinite; + &:disabled { + opacity: 0.5; + } + } }
  44. Download patch src/gtk4/widgets/_app_notifications.scss

    --- 5.20.5-1/src/gtk4/widgets/_app_notifications.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_app_notifications.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,46 @@ +@charset "UTF-8"; + +/********************* + * App Notifications * + *********************/ + +.app-notification, +.app-notification.frame { + @extend %osd; + padding: 10px; + border-top-width: 0px; + border-radius: 0px 0px 3px 3px; + &:backdrop { background-image: none; } + button { + @include button(normal); + &.flat { + @extend %undecorated_button; + -gtk-icon-shadow: none; + text-shadow: none; + &:hover { + @extend %undecorated_button; + color: gtk("@theme_button_decoration_hover"); + } + &:active { + @extend %undecorated_button; + color: gtk("@theme_button_decoration_focus"); + } + &:backdrop, + &:disabled, + &:backdrop:disabled { @extend %undecorated_button; } + } + &:hover { @include button(hover); } + &:active, + &:checked, + &:backdrop:active, + &:backdrop:checked { + @include button(active); + } + &:disabled, + &:backdrop:disabled{ + @include button(insensitive); + } + &:backdrop { @include button(backdrop); } + } + border {border: none;} +} \ No newline at end of file
  45. Download patch src/gtk3/widgets/_base.scss

    --- 5.20.5-1/src/gtk3/widgets/_base.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/widgets/_base.scss 2021-01-21 12:40:08.000000000 +0000 @@ -4,33 +4,32 @@ $ease-out-quad: cubic-bezier(0.25, 0.46, * { padding: 0; - -GtkToolButton-icon-spacing: 4; - -GtkTextView-error-underline-color: gtk("@error_color"); + -gtktoolbutton-icon-spacing: 4; + -gtktextview-error-underline-color: gtk("@error_color"); // The size for scrollbars. The slider is 2px smaller, but we keep it // up so that the whole area is sensitive to button presses for the // slider. The stepper button is larger in both directions, the slider // only in the width - -GtkScrolledWindow-scrollbar-spacing: 0; + -gtkscrolledwindow-scrollbar-spacing: 0; - -GtkScrolled-window-overlay-scrolling: FALSE; + -gtkscrolled-window-overlay-scrolling: FALSE; - -GtkToolItemGroup-expander-size: 11; - -GtkTreeView-expander-size: 11; + -gtktoolitemgroup-expander-size: 11; + -gtktreeview-expander-size: 11; - -GtkTreeView-horizontal-separator: 4; + -gtktreeview-horizontal-separator: 4; - -GtkWidget-text-handle-width: 20; - -GtkWidget-text-handle-height: 20; + -gtkwidget-text-handle-width: 20; + -gtkwidget-text-handle-height: 20; - -GtkDialog-button-spacing: 4; - -GtkDialog-action-area-border: 0; + -gtkdialog-button-spacing: 4; + -gtkdialog-action-area-border: 0; outline-width: 0px; } - /*************** * Base States * ***************/ @@ -88,15 +87,16 @@ $ease-out-quad: cubic-bezier(0.25, 0.46, color: gtk("@theme_unfocused_text_color"); background-color: gtk("@theme_unfocused_base_color"); } - + &:disabled { color: gtk("@insensitive_base_fg_color"); } &:selected { - &:focus, & { - border-radius: $r; - @extend %selected_items; + &:focus, + & { + border-radius: $r; + @extend %selected_items; } } } @@ -106,17 +106,24 @@ textview { text { @extend %view; - selection { &:focus, & { @extend %selected_items; }} + selection { + &:focus, + & { + @extend %selected_items; + } + } } } textview border { background-color: gtk("@theme_base_color"); - background-image: image(gtk("@borders")); // HACK: the border node just draws background so, - background-repeat: no-repeat; // using a background-image to draw the border + background-image: image( + gtk("@borders") + ); // HACK: the border node just draws background so, + background-repeat: no-repeat; // using a background-image to draw the border - &:backdrop { - background-color: gtk("@theme_unfocused_base_color"); + &:backdrop { + background-color: gtk("@theme_unfocused_base_color"); } &.bottom { @@ -151,7 +158,9 @@ rubberband { } flowbox { - rubberband { @extend rubberband; } + rubberband { + @extend rubberband; + } flowboxchild { padding: 3px; @@ -169,7 +178,7 @@ label { &.separator { color: gtk("@theme_fg_color"); @extend .dim-label; - &:backdrop { + &:backdrop { color: gtk("@theme_unfocused_fg_color"); } } @@ -180,16 +189,20 @@ label { } &:disabled { color: gtk("@insensitive_fg_color"); - selection { @extend %selected_items:disabled; } + selection { + @extend %selected_items:disabled; + } - &:backdrop { - color: gtk("@insensitive_unfocused_fg_color") + &:backdrop { + color: gtk("@insensitive_unfocused_fg_color"); } } &:backdrop { color: gtk("@theme_unfocused_text_color"); - selction {@extend %selected_items:backdrop;} + selction { + @extend %selected_items:backdrop; + } } } @@ -198,11 +211,11 @@ label { text-shadow: none; } -%osd, +%osd, .osd { color: gtk("@theme_fg_color"); border: 1px solid gtk("@borders"); - background-color: gtkalpha(gtk("@theme_bg_color"),0.8); + background-color: gtkalpha(gtk("@theme_bg_color"), 0.8); background-clip: padding-box; box-shadow: none; text-shadow: none; @@ -231,17 +244,18 @@ label { background-color: gtk("@theme_selected_bg_color"); border-radius: 0px; - @at-root %nobg_selected_items, & { + @at-root %nobg_selected_items, + & { color: gtk("@theme_selected_fg_color"); - &:disabled { + &:disabled { color: gtk("@insensitive_selected_fg_color"); } &:backdrop { color: gtk("@theme_unfocused_selected_fg_color"); - &:disabled { + &:disabled { color: gtk("@insensitive_unfocused_selected_fg_color"); } }
  46. Download patch src/gtk3/widgets/_progressbar.scss
  47. Download patch src/gtk3/widgets/_scrollbar.scss

    --- 5.20.5-1/src/gtk3/widgets/_scrollbar.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/widgets/_scrollbar.scss 2021-01-21 12:40:08.000000000 +0000 @@ -5,9 +5,8 @@ **************/ scrollbar { - - -GtkScrollbar-has-backward-stepper: false; - -GtkScrollbar-has-forward-stepper: false; + -gtkscrollbar-has-backward-stepper: false; + -gtkscrollbar-has-forward-stepper: false; background-color: gtk("@theme_bg_color"); border-width: 0px 0px; @@ -15,48 +14,49 @@ scrollbar { margin: 5px; button { - min-width: 14px; - min-height: 14px; - margin: 0px; - padding: 0px 0px; - border: none; - border-radius: 0px; - background-image: none; - background-color: transparent; - color: transparent; - box-shadow: none; - &:hover { - border: none; - background-image: none; - background-color: gtk("@theme_bg_color"); - color: transparent; - } - &:active, - &:active:hover { - border: none; - background-image: none; - background-color: gtk("@theme_bg_color"); - color: transparent; - } - &:disabled { + min-width: 14px; + min-height: 14px; + margin: 0px; + padding: 0px 0px; border: none; - background-color: gtk("@theme_bg_color"); + border-radius: 0px; background-image: none; + background-color: transparent; color: transparent; + box-shadow: none; + &:hover { + border: none; + background-image: none; + background-color: gtk("@theme_bg_color"); + color: transparent; + } + &:active, + &:active:hover { + border: none; + background-image: none; + background-color: gtk("@theme_bg_color"); + color: transparent; + } + &:disabled { + border: none; + background-color: gtk("@theme_bg_color"); + background-image: none; + color: transparent; } - } + } // Overlay Scrollbars &.dragging, // if this isn't set, the scrollbars don't update their size correctly - &.hovering { opacity: 0.9910; } // probably a gtk bug - &.overlay-indicator:not(.dragging):not(.hovering) { opacity: 0.999; } // - - + &.hovering { + opacity: 0.991; + } // probably a gtk bug &.overlay-indicator:not(.dragging):not(.hovering) { - -GtkScrollbar-has-backward-stepper: false; - -GtkScrollbar-has-forward-stepper: false; - + opacity: 0.999; + } // + &.overlay-indicator:not(.dragging):not(.hovering) { + -gtkscrollbar-has-backward-stepper: false; + -gtkscrollbar-has-forward-stepper: false; } &.overlay-indicator { @@ -71,15 +71,15 @@ scrollbar { border-radius: 8px; background-color: transparent; } - + &:hover { trough { background-color: $trough_color_backdrop; min-width: 6px; } slider { - min-width: 6px; - background-color: gtk("@theme_button_decoration_hover"); + min-width: 6px; + background-color: gtk("@theme_button_decoration_hover"); } } @@ -98,11 +98,11 @@ scrollbar { min-height: 6px; } &.horizontal slider { - min-height: 6px; - background-color: gtk("@theme_button_decoration_hover"); + min-height: 6px; + background-color: gtk("@theme_button_decoration_hover"); } } - + slider { //margin: 0px; transition-duration: 0.1s; @@ -112,9 +112,8 @@ scrollbar { background-clip: padding-box; background-color: gtkalpha(gtk("@theme_fg_color"), 0.5); &:hover { - min-width: 6px; - background-color: gtk("@theme_button_decoration_hover"); - + min-width: 6px; + background-color: gtk("@theme_button_decoration_hover"); } } &.horizontal slider { @@ -125,10 +124,8 @@ scrollbar { background-clip: padding-box; background-color: gtkalpha(gtk("@theme_fg_color"), 0.5); &:hover { - min-height: 6px; - background-color: gtk("@theme_button_decoration_hover"); - + min-height: 6px; + background-color: gtk("@theme_button_decoration_hover"); } - } }
  48. Download patch src/gtk4/widgets/_typography.scss

    --- 5.20.5-1/src/gtk4/widgets/_typography.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_typography.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,40 @@ +.large-title { + font-weight: 300; + font-size: 24pt; +} +.title { + font-weight: 700; + font-size: 13pt; +} +.title-1 { + font-weight: 800; + font-size: 20pt; +} +.title-2 { + font-weight: 800; + font-size: 15pt; +} +.title-3 { + font-weight: 700; + font-size: 15pt; +} +.title-4 { + font-weight: 700; + font-size: 13pt; +} +.heading { + font-weight: 700; + font-size: 11pt; +} +.body { + font-weight: 400; + font-size: 11pt; +} +.caption-heading { + font-weight: 700; + font-size: 9pt; +} +.caption { + font-weight: 400; + font-size: 9pt; +}
  49. Download patch src/gtk4/widgets/_floating-bar.scss

    --- 5.20.5-1/src/gtk4/widgets/_floating-bar.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_floating-bar.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,8 @@ + +.floating-bar { + background-color: gtk("@tooltip_background"); + color: gtk("@tooltip_text"); + border: 1px solid gtk("@tooltip_border"); + border-radius: $r; + margin: 3px; +} \ No newline at end of file
  50. Download patch src/gtk4/widgets/_toolbar.scss

    --- 5.20.5-1/src/gtk4/widgets/_toolbar.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_toolbar.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,71 @@ +@charset "UTF-8"; + +/************ + * Toolbars * + ************/ + %toolbar { + padding: 4px; + background-color: gtk("@theme_bg_color"); +} +toolbar { + @extend %toolbar; + padding: 4px 3px 3px 4px; + &:backdrop { + background-color: gtk("@theme_unfocused_bg_color"); + box-shadow: none; + } + button { + margin: 2px; + padding: 3px; + &.image-button, &.text-button.image-button { + padding: 3px; + } + } + separator { + margin-left: 3px; + margin-right: 3px; + } + entry { + margin: 3px; + } + // on OSD + .osd & { background-color: transparent; } + &.osd { + padding: 13px; + border: none; + border-radius: $r; + background-color: gtk("@theme_bg_color"); + &:backdrop { + border-color: gtk("@unfocused_borders"); + background-color: gtk("@theme_unfocused_bg_color"); + box-shadow: none; + } + &.left, + &.right, + &.top, + &.bottom { border-radius: 0; } // positional classes for `attached` osd toolbars + } +} + +//searchbar, location-bar & inline-toolbar +.inline-toolbar { + @extend %toolbar; + @extend %inset-bar; + border-width: 0px 0px 1px 0px; + padding: 3px; + border-radius: 0; +} +searchbar, +.location-bar { + @extend %toolbar; + @extend %inset-bar; + border-width: 0px 0px 1px 0px; + padding: 3px; +} + +%inset-bar { + border-style: solid; + border-color: gtk("@borders"); + text-shadow: none; + background-color: gtk("@theme_bg_color"); +}
  51. Download patch src/gtk4/widgets/_calendar.scss

    --- 5.20.5-1/src/gtk4/widgets/_calendar.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_calendar.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,66 @@ +@charset "UTF-8"; + +/************ + * Calendar * + ***********/ +calendar { + color: gtk("@theme_text_color"); + border: 1px solid gtk("@borders"); + background-color: gtk("@theme_base_color"); + &:selected { + background-color: gtk("@borders"); + } + &:disabled { + color: gtk("@insensitive_base_fg_color"); + } + + &.header { + border: 1px solid gtk("@borders"); + border-radius: 0; + color: gtk("@theme_text_color"); + + &:backdrop { + color: gtk("@theme_unfocused_text_color"); + border-color: gtk("@unfocused_borders"); + } + + &:disabled { + color: gtk("@insensitive_base_fg_color"); + } + } + + &.button { + @extend %undecorated_button; + color: gtk("@theme_button_foreground_normal"); + + &:hover { + @extend %undecorated_button; + color: gtk("@theme_button_decoration_hover"); + } + &:active { + @extend %undecorated_button; + color: gtk("@theme_button_decoration_focus"); + } + &:backdrop { + @extend %undecorated_button; + color: gtk("@theme_button_foreground_backdrop"); + } + } + + &:indeterminate, + &.highlight { + color: gtkalpha(gtk("@theme_text_color"),0.5); + } + + &:indeterminate:backdrop, + &.highlight:backdrop { + color:gtkalpha(gtk("@theme_unfocused_text_color"),0.5); + } + + + &:backdrop { + color: gtk("@theme_unfocused_text_color"); + border-color: gtk("@unfocused_borders"); + background-color: gtk("@theme_unfocused_base_color"); + } +}
  52. Download patch src/gtk3/widgets/_floating-bar.scss

    --- 5.20.5-1/src/gtk3/widgets/_floating-bar.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/widgets/_floating-bar.scss 2021-01-21 12:40:08.000000000 +0000 @@ -1,8 +1,7 @@ - .floating-bar { - background-color: gtk("@tooltip_background"); - color: gtk("@tooltip_text"); - border: 1px solid gtk("@tooltip_border"); - border-radius: $r; - margin: 3px; -} \ No newline at end of file + background-color: gtk("@tooltip_background"); + color: gtk("@tooltip_text"); + border: 1px solid gtk("@tooltip_border"); + border-radius: $r; + margin: 3px; +}
  53. Download patch src/gtk4/gtk.scss

    --- 5.20.5-1/src/gtk4/gtk.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/gtk.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,39 @@ +@charset "UTF-8"; + +$new-highlight: false; + +@import 'global'; +@import '../functions'; +@import '../colors'; + +@import "widgets/base"; +@import "widgets/button"; +@import "widgets/entry"; +@import "widgets/app_notifications"; +@import "widgets/calendar"; +@import "widgets/checkboxes"; +@import "widgets/color_chooser"; +@import "widgets/dialogs"; +@import "widgets/headerbar"; +@import "widgets/infobar"; +@import "widgets/link"; +@import "widgets/lists"; +@import "widgets/menus"; +@import "widgets/misc"; +@import "widgets/notebook"; +@import "widgets/overshoot"; +@import "widgets/pathbar"; +@import "widgets/progressbar"; +@import "widgets/scale"; +@import "widgets/scrollbar"; +@import "widgets/sidebar"; +@import "widgets/spinbutton"; +@import "widgets/switch"; +@import "widgets/toolbar"; +@import "widgets/tooltips"; +@import "widgets/treeview"; +@import "widgets/window_decorations"; +@import "widgets/libhandy"; +@import "widgets/assistant"; +@import "widgets/floating-bar"; +@import "widgets/typography";
  54. Download patch src/gtk3/widgets/_link.scss

    --- 5.20.5-1/src/gtk3/widgets/_link.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/widgets/_link.scss 2021-01-21 12:40:08.000000000 +0000 @@ -8,28 +8,47 @@ color: gtk("@link_color"); &:visited { color: gtk("@link_visited_color"); - *:selected & { - color: gtkmix(gtk("@theme_selected_fg_color"), gtk("@theme_selected_bg_color"), 0.6); + *:selected & { + color: gtkmix( + gtk("@theme_selected_fg_color"), + gtk("@theme_selected_bg_color"), + 0.6 + ); } } &:hover { color: gtkshade("@link_color", 1.1); - *:selected & { - color: gtkmix(gtk("@theme_selected_fg_color"), gtk("@theme_selected_bg_color"), 0.9); + *:selected & { + color: gtkmix( + gtk("@theme_selected_fg_color"), + gtk("@theme_selected_bg_color"), + 0.9 + ); } } &:active { color: gtk("@link_color"); *:selected & { - color: gtkmix(gtk("@theme_selected_fg_color"), gtk("@theme_selected_bg_color"), 0.8); + color: gtkmix( + gtk("@theme_selected_fg_color"), + gtk("@theme_selected_bg_color"), + 0.8 + ); } } - &:backdrop, &:backdrop:hover, &:backdrop:hover:selected { + &:backdrop, + &:backdrop:hover, + &:backdrop:hover:selected { color: gtk("@theme_unfocused_selected_bg_color"); } @at-root %link_selected, - &:selected, *:selected & { - color: gtkmix(gtk("@theme_selected_fg_color"), gtk("@theme_selected_bg_color"), 0.8); + &:selected, + *:selected & { + color: gtkmix( + gtk("@theme_selected_fg_color"), + gtk("@theme_selected_bg_color"), + 0.8 + ); } }
  55. Download patch src/gtk4/widgets/_scale.scss

    --- 5.20.5-1/src/gtk4/widgets/_scale.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_scale.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,99 @@ +@charset "UTF-8"; + +/************ + * GtkScale * + ************/ +scale { + + &.fine-tune { + &.trough { + margin: 8px; + border-radius: $r; + } + } + + slider { + min-width: 18px; + min-height: 18px; + background-color: gtk("@theme_button_background_normal"); + border: 1px solid gtk("@borders"); + border-radius: 50%; + box-shadow: none; + margin: -9px; + &:hover { + border-style: solid; + border-width: 2px; + border-color: gtk("@theme_button_decoration_hover"); + border-radius: 50%; // needed for double marks scales + &:backdrop { + background-color: gtk("@theme_button_background_backdrop"); + border-color: gtk("@theme_button_decoration_hover_insensitive"); + } + } + &:disabled { + border-style: solid; // needed for double marks scales or they'll get + border-radius: 50%; // overridden + background-color: gtkalpha(gtk("@theme_button_background_insensitive"), 100.0); + opacity: 1.0; + border-color: gtk("@insensitive_borders"); + &:backdrop { + background-color: gtkalpha(gtk("@theme_button_background_backdrop_insensitive"), 100.0); + border-color: gtk("@unfocused_insensitive_borders"); + } + } + &:active { + border: 2px solid gtk("@theme_button_decoration_focus"); + &:backdrop { + background-color: gtk("@theme_button_background_normal"); + border-color: gtk("@theme_button_decoration_focus_backdrop"); + } + } + &:backdrop { + background-color: gtk("@theme_button_background_backdrop"); + border-color: gtk("@unfocused_borders"); + } + } + trough { + min-width: 6px; + min-height: 6px; + margin: 9px; + border: 0px solid; + border-radius: $r; + background-color: $trough_color; + box-shadow: none; + + &:disabled, &.vertical:disabled { + border-color: $trough_color_insensitive; + background-color: $trough_color_insensitive; + box-shadow: none; + &:backdrop { + background-color: $trough_color_backdrop_insensitive; + border-color: $trough_color_backdrop_insensitive; + } + } + &:backdrop { + background-color: $trough_color_backdrop; + border-color: $trough_color_backdrop; + } + } + highlight { + border: 0px solid; + border-radius: 3px; + background-color: gtk("@theme_selected_bg_color"); + border-color: gtk("@theme_selected_bg_color"); + &.vertical { + background-color: gtk("@theme_selected_bg_color"); + border-color: gtk("@theme_selected_bg_color"); + } + &:disabled { + background-color: gtk("@insensitive_selected_bg_color"); + } + &:backdrop { + background-color: gtk("@theme_unfocused_selected_bg_color"); + border-color: gtk("@theme_unfocused_selected_bg_color"); + &:disabled { + background-color: gtk("@insensitive_unfocused_selected_bg_color"); + } + } + } +}
  56. Download patch src/gtk4/widgets/_notebook.scss
  57. Download patch src/gtk4/widgets/_dialogs.scss

    --- 5.20.5-1/src/gtk4/widgets/_dialogs.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_dialogs.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,65 @@ +@charset "UTF-8"; + +/*********** + * Dialogs * + ***********/ + +// .message-dialog .dialog-action-area .button { +// //padding: 8px; +// } + +messagedialog { // Message Dialog styling + + &.background { + background-color: gtk("@theme_bg_color"); + } + &:backdrop { + background-color: gtk("@theme_unfocused_bg_color"); + } + .titlebar { + min-height: 32px; + background-color: transparent; + background-image: linear-gradient(to bottom, gtkshade("@theme_titlebar_background", 1.2117647),gtk("@theme_titlebar_background")); + box-shadow: none; + } + .dialog-action-area { + padding: 8px; + } + button { margin: 2px; } +} + +filechooser { + .search-bar { + background-color: gtk("@theme_bg_color"); + border-color: gtk("@theme_bg_color"); + box-shadow: none; + &:backdrop { + background-color: gtk("@theme_unfocused_bg_color"); + border-color: gtk("@theme_unfocused_bg_color"); + color: gtk("@theme_unfocused_text_color"); + } + } + .dialog-action-box { + border-top: 1px solid gtk("@borders"); + &:backdrop { border-top-color: gtk("@unfocused_borders"); } + } + #pathbarbox { + background-color: gtk("@theme_bg_color"); + border-bottom: 1px solid gtk("@borders"); + } +} + +.dialog-action-box { + margin-top: 8px; + + button { + border-radius: 0px; + + &:first-child { + border-radius: $r 0 0 $r; + } + &:last-child { + border-radius: 0 $r $r 0; + } + } +}
  58. Download patch src/gtk4/widgets/_headerbar.scss

    --- 5.20.5-1/src/gtk4/widgets/_headerbar.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_headerbar.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,191 @@ +@charset "UTF-8"; + +/*************** + * Header bars * + ***************/ + +%titlebar, +headerbar { + + padding: 0px 6px; + border-width: 0px 0px 1px 0px; + border-radius: 3px 3px 0px 0px; + border-style: solid; + border-color: gtk("@borders"); + color: gtk("@theme_titlebar_foreground"); + background-image: none; + background-color: gtk("@theme_titlebar_background"); + &:backdrop { + border-color: transparent; + background-image: none; + background-color: gtk("@theme_titlebar_background_backdrop"); + color: gtk("@theme_titlebar_foreground_backdrop"); + box-shadow: none; + } + label { + font-weight: normal; + &:backdrop { color: gtk("@theme_titlebar_foreground_backdrop"); } + } + .path-bar button { + color: gtk("@theme_titlebar_foreground"); + font-weight: normal; + &:backdrop { + color: gtk("@theme_titlebar_foreground_backdrop"); + } + } + button { + + @include button(undecorated); + color: gtk("@theme_titlebar_foreground"); + + &.flat { + @include button(undecorated); + color: gtk("@theme_titlebar_foreground"); + } + &:hover { + @include button(hover); + color: gtk("@theme_titlebar_foreground"); + &:backdrop { + @include button(backdrop-hover); + } + } + &:active, &:checked { + @include button(active); + &:hover { + @include button(active-hover); + } + &:backdrop { + background-image: none; + background-color: gtk("@theme_titlebar_background_backdrop"); + border-color: gtk("@theme_titlebar_background_backdrop"); + color: gtk("@theme_titlebar_foreground_backdrop"); + &:hover { + @include button(backdrop-hover); + } + } + } + + &.suggested-action { + @extend %suggested-action; + } + + &:backdrop { + border-color: transparent; + background-image: none; + background-color: gtk("@theme_titlebar_background_backdrop"); + color: gtk("@theme_titlebar_foreground_backdrop"); + } + + &.flat:backdrop, &.flat:backdrop:disabled, &:disabled:backdrop { + background-image: none; + background-color: gtk("@theme_titlebar_background_backdrop"); + color: gtk("@theme_titlebar_foreground_backdrop"); + border-color: transparent; + } + &.flat:disabled { + @extend %undecorated_button;; + color: gtk("@theme_titlebar_foreground_insensitive"); + } + &:disabled { + background-color: transparent; + background-image: none; + border-color: transparent; + color: gtk("@theme_titlebar_foreground_insensitive"); + &:active, &:checked { + @include button(insensitive-active); + } + } + } + + .title { + font-weight: normal; + padding: 0px 12px; + &:backdrop { + color: gtk("@theme_titlebar_foreground_backdrop"); + } + } + + .subtitle { + font-size: smaller; + padding: 0 12px; + @extend .dim-label; + &:backdrop { + color: gtk("@theme_titlebar_foreground_backdrop"); + } + } + + separator { + border-width: 0px; + background-color: transparent; + background-image: none; + border-color: transparent; + } + + &.selection-mode, &.selection-mode headerbar { + background-color: gtkmix("@theme_titlebar_background", "@theme_button_decoration_focus", 0.5); + separator { + background-color: gtk("@theme_button_decoration_focus"); + } + button:not(.titlebutton) { + background-color: gtkalpha(gtk("@theme_button_decoration_focus"), 0.5); + &:active, &:focus { + background-color: gtk("@theme_button_decoration_focus"); + } + } + + &.suggested-action { + @extend %suggested-action; + } + + .subtitle:link { @extend *:link:selected; } + + .selection-menu { + padding: 4px 6px; + + .arrow { + -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); + -gtk-icon-shadow: none; + } + } + } + + .tiled &, .maximized & { + border-radius: 0; // squared corners when the window is max'd or tiled + } +} + +headerbar { + // add vertical margins to headerbar entries, buttons and separators to avoid them spanning the whole height + entry, + spinbutton, + separator, + button { + margin-top: 3px; + margin-bottom: 3px; + } +} + +%suggested-action { + background-image: none; + background-color: gtk("@theme_button_decoration_focus"); + &:hover { + background-color: gtk("@theme_button_decoration_hover"); + color: gtk("@theme_button_foreground_normal"); + } + &:disabled { + background-color: transparent; + background-image: none; + color: gtk("@theme_titlebar_foreground_insensitive"); + &:active, &:checked { + @include button(insensitive-active); + } + } + &:backdrop { + background-color: gtk("@theme_titlebar_background_backdrop"); + border-color: transparent; + color: gtk("@theme_titlebar_foreground_backdrop"); + &:disabled { + color: gtk("@theme_titlebar_foreground_insensitive_backdrop"); + } + } +}
  59. Download patch src/gtk3/widgets/_libhandy.scss

    --- 5.20.5-1/src/gtk3/widgets/_libhandy.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/widgets/_libhandy.scss 2021-01-21 12:40:08.000000000 +0000 @@ -1,51 +1,66 @@ @charset "UTF-8"; hdydialer { - button { - font-weight: lighter; - background-color: transparent; - border: 0; - box-shadow: none; - &:backdrop { - background-color: transparent; - } - &:focus { - background-color: transparent; - border: none; - } + button { + font-weight: lighter; + background-color: transparent; + border: 0; + box-shadow: none; + &:backdrop { + background-color: transparent; + } + &:focus { + background-color: transparent; + border: none; } + } } hdyviewswitcher { - > button { - border: 0; - background-color: transparent; - &:backdrop:hover, &:hover, &:active, &:hover:focus, &:active:focus, &:checked, &:checked:hover { - background-color: transparent; - } - &:checked, &:checked:backdrop { - border-top: 0; - border-left: 0; - border-right: 0; - background-color: transparent; - > stack { - border-bottom: 3px solid transparent; - border-top: 3px solid gtk("@theme_button_decoration_focus"); - } - } - &.needs-attention > stack > box label { - animation: needs_attention 150ms ease-in; - background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(gtk("@theme_button_decoration_focus")), to(transparent)); - background-size: 6px 6px, 6px 6px; - background-repeat: no-repeat; - background-position: right 0px, right 1px; - } + > button { + border: 0; + background-color: transparent; + &:backdrop:hover, + &:hover, + &:active, + &:hover:focus, + &:active:focus, + &:checked, + &:checked:hover { + background-color: transparent; + } + &:checked, + &:checked:backdrop { + border-top: 0; + border-left: 0; + border-right: 0; + background-color: transparent; + > stack { + border-bottom: 3px solid transparent; + border-top: 3px solid gtk("@theme_button_decoration_focus"); + } + } + &.needs-attention > stack > box label { + animation: needs_attention 150ms ease-in; + background-image: -gtk-gradient( + radial, + center center, + 0, + center center, + 0.5, + to(gtk("@theme_button_decoration_focus")), + to(transparent) + ); + background-size: 6px 6px, 6px 6px; + background-repeat: no-repeat; + background-position: right 0px, right 1px; } + } } headerbar hdyviewswitcher > button:checked > stack { - &:backdrop { - border-top: 3px solid transparent; - border-bottom: 3px solid gtk("@theme_button_decoration_focus"); - } + &:backdrop { border-top: 3px solid transparent; border-bottom: 3px solid gtk("@theme_button_decoration_focus"); -} \ No newline at end of file + } + border-top: 3px solid transparent; + border-bottom: 3px solid gtk("@theme_button_decoration_focus"); +}
  60. Download patch src/gtk4/widgets/_treeview.scss

    --- 5.20.5-1/src/gtk4/widgets/_treeview.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_treeview.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,176 @@ +@charset "UTF-8"; + +@mixin item-hover-middle { + @if $new-highlight { + background-color: gtk("@theme_selected_bg_color"); + border-left-color: gtk("@theme_selected_fg_color"); + border-top-color: gtk("@theme_selected_fg_color"); + } @else { + background-color: gtkalpha(gtk("@theme_selected_bg_color"), 0.3); + border-left-color: gtk("@theme_fg_color"); + border-top-color: gtk("@theme_fg_color"); + } +} + +@mixin item-selected-middle { + @if $new-highlight { + background-color: gtkalpha(gtk("@theme_button_decoration_focus"), 0.3); + color: gtk("@theme_button_foreground_active"); + border: 1px solid gtk("@theme_button_decoration_focus"); + border-left: 0; + border-right: 0; + border-radius: 0px; + } @else { + background-color: gtk("@theme_selected_bg_color"); + border-left-color: gtk("@theme_selected_fg_color"); + border-top-color: gtk("@theme_selected_fg_color"); + } +} + +@mixin item-selected-middle-backdrop { + @if $new-highlight { + background-color: gtkalpha(gtk("@theme_button_decoration_focus_backdrop"), 0.3); + color: gtk("@theme_button_foreground_active_backdrop"); + border: 1px solid gtk("@theme_button_decoration_focus_backdrop"); + border-left: 0; + border-right: 0; + border-radius: 0px; + } @else { + background-color: gtk("@theme_unfocused_selected_bg_color"); + border-left-color: gtk("@theme_unfocused_selected_fg_color"); + border-top-color: gtk("@theme_unfocused_selected_fg_color"); + } +} + +/************** + * Tree Views * + **************/ +treeview.view { + + border-left-color: gtk("@borders"); // this is actually the tree lines color, + border-top-color: transparent; // while this is the grid lines color, better then nothing + + rubberband { @extend rubberband; } // to avoid borders being overridden by the previously set props + + &:selected { border-radius: 0; } // rest border radius in lists + + &:hover { + @include item-hover-middle(); + } + + &:selected { + @include item-selected-middle(); + } + + &:backdrop:selected { + @include item-selected-middle-backdrop(); + } + + &:disabled { + color: gtk("@insensitive_borders"); + &:selected { + color: gtk("@insensitive_selected_fg_color"); + &:backdrop { color: gtk("@insensitive_unfocused_selected_fg_color"); } + } + &:backdrop { color: gtk("@unfocused_insensitive_borders"); } + } + &.separator { + min-height: 2px; + color: gtk("@borders"); + } + &.separator:backdrop { + color: gtk("@unfocused_borders"); + } + + &:backdrop { + border-left-color: gtk("@unfocused_borders"); + } + + &:drop(active) { + border-style: solid none; + border-width: 1px; + border-color: gtk("@theme_button_decoration_hover"); + } + + &.expander { + // GtkTreeView uses the larger of the expander’s min-width and min-height + min-width: 16px; + min-height: 16px; + -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); + color: gtk("@theme_fg_color"); + &:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-start-symbolic'); }; + &:hover { color: gtk("@theme_button_decoration_hover"); } + &:selected { color: gtk("@theme_selected_fg_color"); } + &:checked { + -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); + &:selected { color: gtk("@theme_selected_fg_color"); } + &:backdrop { color: gtk("@theme_unfocused_base_color"); } + } + &:backdrop { color: gtk("@theme_unfocused_base_color"); } + } + header { + button { + @extend %column_header_button; + color: gtk("@theme_button_foreground_normal"); + background-color: gtk("@theme_button_background_normal"); + text-shadow: none; + box-shadow: none; + &:hover { + @extend %column_header_button; + color: gtk("@theme_button_foreground_normal"); + background-color: gtkalpha(gtk("@theme_button_decoration_hover"), 0.5); + box-shadow: none; + + } + &:active { + @extend %column_header_button; + color: gtk("@theme_button_foreground_normal"); + background-color: gtkalpha(gtk("@theme_button_decoration_hover"), 0.5); + + } + } + button:last-child { &:backdrop, & { border-right-style: none; }} + } + button.dnd, + header.button.dnd { // for treeview-like derive widgets + &:active, &:selected, &:hover, & { + padding: 0 6px; + color: gtk("@theme_selected_fg_color"); + background-image: none; + background-color: gtk("@theme_selected_bg_color"); + border-style: none; + border-radius: 0; + box-shadow: none; + text-shadow: none; + + } + } +} + +%column_header_button { + padding: 6px; + border-style: none solid solid none; + border-radius: 0; + background-image: none; + border-color: gtk("@borders"); + text-shadow: none; + &:disabled { + border-color: gtk("@insensitive_borders"); + color: gtk("@theme_button_foreground_insensitive"); + background-color: gtk("@theme_button_background_insensitive"); + background-image: none; + } + &:backdrop { + border-color: gtk("@unfocused_borders"); + border-style: none solid solid none; + color: gtk("@theme_button_foreground_backdrop"); + background-image: none; + background-color: gtk("@theme_button_background_backdrop"); + &:disabled { + border-color: gtk("@unfocused_insensitive_borders"); + background-image: none; + background-color: gtk("@theme_button_background_backdrop_insensitive"); + color: gtk("@theme_button_foreground_backdrop_insensitive"); + } + } +}
  61. Download patch src/gtk4/widgets/_infobar.scss

    --- 5.20.5-1/src/gtk4/widgets/_infobar.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_infobar.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,70 @@ +@charset "UTF-8"; + +/************** + * GtkInfoBar * + **************/ +infobar { + border-style: none; + border-bottom: 1px solid gtk("@borders"); + background-color: gtk("@theme_bg_color"); + background-image: none; + &:backdrop { + border-bottom: 1px solid gtk("@unfocused_borders"); + } +} + +.info, +.question, +.warning, +.error { + background-color: gtk("@theme_bg_color"); + background-image: none; + color: gtk("@warning_color"); + text-shadow: none; + &:backdrop { + background-color: gtk("@theme_unfocused_bg_color"); + color: gtk("@warning_color_backdrop"); + } + button { + box-shadow: none; + background-image:none; + background-color: gtkalpha(gtk("@warning_color"), 0.5); + border-color: gtkalpha(gtk("@warning_color"), 0.5); + color: gtk("@theme_button_foreground_normal"); + &:hover { + background-color: gtkalpha(gtk("@warning_color"), 0.25); + border-color: gtk("@warning_color"); + } + &:active, &:checked { + background-color: gtk("@warning_color"); + color: gtk("@theme_bg_color"); + border-color: gtk("@warning_color"); + } + &:disabled { + background-color: gtkalpha(gtk("@warning_color_insensitive"), 0.5); + border-color: gtkalpha(gtk("@warning_color_insensitive"), 0.5); + color: gtk("@theme_button_foreground_insensitive"); + } + &:backdrop { + background-color: gtkalpha(gtk("@warning_color_backdrop"), 0.5); + border-color: gtkalpha(gtk("@warning_color_backdrop"), 0.5); + color: gtk("@theme_button_foreground_backdrop"); + &:active, &:checked { + background-color: gtk("@warning_color_backdrop"); + color: gtk("@theme_unfocused_bg_color"); + border-color: gtk("@warning_color_backdrop"); + } + &:disabled { + background-color: gtkalpha(gtk("@warning_color_insensitive_backdrop"), 0.5); + border-color: gtkalpha(gtk("@warning_color_insensitive_backdrop"), 0.5); + color: gtk("@theme_button_foreground_backdrop_insensitive"); + } + &:disabled:active, + &:disabled:checked { + background-color: gtk("@warning_color_insensitive_backdrop"); + color: gtk("@insensitive_unfocused_bg_color"); + border-color: gtk("@warning_color_insensitive_backdrop"); + } + } + } +}
  62. Download patch src/gtk3/widgets/_window_decorations.scss
  63. Download patch src/gtk-dark-3.0.css

    --- 5.20.5-1/src/gtk-dark-3.0.css 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk-dark-3.0.css 2021-01-21 12:40:08.000000000 +0000 @@ -1 +1 @@ -@import url("../../Breeze-Dark/gtk-3.0/gtk.css"); \ No newline at end of file +@import url("../../Breeze-Dark/gtk-3.0/gtk.css");
  64. Download patch src/gtk4/widgets/_misc.scss

    --- 5.20.5-1/src/gtk4/widgets/_misc.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_misc.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,174 @@ +@charset "UTF-8"; + +/******** + * Misc * + ********/ + +/**************** +* Print dialog * +*****************/ +printdialog { + paper { + color: gtk("@theme_fg_color"); + border: 1px solid gtk("@borders"); + background: white; + padding: 0; + + &:backdrop { + color: gtk("@theme_unfocused_fg_color"); + border-color: gtk("@unfocused_borders"); + background: gtk("@print_paper_backdrop"); + } + } + + .dialog-action-box { margin: 12px; } +} + +/********** +* Frames * +**********/ +frame > border, +.frame { + box-shadow: none; + margin: 0; + padding: 0; + border-radius: 0; + border: 1px solid gtk("@borders"); + + &.flat { border-style: none; } + + &:backdrop { border-color: gtk("@unfocused_borders"); } +} + +actionbar > revealer > box { + padding: 6px; + border-top: 1px solid gtk("@borders"); + + &:backdrop { border-color: gtk("@unfocused_borders"); } +} + +scrolledwindow { + viewport.frame { // avoid double borders when viewport inside scrolled window + border-style: none; + } + + junction { // the small square between two scrollbars + border-color: transparent; + background-color: transparent; + background-image: none; + } +} + +//vbox and hbox separators +separator { + background: gtk("@borders"); + min-width: 1px; + min-height: 1px; +} + +/************* +* Expanders * +*************/ + +expander { + arrow { + min-width: 16px; + min-height: 16px; + -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); + &:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-start-symbolic');} + &:hover { color: gtkshade(gtk("@theme_fg_color"),1.3); } //only lightens the arrow + &:checked { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); } + } +} + +/********* +* Paned * +*********/ + +paned { + > separator { + min-width: 1px; + min-height: 1px; + -gtk-icon-source: none; // defeats the ugly default handle decoration + border-style: none; // just to be sure + background-color: transparent; + // workaround, using background istead of a border since the border will get rendered twice (?) + background-image: image(gtk("@borders")); + background-size: 1px 1px; + + //&:selected { background-image: image($selected_bg_color); } // FIXME is this needed? + + &:backdrop { background-image: image(gtk("@unfocused_borders")); } + + &.wide { + min-width: 5px; + min-height: 5px; + background-color: gtk("@theme_bg_color"); + background-image: image(gtk("@borders")), image(gtk("@borders")); + background-size: 1px 1px, 1px 1px; + + &:backdrop { + background-color: gtk("@theme_unfocused_bg_color"); + background-image: image(gtk("@unfocused_borders")), + image(gtk("@unfocused_borders")); + } + } + } + + &.horizontal > separator { + background-repeat: repeat-y; + + &:dir(ltr) { + margin: 0 -8px 0 0; + padding: 0 8px 0 0; + background-position: left; + } + &:dir(rtl) { + margin: 0 0 0 -8px; + padding: 0 0 0 8px; + background-position: right; + } + + &.wide { + margin: 0; + padding: 0; + background-repeat: repeat-y, repeat-y; + background-position: left, right; + } + } + + &.vertical > separator { + margin: 0 0 -8px 0; + padding: 0 0 8px 0; + background-repeat: repeat-x; + background-position: top; + + &.wide { + margin: 0; + padding: 0; + background-repeat: repeat-x, repeat-x; + background-position: bottom, top; + } + } +} + +/********************* +* Spinner Animation * +*********************/ + +@keyframes spin { + to { -gtk-icon-transform: rotate(1turn); } +} + +spinner { + background-image: none; + opacity: 0; // non spinning spinner makes no sense + -gtk-icon-source: -gtk-icontheme('process-working-symbolic'); + &:checked { + opacity: 1; + animation: spin 1s linear infinite; + &:disabled { + opacity: 0.5; + } + } +}
  65. Download patch src/gtk4/widgets/_menus.scss
  66. Download patch src/gtk3/widgets/_lists.scss

    --- 5.20.5-1/src/gtk3/widgets/_lists.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/widgets/_lists.scss 2021-01-21 12:40:08.000000000 +0000 @@ -24,13 +24,17 @@ list { background-color: gtk("@theme_unfocused_bg_color"); color: gtk("@theme_unfocused_fg_color"); } - row { padding: 2px; } + row { + padding: 2px; + } } row { - transition: all 150ms $ease-out-quad; - &:hover { transition: none; } + + &:hover { + + } &.activatable { @if $new-highlight { @@ -39,7 +43,7 @@ row { &.has-open-popup, // this is for indicathing which row generated a popover see https://bugzilla.gnome.org/show_bug.cgi?id=754411 - &:hover { + &:hover { @include list-item-highlight(); } @@ -59,11 +63,13 @@ row { @include list-item-highlight(); } - &:backdrop { + &:backdrop { background-color: gtk("@theme_unfocused_selected_bg_color_alt"); } } } - &:selected { @extend %selected_items; } -} \ No newline at end of file + &:selected { + @extend %selected_items; + } +}
  67. Download patch src/gtk4/widgets/_entry.scss

    --- 5.20.5-1/src/gtk4/widgets/_entry.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_entry.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,153 @@ +@charset "UTF-8"; + +@mixin entry($t, $fc:gtk("@theme_view_active_decoration_color")) { +// +// Entries drawing function +// +// $t: entry type +// $fc: focus color +// $edge: set to none to not draw the bottom edge or specify a color to not +// use the default one +// +// possible $t values: +// normal, focus, insensitive, backdrop, backdrop-insensitive, osd, osd-focus, osd-backdrop; +// + @if $t==normal { + color: gtk("@theme_text_color"); + border-color: gtk("@borders"); + background-color: gtk("@theme_base_color"); + box-shadow: none; + } + + @if $t==focus { + border-color: $fc; + } + + @if $t==insensitive { + color: gtk("@insensitive_base_fg_color"); + border-color: gtk("@insensitive_borders"); + background-color: gtk("@insensitive_base_color"); + } + + @if $t==backdrop { + color: gtk("@theme_unfocused_text_color"); + border-color: gtk("@unfocused_borders"); + background-color: gtk("@theme_unfocused_base_color"); + } + + @if $t==backdrop-insensitive { + color: gtk("@theme_unfocused_view_text_color"); + border-color: gtk("@unfocused_insensitive_borders"); + background-color: gtk("@theme_unfocused_view_bg_color"); + } +} + +/**************** + * Text Entries * + ****************/ + +%entry, +entry { + %entry_basic, & { + min-height: 30px; + padding-left: 8px; + padding-right: 8px; + border: 1px solid; + border-radius: $r; + + + @include entry(normal); + + image { // icons inside the entry + &.left { padding-left: 0; padding-right: 6px; } + &.right { padding-left: 6px; padding-right: 0; } + } + // FIXME + // undershoot { + // &.left { @include undershoot(left); } + // &.right { @include undershoot(right); } + // } + + &.flat { + &:focus, & { + min-height: 0; + padding: 2px; + @include entry(normal); + } + } + &:focus { @include entry(focus); } + &:disabled { @include entry(insensitive); } + &:backdrop { @include entry(backdrop); } + &:backdrop:disabled { @include entry(backdrop-insensitive); } + + selection { &:focus, & { @extend %selected_items; }} + + @each $e_type, $e_color in (error, gtk("@error_color")), + (warning, gtk("@warning_color")) { + &.#{$e_type} { + color: $e_color; + border-color: $e_color; + background-color: gtkalpha($e_color, 0.5); + &:focus { + @include entry(focus, $e_color); + background-color: gtkalpha($e_color, 0.5); + } + &:selected, &:selected:focus { background-color: $e_color; } + &:backdrop { + @if $e_color == gtk("@error_color") { + color: gtk("@error_color_backdrop"); + border-color: gtk("@error_color_backdrop"); + background-color: gtkalpha(gtk("@error_color_backdrop"), 0.5); + } @else if $e_color == gtk("@warning_color") { + color: gtk("@warning_color_backdrop"); + border-color: gtk("@warning_color_backdrop"); + background-color: gtkalpha(gtk("@warning_color_backdrop"), 0.5); + } + } + } + } + + image { // entry icons colors + color: gtkmix(gtk("@theme_fg_color"),gtk("@theme_text_color"), 0.8); + &:hover { color: gtk("@theme_button_decoration_hover"); } + &:active { color: gtk("@theme_button_decoration_focus"); } + &:backdrop { color: gtkmix(gtk("@theme_unfocused_fg_color"), gtk("@theme_unfocused_fg_color"), 0.8); } + } + // FIXME + // &:drop(active) { + // &:focus, & { + // border-color: $drop_target_color; + // box-shadow: inset 0 0 0 1px $drop_target_color; + // } + // } + } + + progress { + margin: 1px; + border-radius: 0; + border-width: 0 0 2px; + border-color: gtk("@theme_selected_bg_color"); + border-style: solid; + background-image: none; + background-color: transparent; + box-shadow: none; + &:backdrop { + background-color: transparent; + border-color: gtk("@theme_unfocused_selected_bg_color"); + } + } +} + +treeview acceleditor > label { + background-color: gtk("@theme_selected_bg_color"); +} + +treeview entry { + &.flat, & { + border-radius: 0; + background-image: none; + background-color: gtk("@theme_base_color"); + + &:focus { border-color: gtk("@theme_view_active_decoration_color"); } + } +}
  68. Download patch src/gtk3/widgets/_dialogs.scss

    --- 5.20.5-1/src/gtk3/widgets/_dialogs.scss 2021-01-05 11:48:07.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk3/widgets/_dialogs.scss 2021-01-21 12:40:08.000000000 +0000 @@ -8,24 +8,31 @@ // //padding: 8px; // } -messagedialog { // Message Dialog styling +messagedialog { + // Message Dialog styling - &.background { - background-color: gtk("@theme_bg_color"); - } - &:backdrop { - background-color: gtk("@theme_unfocused_bg_color"); - } + &.background { + background-color: gtk("@theme_bg_color"); + } + &:backdrop { + background-color: gtk("@theme_unfocused_bg_color"); + } .titlebar { min-height: 32px; background-color: transparent; - background-image: linear-gradient(to bottom, gtkshade("@theme_titlebar_background", 1.2117647),gtk("@theme_titlebar_background")); + background-image: linear-gradient( + to bottom, + gtkshade("@theme_titlebar_background", 1.2117647), + gtk("@theme_titlebar_background") + ); box-shadow: none; } .dialog-action-area { padding: 8px; } - button { margin: 2px; } + button { + margin: 2px; + } } filechooser { @@ -41,7 +48,9 @@ filechooser { } .dialog-action-box { border-top: 1px solid gtk("@borders"); - &:backdrop { border-top-color: gtk("@unfocused_borders"); } + &:backdrop { + border-top-color: gtk("@unfocused_borders"); + } } #pathbarbox { background-color: gtk("@theme_bg_color");
  69. Download patch src/gtk4/widgets/_window_decorations.scss
  70. Download patch src/gtk4/widgets/_assistant.scss

    --- 5.20.5-1/src/gtk4/widgets/_assistant.scss 1970-01-01 00:00:00.000000000 +0000 +++ 5.20.90-0ubuntu1/src/gtk4/widgets/_assistant.scss 2021-01-21 12:40:08.000000000 +0000 @@ -0,0 +1,24 @@ +assistant { + .sidebar { + background-color: gtk("@theme_base_color"); + color: gtk("@theme_text_color"); + border-top: 1px solid gtk("@borders"); + border-right: 1px solid gtk("@borders"); + + &:backdrop { + background-color: gtk("@theme_unfocused_base_color"); + color: gtk("@theme_unfocused_text_color"); + border-color: gtk("@unfocused_borders"); + } + } + &.csd .sidebar { + border-top-style: none; + } + .sidebar label { + padding: 6px 12px; + } + .sidebar label.highlight { + background-color: gtk("@theme_selected_bg_color"); + color: gtk("@theme_fg_color"); + } +}

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: breeze-plymouth

breeze-plymouth (5.20.90-0ubuntu1) hirsute; urgency=medium * New upstream (beta) release (5.20.90) -- Rik Mills <rikmills@kde.org> Thu, 21 Jan 2021 23:43:43 +0000

Modifications :
  1. Download patch CMakeLists.txt

    --- 5.20.5-1/CMakeLists.txt 2021-01-05 11:48:36.000000000 +0000 +++ 5.20.90-0ubuntu1/CMakeLists.txt 2021-01-21 12:40:35.000000000 +0000 @@ -1,5 +1,5 @@ project(breeze-plymouth) -set(PROJECT_VERSION "5.20.5") +set(PROJECT_VERSION "5.20.90") set(PROJECT_VERSION_MAJOR 5) cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
  1. breeze
  2. breeze-grub
  3. breeze-gtk
  4. breeze-plymouth