Earlybird 29.0 - Restore White Pane in Compose Message

Discussion about official Mozilla Thunderbird builds
plittlefield
Posts: 4
Joined: July 25th, 2014, 7:16 am

Re: Earlybird 29.0 - Restore White Pane in Compose Message

Post by plittlefield »

No, no error mentioning UserChrome.css - just these 2...

Code: Select all

1. Could not read chrome manifest 'file:///opt/thunderbird/extensions/%7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D/chrome.manifest'.
2. Warning: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create - Source File: resource://gre/components/steelApplication.js - Line: 783


...these are my files:-

Code: Select all

paully@paully-samsung-laptop:~$ ll ~/.thunderbird/udiwzd35.default/chrome/
total 20K
drwxrwxr-x  2 paully paully 4.0K 2014-07-25 15:12 .
drwx------ 18 paully paully 4.0K 2014-07-28 08:42 ..
-rw-rw-r--  1 paully paully 5.1K 2014-07-25 15:12 UserChrome.css
-rw-rw-r--  1 paully paully  102 2013-11-04 09:39 UserContent.css


...the game continues!

:-)

Paully
rsx11m
Moderator
Posts: 14404
Joined: May 3rd, 2007, 7:40 am
Location: US

Re: Earlybird 29.0 - Restore White Pane in Compose Message

Post by rsx11m »

Make it userChrome.css and userContent.css (if you have any message content styles to override) instead. It makes a difference if you have a leading upper-case 'U' vs. the required lower-case 'u' as letter case matters.
keeboudi
Posts: 4
Joined: January 27th, 2013, 4:32 pm

Re: Earlybird 29.0 - Restore White Pane in Compose Message

Post by keeboudi »

I know I am a little late to the party but here's what I hacked together ... removed hover states etc. and targeted the From: field as well for a simpler approach:

Code: Select all

/* ::::: From: msgIdentity box ::::: */
 #msgIdentity {
 background-color: -moz-Field !important;
 transition: border .0s, background-color .0s !important;
 border-radius: 2px !important;
 -moz-border-top-colors: ThreeDShadow transparent !important;
 -moz-border-right-colors: ThreeDShadow transparent !important;
 -moz-border-bottom-colors: ThreeDShadow transparent !important;
 -moz-border-left-colors: ThreeDShadow transparent !important;
}

/* ::::: addressing widget ::::: */
 .textbox-addressingWidget,
 .dummy-row-cell:not(:first-child) {
 background-color: -moz-field !important;
 transition: border .0s, background-color .0s !important;
 border: 2px solid transparent !important;
 -moz-border-top-colors: ThreeDShadow transparent !important;
 -moz-border-right-colors: ThreeDShadow transparent !important;
 -moz-border-bottom-colors: ThreeDShadow transparent !important;
 -moz-border-left-colors: ThreeDShadow transparent !important;
}

/* ::::: subject box ::::: */
 #msgSubject {
 -moz-appearance: none;
 background-color: -moz-field !important;
 transition: border .0s, background-color .0s !important;
 -moz-border-top-colors: ThreeDShadow transparent !important;
 -moz-border-right-colors: ThreeDShadow transparent !important;
 -moz-border-bottom-colors: ThreeDShadow transparent !important;
 -moz-border-left-colors: ThreeDShadow transparent !important;
}


Looks like this:

Image
User avatar
L.A.R. Grizzly
Posts: 5396
Joined: March 15th, 2005, 5:32 pm
Location: Upstate Ohio, USA
Contact:

Re: Earlybird 29.0 - Restore White Pane in Compose Message

Post by L.A.R. Grizzly »

Nice, keeboudi. I'll try it for a while to see how it works out! Thanks!
Win7 Pro SP1 64 Bit
Comodo Internet Security
Pale Moon 33.0.2, Epyrus Mail 2.1.2, Firefox 115.8.0esr, Thunderbird 115.8.1, and SeaMonkey 2.53.18
Ed1
Posts: 1059
Joined: January 30th, 2005, 2:33 pm

Re: Earlybird 29.0 - Restore White Pane in Compose Message

Post by Ed1 »

Just reporting that keeboudi's fix for the compose message window is still working in the latest TB release, 38.7.2.
User avatar
L.A.R. Grizzly
Posts: 5396
Joined: March 15th, 2005, 5:32 pm
Location: Upstate Ohio, USA
Contact:

Re: Earlybird 29.0 - Restore White Pane in Compose Message

Post by L.A.R. Grizzly »

Ed1 wrote:Just reporting that keeboudi's fix for the compose message window is still working in the latest TB release, 38.7.2.
I can confirm, still working here as well.
Win7 Pro SP1 64 Bit
Comodo Internet Security
Pale Moon 33.0.2, Epyrus Mail 2.1.2, Firefox 115.8.0esr, Thunderbird 115.8.1, and SeaMonkey 2.53.18
mozillazinefor19#34_
Posts: 43
Joined: November 29th, 2014, 1:15 am

Re: Earlybird 29.0 - Restore White Pane in Compose Message

Post by mozillazinefor19#34_ »

Bozz wrote:Hi Grizz,
I was bored so I've been playing around with the new UI and came up with a little mix of Thunderbird v24 and the latest 33.0a1.

If you could test it please, I would appreciate it.

Image

Code: Select all

/* ::::: From: msgIdentity box ::::: */

