OSDN Git Service

Changed default style to Cleanlooks, added default-cleanlooks.qss, and corrected...
[neighbornote/NeighborNote.git] / qss / default-cleanlooks.qss
1 /* Default stylesheet */
2
3
4
5 QTreeView::branch:has-siblings:!adjoins-item  {
6      border-image: url(qss/dummy.png) 0;
7  }
8
9  QTreeView::branch:has-siblings:adjoins-item {
10      border-image: url(qss/dummy.png) 0;
11  }
12  QTreeView::branch:!has-children:!has-siblings:adjoins-item  {
13      border-image: url(qss/dummy.png) 0;
14  }
15
16  QTreeView::branch:has-children:!has-siblings:closed,
17  QTreeView::branch:closed:has-children:has-siblings  {
18          border-image: none;
19          image: url(qss/branch-closed.png);
20  }
21
22  QTreeView::branch:open:has-children:!has-siblings,
23  QTreeView::branch:open:has-children:has-siblings  {
24          border-image: none;
25          image: url(qss/branch-open.png);
26  }
27  QTreeView::item {
28       padding: 1px 1px 1px 1px;    
29  } 
30  
31  QTreeView[hideTree="true"]::branch:!has-chlidren:hasSiblings {
32         border-image: none;
33         image: none;
34  }
35  QTreeView {
36         border: 0.1em solid #666;
37         padding: 0 0 0 0.3em;
38         height: 1.4em;
39         background: #B0C4DE; 
40         background: #EFEBE7;    
41  }
42
43  
44
45
46 QProgressBar { 
47         text-align: center; 
48 }
49
50 QTableView {
51
52         selection-color: black;
53         selection-background-color: #B0C4DE;
54 }
55
56
57 QSpinBox {
58      padding-right: 15px; /* make room for the arrows */
59      border-width: 3;
60      text-align: center;
61  }
62  
63  
64  QSplitter::handle {
65    border-radius: 3px;
66  }
67  
68
69 QHeaderView {
70         background: transparent;
71 }
72 QHeaderView::section {
73         border: 0.1em solid #666;
74         padding: 0 0 0 0.3em;
75         height: 1.4em; 
76         min-width: 20px;
77 }
78 QHeaderView
79         QHeaderView::section:first, QHeaderView::section:only-one {
80         border: 2px;
81         min-width: 50px;
82 }
83
84
85
86
87
88
89 /*
90 QLineEdit:focus {
91      border: 1px solid black;
92      border-radius: 10px;
93      padding: 0 8px;
94      background: #FFFFD4;
95      selection-background-color: darkgray;
96  }
97  QLineEdit:!focus {
98       border: none;
99       background-color: transparent;
100  }
101 */
102
103