feat(pixel): restyle desktop icons and context menu
This commit is contained in:
@@ -1,11 +1,9 @@
|
|||||||
.context-menu {
|
.context-menu {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
background: rgba(40, 40, 52, 0.82);
|
background: #0d0d1a;
|
||||||
backdrop-filter: var(--glass-blur);
|
border: 2px solid #333333;
|
||||||
-webkit-backdrop-filter: var(--glass-blur);
|
border-radius: 0;
|
||||||
border: 1px solid var(--glass-border);
|
box-shadow: 3px 3px 0 #000000;
|
||||||
border-radius: 8px;
|
|
||||||
box-shadow: 0 8px 32px rgba(0,0,0,0.4);
|
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
min-width: 200px;
|
min-width: 200px;
|
||||||
z-index: 9000;
|
z-index: 9000;
|
||||||
@@ -15,19 +13,21 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
padding: 6px 10px;
|
padding: 8px 10px;
|
||||||
border-radius: 5px;
|
border-radius: 0;
|
||||||
font-size: 13px;
|
font-size: 8px;
|
||||||
color: rgba(255,255,255,0.9);
|
color: rgba(255, 255, 255, 0.9);
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
letter-spacing: 0.5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.context-menu-item:hover {
|
.context-menu-item:hover {
|
||||||
background: var(--accent-blue);
|
background: var(--pixel-cyan);
|
||||||
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.context-menu-separator {
|
.context-menu-separator {
|
||||||
height: 1px;
|
height: 2px;
|
||||||
background: var(--glass-border);
|
background: #333333;
|
||||||
margin: 3px 6px;
|
margin: 3px 6px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,32 +6,34 @@
|
|||||||
cursor: default;
|
cursor: default;
|
||||||
width: 72px;
|
width: 72px;
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
border-radius: 8px;
|
border-radius: 0;
|
||||||
transition: background 0.1s;
|
transition: background 0.1s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.desktop-icon:hover {
|
.desktop-icon:hover {
|
||||||
background: rgba(255,255,255,0.08);
|
background: rgba(0, 255, 255, 0.08);
|
||||||
}
|
}
|
||||||
|
|
||||||
.desktop-icon-img {
|
.desktop-icon-img {
|
||||||
width: 56px;
|
width: 56px;
|
||||||
height: 56px;
|
height: 56px;
|
||||||
border-radius: var(--radius-icon);
|
border-radius: 0;
|
||||||
|
border: 2px solid #000;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
box-shadow: 0 2px 12px rgba(0,0,0,0.3);
|
box-shadow: 3px 3px 0 #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.desktop-icon-label {
|
.desktop-icon-label {
|
||||||
font-size: 11px;
|
font-size: 8px;
|
||||||
color: #fff;
|
color: var(--pixel-cyan);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-shadow: 0 1px 3px rgba(0,0,0,0.6);
|
text-shadow: 1px 1px 0 #000;
|
||||||
max-width: 72px;
|
max-width: 72px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
letter-spacing: 0.5px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user