0

I was trying to change the theme of panel button : calendar And here is my attempt enter image description here

I need to make calendar looks like this, specifically how to alter the appearance of the first line or second line in StLabel ..

CSS class name :

#panel .panel-button StLabel

enter image description here

version: 18.10 theme: arc-dark gnome shell theme

5
  • what is your Ubuntu version?
    – PRATAP
    Dec 25, 2018 at 11:02
  • first line and second line you are talking about is 12:31 and Tue, 25. Dec??
    – PRATAP
    Dec 25, 2018 at 11:09
  • yes, exactly those are the lines
    – abd3lraouf
    Dec 25, 2018 at 17:48
  • are you using clock override extension? in simple you want first line font-size and second line font-size to be customized rite?
    – PRATAP
    Dec 25, 2018 at 18:04
  • yes I use them, just to override how they appear ... I use this format : ` %H:%M%n%a, %d. %h`
    – abd3lraouf
    Dec 25, 2018 at 20:17

2 Answers 2

1

The style_class for this particular field is #panel .clock-display

examples:

#panel .clock-display { color: yellow; text-align: center; font-size: 11pt; }

enter image description here

#panel .clock-display { color: yellow; text-align: center; font-size: 20pt; }

enter image description here

#panel .clock-display { color: magenta; text-align: center; font-size: 10pt; }

enter image description here

In my opinion and after several attempts,

since 1st line & 2nd line are from Clock Override Extension..
the alteration you are looking for 1st line & 2nd line is not possible unless this extension or gnome-shell system files are edited to match to separate those two lines.

1
  • I want the selector class of first and second line in the calendar button .. I'm using arc-dark gnome shell theme
    – abd3lraouf
    Dec 25, 2018 at 17:50
1

careful if you are using the Unite Gnome Tweak as it's first button in its preferences stops top bar css file changes

super key
type TWEAK
select Unite
select Extension Settings
unselect the "apply system fonts to shell theme"
restart xorg alt F2, r, enter

the last was not necessary as I had already done that with the css edit. results were immediate.

my editing of my theme's gnome.shell.css (yaru theme Ubuntu 19.04) file did not work until I unchecked the tweak

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .