You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
308 lines
9.5 KiB
308 lines
9.5 KiB
QPushButton {
|
|
font: bold 25px;
|
|
margin: 0;
|
|
padding: 0 5px;
|
|
line-height: 30px;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
color: #fff;
|
|
outline: none;
|
|
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(134, 198, 135, 255), stop:0.5 rgba(76, 174, 78, 255), stop:0.505 rgba(58, 166, 62, 255), stop:1 rgba(61, 164, 62, 255));
|
|
/*background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(1, 171, 154, 1), stop:0.5 rgba(24, 154, 97, 1), stop:0.505 rgba(24, 154, 97, 1), stop:1 rgba(24, 154, 97, 1));*/
|
|
border-radius: 2px;
|
|
border: 0px solid #555;
|
|
border-style: inset;
|
|
}
|
|
|
|
QMainWindow
|
|
{
|
|
/*background-color: qlineargradient(spread:pad, x1:1, y1:0, x2:1, y2:0.989, stop:0 rgba(0, 0, 0, 255), stop:1 rgba(129, 129, 129, 255)); ROB HOY*/
|
|
/*background-color: qlineargradient(spread:pad, x1:1, y1:1, x2:1, y2:0, stop:0 rgba(153, 153, 153, 153), stop:1 rgba(204, 204, 204, 204) );*/
|
|
/*background-color: qconicalgradient(cx:1, cy:0.687, angle:84.4, stop:0 rgba(255, 255, 255, 255), stop:0.502222 rgba(138, 138, 138, 255), stop:1 rgba(0, 0, 0, 255));*/
|
|
background-color: rgb(255, 255, 255);
|
|
|
|
/*background-color: qlineargradient(spread:pad, x1:1, y1:1, x2:1, y2:0, stop:0 rgba(255, 255, 255, 255), stop:1 rgba(212, 225, 245, 255) );*/
|
|
/*background-color: rgb(255, 255, 255);*/
|
|
}
|
|
QFrame#frame_salida
|
|
{
|
|
background-color: rgba(255, 255, 255, 255);
|
|
/*background-color: qlineargradient(spread:pad, x1:1, y1:1, x2:1, y2:0, stop:0 rgba(255, 255, 255, 255), stop:1 rgba(212, 225, 245, 255) );*/
|
|
border-radius:5px;
|
|
|
|
}
|
|
|
|
QFrame#frame_barra
|
|
{
|
|
background-color: rgb(130, 224, 170, 255);
|
|
border-radius:5px;
|
|
border-top-color: rgb(255, 255, 255);
|
|
border-left-color: rgb(255, 255, 255);
|
|
}
|
|
|
|
QFrame#frame_titulo
|
|
{
|
|
background-color: rgb(36, 113, 163, 255);
|
|
border-radius:5px;
|
|
border-top-color: rgb(255, 255, 255);
|
|
border-left-color: rgb(255, 255, 255);
|
|
}
|
|
|
|
QLabel#label_desc
|
|
{
|
|
color: rgba(0, 0, 0, 255);
|
|
font: 48pt "Ubuntu";
|
|
font-weight: bold;
|
|
}
|
|
|
|
QLabel#label_desc2
|
|
{
|
|
color: rgba(0, 0, 0, 255);
|
|
font: 48pt "Ubuntu";
|
|
font-weight: bold;
|
|
}
|
|
|
|
QLabel#label_precio
|
|
{
|
|
color: rgba(12, 88, 144, 255);
|
|
font: 52pt "Ubuntu";
|
|
font-weight: bold;
|
|
}
|
|
QLabel#label_ofe
|
|
{
|
|
color: rgba(52, 140, 12, 255);
|
|
font: 40pt "Ubuntu";
|
|
font-weight: bold;
|
|
}
|
|
QLabel#label_despofe
|
|
{
|
|
color: rgba(52, 140, 12, 255);
|
|
font: 12pt "Ubuntu";
|
|
font-weight: bold;
|
|
}
|
|
QLabel#label_despnorm
|
|
{
|
|
color: rgba(12, 88, 144, 255);
|
|
font: 12pt "Ubuntu";
|
|
font-weight: bold;
|
|
}
|
|
|
|
QLabel#label_titulo
|
|
{
|
|
color: rgba(255, 255, 255, 255);
|
|
font: 32pt "Ubuntu";
|
|
font-weight: bold;
|
|
}
|
|
|
|
QLabel#label_promo
|
|
{
|
|
color: rgba(144, 12, 63, 255);
|
|
font: 20pt "Ubuntu";
|
|
font-weight: bold;
|
|
}
|
|
|
|
QLabel#label_prom_valida
|
|
{
|
|
color: rgba(144, 12, 63, 255);
|
|
font: 14pt "Ubuntu";
|
|
font-weight: bold;
|
|
}
|
|
|
|
QLabel#label_codbar
|
|
{
|
|
font: 14pt "Ubuntu";
|
|
font-weight: bold;
|
|
}
|
|
|
|
QLabel#label_codart
|
|
{
|
|
font: 14pt "Ubuntu";
|
|
font-weight: bold;
|
|
}
|
|
|
|
QLabel#label_status
|
|
{
|
|
font: 22pt "Ubuntu";
|
|
font-weight: bold;
|
|
color: rgba(224, 4, 4, 255);
|
|
}
|
|
|
|
QLabel#label_principal
|
|
{
|
|
font: 32pt "Ubuntu";
|
|
font-weight: bold;
|
|
/*color: rgba(224, 4, 4, 255);*/
|
|
}
|
|
|
|
QPushButton:pressed {
|
|
font: 16pt "MS Shell Dlg 2";
|
|
/*background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(142, 164, 193, 255), stop:0.5 rgba(88, 120, 162, 255), stop:0.505 rgba(71, 105, 153, 255), stop:1 rgba(74, 109, 155, 255));*/ /*azul*/
|
|
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(197, 103, 110, 255), stop:0.5 rgba(166, 58, 66, 255), stop:0.505 rgba(162, 42, 48, 255), stop:1 rgba(159, 45, 52, 255)); /*rojo*/
|
|
margin: 0;
|
|
padding: 0 5px;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
|
|
color: #fff;
|
|
outline: none;
|
|
}
|
|
|
|
QMessageBox, QDialog {
|
|
/*background-color: qlineargradient(spread:pad, x1:1, y1:0, x2:1, y2:0.989, stop:0 rgba(0, 0, 0, 255), stop:1 rgba(129, 129, 129, 255));*/
|
|
/*background-color: qlineargradient(spread:pad, x1:1, y1:1, x2:1, y2:0, stop:0 rgba(153, 153, 153, 153), stop:1 rgba(204, 204, 204, 204) );*/
|
|
/*background-color: qlineargradient(spread:pad, x1:1, y1:1, x2:1, y2:0, stop:0 rgba(255, 255, 255, 153), stop:1 rgba(212, 225, 245, 204) );*/
|
|
background-color: white;
|
|
/*background-color: rgb(186, 186, 186);*/
|
|
border: 2px solid gray;
|
|
border-style: solid;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
QTabWidget::pane { /* The tab widget frame */
|
|
border-top: 2px solid #C2C7CB;
|
|
/*background-color: qlineargradient(spread:pad, x1:1, y1:0, x2:1, y2:0.989, stop:0 rgba(0, 0, 0, 255), stop:1 rgba(129, 129, 129, 255));*/
|
|
background-color: white;
|
|
}
|
|
QTabWidget::tab-bar {
|
|
left: 5px; /* move to the right by 5px */
|
|
}
|
|
QTabBar::tab {
|
|
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,
|
|
stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);
|
|
border: 2px solid #C4C4C3;
|
|
border-bottom-color: #C2C7CB; /* same as the pane color */
|
|
border-top-left-radius: 4px;
|
|
border-top-right-radius: 4px;
|
|
min-width: 8ex;
|
|
padding: 2px;
|
|
}
|
|
|
|
QTabBar::tab:selected, QTabBar::tab:hover {
|
|
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
stop: 0 #fafafa, stop: 0.4 #f4f4f4,
|
|
stop: 0.5 #e7e7e7, stop: 1.0 #fafafa);
|
|
|
|
}
|
|
|
|
QTabBar::tab:selected {
|
|
border-color: #9B9B9B;
|
|
border-bottom-color: #C2C7CB; /* same as pane color */
|
|
color: rgb(255, 255, 0);
|
|
}
|
|
|
|
QTabBar::tab:!selected {
|
|
margin-top: 2px; /* make non-selected tabs look smaller */
|
|
}
|
|
|
|
QDoubleSpinBox, QSpinBox, QLineEdit {
|
|
border: 2px solid gray;
|
|
border-radius: 10px;
|
|
padding: 0 8px;
|
|
selection-background-color: darkgray;
|
|
}
|
|
|
|
QCheckBox{
|
|
checkbox: 18pt;
|
|
color: rgb(255, 255, 0);
|
|
}
|
|
|
|
QCheckBox::indicator:checked {
|
|
image: url(:/mcaposrec/chek_ena.png);
|
|
}
|
|
QCheckBox::indicator:unchecked {
|
|
image: url(:/mcaposrec/chek_dis.png);
|
|
}
|
|
|
|
|
|
|
|
QComboBox {
|
|
border-style: outset;
|
|
border-width: 2px;
|
|
border-color: beige;
|
|
border-radius: 10px;
|
|
padding: 1px 8px 1px 3px;
|
|
min-width: 6em;
|
|
background-color: gray;
|
|
}
|
|
|
|
QComboBox::drop-down {
|
|
subcontrol-origin: padding;
|
|
subcontrol-position: top right;
|
|
|
|
width: 24px;
|
|
background-color: gray;
|
|
border-left-width: 0px;
|
|
/*border-left-color: darkgray;
|
|
border-left-style: solid; just a single line */
|
|
border-top-right-radius: 10px; /* same radius as the QComboBox */
|
|
border-bottom-right-radius: 10px;
|
|
}
|
|
|
|
QComboBox::down-arrow{
|
|
image: url(:/mcaposrec/combo_arrow22x22.png);
|
|
}
|
|
|
|
QComboBox::down-arrow:on { /* shift the arrow when popup is open */
|
|
top: 1px;
|
|
left: 1px;
|
|
}
|
|
|
|
QProgressBar{
|
|
font: 22 pt "MS Shell Dlg 2";
|
|
border-radius: 5px;
|
|
border: 2px solid grey;
|
|
background-color: qlineargradient(spread:reflect, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(113, 113, 113, 255), stop:0.181818 rgba(36, 36, 36, 255), stop:0.257576 rgba(38, 38, 38, 255), stop:0.343434 rgba(43, 43, 43, 255), stop:1 rgba(137, 137, 137, 255));
|
|
}
|
|
|
|
QProgressBar::chunk {
|
|
background-color: qlineargradient(spread:reflect, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(255, 255, 127, 255), stop:0.181818 rgba(255, 206, 8, 255), stop:0.257576 rgba(255, 206, 8, 255), stop:0.343434 rgba(255, 206, 8, 255), stop:1 rgba(255, 255, 127, 255));
|
|
width: 20px;
|
|
}
|
|
|
|
|
|
|
|
QListWidget, QTableWidget {
|
|
border-radius: 10px;
|
|
/*background-color: qlineargradient(spread:reflect, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(113, 113, 113, 255), stop:0.181818 rgba(36, 36, 36, 255), stop:0.257576 rgba(38, 38, 38, 255), stop:0.343434 rgba(43, 43, 43, 255), stop:1 rgba(137, 137, 137, 255));*/
|
|
background-color: white;
|
|
border-right-width: 1px;
|
|
border-right-color: darkgray;
|
|
}
|
|
|
|
QTableWidget::item{
|
|
border-radius: 10px;
|
|
}
|
|
|
|
QPushButton:disabled
|
|
{
|
|
background-color: gray;
|
|
}
|
|
|
|
QTableWidget::item:selected {
|
|
border-radius: 10px;
|
|
background-color: qlineargradient(spread:reflect, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(255, 255, 127, 255), stop:0.181818 rgba(255, 206, 8, 255), stop:0.257576 rgba(255, 206, 8, 255), stop:0.343434 rgba(255, 206, 8, 255), stop:1 rgba(255, 255, 127, 255));
|
|
}
|
|
|
|
QListView::item{
|
|
border-radius: 10px;
|
|
}
|
|
|
|
QListView::item:selected {
|
|
border-radius: 10px;
|
|
background-color: qlineargradient(spread:reflect, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(255, 255, 127, 255), stop:0.181818 rgba(255, 206, 8, 255), stop:0.257576 rgba(255, 206, 8, 255), stop:0.343434 rgba(255, 206, 8, 255), stop:1 rgba(255, 255, 127, 255));
|
|
}
|
|
|
|
QMessageBox{
|
|
align: center;
|
|
}
|
|
|
|
/* FOCO */
|
|
QPushButton:pressed{ background-color: orange; }
|
|
QPushButton:focus{ background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(197, 103, 110, 255), stop:0.5 rgba(166, 58, 66, 255), stop:0.505 rgba(162, 42, 48, 255), stop:1 rgba(159, 45, 52, 255))}
|
|
QPushButton:hover{ background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(185, 145, 209, 255), stop:0.5 rgba(158, 93, 198, 255), stop:0.505 rgba(141, 47, 199, 255), stop:1 rgba(122, 0, 196, 255))}
|
|
|