Enhancement: Fixes #4, implement GtkComboBox styles

This commit is contained in:
Rory Fewell
2020-08-30 01:05:06 +01:00
parent c7e5289d00
commit 598342a5ab
6 changed files with 50 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 648 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 470 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 714 B

View File

@@ -0,0 +1,49 @@
/**
* combobox.scss - Combobox Widget Luna (Blue) Styles
*
* This source-code is part of Windows XP stuff for XFCE:
* <<https://www.oddmatics.uk>>
*
* Author(s): Rory Fewell <roryf@oddmatics.uk>
*/
combobox
{
background-color: #FFF;
border: 1px solid #7F9DB9;
button
{
background-image: url("../Resources/combobox_button.png");
background-position: right;
background-repeat: no-repeat;
background-size: contain;
border-width: 0px;
margin: 1px;
min-height: 18px;
min-width: 15px;
&:hover
{
background-image: url("../Resources/combobox_button_hover.png");
}
&:active
{
background-image: url("../Resources/combobox_button_press.png");
}
&:disabled
{
background-image: url("../Resources/combobox_button_inactive.png");
}
}
entry
{
border-width: 0px;
padding-top: 2px;
}
}

View File

@@ -10,6 +10,7 @@
@import "controls/_base";
@import "controls/button";
@import "controls/checkbox";
@import "controls/combobox";
@import "controls/entry";
@import "controls/menu";
@import "controls/menubar";