Skip to content

Commit

Permalink
2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Aris-t2 committed Jul 20, 2022
1 parent 54eca7b commit 0909d74
Show file tree
Hide file tree
Showing 14 changed files with 119 additions and 31 deletions.
8 changes: 8 additions & 0 deletions stylesheets/config/config.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
/* mail_panel_color.css */
--mailpanel_background_color: #ffffff !important;
--mailpanel_text_color: #000000 !important;

/* mail_panel_tree_colors.css */
--mailpaneltree_row_even_background_color: #b1ccfd !important;
--mailpaneltree_row_odd_background_color: #e8f0ff !important;
--mailpaneltree_row_selected_background_color: Highlight !important;
--mailpaneltree_row_unread_background_color: #a6b2ca !important;
--mailpaneltree_row_selected_text_color: HighlightText !important;
--mailpaneltree_row_unread_text_color: #000000 !important;

/* classic_appbutton.css */
--appbuttonlabel: "Thunderbird" !important;
Expand Down
9 changes: 9 additions & 0 deletions stylesheets/css/appbutton/appbutton_hidden.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* Thunderbird userChrome.css tweaks ************************************************************/
/* Github: https://github.com/aris-t2/customcssfortb ********************************************/


#button-appmenu,
#calendar-appmenu-button,
#button-chat-appmenu {
display: none !important;
}
34 changes: 17 additions & 17 deletions stylesheets/css/appbutton/classic_appbutton.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
--appbuttontextshadowcolor: #000000;
}

#button-appmenu:not(:hover):not(:active):not([open]){
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu):not(:hover):not(:active):not([open]){
appearance: none !important;
background: linear-gradient(var(--appbuttoncolor1), var(--appbuttoncolor2) 95%) !important;
transition: unset !important;
Expand All @@ -25,7 +25,7 @@
1px 0 0 0px rgba(255,255,255,.6),
-1px 0 0 0px rgba(255,255,255,.6) !important;
}
#button-appmenu:hover:not(:active):not([open]){
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu):hover:not(:active):not([open]){
appearance: none !important;
background: radial-gradient(farthest-side at center bottom, hsla(0,0%,100%,.5) 10%, hsla(0,0%,100%,0) 70%),
radial-gradient(farthest-side at center bottom, hsla(0,0%,100%,.7), hsla(0,0%,100%,0)),
Expand All @@ -40,9 +40,9 @@
1px 0 0 0px rgba(255,255,255,.6),
-1px 0 0 0px rgba(255,255,255,.6) !important;
}
#button-appmenu:active,
#button-appmenu:hover:active,
#button-appmenu[open] {
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu):active,
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu):hover:active,
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu)[open] {
appearance: none !important;
background: radial-gradient(farthest-side at center bottom, hsla(0,0%,100%,.5) 10%, hsla(0,0%,100%,0) 70%),
radial-gradient(farthest-side at center bottom, hsla(0,0%,100%,.7), hsla(0,0%,100%,0)),
Expand All @@ -56,7 +56,7 @@
1px 0 0 0px rgba(255,255,255,.6),
-1px 0 0 0px rgba(255,255,255,.6) !important;
}
#button-appmenu {
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu) {
appearance:none !important;
transition: unset !important;
background-clip: padding-box !important;
Expand All @@ -70,54 +70,54 @@
border-left: 1px solid !important;
border-bottom: 1px solid !important;
}
#button-appmenu:not(:is(:hover:active,[open])) {
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu):not(:is(:hover:active,[open])) {
border-radius: 3px !important;
}
#button-appmenu:is(:hover:active,[open]) {
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu):is(:hover:active,[open]) {
border-radius: 3px 3px 0 0 !important;
}

#tabs-toolbar #button-appmenu:not(:is(:hover:active,[open])),
#tabs-toolbar #button-appmenu:is(:hover:active,[open]) {
#tabs-toolbar :is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu):not(:is(:hover:active,[open])),
#tabs-toolbar :is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu):is(:hover:active,[open]) {
border-radius: 3px 3px 0 0 !important;
margin-inline-start: 0px !important;
}


#button-appmenu .toolbarbutton-menu-dropmarker {
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu) .toolbarbutton-menu-dropmarker {
display: -moz-box !important;
}

/*
#button-appmenu .toolbarbutton-menu-dropmarker::before {
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu) .toolbarbutton-menu-dropmarker::before {
display: -moz-box !important;
content: var(--appbuttonlabel) !important;
padding-inline-end: 4px !important;
}*/

