Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Style scale value #1261

Open
danirabbit opened this issue Jun 24, 2023 · 0 comments
Open

Style scale value #1261

danirabbit opened this issue Jun 24, 2023 · 0 comments
Labels
Needs Design Waiting for input from the UX team

Comments

@danirabbit
Copy link
Member

danirabbit commented Jun 24, 2023

Problem

We don't current ever show scale values, but in same cases it might be nice to show the value while dragging the slider

Proposal

Style scale value as an .osd element:

Screenshot from 2023-06-24 16 34 58

scale value {
background-color: alpha(@BLACK_700, 0.9);
border-radius: 3px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
color: white;
padding: 3px 6px;
margin: -6px -6px -3px -6px;
transition: all 200ms ease-in-out;
}

scale:not(.dragging) value {
color: transparent;
background: transparent;
box-shadow: none;
}

Prior Art (Optional)

elementary/switchboard-plug-keyboard#447

@danirabbit danirabbit added the Needs Design Waiting for input from the UX team label Jun 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Design Waiting for input from the UX team
Projects
None yet
Development

No branches or pull requests

1 participant