mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-24 04:36:34 +01:00
028db62be0
TabBar base is now correctly styled in all themes. Updated the themes accordingly to this change.
325 lines
5.0 KiB
CSS
325 lines
5.0 KiB
CSS
/*************************************
|
|
* Linux Theme *
|
|
* Author: nowrep *
|
|
* Using native widgets and icons *
|
|
*************************************/
|
|
|
|
*[html-link-look="true"]
|
|
{
|
|
color: palette(link);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/*MainWindow*/
|
|
#statusbar-ip-label
|
|
{
|
|
padding-right: 5px;
|
|
}
|
|
|
|
/*NavigationBar*/
|
|
#navigation-button-back
|
|
{
|
|
qproperty-themeIcon: "go-previous";
|
|
}
|
|
|
|
#navigation-button-next
|
|
{
|
|
qproperty-themeIcon: "go-next";
|
|
}
|
|
|
|
#navigation-button-stop
|
|
{
|
|
qproperty-themeIcon: "process-stop";
|
|
}
|
|
|
|
#navigation-button-reload
|
|
{
|
|
qproperty-themeIcon: "view-refresh";
|
|
}
|
|
|
|
#navigation-button-home
|
|
{
|
|
qproperty-themeIcon: "go-home";
|
|
}
|
|
|
|
#navigation-button-addtab
|
|
{
|
|
qproperty-themeIcon: "list-add";
|
|
}
|
|
|
|
#navigation-button-supermenu
|
|
{
|
|
qproperty-icon: url(images/menu.png);
|
|
}
|
|
|
|
#navigation-button-exitfullscreen
|
|
{
|
|
qproperty-themeIcon: "view-restore";
|
|
}
|
|
|
|
/*TabWidget*/
|
|
#tabbar::tab
|
|
{
|
|
max-height: 26px;
|
|
}
|
|
|
|
#tabbar-button-right
|
|
{
|
|
qproperty-icon: url(images/tab-right-arrow.png);
|
|
qproperty-fixedsize: 15px 25px;
|
|
}
|
|
|
|
#tabbar-button-left
|
|
{
|
|
qproperty-icon: url(images/tab-left-arrow.png);
|
|
qproperty-fixedsize: 15px 25px;
|
|
}
|
|
|
|
#tabwidget-button-opentabs
|
|
{
|
|
qproperty-icon: url(images/tabs-list-button.png);
|
|
qproperty-fixedsize: 20px 25px;
|
|
}
|
|
|
|
#tabwidget-button-closedtabs
|
|
{
|
|
qproperty-themeIcon: "user-trash-full";
|
|
qproperty-fixedsize: 22px 25px;
|
|
}
|
|
|
|
#tabwidget-button-addtab
|
|
{
|
|
qproperty-themeIcon: "list-add";
|
|
qproperty-fixedsize: 22px 25px;
|
|
}
|
|
|
|
/*IconProvider*/
|
|
IconProvider
|
|
{
|
|
qproperty-bookmarkIcon: url(images/star-a.png);
|
|
}
|
|
|
|
/*LocationBar*/
|
|
#locationbar
|
|
{
|
|
qproperty-minHeight: 28;
|
|
qproperty-leftMargin: 22;
|
|
}
|
|
|
|
#locationbar[secured="true"]
|
|
{
|
|
color: black;
|
|
background-color: #ffffbc;
|
|
}
|
|
|
|
#locationbar-bookmarkicon
|
|
{
|
|
qproperty-pixmap: url(images/star.png);
|
|
}
|
|
|
|
#locationbar-bookmarkicon[bookmarked="true"]
|
|
{
|
|
qproperty-pixmap: url(images/star-a.png);
|
|
}
|
|
|
|
#locationbar-siteicon
|
|
{
|
|
padding-left: 6px;
|
|
border-image: url(images/transp.png);
|
|
qproperty-fixedsize: 22px 16px;
|
|
}
|
|
|
|
#locationbar-rss-icon
|
|
{
|
|
qproperty-pixmap: url(images/rss.png);
|
|
qproperty-fixedsize: 16px 16px;
|
|
}
|
|
|
|
#locationbar-goicon
|
|
{
|
|
qproperty-fixedsize: 16px 16px;
|
|
qproperty-themeIcon: "go-jump-locationbar";
|
|
}
|
|
|
|
#locationbar-down-icon
|
|
{
|
|
padding-right: 2px;
|
|
qproperty-pixmap: url(images/navigation-dropdown.png);
|
|
}
|
|
|
|
#locationbar-autofillicon
|
|
{
|
|
qproperty-pixmap: url(images/key.png);
|
|
}
|
|
|
|
/*WebSearchBar*/
|
|
#websearchbar
|
|
{
|
|
qproperty-minHeight: 28;
|
|
qproperty-leftMargin: 30;
|
|
}
|
|
|
|
#websearchbar-searchbutton
|
|
{
|
|
qproperty-fixedsize: 22px 16px;
|
|
qproperty-themeIcon: "edit-find";
|
|
}
|
|
|
|
#websearchbar-searchprovider-comobobox
|
|
{
|
|
border-image: url(images/websearch-bg.png);
|
|
padding-right: 6px;
|
|
padding-left: 2px;
|
|
qproperty-fixedsize: 32px 16px;
|
|
}
|
|
|
|
/*BookmarksToolbar*/
|
|
#bookmarksbar QToolButton
|
|
{
|
|
border-image: url(images/transp.png);
|
|
border-width: 0px;
|
|
height: 15px;
|
|
}
|
|
|
|
/*SideBar*/
|
|
#sidebar
|
|
{
|
|
background: transparent;
|
|
}
|
|
|
|
|
|
/*SourceViewer*/
|
|
#sourceviewer-textedit
|
|
{
|
|
border:none;
|
|
}
|
|
|
|
/*SourceViewerSearch*/
|
|
SourceViewerSearch #lineEdit[notfound="true"]
|
|
{
|
|
background:#ff6666;
|
|
}
|
|
|
|
/*SearchToolbar*/
|
|
SearchToolBar #lineEdit[notfound="true"]
|
|
{
|
|
background:#ff6666;
|
|
}
|
|
|
|
/*Click2Flash*/
|
|
#click2flash-frame
|
|
{
|
|
border: 1px solid #e8e8e8;
|
|
}
|
|
|
|
#click2flash-toolbutton
|
|
{
|
|
background: url(images/flash.png) no-repeat;
|
|
background-position: center;
|
|
border: none;
|
|
}
|
|
|
|
#click2flash-toolbutton:hover
|
|
{
|
|
background: url(images/flashstart.png) no-repeat;
|
|
background-position: center;
|
|
border:none;
|
|
}
|
|
|
|
/*RSSManager*/
|
|
#rssmanager-frame
|
|
{
|
|
background: white;
|
|
}
|
|
|
|
RSSManager QTabBar::tab
|
|
{
|
|
max-width:100px;
|
|
}
|
|
|
|
/*AboutDialog*/
|
|
AboutDialog #label
|
|
{
|
|
background: white;
|
|
}
|
|
|
|
AboutDialog #textBrowser
|
|
{
|
|
border:none;
|
|
margin-top: -2px; /* Workarounding rounded border on KDE */
|
|
}
|
|
|
|
/*DesktopNotification*/
|
|
DesktopNotification
|
|
{
|
|
background: transparent;
|
|
}
|
|
|
|
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);
|
|
}
|
|
|
|
DesktopNotification #heading
|
|
{
|
|
font: bold;
|
|
font-size: 13pt;
|
|
}
|
|
|
|
/*BrowsingLibrary*/
|
|
BrowsingLibrary #tabs
|
|
{
|
|
qproperty-bgPixmap: url(images/library-bg-left.png);
|
|
}
|
|
|
|
BrowsingLibrary #frame
|
|
{
|
|
background: url(images/library-bg-top.png) no-repeat;
|
|
}
|
|
|
|
BrowsingLibrary #frame_2
|
|
{
|
|
background: url(images/library-bg-top-right.png);
|
|
}
|
|
|
|
BrowsingLibrary #searchLine
|
|
{
|
|
background: transparent;
|
|
border-image: url(images/library-search-bg.png);
|
|
border-width:4;
|
|
color:black;
|
|
}
|
|
|
|
/*Downloads*/
|
|
DownloadItem #fileName
|
|
{
|
|
font-size: 13pt;
|
|
}
|
|
|
|
DownloadManager #list
|
|
{
|
|
border: none;
|
|
}
|
|
|
|
/*JavaScript Dialogs*/
|
|
#jsFrame
|
|
{
|
|
background: url(images/semi-transp.png);
|
|
}
|
|
|
|
QFrame[js-frame="true"]
|
|
{
|
|
border: 1px solid black;
|
|
border-bottom: 0px;
|
|
background-color: white;
|
|
}
|
|
|
|
QFrame[js-frame2="true"]
|
|
{
|
|
border: 1px solid black;
|
|
border-top: 0px;
|
|
background-color: #f3f3f3;
|
|
}
|