#button-appmenu::after {
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu)::after {
display: -moz-box !important;
content: var(--appbuttonlabel) !important;
margin-inline-start: -18px !important;
}

#button-appmenu .toolbarbutton-text {
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu) .toolbarbutton-text {
display: none !important;
}

#button-appmenu .toolbarbutton-icon {
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu) .toolbarbutton-icon {
opacity: 0 !important;
}
/*
#button-appmenu .toolbarbutton-menu-dropmarker::before {
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu) .toolbarbutton-menu-dropmarker::before {
margin-inline-start: -20px !important;
}*/

#tabbar-toolbar {
margin-bottom: 1px !important;
}

#mail-toolbar-menubar2 #button-appmenu{
#mail-toolbar-menubar2 :is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu) {
position: absolute !important;
margin-top: 0px !important;
margin-inline-start: 0px !important;
Expand Down
10 changes: 5 additions & 5 deletions stylesheets/css/appbutton/classic_appbutton_icon_only.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

@import "./classic_appbutton.css";

#button-appmenu::after,
#button-appmenu .toolbarbutton-menu-dropmarker,
#button-appmenu .toolbarbutton-menu-dropmarker::before,
#button-appmenu .toolbarbutton-text {
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu)::after,
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu) .toolbarbutton-menu-dropmarker,
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu) .toolbarbutton-menu-dropmarker::before,
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu) .toolbarbutton-text {
display: none !important;
}

