From 6f4e494e067ba8778c2a4064d218639743cf715a Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Fri, 24 Jan 2014 13:26:24 -0800 Subject: Bunch of UI style improvements. --- ZeroTierUI/stylesheet.css | 90 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 ZeroTierUI/stylesheet.css (limited to 'ZeroTierUI/stylesheet.css') diff --git a/ZeroTierUI/stylesheet.css b/ZeroTierUI/stylesheet.css new file mode 100644 index 00000000..706da1fa --- /dev/null +++ b/ZeroTierUI/stylesheet.css @@ -0,0 +1,90 @@ +QToolButton { + margin: 0; + padding: 2px; + text-align: center; + background: palette(button); + color: palette(button-text); + border: 1px solid transparent; +} +QToolButton:focus { + border: 1px solid #000000; +} +QToolButton:hover { + background: palette(highlight); +} +QToolButton:pressed { + border: 1px solid #000000; +} + +QToolButton.clickToCopy { + padding: 0; + margin: 0; + border: 0; + background: transparent; + color: palette(link); +} +QToolButton.clickToCopy:focus { + text-decoration: underline; +} +QToolButton.clickToCopy:hover { + text-decoration: underline; +} +QToolButton.clickToCopy:pressed { + background: transparent; +} + +QToolButton.leaveNetworkButton { + margin: 0 4px 3px 0; +} + +QMainWindow { + background: palette(dark); +} + +QListWidget { + background: transparent; + padding: 0; + margin: 0; + border: 0; +} +QListWidget::item { + background: palette(base); + margin: 1px 0 1px 0; +} + +QListWidget.ipAddressList { + background: palette(button); + margin: 0 4px 4px 0; +} +QListWidget.ipAddressList::item { + background: transparent; + color: palette(link); + border-bottom: 1px solid transparent; +} +QListWidget.ipAddressList::item:selected { + background: transparent; + border-bottom: 1px solid transparent; +} +QListWidget.ipAddressList::item:hover { + border-bottom: 1px solid palette(link); +} + +QLabel.networkName { + padding: 0 0.8em 0.1em 0; + margin: 0; + text-align: right; +} + +#joinNetworkButton { + margin: 1px; + padding: 0; +} + +#networkListWidget { + background: palette(dark); + margin: 0 0 2px 0; +} + +#bottomContainerWidget { + background: palette(base); +} -- cgit v1.2.3