1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 09:42:10 +02:00

Update themes

- use window background instead of white for AboutDialog background
- use new style for desktop notifications
- set pinned tab width in Windows theme
- remove styling of Download Manager
This commit is contained in:
David Rosca 2018-01-09 17:17:28 +01:00
parent da9e873d2c
commit 7143e1130c
8 changed files with 52 additions and 145 deletions

View File

@ -23,16 +23,7 @@
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<property name="margin">
<number>0</number>
</property>
<item>
@ -48,13 +39,6 @@
</property>
</widget>
</item>
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>

View File

@ -275,18 +275,6 @@ IconProvider
qproperty-fixedsize: 37px 27px;
}
/*SourceViewer*/
#sourceviewer-textedit
{
border:none;
}
/*SourceViewerSearch*/
SourceViewerSearch #lineEdit[notfound="true"]
{
background:#ff6666;
}
/*SearchToolbar*/
SearchToolBar #lineEdit[notfound="true"]
{
@ -296,31 +284,35 @@ SearchToolBar #lineEdit[notfound="true"]
/*AboutDialog*/
AboutDialog #label
{
background:white;
background: palette(window);
}
AboutDialog #textBrowser
{
border:none;
margin-top: -2px; /* Workarounding rounded border on KDE */
background: palette(window);
}
/*DesktopNotification*/
DesktopNotification
{
background: transparent;
background: #31363b;
}
DesktopNotification #frame
{
border: 2px solid darkblue;
border-radius: 20px;
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #e4ecf1, stop:1 #d3e5f1);
border: 1px solid #696d71;
padding: 10px;
}
DesktopNotification #heading
{
font: bold;
font-size: 13pt;
color: #c2c7c7;
}
DesktopNotification #text
{
color: #e7ebeb;
}
/*BrowsingLibrary*/
@ -334,17 +326,6 @@ BrowsingLibrary #frame
background: url(images/library-bg.png);
}
/*Downloads*/
DownloadItem #fileName
{
font-size: 13pt;
}
DownloadManager #list
{
border: none;
}
/*JavaScript Dialogs*/
#jsFrame
{

View File

@ -15,9 +15,3 @@
{
height: 26px;
}
/*Downloads*/
DownloadItem #progressBar
{
border: 1px solid;
}

View File

@ -213,32 +213,35 @@ SearchToolBar #lineEdit[notfound="true"]
/*AboutDialog*/
AboutDialog #label
{
background: white;
background: palette(window);
}
AboutDialog #textBrowser
{
border: none;
margin-top: -2px; /* Workarounding rounded border on KDE */
background: palette(window);
}
/*DesktopNotification*/
DesktopNotification
{
background: transparent;
background: #31363b;
}
DesktopNotification #frame
{
border: 2px solid darkblue;
border-radius: 20px;
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #e4ecf1, stop:1 #d3e5f1);
border: 1px solid #696d71;
padding: 10px;
}
DesktopNotification #heading
{
font: bold;
font-size: 13pt;
color: #c2c7c7;
}
DesktopNotification #text
{
color: #e7ebeb;
}
/*BrowsingLibrary*/
@ -252,17 +255,6 @@ BrowsingLibrary #frame
background: url(images/library-bg.png);
}
/*Downloads*/
DownloadItem #fileName
{
font-size: 13pt;
}
DownloadManager #list
{
border: none;
}
/*JavaScript Dialogs*/
#jsFrame
{

View File

@ -279,18 +279,6 @@ IconProvider
qproperty-fixedsize: 42px 23px;
}
/*SourceViewer*/
#sourceviewer-textedit
{
border:none;
}
/*SourceViewerSearch*/
SourceViewerSearch #lineEdit[notfound="true"]
{
background:#ff6666;
}
/*SearchToolbar*/
SearchToolBar #lineEdit[notfound="true"]
{
@ -300,31 +288,35 @@ SearchToolBar #lineEdit[notfound="true"]
/*AboutDialog*/
AboutDialog #label
{
background:white;
background: palette(window);
}
AboutDialog #textBrowser
{
border:none;
margin-top: -2px; /* Workarounding rounded border on KDE */
background: palette(window);
}
/*DesktopNotification*/
DesktopNotification
{
background: transparent;
background: #31363b;
}
DesktopNotification #frame
{
border: 2px solid darkblue;
border-radius: 20px;
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #e4ecf1, stop:1 #d3e5f1);
border: 1px solid #696d71;
padding: 10px;
}
DesktopNotification #heading
{
font: bold;
font-size: 13pt;
color: #c2c7c7;
}
DesktopNotification #text
{
color: #e7ebeb;
}
/*BrowsingLibrary*/
@ -338,17 +330,6 @@ BrowsingLibrary #frame
background: url(images/library-bg.png);
}
/*Downloads*/
DownloadItem #fileName
{
font-size: 13pt;
}
DownloadManager #list
{
border: none;
}
/*JavaScript Dialogs*/
#jsFrame
{

View File

@ -15,9 +15,3 @@
{
height: 26px;
}
/*Downloads*/
DownloadItem #progressBar
{
border: 1px solid;
}

View File

@ -141,6 +141,11 @@ ToolButton[button-id="button-downloads"]
qproperty-fixedsize: 22px 29px;
}
TabBarTabMetrics
{
qproperty-pinnedWidth: 32;
}
#tabbar
{
min-height: 30px;
@ -356,18 +361,6 @@ IconProvider
padding-left: 4px;
}
/*SourceViewer*/
#sourceviewer-textedit
{
border:none;
}
/*SourceViewerSearch*/
SourceViewerSearch #lineEdit[notfound="true"]
{
background:#ff6666;
}
/*SearchToolbar*/
SearchToolBar #lineEdit[notfound="true"]
{
@ -377,31 +370,35 @@ SearchToolBar #lineEdit[notfound="true"]
/*AboutDialog*/
AboutDialog #label
{
background:white;
background: palette(window);
}
AboutDialog #textBrowser
{
border:none;
background: palette(window);
}
/*DesktopNotification*/
DesktopNotification
{
background: transparent;
background: #31363b;
}
DesktopNotification #frame
{
border: 2px solid darkblue;
border-radius: 20px;
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #e4ecf1, stop:1 #d3e5f1);
border: 1px solid #696d71;
padding: 10px;
}
DesktopNotification #heading
{
font: bold;
font-size: 13pt;
color: #c2c7c7;
}
DesktopNotification #text
{
color: #e7ebeb;
}
/*BrowsingLibrary*/
@ -415,17 +412,6 @@ BrowsingLibrary #frame
background: url(images/library-bg.png);
}
/*Downloads*/
DownloadItem #fileName
{
font-size: 13pt;
}
DownloadManager #list
{
border: none;
}
/*JavaScript Dialogs*/
#jsFrame
{

View File

@ -1,5 +0,0 @@
/*Downloads*/
DownloadItem #progressBar
{
border: 1px solid;
}