#button-appmenu .toolbarbutton-icon {
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu) .toolbarbutton-icon {
opacity: 1.0 !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@import "./classic_appbutton_icon_only.css";

#button-appmenu .toolbarbutton-icon {
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu) .toolbarbutton-icon {
opacity: 1.0 !important;
list-style-image: url(../../images/tb_icon_def2.png) !important;
-moz-image-region: rect(0px, 32px, 32px, 0px) !important;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@import "./classic_appbutton_icon_only.css";

#button-appmenu .toolbarbutton-icon {
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu) .toolbarbutton-icon {
opacity: 1.0 !important;
list-style-image: url(../../images/tb_icon_flat.png) !important;
-moz-image-region: rect(0px, 32px, 32px, 0px) !important;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@import "./classic_appbutton_icon_only.css";

#button-appmenu .toolbarbutton-icon {
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu) .toolbarbutton-icon {
opacity: 1.0 !important;
list-style-image: url(../../images/tb_icon_def.png) !important;
-moz-image-region: rect(0px, 32px, 32px, 0px) !important;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@import "./classic_appbutton_icon_only.css";

#button-appmenu .toolbarbutton-icon {
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu) .toolbarbutton-icon {
opacity: 1.0 !important;
list-style-image: url(../../images/tb_icon_def3.png) !important;
-moz-image-region: rect(0px, 32px, 32px, 0px) !important;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@import "./classic_appbutton_icon_only.css";

#button-appmenu .toolbarbutton-icon {
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu) .toolbarbutton-icon {
opacity: 1.0 !important;
list-style-image: url(../../images/tb_icon_white.png) !important;
-moz-image-region: rect(0px, 32px, 32px, 0px) !important;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@import "./classic_appbutton_icon_only.css";

#button-appmenu .toolbarbutton-icon {
:is(#button-appmenu,#calendar-appmenu-button,#button-chat-appmenu) .toolbarbutton-icon {
opacity: 1.0 !important;
list-style-image: url(../../images/tb_icon_white2.png) !important;
-moz-image-region: rect(0px, 32px, 32px, 0px) !important;
Expand Down
44 changes: 44 additions & 0 deletions stylesheets/css/general/mail_panel_tree_colors.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/* Thunderbird userChrome.css tweaks ************************************************************/
/* Github: https://github.com/aris-t2/customcssfortb ********************************************/



:root {
--mailpaneltree_row_even_background_color: #b1ccfd;
--mailpaneltree_row_odd_background_color: #e8f0ff;
--mailpaneltree_row_selected_background_color: Highlight;
--mailpaneltree_row_unread_background_color: #a6b2ca;
--mailpaneltree_row_selected_text_color: HighlightText;
--mailpaneltree_row_unread_text_color: #000000;
}

treechildren::-moz-tree-row(even),
treechildren:hover::-moz-tree-row(even) {
background-color: var(--mailpaneltree_row_even_background_color) !important;
}
treechildren::-moz-tree-row(odd),
treechildren:hover::-moz-tree-row(odd) {
background-color: var(--mailpaneltree_row_odd_background_color) !important;
}
treechildren::-moz-tree-row(selected),
treechildren:hover::-moz-tree-row(selected) {
background-color: var(--mailpaneltree_row_selected_background_color) !important;
}
treechildren::-moz-tree-row(selected, focus),
treechildren:hover::-moz-tree-row(selected, focus) {
background-color: var(--mailpaneltree_row_selected_background_color) !important;
}
treechildren::-moz-tree-cell-text(selected),
treechildren:hover::-moz-tree-cell-text(selected),
treechildren::-moz-tree-cell-text(selected, focus),
treechildren:hover::-moz-tree-cell-text(selected, focus) {
color: var(--mailpaneltree_row_selected_text_color) !important;
}
treechildren::-moz-tree-cell(unread),
treechildren::-moz-tree-cell(unread,selected) {
background-color: var(--mailpaneltree_row_unread_background_color) !important;
}
treechildren:-moz-tree-cell-text(unread) {
color: var(--mailpaneltree_row_unread_text_color) !important;
font-style: italic !important;
}
9 changes: 9 additions & 0 deletions stylesheets/css/general/menupopup_squared_borders.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* Thunderbird userChrome.css tweaks ************************************************************/
/* Github: https://github.com/aris-t2/customcssfortb ********************************************/


#appMenu-popup,
menupopup {
border-radius: 0px !important;
--panel-border-radius: 0px !important;
}
16 changes: 13 additions & 3 deletions stylesheets/userChrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Thunderbird userChrome.css tweaks: main file
Custom CSS for Thunderbird 102+
Current version: 2.0.0
Current version: 2.0.1
Based on 'Classic Theme Restorer' & 'Classic Toolbar Buttons' add-ons CSS code
Github: https://github.com/aris-t2/customcssfortb
Expand Down Expand Up @@ -49,7 +49,7 @@
[!] set global variables for font and tab size options and more inside target file
*/

/* @import "./config/config.css"; /**/
@import "./config/config.css"; /**/


/* ==============
Expand Down Expand Up @@ -132,7 +132,7 @@
/* @import "./css/buttons/tb_icons_tb1.css"; /**/
/* @import "./css/buttons/tb_icons_tb2.css"; /**/
/* @import "./css/buttons/tb_icons_tb3.css"; /**/
@import "./css/buttons/tb_icons_tb3_strata.css"; /**/
/* @import "./css/buttons/tb_icons_tb3_strata.css"; /**/
/* @import "./css/buttons/tb_icons_dark.css"; /**/
/* @import "./css/buttons/tb_icons_white.css"; /**/
/* @import "./css/buttons/tb_icons_tb_mac.css"; /**/
Expand Down Expand Up @@ -172,6 +172,7 @@
/* @import "./css/appbutton/classic_appbutton_icon_only_old1.css"; /* old Thunderbird icon */
/* @import "./css/appbutton/classic_appbutton_icon_only_old2.css"; /* old Thunderbird icon v2 */
/* @import "./css/appbutton/classic_appbutton_icon_only_current.css"; /* current Thunderbird icon */
/* @import "./css/appbutton/appbutton_hidden.css"; /* hide App/Thunderbird button */



Expand Down Expand Up @@ -211,6 +212,7 @@

/* @import "./css/general/window_header_colors.css"; /**/
/* @import "./css/general/mail_panel_color.css"; /**/
/* @import "./css/general/mail_panel_tree_colors.css"; /**/
/* @import "./css/general/increase_row_height.css"; /**/
/* @import "./css/general/transparent_mail_header.css"; /**/

Expand Down Expand Up @@ -271,6 +273,14 @@
/* @import "./css/general/menubar_below_tabs_with_border_aero.css"; /**/


/* -------------------
Menupoup appearance
-------------------
*/

/* @import "./css/general/menupopup_squared_borders.css"; /**/

/* ----------
Hide items
----------
Expand Down
8 changes: 8 additions & 0 deletions stylesheets/userContent.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@
*/

/* -------------------------
Classic button appearance
-------------------------
*/

/* affects address book, chat ...*/
@import "./css/buttons/ctb_on_main_toolbars.css"; /**/


/* ============================
ADDON MANAGER (about:addons)
Expand Down

0 comments on commit 0909d74

Please sign in to comment.