frontend-dali/source/style/widget-menu.css

75 lines
1,016 B
CSS
Raw Normal View History

2025-10-17 00:10:28 +02:00
.widget-menu
{
margin-left: auto;
margin-right: 8px;
width: fit-content;
2025-10-17 00:10:28 +02:00
}
.widget-menu.widget-menu-collapsed > .widget-menu-platform
{
display: none;
}
.widget-menu-button
{
text-transform: initial;
2025-10-17 00:10:28 +02:00
}
.widget-menu-entry
{
cursor: pointer;
}
.widget-menu-platform
{
background-color: hsl(var(--hue), 0%, 25%);
border-radius: 2px;
border: 1px solid hsl(var(--hue), 0%, 0%);
padding: 8px;
min-width: 200px;
}
.widget-menu-platform:not(.widget-menu-platform-collapsed)
{
position: fixed;
2025-10-19 18:47:54 +02:00
top: 50px;
right: 20px;
2025-10-17 00:10:28 +02:00
z-index: 2;
}
.widget-menu-entries
{
padding: 0;
margin: 0;
list-style-type: none;
}
.widget-menu-entry
{
2025-10-19 18:47:54 +02:00
margin: 8px;
2025-10-17 00:10:28 +02:00
text-transform: capitalize;
}
.widget-menu-entry:not(:hover)
{
background-color: hsl(var(--hue), 0%, 25%);
color: hsl(var(--hue), 0%, 100%);
}
2025-10-19 18:47:54 +02:00
.widget-menu-entry:hover::before
2025-10-17 00:10:28 +02:00
{
2025-10-19 18:47:54 +02:00
content: "» ";
2025-10-17 00:10:28 +02:00
/*
background-color: hsl(var(--hue), 0%, 50%);
color: hsl(var(--hue), 0%, 100%);
*/
}
.widget-menu-entry.widget-menu-entry-hidden
{
display: none;
}