summaryrefslogtreecommitdiff
path: root/ZeroTierUI/stylesheet.css
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-01-24 13:26:24 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-01-24 13:26:24 -0800
commit6f4e494e067ba8778c2a4064d218639743cf715a (patch)
treea253ebfcf645495dc63f8328416988fe7fedd69f /ZeroTierUI/stylesheet.css
parenteb554a504d8dc4d71ef61a1198cdb641a0c46b03 (diff)
downloadinfinitytier-6f4e494e067ba8778c2a4064d218639743cf715a.tar.gz
infinitytier-6f4e494e067ba8778c2a4064d218639743cf715a.zip
Bunch of UI style improvements.
Diffstat (limited to 'ZeroTierUI/stylesheet.css')
-rw-r--r--ZeroTierUI/stylesheet.css90
1 files changed, 90 insertions, 0 deletions
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);
+}