/*

A branding component can ship a stylesheet (like this one)
which is applied to parts of the Calamares user-interface.
In principle, all parts can be styled through CSS.
Missing parts should be filed as issues.

The IDs are based on the object names in the C++ code.
You can use the Debug Dialog to find out object names:
  - Open the debug dialog
  - Choose tab *Tools*
  - Click *Widget Tree* button
The list of object names is printed in the log.

Documentation for styling Qt Widgets through a stylesheet
can be found at
    https://doc.qt.io/qt-5/stylesheet-examples.html
    https://doc.qt.io/qt-5/stylesheet-reference.html
In Calamares, styling widget classes is supported (e.g.
using `QComboBox` as a selector).

This example stylesheet has all the actual styling commented out.
The examples are not exhaustive.

*/

/* 

EndeavourOS Calamares Theme

*/

/* ########## MAIN APPLICATION WINDOW ########## */

#mainApp {
}

#logoApp {
	width: 200;
}

#sidebarMenuApp {
	background-image: url(/etc/calamares/branding/tuxedo/wallpaper.png);
	font: 18px;
	padding-top: 30px;
}

QWidget {
	font: 14px;
	color: #111213;
}

QLineEdit {
	border: 1px solid #111213;
	padding: 5px 0px 5px 10px;
}

QPushButton {
	border-style: outset;
	border-width: 1px;
        border-color: transparent;
	background-color: #111213;
	color: white;
	icon-size:  0px;
	font: bold 12px;
	padding: 6px;
	min-width: 8em;
}

QPushButton::hover {
	border: 1px solid transparent;
	background-color: #e30016;
	color: #fff;
}

QPushButton::disabled {
        border: 1px solid transparent;
        background-color: #707070;
        color: #fff;
}


QPushButton#buttonRestore {
	border-style: outset;
	border-width: 1px;
        border-color: #fff;
	background-color: #111213;
	color: white;
	font: 4px;
	iconSize: 12x12;
	height: 12;
	width: 14;
	minimumWidth: 14;
	padding: 11px 4px 11px 4px;
	min-width: 8em;
}

QListWidget::item:alternate {
	color: #f62c15;
}

QComboBox {
	border: 1px solid #707070;
	width: 100px;
	min-width: 10em;
	padding: 5px 0px 5px 10px;
}

QComboBox::down-arrow {
	image: url(:/icons/down_arrow.png);
	width: 7px;
	height: 5px;
}

QComboBox::down-arrow:on { /* shift the arrow when popup is open */
	top: 1px;
	left: 1px;
}

QComboBox::drop-down {
	subcontrol-origin: padding;
	subcontrol-position: top right;
	width: 100px;
	border-left-width: 1px;
	border-left-color: white;
	border-left-style: solid; /* just a single line */
	border-top-right-radius: 3px; /* same radius as the QComboBox */
	border-bottom-right-radius: 3px;
}

QComboBox QAbstractItemView {
	border: none;
	border-radius: 10px;
	selection-background-color: red;
}

QDialogButtonBox { 
	dialogbuttonbox-buttons-have-icons: 0;
}


#debugButton {
	background-color: none;
	font: bold 8px;
	color: #ffffff;
	height: 32px;
	border: none;
}

#debugButton:pressed {
	color: #f62c15;
}

#debugButton:hover {
	color: #f62c15;
}

#aboutButton {
	background-color: #111213;
	color: #fff;
    	border: 1px solid;
	margin-top: 10px;
}

#aboutButton:pressed {
	color: #fff;
}

#aboutButton:hover {
        border: 1px solid transparent;
        background-color: #e30016;
        color: #fff;
}






/* Partitioning module.

#bootInfoIcon { }
#bootInfoLabel { }
#deviceInfoIcon { }
#defineInfoLabel { }
#scrollAreaWidgetContents { }
#partitionBarView { }

*/

/* Licensing module.

#licenseItem {  }
#licenseItemFullText {  }

*/