#msgIdentity {
   background-color: -moz-Field !important;
   transition: border .0s, background-color .0s !important;
   border-radius: 2px !important;
}

@media not all and (-moz-windows-default-theme) {
   #msgIdentity {
     -moz-border-top-colors: ThreeDShadow ThreeDLightShadow !important;
     -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow !important;
     -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow !important;
     -moz-border-left-colors: ThreeDShadow ThreeDLightShadow !important;
  }

  #msgIdentity:hover,
  #msgIdentity[focused="true"] {
     background-color: -moz-Field !important;
     -moz-border-top-colors: ThreeDShadow ThreeDLightShadow !important;
     -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow !important;
     -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow !important;
     -moz-border-left-colors: ThreeDShadow ThreeDLightShadow !important;
  }
}


/* ::::: To, Cc, Bcc button ::::: */

@media not all and (-moz-windows-default-theme) {
  .aw-menulist {
     margin-top: 0px !important;
     -moz-margin-end: 4px !important;
     border-width: 2px !important;
     -moz-border-top-colors: ThreeDLightShadow ThreeDHighlight !important;
     -moz-border-right-colors: ThreeDDarkShadow ThreeDLightShadow !important;
     -moz-border-bottom-colors: ThreeDDarkShadow ThreeDLightShadow !important;
     -moz-border-left-colors: ThreeDLightShadow ThreeDHighlight !important;
     background-color: rgba(128, 128, 128, .15) !important;
     transition: background-color .05s ease-in !important;
     border-radius: 2px !important;
  }

  .aw-menulist:hover {
     background-color: rgba(128, 128, 128, .3) !important;
  }

  .aw-menulist[open="true"] {
     background-color: rgba(128, 128, 128, .05) !important;
  }

  .aw-menulist:-moz-window-inactive {
     opacity: .7 !important;
  }
}

.aw-menulist > .menulist-label-box {
   margin: 1px 0 -1px 0 !important;
}


/* ::::: addressing widget ::::: */

#textcol-addressingWidget {
   background-color: -moz-Field !important;
   border: 1px solid ThreeDShadow !important;
   border-radius: 2px !important;
}

.textbox-addressingWidget {
   margin-bottom: -5px !important;
   margin-bottom: -2px !important;
   transition: border .0s, background-color .0s !important;
}

.dummy-row-cell:not(:first-child) {
   margin-bottom: 0px !important;
}

@media not all and (-moz-windows-default-theme) {
  .textbox-addressingWidget {
     background-color: transparent !important;
     border: 2px solid transparent !important;
     -moz-border-top-colors: transparent transparent !important;
     -moz-border-right-colors: transparent transparent !important;
     -moz-border-bottom-colors: #CACAFF   transparent !important;
     -moz-border-left-colors: transparent transparent !important;
  }

  .dummy-row-cell:not(:first-child) {
     background-color: transparent !important;
     border: 2px solid transparent !important;
     -moz-border-top-colors: transparent transparent !important;
     -moz-border-right-colors: transparent transparent !important;
     -moz-border-bottom-colors: #CACAFF  transparent !important;
     -moz-border-left-colors: transparent transparent !important;
  }

  .textbox-addressingWidget:hover,
  .textbox-addressingWidget[focused="true"] {
     background-color: transparent !important;
     -moz-border-top-colors: transparent transparent !important;
     -moz-border-right-colors: transparent transparent !important;
     -moz-border-bottom-colors: #CACAFF   transparent !important;
     -moz-border-left-colors: transparent transparent !important;
  }
}


/* ::::: subject box ::::: */

#subject-box {
   margin-top: 1px !important;
}

#msgSubject {
   background-color: -moz-Field !important;
   transition: border .0s, background-color .0s !important;
   border-radius: 2px !important;
}

@media not all and (-moz-windows-default-theme) {
  #msgSubject {
     -moz-border-top-colors: ThreeDShadow ThreeDLightShadow !important;
     -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow !important;
     -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow !important;
     -moz-border-left-colors: ThreeDShadow ThreeDLightShadow !important;
  }

  #msgSubject:hover,
  #msgSubject[focused="true"] {
     background-color: -moz-Field !important;
     -moz-border-top-colors: ThreeDShadow ThreeDLightShadow !important;
     -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow !important;
     -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow !important;
     -moz-border-left-colors: ThreeDShadow ThreeDLightShadow !important;
  }
}
I know this is an older message, but the css above still works with Thunderbird 52.0.1 (2017/04) on Linux.
It is REALLY nice and solved my problem with Thunderbird 52/GTK3.
This is my first userchrome in Thunderbird. Is this or anything similar an official addon at mozilla or other?
User avatar
L.A.R. Grizzly
Posts: 5396
Joined: March 15th, 2005, 5:32 pm
Location: Upstate Ohio, USA
Contact:

Re: Earlybird 29.0 - Restore White Pane in Compose Message

Post by L.A.R. Grizzly »

mozillazinefor19#34_ wrote:Is this or anything similar an official addon at mozilla or other?
Not that I'm aware of. I'm still using this code with TB 52.0.1 on Win7.
Win7 Pro SP1 64 Bit
Comodo Internet Security
Pale Moon 33.0.2, Epyrus Mail 2.1.2, Firefox 115.8.0esr, Thunderbird 115.8.1, and SeaMonkey 2.53.18
Post Reply