aboutsummaryrefslogtreecommitdiff
path: root/copyq-6.3.2/themes/menu.css
diff options
context:
space:
mode:
authorIndrajith K L2022-12-03 17:00:20 +0530
committerIndrajith K L2022-12-03 17:00:20 +0530
commitf5c4671bfbad96bf346bd7e9a21fc4317b4959df (patch)
tree2764fc62da58f2ba8da7ed341643fc359873142f /copyq-6.3.2/themes/menu.css
downloadcli-tools-windows-master.tar.gz
cli-tools-windows-master.tar.bz2
cli-tools-windows-master.zip
Adds most of the toolsHEADmaster
Diffstat (limited to 'copyq-6.3.2/themes/menu.css')
-rw-r--r--copyq-6.3.2/themes/menu.css60
1 files changed, 60 insertions, 0 deletions
diff --git a/copyq-6.3.2/themes/menu.css b/copyq-6.3.2/themes/menu.css
new file mode 100644
index 0000000..38249a1
--- /dev/null
+++ b/copyq-6.3.2/themes/menu.css
@@ -0,0 +1,60 @@
+/* Remove icon border in menus. */
+#TrayMenu::item:selected,
+#MainWindow>QMenu::item:selected,
+#menu_bar>QMenu::item:selected
+{
+ border:none
+}
+
+#TrayMenu::item,
+#MainWindow>QMenu::item,
+#menu_bar>QMenu::item
+{
+ ;padding: 0.2em 1em 0.2em 1em
+ ;padding-left: ${scale=2}${icon_size}${scale=1}px
+}
+
+#TrayMenu::icon,
+#MainWindow>QMenu::icon,
+#menu_bar>QMenu::icon
+{
+ ;padding-left: ${scale=0.5}${icon_size}${scale=1}px
+}
+
+/* Keep default item highlighted (removing icon border resets the style). */
+#TrayMenu::item:default,
+#MainWindow>QMenu::item:default,
+#menu_bar>QMenu::item:default
+{
+ font-weight:bold
+}
+
+#TrayMenu,
+#MainWindow>QMenu,
+#menu_bar>QMenu
+{
+ ${menu_css}
+}
+
+#TrayMenu::item,
+#TrayMenu::separator,
+#MainWindow>QMenu::item,
+#MainWindow>QMenu::separator,
+#menu_bar>QMenu::item,
+#menu_bar>QMenu::separator
+{
+ ${menu_bar_css}
+}
+
+#TrayMenu::item:selected,
+#MainWindow>QMenu::item:selected,
+#menu_bar>QMenu::item:selected
+{
+ ${menu_bar_selected_css}
+}
+
+#menu_bar, #menu_bar::item{${menu_bar_css}}
+#menu_bar::item:selected{${menu_bar_selected_css}}
+#menu_bar::item:disabled{${menu_bar_disabled_css}}
+
+${css:tooltip}