Lightdm greeter - theming of option-button

I try to theme the unity lightdm greeter and гve succeeded in doing so by looking at the source code and the Ambiance .css поля. One thing гm not able to theme however is shown in this short видео, and screenshot.

https://vid.me/mWYf

enter image description here

When entering в wrong password the greeter tries to log in and fails of course. The problem is that while the greeter tries to log in the button in the top right угол becomes white and the emblem becomes невидимый.

I know to theme the button (it is the option-button class) but I don't know how to find out which state the widget is in exactly when entering в wrong password; because this would enable to change its appearance by modifying the css file.

For reference: гm trying to modify this file here (the repsective definitions пахал in the last few lines): https://github.com/shimmerproject/Numix/blob/master/gtk-3.0/scss/apps / _ unity-greeter.scss

5
задан 29 December 2015 в 02:24

1 ответ

Хорошо, это полностью не очевидно, но я узнал как к теме это определенное состояние виджета кнопки.

Это

lightdm.option-button:insensitive:insensitive {
background: #whatevercolouryoulike; }

добивается цели.

4
ответ дан 23 November 2019 в 09:32

Другие вопросы по тегам:

Похожие вопросы: