Leistungs-Icons als plastische 3D-Keycaps
Icon-Flächen in den Leistungs-Kacheln zu zweischichtigen Tasten umgebaut: grauer Tastenkörper mit erhöhter, gewölbter Oberfläche, Glanzkante und weichem Bodenschatten. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
85049b90f1
commit
d54bd2c6a9
1 file changed
+33
-13
+33
-13
@@ -378,22 +378,42 @@ a { color: inherit; text-decoration: none; }
|
|||||||
transition: background .15s ease;
|
transition: background .15s ease;
|
||||||
}
|
}
|
||||||
.card:hover { background: var(--paper-2); }
|
.card:hover { background: var(--paper-2); }
|
||||||
/* Icon sitzt auf einem weißen 3D-Keycap */
|
/* Icon-Keycap — gewölbte Taste mit erhöhter Oberfläche (3D) */
|
||||||
.icon-key {
|
.icon-key {
|
||||||
display: inline-flex;
|
position: relative;
|
||||||
align-items: center;
|
display: inline-block;
|
||||||
justify-content: center;
|
width: 58px;
|
||||||
width: 56px;
|
height: 58px;
|
||||||
height: 56px;
|
margin-bottom: 30px;
|
||||||
margin-bottom: 28px;
|
border-radius: 12px;
|
||||||
background: var(--paper);
|
/* Tastenkörper / Seitenwände */
|
||||||
border: 1.6px solid var(--black);
|
background: linear-gradient(180deg, #DADADA 0%, #C0C0C0 60%, #B0B0B0 100%);
|
||||||
border-radius: 8px;
|
box-shadow: 0 9px 13px -5px rgba(0,0,0,.28);
|
||||||
box-shadow: 0 5px 0 0 var(--black);
|
|
||||||
}
|
}
|
||||||
|
/* erhöhte, leicht gewölbte Tastenoberfläche */
|
||||||
|
.icon-key::before {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
top: 4px;
|
||||||
|
left: 4px;
|
||||||
|
right: 4px;
|
||||||
|
bottom: 11px;
|
||||||
|
border-radius: 8px;
|
||||||
|
background: linear-gradient(180deg, #FFFFFF 0%, #EDEDED 100%);
|
||||||
|
box-shadow:
|
||||||
|
inset 0 2px 1px rgba(255,255,255,.95),
|
||||||
|
inset 0 -4px 6px rgba(0,0,0,.09);
|
||||||
|
}
|
||||||
|
/* Icon zentriert auf der Tastenoberfläche */
|
||||||
.card-icon {
|
.card-icon {
|
||||||
width: 27px;
|
position: absolute;
|
||||||
height: 27px;
|
top: 4px;
|
||||||
|
left: 4px;
|
||||||
|
right: 4px;
|
||||||
|
bottom: 11px;
|
||||||
|
margin: auto;
|
||||||
|
width: 26px;
|
||||||
|
height: 26px;
|
||||||
}
|
}
|
||||||
.card h3 {
|
.card h3 {
|
||||||
font-size: 19px;
|
font-size: 19px;
|
||||||
|
|||||||
Reference in new issue
Block a user