
QDialog{background:%1;background-image:url(%2);} 
QMainWindow{background-color:%1;background-image:url(%2);} 
QWebView{background-color:transparent;} 
QTableView{ background-color:transparent;} 
QTreeView{ background-color:transparent;}  
QListView{ background-color:lightgrey;}  


QTabWidget{background-color:transparent;background-image:url(%2);} 
QDockWidget{background-color:%1;background-image:url(%2); } 
QFrame{background-color:%1;background-image:url(%2); } 
QTabBar{
background-color:transparent;
} 

QTabBar::tab {
 min-height: 20px;
}

QDockWidget#leftFloatWidget{background-color:%1;background-image:url(%2); } 
QDockWidget#leftFloatWidget::title{background-color:%1;background-image:url(%2); } 

QGroupBox{
background-color: transparent;
border: 2px inset lightgrey;
border-radius: 6px;
margin-top: 2ex;
} 
QGroupBox::title {
	 background-color: transparent;
   subcontrol-origin: margin;
   subcontrol-position: top left; /* position at the top center */
   padding: -12 20px;   
}
 

QPushButton {
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                                       stop: 0 #f6f7fa, stop: 1 #cccccc);
    padding: 4px 12px 4px 12px;                                   
    border-radius: 4px;
}

QPushButton:hover {
   background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                                       stop: 0 %1, stop: 1 #cccccc);
}
QPushButton:pressed {
     background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                                       stop: 0 %1, stop: 1 #f6f7fa);
 }
  
QToolButton {
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                                       stop: 0 #f6f7fa, stop: 1 #cccccc);
    border-radius: 4px;
}

QToolButton:hover {
   background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                                       stop: 0 %1, stop: 1 #cccccc);
}
QToolButton:pressed {
     background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                                       stop: 0 %1, stop: 1 #f6f7fa);
 }


QLineEdit{
   min-height: 18px;
   border-radius: 4;
   border: 2px ridge LightGray;
}
QLineEdit:hover, QLineEdit:focus { border: 2px ridge #5282bd;}
 
QMenu{
  background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                                  stop: 0 %1, stop: 1 white);
  color: black;
}
QMenu::item {
    padding: 2px 25px 2px 20px;
    border-radius: 4px;
    border: 1px solid transparent; /* reserve space for selection border */
 }
QMenu::item:selected {
  /*color: white;*/
  border-color: #888888;
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                                  stop: 0 rgba(138,213,232,120) , stop: 1 rgba(69,143,162,120));
 }
QMenu::separator {
     height: 1.2px;
      background: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:1, stop:0 rgba(210, 210, 255, 124), stop:0.5 rgba(145, 145, 145, 255), stop:1 rgba(210, 210, 255, 122));
     margin-left: 5px;
     margin-right: 5px;
  margin-top: 4px;
  margin-bottom: 4px;
 }


QSplitter::handle:horizontal {
    background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 rgb(162, 162, 162), stop:1 rgb(222, 222, 222));
    border: 1px solid #5c5c5c;
    width: 2px;
    height: 2px;
    border-radius: 1px;
}

QSplitter::handle:vertical {
    background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 rgb(162, 162, 162), stop:1 rgb(222, 222, 222));
    border: 1px solid #5c5c5c;
    width: 2px;
    height: 2px;
    border-radius: 1px;
}



QScrollBar:vertical {
   border: 1px  ligthgrey;
   background-image:url(%2);
   width: 12px;
   margin: 12px 0px 12px 0px;
}
QScrollBar::handle:vertical {
  background: %1;
  border-radius: 4px;
  min-height: 20px;
} 
QScrollBar::add-line:vertical {
   border: 1px  grey;
   border-radius: 4px;
   background: %1;
   height: 12px;
   subcontrol-position: bottom;
   subcontrol-origin: margin;
}
QScrollBar::sub-line:vertical {
   border: 1px  grey;
   border-radius: 4px;
   background: %1;
   height: 12px;
   subcontrol-position: top;
   subcontrol-origin: margin;
}

QScrollBar:horizontal {
   border: 1px  ligthgrey;
   background-image:url(%2);
   height: 12px;
   margin: 0px 12px 0px 12px;
}
QScrollBar::handle:horizontal {
  background: %1;
  border-radius: 4px;

   min-width: 20px;
} 
QScrollBar::add-line:horizontal {
   border: 1px  grey;
   background: %1;
   width: 12px;
   subcontrol-position: right;
   subcontrol-origin: margin;
}
QScrollBar::sub-line:horizontal {
   border: 1px  grey;
   background: %1;
   width: 12px;
   subcontrol-position: left;
   subcontrol-origin: margin;
}
