OSDN Git Service

タブを閉じた時に、inkNote変数とreadOnly変数を更新するように修正。
[neighbornote/NeighborNote.git] / qss / coffee.qss
1 .QWidget {
2    background-color: beige;
3 }
4
5 /* Nice Windows-XP-style password character. */
6 QLineEdit[echoMode="2"] {
7     lineedit-password-character: 9679;
8 }
9
10 /* We provide a min-width and min-height for push buttons
11    so that they look elegant regardless of the width of the text. */
12 QPushButton {
13     background-color: palegoldenrod;
14     border-width: 2px;
15     border-color: darkkhaki;
16     border-style: solid;
17     border-radius: 5;
18     padding: 3px;
19     min-width: 9ex;
20     min-height: 2.5ex;
21 }
22
23 QPushButton:hover {
24    background-color: khaki;
25 }
26
27 /* Increase the padding, so the text is shifted when the button is
28    pressed. */
29 QPushButton:pressed {
30     padding-left: 5px;
31     padding-top: 5px;
32     background-color: #d0d67c;
33 }
34
35 QLabel, QAbstractButton {
36     font: bold;
37 }
38
39 /* Mark mandatory fields with a brownish color. */
40 .mandatory {
41     color: brown;
42 }
43
44 /* Bold text on status bar looks awful. */
45 QStatusBar QLabel {
46    font: normal;
47 }
48
49 QStatusBar::item {
50     border-width: 1;
51     border-color: darkkhaki;
52     border-style: solid;
53     border-radius: 2;
54 }
55
56 QComboBox, QLineEdit, QSpinBox, QTextEdit, QListView {
57     background-color: cornsilk;
58     selection-color: #0a214c;
59     selection-background-color: wheat;
60 }
61
62 /* We reserve 1 pixel space in padding. When we get the focus,
63    we kill the padding and enlarge the border. This makes the items
64    glow. */
65 QLineEdit, QFrame {
66     border-width: 2px;
67     padding: 1px;
68     border-style: solid;
69     border-color: darkkhaki;
70     border-radius: 5px;
71 }
72
73 /* As mentioned above, eliminate the padding and increase the border. */
74 QLineEdit:focus, QFrame:focus {
75     border-width: 3px;
76     padding: 0px;
77 }
78
79 /* A QLabel is a QFrame ... */
80 QLabel {
81     border: none;
82     padding: 0;
83     background: none;
84 }
85
86 /* Nice to have the background color change when hovered. */
87 QRadioButton:hover, QCheckBox:hover {
88     background-color: wheat;
89 }
90
91 /* Force the dialog's buttons to follow the Windows guidelines. */
92 QDialogButtonBox {
93     button-layout: 0;
94 }
95
96 QToolTip {
97     padding: 5px;
98     border-radius: 3px;
99     opacity: 200;
100 }