Skip to content

Mint-Y/cinnamon: Style CheckBox2 (.check-box-2) - #559

Open
ogzhntutucu wants to merge 1 commit into
linuxmint:masterfrom
ogzhntutucu:mint-y-cinnamon-check-box-2
Open

ogzhntutucu wants to merge 1 commit into
linuxmint:masterfrom
ogzhntutucu:mint-y-cinnamon-check-box-2

Conversation

@ogzhntutucu

Copy link
Copy Markdown

Cinnamon's CheckBox2 widget (style class check-box-2, used by the
keyring unlock prompt in js/ui/keyringPrompt.js) has no style in Mint-Y,
so the check box indicator is invisible: only the label is shown, and
clicking the label silently toggles the hidden box. Mint-X and Cinnamon's
default theme already style it.

This reuses the existing .check-box rules for .check-box-2 and adds
spacing between the indicator and the label, since CheckBox2 uses an
St.BoxLayout instead of a CinnamonGenericContainer. The css files were
regenerated with parse-sass.sh.

Tested on Linux Mint 22.3 (Cinnamon) with Mint-Y-Dark-Red: the
"Automatically unlock this keyring whenever I'm logged in" check box is
now visible and toggles correctly.

Cinnamon's CheckBox2 widget (style class `check-box-2`, used by the
keyring unlock prompt in js/ui/keyringPrompt.js) has no style in Mint-Y,
so the check box indicator is invisible: only the label is shown, and
clicking the label silently toggles the hidden box. Mint-X and Cinnamon's
default theme already style it.

Reuse the existing `.check-box` rules for `.check-box-2` and add spacing
between the indicator and the label, since CheckBox2 uses an St.BoxLayout
instead of a CinnamonGenericContainer. Regenerate the css files with
parse-sass.sh.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant