[Stylesheets] Remove whitespace and add "checked" icon style
This commit is contained in:
@@ -181,12 +181,20 @@ QMenu::right-arrow:selected {
|
||||
}
|
||||
|
||||
QMenu::item {
|
||||
padding: 2px 16px 2px 26px; /* make room for icon at left */
|
||||
padding: 2px 4px; /* make room for icon at left */
|
||||
border: 1px solid transparent; /* reserve space for selection border */
|
||||
}
|
||||
|
||||
QMenu::icon {
|
||||
margin-left: 2px;
|
||||
margin-left: 1px;
|
||||
margin-right: 1px;
|
||||
}
|
||||
|
||||
QMenu::icon:checked { /* appearance of a 'checked' icon */
|
||||
background: #61D29D;
|
||||
border: 2px #61D29D;
|
||||
position: absolute;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QMenu::separator {
|
||||
|
||||
@@ -148,12 +148,20 @@ QMenu::right-arrow:selected {
|
||||
}
|
||||
|
||||
QMenu::item {
|
||||
padding: 2px 16px 2px 26px; /* make room for icon at left */
|
||||
padding: 2px 4px; /* make room for icon at left */
|
||||
border: 1px solid transparent; /* reserve space for selection border */
|
||||
}
|
||||
|
||||
QMenu::icon {
|
||||
margin-left: 2px;
|
||||
margin-left: 1px;
|
||||
margin-right: 1px;
|
||||
}
|
||||
|
||||
QMenu::icon:checked { /* appearance of a 'checked' icon */
|
||||
background: #5e90fa;
|
||||
border: 2px #5e90fa;
|
||||
position: absolute;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QMenu::separator {
|
||||
|
||||
@@ -148,12 +148,20 @@ QMenu::right-arrow:selected {
|
||||
}
|
||||
|
||||
QMenu::item {
|
||||
padding: 2px 16px 2px 26px; /* make room for icon at left */
|
||||
padding: 2px 4px; /* make room for icon at left */
|
||||
border: 1px solid transparent; /* reserve space for selection border */
|
||||
}
|
||||
|
||||
QMenu::icon {
|
||||
margin-left: 2px;
|
||||
margin-left: 1px;
|
||||
margin-right: 1px;
|
||||
}
|
||||
|
||||
QMenu::icon:checked { /* appearance of a 'checked' icon */
|
||||
background: #2053c0;
|
||||
border: 2px #2053c0;
|
||||
position: absolute;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QMenu::separator {
|
||||
|
||||
@@ -148,12 +148,20 @@ QMenu::right-arrow:selected {
|
||||
}
|
||||
|
||||
QMenu::item {
|
||||
padding: 2px 16px 2px 26px; /* make room for icon at left */
|
||||
padding: 2px 4px; /* make room for icon at left */
|
||||
border: 1px solid transparent; /* reserve space for selection border */
|
||||
}
|
||||
|
||||
QMenu::icon {
|
||||
margin-left: 2px;
|
||||
margin-left: 1px;
|
||||
margin-right: 1px;
|
||||
}
|
||||
|
||||
QMenu::icon:checked { /* appearance of a 'checked' icon */
|
||||
background: #94b30f;
|
||||
border: 2px #94b30f;
|
||||
position: absolute;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QMenu::separator {
|
||||
|
||||
@@ -148,12 +148,20 @@ QMenu::right-arrow:selected {
|
||||
}
|
||||
|
||||
QMenu::item {
|
||||
padding: 2px 16px 2px 26px; /* make room for icon at left */
|
||||
padding: 2px 4px; /* make room for icon at left */
|
||||
border: 1px solid transparent; /* reserve space for selection border */
|
||||
}
|
||||
|
||||
QMenu::icon {
|
||||
margin-left: 2px;
|
||||
margin-left: 1px;
|
||||
margin-right: 1px;
|
||||
}
|
||||
|
||||
QMenu::icon:checked { /* appearance of a 'checked' icon */
|
||||
background: #daa116;
|
||||
border: 2px #daa116;
|
||||
position: absolute;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QMenu::separator {
|
||||
|
||||
@@ -148,12 +148,20 @@ QMenu::right-arrow:selected {
|
||||
}
|
||||
|
||||
QMenu::item {
|
||||
padding: 2px 16px 2px 26px; /* make room for icon at left */
|
||||
padding: 2px 4px; /* make room for icon at left */
|
||||
border: 1px solid transparent; /* reserve space for selection border */
|
||||
}
|
||||
|
||||
QMenu::icon {
|
||||
margin-left: 2px;
|
||||
margin-left: 1px;
|
||||
margin-right: 1px;
|
||||
}
|
||||
|
||||
QMenu::icon:checked { /* appearance of a 'checked' icon */
|
||||
background: #2053c0;
|
||||
border: 2px #2053c0;
|
||||
position: absolute;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QMenu::separator {
|
||||
|
||||
@@ -148,12 +148,20 @@ QMenu::right-arrow:selected {
|
||||
}
|
||||
|
||||
QMenu::item {
|
||||
padding: 2px 16px 2px 26px; /* make room for icon at left */
|
||||
padding: 2px 4px; /* make room for icon at left */
|
||||
border: 1px solid transparent; /* reserve space for selection border */
|
||||
}
|
||||
|
||||
QMenu::icon {
|
||||
margin-left: 2px;
|
||||
margin-left: 1px;
|
||||
margin-right: 1px;
|
||||
}
|
||||
|
||||
QMenu::icon:checked { /* appearance of a 'checked' icon */
|
||||
background: #74831d;
|
||||
border: 2px #74831d;
|
||||
position: absolute;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QMenu::separator {
|
||||
|
||||
@@ -148,12 +148,20 @@ QMenu::right-arrow:selected {
|
||||
}
|
||||
|
||||
QMenu::item {
|
||||
padding: 2px 16px 2px 26px; /* make room for icon at left */
|
||||
padding: 2px 4px; /* make room for icon at left */
|
||||
border: 1px solid transparent; /* reserve space for selection border */
|
||||
}
|
||||
|
||||
QMenu::icon {
|
||||
margin-left: 2px;
|
||||
margin-left: 1px;
|
||||
margin-right: 1px;
|
||||
}
|
||||
|
||||
QMenu::icon:checked { /* appearance of a 'checked' icon */
|
||||
background: #b28416;
|
||||
border: 2px #b28416;
|
||||
position: absolute;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QMenu::separator {
|
||||
|
||||
@@ -148,12 +148,20 @@ QMenu::right-arrow:selected {
|
||||
}
|
||||
|
||||
QMenu::item {
|
||||
padding: 2px 16px 2px 26px; /* make room for icon at left */
|
||||
padding: 2px 4px; /* make room for icon at left */
|
||||
border: 1px solid transparent; /* reserve space for selection border */
|
||||
}
|
||||
|
||||
QMenu::icon {
|
||||
margin-left: 2px;
|
||||
margin-left: 1px;
|
||||
margin-right: 1px;
|
||||
}
|
||||
|
||||
QMenu::icon:checked { /* appearance of a 'checked' icon */
|
||||
background: #5e90fa;
|
||||
border: 2px #5e90fa;
|
||||
position: absolute;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QMenu::separator {
|
||||
|
||||
@@ -148,12 +148,20 @@ QMenu::right-arrow:selected {
|
||||
}
|
||||
|
||||
QMenu::item {
|
||||
padding: 2px 16px 2px 26px; /* make room for icon at left */
|
||||
padding: 2px 4px; /* make room for icon at left */
|
||||
border: 1px solid transparent; /* reserve space for selection border */
|
||||
}
|
||||
|
||||
QMenu::icon {
|
||||
margin-left: 2px;
|
||||
margin-left: 1px;
|
||||
margin-right: 1px;
|
||||
}
|
||||
|
||||
QMenu::icon:checked { /* appearance of a 'checked' icon */
|
||||
background: #94b30f;
|
||||
border: 2px #94b30f;
|
||||
position: absolute;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QMenu::separator {
|
||||
|
||||
@@ -148,12 +148,20 @@ QMenu::right-arrow:selected {
|
||||
}
|
||||
|
||||
QMenu::item {
|
||||
padding: 2px 16px 2px 26px; /* make room for icon at left */
|
||||
padding: 2px 4px; /* make room for icon at left */
|
||||
border: 1px solid transparent; /* reserve space for selection border */
|
||||
}
|
||||
|
||||
QMenu::icon {
|
||||
margin-left: 2px;
|
||||
margin-left: 1px;
|
||||
margin-right: 1px;
|
||||
}
|
||||
|
||||
QMenu::icon:checked { /* appearance of a 'checked' icon */
|
||||
background: #daa116;
|
||||
border: 2px #daa116;
|
||||
position: absolute;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QMenu::separator {
|
||||
|
||||
@@ -191,12 +191,20 @@ QMenu::right-arrow:selected {
|
||||
}
|
||||
|
||||
QMenu::item {
|
||||
padding: 2px 16px 2px 26px; /* make room for icon at left */
|
||||
padding: 2px 4px; /* make room for icon at left */
|
||||
border: 1px solid transparent; /* reserve space for selection border */
|
||||
}
|
||||
|
||||
QMenu::icon {
|
||||
margin-left: 2px;
|
||||
margin-left: 1px;
|
||||
margin-right: 1px;
|
||||
}
|
||||
|
||||
QMenu::icon:checked { /* appearance of a 'checked' icon */
|
||||
background: #557BB6;
|
||||
border: 2px #557BB6;
|
||||
position: absolute;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QMenu::separator {
|
||||
|
||||
Reference in New Issue
Block a user