1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
|
/* Meaning of the string arguments */
/* %1 - text color */
/* %2 - text highlight color */
/* %3 - highlight color */
/* %4 - window color */
/* %5 - light color */
/* %6 - dark color */
/**************************/
/**** Equation Title ********/
/**************************/
QLineEdit#equationTitleWidget
{
background-color: %4;
border:0px solid %6;
color: %3;
padding:3px;
}
QLineEdit#equationTitleWidget:hover
{
background-color: %4;
border:1px solid %3;
color: %3;
}
QLineEdit#equationTitleWidget:focus
{
background-color: white;
border:1px solid %6;
color: %1;
}
/**********************/
/**** Global CSS *******/
/**********************/
QSplitter::handle
{
width: 2px;height: 1px;
}
QSplitter::handle:hover
{
width: 2px;height: 1px;
background-color: black;
}
QMainWindow::separator
{
width: 2px; height: 2px;
}
QMainWindow::separator:hover
{
width: 2px; height: 2px;
background-color: black;
}
/****************************/
/**** Templates Panel *******/
/***************************/
QToolBar#templatesBar QWidget{
background-color: rgb(237, 237, 237);
}
QToolBar#templatesBar QTabWidget::pane { /* The tab widget frame */
border-top: 1px solid #C2C7CB;
background-color: red;
}
QToolBar#templatesBar QTabWidget::tab-bar {
left: 10px; /* move to the right by 5px */
background-color: blue;
}
/* Style the tab using the tab sub-control. Note that
it reads QTabBar _not_ QTabWidget */
QToolBar#templatesBar QTabBar::tab{
min-width: 8ex;
padding: 2px;
padding-top:5px;
border-color: #9B9B9B;
border: 1px solid #C4C4C3;
border-bottom-color: #C2C7CB; /* same as pane color */
}
QToolBar#templatesBar QTabBar::tab:selected {
background-color: white;
border-bottom-color: #C2C7CB; /* same as the pane color */
}
QToolBar#templatesBar QTabBar::tab:hover {
background-color: white;
border-bottom-color: #C2C7CB; /* same as the pane color */
}
QToolBar#templatesBar QTabBar::tab:!selected{
background-color: #EDEDED;
}
QToolBar#templatesBar QPushButton
{
color: rgb(0, 0, 0);
background-color: rgb(237, 237, 237);
border: 1px solid rgb(182,182,182);
padding: 5px;
}
QToolBar#templatesBar QPushButton:hover
{
color: rgb(0, 0, 0);
background-color: rgb(255, 255, 255);
padding: 5px;
}
QToolBar#templatesBar QPushButton:pressed
{
color: rgb(0, 0, 0);
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(142, 142, 142, 255), stop:1 rgba(230, 230, 230, 255));
padding: 5px;
}
|