1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-19 18:26:34 +01: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"> <property name="spacing">
<number>0</number> <number>0</number>
</property> </property>
<property name="leftMargin"> <property name="margin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number> <number>0</number>
</property> </property>
<item> <item>
@ -48,13 +39,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<item> <item>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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