summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-09-02 05:57:08 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-09-02 05:57:08 -0300
commit430e7ab132d1c9d9d370a89e85385b11fb2e045c (patch)
tree5e629c1dc4875d0d38cda28e3f4920aa2314ec42
parent3fe3426b14e95c1b03f320490b0f888cad15b884 (diff)
downloadsubsurface-430e7ab132d1c9d9d370a89e85385b11fb2e045c.tar.gz
Added missing CSS file.
Added missing CSS file, this CSS file is used by our tables to set everything on the ui. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
-rw-r--r--qt-ui/css/tableviews.css28
1 files changed, 28 insertions, 0 deletions
diff --git a/qt-ui/css/tableviews.css b/qt-ui/css/tableviews.css
new file mode 100644
index 000000000..4e8396886
--- /dev/null
+++ b/qt-ui/css/tableviews.css
@@ -0,0 +1,28 @@
+ QTableView {
+ show-decoration-selected: 1;
+ }
+
+ QTableView::item {
+ border: 1px solid #d9d9d9;
+ border-top-color: transparent;
+ border-bottom-color: transparent;
+ padding: 2px;
+ }
+
+ QTableView::item:hover {
+ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #e7effd, stop: 1 #cbdaf1);
+ border: 1px solid #bfcde4;
+ }
+
+ QTableView::item:selected {
+ border: 1px solid #567dbc;
+ }
+
+ QTableView::item:selected:active{
+ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);
+ }
+
+ QTableView::item:selected:!active {
+ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6b9be8, stop: 1 #577fbf);
+ }
+