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