Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit78e3d6a

Browse files
committed
feat(docs): enhance taskbar and windows desktops styling
- Added background color for foreground application icons in taskbar.- Updated workspace button label options to include {name}.- Introduced styles for context menu and rename dialog in windows desktops.
1 parent937ad25 commit78e3d6a

File tree

2 files changed

+64
-3
lines changed

2 files changed

+64
-3
lines changed

‎docs/widgets/(Widget)-Taskbar.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ taskbar:
5151
.taskbar-widget .app-icon {
5252
padding:0 6px;
5353
}
54+
.taskbar-widget .app-icon.foreground{
55+
background-color: rgba(0, 0, 0, 0.4);
56+
}
5457
```
5558

5659
> [!IMPORTANT]

‎docs/widgets/(Widget)-Windows-Desktops.md

Lines changed: 61 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ windows_workspaces:
2323
```
2424
2525
## Description of Options
26-
- **label_workspace_btn:** The format string for workspace buttons, can be iconor {index}.
27-
- **label_workspace_active_btn:** The format string for the active workspace button, can be iconor {index}.
28-
- **switch_workspace_animation:** The OS animation to use when switching workspaces.
26+
- **label_workspace_btn:** The format string for workspace buttons, can be icon, {index}or {name}.
27+
- **label_workspace_active_btn:** The format string for the active workspace button, can be icon, {index}or {name}.
28+
- **switch_workspace_animation:** The OS animation to use when switching workspaces. (currently unsupported)
2929
- **animation:** Buttons animation.
3030
- **container_padding:** Explicitly set padding inside widget container.
3131
@@ -40,6 +40,17 @@ windows_workspaces:
4040
.windows-workspaces .ws-btn.button-2 {} /*Style for second button.*/
4141
.windows-workspaces .ws-btn.active.button-1 {} /*Style for the active first workspace button.*/
4242
.windows-workspaces .ws-btn.active.button-2 {} /*Style for the active second workspace button.*/
43+
44+
.windows-desktops .context-menu {} /*Style for context menu.*/
45+
.windows-desktops .context-menu:item {} /*Style for context menu items.*/
46+
.windows-desktops .context-menu::item:selected {} /*Style for selected context menu items.*/
47+
.windows-desktops .context-menu::separator {} /*Style for context menu separator.*/
48+
49+
.windows-desktops .rename-dialog {} /*Style for rename dialog.*/
50+
.windows-desktops .rename-dialog QPushButton{} /*Style for rename dialog buttons.*/
51+
.windows-desktops .rename-dialog QPushButton:hover{} /*Style for rename dialog buttons hover.*/
52+
.windows-desktops .rename-dialog QLabel {} /*Style for rename dialog labels.*/
53+
.windows-desktops .rename-dialog QLineEdit {} /*Style for rename dialog line edit.*/
4354
```
4455

4556
###Example
@@ -62,6 +73,53 @@ windows_workspaces:
6273
.windows-desktops.ws-btn.active {
6374
color:#89b4fa;
6475
}
76+
77+
.windows-desktops.context-menu {
78+
background-color:rgba(17,17,27,0.75);
79+
border:none;
80+
border-radius:2px;
81+
padding:8px0;
82+
}
83+
.windows-desktops.context-menu:item {
84+
padding:6px16px;
85+
}
86+
.windows-desktops.context-menu::item:selected {
87+
background-color:rgba(255,255,255,0.05);
88+
color:#ffffff;
89+
}
90+
.windows-desktops.context-menu::separator {
91+
margin:2px0px2px0px;
92+
height:1px;
93+
background-color:rgba(255,255,255,0.1);
94+
}
95+
96+
.windows-desktops.rename-dialog {
97+
background-color:rgba(17,17,27,0.75);
98+
}
99+
.windows-desktops.rename-dialog QPushButton{
100+
background-color:rgba(255,255,255,0.1);
101+
color:#ffffff;
102+
border:none;
103+
padding:4px12px;
104+
border-radius:4px;
105+
}
106+
.windows-desktops.rename-dialog QPushButton:hover{
107+
background-color:#585858;
108+
color:#ffffff;
109+
border:none;
110+
padding:4px12px;
111+
border-radius:4px;
112+
}
113+
114+
.windows-desktops.rename-dialog QLabel {
115+
color:#ffffff;
116+
}
117+
.windows-desktops.rename-dialog QLineEdit {
118+
background-color:transparent;
119+
border:1pxsolid#89b4fa;
120+
padding:4px;
121+
color:#ffffff;
122+
}
65123
```
66124

67125
>[!NOTE]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp