/*************************************
 * Windows Theme                     *
 * Author: nowrep                    *
 * Based on: Firefox Strata Aero     *
 *************************************/

*[html-link-look="true"]
{
    color: palette(link);
    text-decoration: underline;
}

/*MainWindow*/
#mainwindow
{
    background : #dee3f4 url(images/toolbar-bg.png) repeat-x;
}

#mainwindow-menubar
{
    background-image:url(images/transp.png);
    border:none;
}

#mainwindow-menubar:item
{
    color: black;
    spacing: 5px;
    padding: 2px 6px;
    background: transparent;
}

#mainwindow-menubar::item:pressed
{
    background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #a1c0e6, stop:1 #86abd9);
    border: 1px solid #4b6e99;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom: none;
}

#mainwindow-statusbar
{
    background: transparent;
}

#mainwindow QToolBar
{
    background-image:url(images/transp.png);
    border:none;
}

#statusbar-ip-label
{
    padding-right: 5px;
}

/*NavigationBar*/
#navigationbar
{
    qproperty-layoutMargin: 3;
    qproperty-layoutSpacing: 3;
}

#navigationbar QSplitter::handle
{
    background-color:transparent;
}

#navigation-button-back
{
    qproperty-multiIcon: url(images/navigation-back.png);
}

#navigation-button-next
{
    qproperty-multiIcon: url(images/navigation-forward.png);
}

#navigation-button-stop
{
    qproperty-icon: url(images/navigation-stop.png);
    qproperty-iconSize: 23px 22px;
}

#navigation-button-reload
{
    qproperty-icon: url(images/navigation-reload.png);
    qproperty-iconSize: 23px 22px;
}

#navigation-button-home
{
    qproperty-icon: url(images/navigation-home.png);
    qproperty-iconSize: 23px 22px;
}

#navigation-button-addtab
{
    qproperty-icon: url(images/navigation-addtab.png);
    qproperty-iconSize: 23px 22px;
}

#navigation-button-supermenu
{
    qproperty-icon: url(images/navigation-supermenu.png);
    qproperty-iconSize: 23px 22px;
}

/*TabWidget*/
#tabbar::scroller
{
    width: 0px;
}

#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: 18px 28px;
}

#tabwidget-button-opentabs::menu-indicator
{
    background: url(images/transp.png);
}

#tabwidget-button-addtab
{
    qproperty-multiIcon: url(images/tabbar-addtab.png);
}

/*IconProvider*/
IconProvider
{
    qproperty-bookmarkIcon: url(images/star-a.png);
}

/*LocationBar*/
#locationbar
{
    background: transparent;
    border-image: url(images/lineedit-bg.png);
    border-width: 3px;
    color:black;
    padding-right: -3px;
    padding-left: -3px;
    padding-top: -2px;
    padding-bottom: -2px;
    qproperty-fixedheight: 22;
    qproperty-leftMargin: 29;
}

#locationbar-bookmarkicon
{
    margin-left: 3px;
    qproperty-pixmap: url(images/star.png);
}

#locationbar-bookmarkicon[bookmarked="true"]
{
    qproperty-pixmap: url(images/star-a.png);
}

#locationbar-siteicon
{
    border-image: url(images/siteicon-bg.png);
    qproperty-fixedsize:28px 22px;
    padding-left: 0px;
}

#locationbar-siteicon[secured="true"]
{
    border-image: url(images/siteicon-secure-bg.png);
}

#locationbar-rss-icon
{
    margin-left: 3px;
    qproperty-pixmap: url(images/rss.png);
}

#locationbar-goicon
{
    margin-left: 3px;
    qproperty-pixmap: url(images/gotoaddress.png);
}

#locationbar-down-icon
{
    margin-right: -4px;
    margin-bottom: 1px;
    qproperty-pixmap: url(images/navigation-dropdown.png);
}

#locationbar-autofillicon
{
    qproperty-pixmap: url(images/key.png);
}

/*BookmarksToolbar*/
#bookmarksbar QToolButton
{
    border-image: url(images/transp.png);
    border-width: 0px;
    height: 15px;
}

#bookmarksbar QToolButton::menu-indicator
{
    background: url(images/transp.png);
}

/*SideBar*/
#sidebar
{
    background: transparent;
}

#sidebar-splitter::handle
{
    background-color:transparent;
}

/*WebSearchBar*/
#websearchbar
{
    background: transparent;
    border-image: url(images/lineedit-bg.png);
    border-width: 3px;
    color:black;
    padding-right: -3px;
    padding-top: -2px;
    padding-bottom: -2px;
    qproperty-fixedheight: 22;
    qproperty-leftMargin: 30;
}

#websearchbar-searchbutton
{
    qproperty-pixmap: url(images/search-icon.png);
}

#websearchbar-searchprovider-comobobox
{
    border-image: url(images/searchbar-provider-bg.png);
    padding-left:-8px;
    qproperty-fixedsize: 32px 22px;
}

#websearchbar-searchprovider-comobobox::menu-indicator
{
    background: url(images/transp.png);
}

/*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;
}
