• Browser
  • Mail
  • News
  • Community
  • About
Register Login
HomeBlogsForumThemesContributeSocial

Vivaldi

  • Browser
  • Mail
  • News
  • Community
  • About

Navigation

    • Home
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Mail, Calendar & Feeds
    3. Mail, Calendar & Feeds Feature Requests
    4. Coloured Email Labels

    Coloured Email Labels

    Mail, Calendar & Feeds Feature Requests
    mail
    13
    34
    3.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wanageeska
      last edited by

      Hi,

      I've just started experimenting with Vivaldi.

      One feature I find extremely useful when scanning my inbox (whether in Gmail or Thunderbird) is having coloured labels (or, in Thunderbird, coloured subject lines). Can this be implemented in Vivaldi Mail?

      Thanks!
      -w

      gmg
      G
      1 Reply Last reply
      Reply Quote 19
      • gmg
        G
        gmg Vivaldi Team @wanageeska
        last edited by

        @wanageeska
        You can at the moment use flags for this
        (I should allow you to name the flags something else)

        I have yet to store some colors with the labels. I can look into that if you make a bug for that.

        1 Reply Last reply Reply Quote 2
        • W
          wanageeska
          last edited by wanageeska

          @gmg
          Yeah, I know the flags are there, but I currently have more labels/filters than there are flags available!

          Mine might be a very specific use case, but I'll summarise it for the sake of illustration:

          I receive a lot of news-related emails for work, such that my inbox is akin to a news feed.

          In order to manage the influx, I make heavy use of filters and coloured labels to help me quickly cut through the chaff. (See attached image.)

          When I saw that Vivaldi carried the labels through from Gmail anyway, I thought, rather than recreating my existing setup in Vivaldi, I could just colour-match the local labels to the remote labels (in Gmail).

          All that said though, the real benefit of having colours/labels comes from having those colours/labels visible in the Inbox, and I've since noticed that Vivaldi Mail doesn't actually show labels in the Unread/Inbox anyway, only Flags.

          I've also since noticed that Mail seems to operate a little differently since I first posted. Vivaldi used to carry my Gmail labels through to Labels, whereas it now seems to translate them into Custom Folders, so I don't really know where that leaves my original post haha.

          Ideally, at least for me, Labels and Flags would be one and the same, and the newly-coloured labels would be visible in the *Inbox/Unread view to facilitate rapid eyeballing. But, as I said, mine might not be a use case shared by the majority of mail users. 🤷🏻♂

          Coloured Labels in Gmail:
          Screenshot_20220303_112120.png

          Coloured Subject Lines in Thunderbird:
          2019-11-15-22-56-45-91adee.png

          WildEnte
          W
          floresarts
          F
          2 Replies Last reply
          Reply Quote 5
          • WildEnte
            W
            WildEnte Soprano Patron @wanageeska
            last edited by

            @wanageeska in a nutshell, in views that show emails with different labels or that are in different custom folders, you want a more clear visual indicator than now to see the categorization. The names of labels are shown in the list, but the names of the custom folders are not AFAIK (writing this on mobile so no way to double check the statement)

            With custom folders and flags the use of color makes sense, because a single email can only be in one custom folder or carry one flag. (I would prefer coloring the background of the list item rather than. The text...)

            For labels, assigning a color is not straightforward, because one email can have several labels if it fits several filter categories at the same time.

            Usually on Win11 running Vivaldi Snapshot builds. Opinionated about working efficiently with email. Folders are evil | Mail workflow: receive, read, reply, mark as read, done.

            1 Reply Last reply Reply Quote 4
            • W
              wanageeska
              last edited by wanageeska

              With custom folders and flags the use of color makes sense, because a single email can only be in one custom folder or carry one flag. (I would prefer coloring the background of the list item rather than. The text...)

              Yes, you’re absolutely right with regard to colouring the text itself. I probably shouldn’t have included that Thunderbird example.

              But take the Gmail model for instance: it allows a single email to carry multiple labels/tags (whether a user wants to use colours or not), and the labels are easily visible in each email’s subject line in the inbox. It just a seems to be a pretty flexible way to organise things. Allowing a user to colour code their labels/tags is just an added benefit when a user is looking at a long list of monochrome subject lines in their inbox.

              That said, I’m definitely biased to that particular way of categorising/filtering purely because of the flexibility it affords. I actually de-de-googled because of how beneficial I find it.

              I’m also on mobile at the moment, but I’ll attach a nonsense example of multiple labels in the Gmail mobile app.

              !64EFE5E7-BFF9-4D72-A8E0-2619FD78C853.jpeg

              WildEnte
              W
              1 Reply Last reply
              Reply Quote 3
              • WildEnte
                W
                WildEnte Soprano Patron @wanageeska
                last edited by WildEnte

                @wanageeska OK, here the label itself is colored, not the entire line. Makes sense 🙂

                (edited a nonsensical "it" into a "not")

                Usually on Win11 running Vivaldi Snapshot builds. Opinionated about working efficiently with email. Folders are evil | Mail workflow: receive, read, reply, mark as read, done.

                1 Reply Last reply Reply Quote 2
                • jumpsq
                  J
                  jumpsq
                  last edited by jumpsq

                  I've just been made aware by @josephj11 (thanks!) that there are colour tags in Thunderbird. Judging now from @wanageeska's screenshots, I do agree that probably coloured tags make more sense for vivaldi, but any form of colouring will be an advantage and I also somehow like the line colouring (especially if it's set automatically via filters, this seems to be neat). :>

                  // DId you already create a bug report as suggested and would mind to share its ID?

                  arch linux. swaywm. vivaldi-snapshot. m3.

                  1 Reply Last reply Reply Quote 2
                  • W
                    wanageeska
                    last edited by

                    Hey @jumpsq, sorry for slow reply... I finally got around to submitting a bug report this morning. ID is VB-87784.

                    1 Reply Last reply Reply Quote 1
                    • Denyerec
                      D
                      Denyerec
                      last edited by

                      Came here to suggest exactly this.

                      A frustration is that the classes assigned to the row elements are not at the row level, such as it is, we're not able to apply our own styles to labelled mails to solve the problem in the short term.

                      EG:

                      <div class="mail_entry unread" data-id="32409"><label><span class="mail-status-indicator read-status"><svg ... />
                                  <circle strokewidth="2" cx="8" cy="8" r="3"></circle>
                                  </svg>
                              </span></label><label class="subject" style="width: var(--subjectWidth); margin-left: 0px;"><span>Yesterday's
                                  Forum Activity (from UKworkshop.co.uk)</span></label><label
                              class="from"><span>UKworkshop.co.uk</span></label><label class="labels">
                              <div class="adjustment-mail-labels">
                                  <div>
                                      <div class="MailLabels-Observer">
                                          <ul class="MailLabels-Container" style="padding-left: unset;">
                                              <li title="Important" class="MailLabels-Label MailLabels-Tooltip">+1</li>
                                          </ul>
                                      </div>
                                  </div>
                              </div>
                          </label><label class="mail-status-indicator"></label><label class="maildate"><span>05:19</span></label></div>
                      
                      

                      The key bit being:

                      <li title="Important" class="MailLabels-Label MailLabels-Tooltip">+1</li>
                      
                      

                      Obviously at this point in the chrome generation, we know we've got labels and we know what they are. Now if that could just be applied to the container like so... :

                      <div class="mail_entry unread MailLabels-Important MailLabels-ToDo" data-id="32409"> ...
                      

                      We could do whatever we want with the emails.
                      This issue of burying status classes at the bottom of the element heirarchy rather than the top crops up all over the place, and it's frustrated the hell out of me. Wouldn't be a problem if Chromium supported :has() pseudoselector, but as of yet it does not.

                      1 Reply Last reply Reply Quote 1
                      • T
                        thetrigger
                        last edited by

                        I just found a way https://github.com/thetrigger/Vivaldi-colored-labels

                        we can use :has selector supported by chromium to get the whole row

                        1 Reply Last reply Reply Quote 5
                        • jumpsq
                          J
                          jumpsq
                          last edited by

                          Thank you 🙂

                          arch linux. swaywm. vivaldi-snapshot. m3.

                          1 Reply Last reply Reply Quote 2
                          • floresarts
                            F
                            floresarts @wanageeska
                            last edited by

                            @wanageeska As a graphic designer and very visual learner, I applaud your use of color as a wayfinding technique 👏 but mostly because I just happen to organize my in-box the same way. 😉 Sadly, I deleted the default labels too quickly, thinking I could edit the names while the colors would remain. Sad face.

                            1 Reply Last reply Reply Quote 0
                            • shifte
                              S
                              shifte
                              last edited by shifte

                              Hmm, that should do. 🙃

                              #mail_view div.tree-item:has(li[title='Important']) { color:red; }
                              #mail_view div.tree-item:has(li[title='Work']) { color:orange; }
                              #mail_view div.tree-item:has(li[title='Personal']) { color:green; }
                              #mail_view div.tree-item:has(li[title='To Do']) { color:blue; }
                              #mail_view div.tree-item:has(li[title='Later']) { color:violet; }
                              

                              label.png

                              VAIO73
                              V
                              1 Reply Last reply
                              Reply Quote 3
                              • VAIO73
                                V
                                VAIO73 @shifte
                                last edited by

                                @shifte how it works?as I set it up???

                                shifte
                                S
                                1 Reply Last reply
                                Reply Quote 0
                                • shifte
                                  S
                                  shifte @VAIO73
                                  last edited by

                                  @VAIO73
                                  https://forum.vivaldi.net/topic/10549/modding-vivaldi
                                  Open vivaldi://experiments
                                  Enable "Allow for using CSS modifications"
                                  Open Appearance section in settings
                                  Choose the folder you want to use
                                  Place your CSS files inside it
                                  Restart Vivaldi to see them in effect

                                  VAIO73
                                  V
                                  Zalex108
                                  Z
                                  2 Replies Last reply
                                  Reply Quote 2
                                  • VAIO73
                                    V
                                    VAIO73 @shifte
                                    last edited by VAIO73

                                    @shifte 2023-01-28 12.49.30 vivaldi 7c4788b74ab0.jpg
                                    custom.css.jpg

                                    I have enabled and add custom.css on directory, and not works

                                    SORRY..., WORKS ony English version, but when I switch vivaldi to another language it doesn't work that way...

                                    1 Reply Last reply Reply Quote 0
                                    • Zalex108
                                      Z
                                      Zalex108 Moderator @shifte
                                      last edited by

                                      @shifte said in Coloured Email Labels:

                                      Open Appearance section in settings
                                      Choose the folder you want to use
                                      Place your CSS files inside it
                                      Restart Vivaldi to see them in effect

                                      👆

                                      @VAIO73

                                      "You cannot know the meaning of your life until you are connected to the power that created you" · Shri Mataji Nirmala Devi

                                      VAIO73
                                      V
                                      2 Replies Last reply
                                      Reply Quote 0
                                      • VAIO73
                                        V
                                        VAIO73 @Zalex108
                                        last edited by

                                        @Zalex108 works only English version vivaldi, but when I switch vivaldi to another language it doesn't work that way...

                                        1 Reply Last reply Reply Quote 0
                                        • VAIO73
                                          V
                                          VAIO73 @Zalex108
                                          last edited by

                                          @Zalex108 colored label works only in English language mutation, when I switch it to another language, you are all in black and white

                                          Zalex108
                                          Z
                                          2 Replies Last reply
                                          Reply Quote 1
                                          • Zalex108
                                            Z
                                            Zalex108 Moderator @VAIO73
                                            last edited by Zalex108

                                            @VAIO73

                                            Finding the Language Name for that Labels and Duplicating the code for those and replacing the names should work.

                                            Keeping English also in case of future Language toggle.

                                            "You cannot know the meaning of your life until you are connected to the power that created you" · Shri Mataji Nirmala Devi

                                            VAIO73
                                            V
                                            1 Reply Last reply
                                            Reply Quote 3
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.

                                            Copyright © Vivaldi Technologies™ — All rights reserved. Privacy Policy | Code of conduct | Terms of use | Vivaldi Status