diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /comm/calendar/base/themes/osx | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | comm/calendar/base/themes/osx/calendar-daypicker.css | 18 | ||||
-rw-r--r-- | comm/calendar/base/themes/osx/calendar-task-tree.css | 9 | ||||
-rw-r--r-- | comm/calendar/base/themes/osx/calendar-task-view.css | 41 | ||||
-rw-r--r-- | comm/calendar/base/themes/osx/calendar-unifinder.css | 22 | ||||
-rw-r--r-- | comm/calendar/base/themes/osx/calendar-views.css | 9 | ||||
-rw-r--r-- | comm/calendar/base/themes/osx/calendar.css | 69 | ||||
-rw-r--r-- | comm/calendar/base/themes/osx/dialogs/calendar-alarm-dialog.css | 18 | ||||
-rw-r--r-- | comm/calendar/base/themes/osx/dialogs/calendar-event-dialog.css | 27 | ||||
-rw-r--r-- | comm/calendar/base/themes/osx/dialogs/calendar-invitations-dialog.css | 5 | ||||
-rw-r--r-- | comm/calendar/base/themes/osx/imip.css | 10 | ||||
-rw-r--r-- | comm/calendar/base/themes/osx/jar.mn | 19 | ||||
-rw-r--r-- | comm/calendar/base/themes/osx/moz.build | 6 | ||||
-rw-r--r-- | comm/calendar/base/themes/osx/today-pane.css | 51 | ||||
-rw-r--r-- | comm/calendar/base/themes/osx/widgets/calendar-widgets.css | 19 |
14 files changed, 323 insertions, 0 deletions
diff --git a/comm/calendar/base/themes/osx/calendar-daypicker.css b/comm/calendar/base/themes/osx/calendar-daypicker.css new file mode 100644 index 0000000000..bfc44d0da5 --- /dev/null +++ b/comm/calendar/base/themes/osx/calendar-daypicker.css @@ -0,0 +1,18 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + +@import url(chrome://calendar/skin/shared/calendar-daypicker.css); + +button.calendar-daypicker { + border-top: 1px solid #808080; + border-left: 1px solid #808080; +} + +hbox:last-child > button.calendar-daypicker { + border-bottom: 1px solid #808080; +} + +button.calendar-daypicker:last-child { + border-right: 1px solid #808080; +} diff --git a/comm/calendar/base/themes/osx/calendar-task-tree.css b/comm/calendar/base/themes/osx/calendar-task-tree.css new file mode 100644 index 0000000000..7daffbd19e --- /dev/null +++ b/comm/calendar/base/themes/osx/calendar-task-tree.css @@ -0,0 +1,9 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +@import url(chrome://calendar/skin/shared/calendar-task-tree.css); + +.calendar-task-tree-col-priority > .treecol-icon { + padding-inline-end: 1px; +} diff --git a/comm/calendar/base/themes/osx/calendar-task-view.css b/comm/calendar/base/themes/osx/calendar-task-view.css new file mode 100644 index 0000000000..46a838c074 --- /dev/null +++ b/comm/calendar/base/themes/osx/calendar-task-view.css @@ -0,0 +1,41 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + +@import url(chrome://calendar/skin/shared/calendar-task-view.css); + +#calendar-task-details-container { + background-color: ButtonFace; + padding-top: 2px; +} + +#task-addition-box { + border-bottom-color: #bebebe +} + +/* Hide the magnifying glass icon */ +#view-task-edit-field, +#unifinder-task-edit-field { + margin-block: 0; + background-image: none; + padding-inline-start: 4px !important; +} + +@media not (prefers-color-scheme: dark) { + #task-addition-box:-moz-window-inactive { + border-bottom-color: hsl(0, 0%, 85%); + background: -moz-mac-chrome-inactive; + } + + #calendar-task-details-container:-moz-window-inactive { + background-color: -moz-mac-chrome-inactive; + } +} + +#calendar-add-task-button[disabled="true"] { + fill-opacity: .5; +} + +#calendar-add-task-button > .toolbarbutton-text { + margin-inline-start: 0; +} diff --git a/comm/calendar/base/themes/osx/calendar-unifinder.css b/comm/calendar/base/themes/osx/calendar-unifinder.css new file mode 100644 index 0000000000..d0832ed7e3 --- /dev/null +++ b/comm/calendar/base/themes/osx/calendar-unifinder.css @@ -0,0 +1,22 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + +@import url(chrome://calendar/skin/shared/calendar-unifinder.css); + +/* added for new id ..... search box ..... */ +#unifinder-searchBox { + border-bottom: 1px solid #bebebe; + height: 30px; +} + +.unifinder-closebutton > .toolbarbutton-text { + display: none; +} + +@media not (prefers-color-scheme: dark) { + #unifinder-searchBox:-moz-window-inactive { + border-bottom-color: hsl(0, 0%, 85%); + background-color: -moz-mac-chrome-inactive; + } +} diff --git a/comm/calendar/base/themes/osx/calendar-views.css b/comm/calendar/base/themes/osx/calendar-views.css new file mode 100644 index 0000000000..5b55b38ca7 --- /dev/null +++ b/comm/calendar/base/themes/osx/calendar-views.css @@ -0,0 +1,9 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + +@import url(chrome://calendar/skin/shared/calendar-views.css); + +calendar-event-column { + -moz-user-focus: normal; +} diff --git a/comm/calendar/base/themes/osx/calendar.css b/comm/calendar/base/themes/osx/calendar.css new file mode 100644 index 0000000000..aa0b98a3e0 --- /dev/null +++ b/comm/calendar/base/themes/osx/calendar.css @@ -0,0 +1,69 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +@import url(chrome://calendar/skin/shared/calendar.css); + +#calendarContent:-moz-lwtheme { + text-shadow: none; +} + +/* Calendar list rules */ +#calendar-panel { + padding-bottom: 5px; +} + +/* iMIP notification bar */ +#imip-bar > image { + margin-inline-end: 8px; +} + +#calsidebar_splitter { + border-inline-end: 1px solid var(--splitter-color); + /* make only the splitter border visible */ + margin-inline-start: -2px; +} + +/* Calendar sidebar background in calendar and task mode. */ +#calSidebar { + border-inline-end: 1px solid #8B8B8B; + margin-inline-end: -3px !important; +} + +/* Today pane button in status bar */ +#calendar-status-todaypane-button, +#calendar-status-todaypane-button[checked="true"] { + padding: 0 2px !important; +} + +#calendar-status-todaypane-button > stack > .toolbarbutton-day-text { + margin-top: 5px; + margin-inline-end: 0; +} + +/* shift the today pane button label up by one pixel to center it */ +#calendar-status-todaypane-button > .toolbarbutton-text { + margin: 0 6px 1px !important; +} + +.calendar-splitter[orient="vertical"] { + border-bottom: 1px solid var(--splitter-color); + min-height: 0; + height: 5px; + background-color: transparent; + margin-top: -5px; + position: relative; + z-index: 10; +} + +.calendar-sidebar-splitter { + background-image: none; + min-width: 3px; + width: 3px; +} + +#today-splitter { + border-inline-start: 1px solid var(--splitter-color); + margin-inline-end: -4px; + position: relative; +} diff --git a/comm/calendar/base/themes/osx/dialogs/calendar-alarm-dialog.css b/comm/calendar/base/themes/osx/dialogs/calendar-alarm-dialog.css new file mode 100644 index 0000000000..af2c826272 --- /dev/null +++ b/comm/calendar/base/themes/osx/dialogs/calendar-alarm-dialog.css @@ -0,0 +1,18 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + +@import url(chrome://calendar/skin/shared/dialogs/calendar-alarm-dialog.css); + +.snooze-value-textbox { + padding-inline-end: 0; +} + +.button-menu-dropmarker { + appearance: none; + list-style-image: var(--icon-nav-down-sm); + -moz-context-properties: stroke; + stroke: currentColor; + width: 12px; + height: 12px; +} diff --git a/comm/calendar/base/themes/osx/dialogs/calendar-event-dialog.css b/comm/calendar/base/themes/osx/dialogs/calendar-event-dialog.css new file mode 100644 index 0000000000..72cf9507a9 --- /dev/null +++ b/comm/calendar/base/themes/osx/dialogs/calendar-event-dialog.css @@ -0,0 +1,27 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/*-------------------------------------------------------------------- + * Event dialog keep duration button + *-------------------------------------------------------------------*/ + +#timezone-endtime { + margin-inline-start: 15px; +} + +hbox > #link-image-top { + margin-block: 1.2em -1.2em; +} + +vbox > #link-image-bottom { + margin-block: -1.2em 1.2em; +} + +#percent-complete-textbox { + padding: 2px; +} + +.formatting-button > .toolbarbutton-menu-dropmarker { + margin-inline-start: 3px; +} diff --git a/comm/calendar/base/themes/osx/dialogs/calendar-invitations-dialog.css b/comm/calendar/base/themes/osx/dialogs/calendar-invitations-dialog.css new file mode 100644 index 0000000000..8e1c074f73 --- /dev/null +++ b/comm/calendar/base/themes/osx/dialogs/calendar-invitations-dialog.css @@ -0,0 +1,5 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +@import url(chrome://calendar/skin/shared/dialogs/calendar-invitations-dialog.css); diff --git a/comm/calendar/base/themes/osx/imip.css b/comm/calendar/base/themes/osx/imip.css new file mode 100644 index 0000000000..73aadf2ac1 --- /dev/null +++ b/comm/calendar/base/themes/osx/imip.css @@ -0,0 +1,10 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + +@import url(chrome://calendar/skin/shared/imip.css); + +.invitation-table { + margin-top: 1em; + margin-bottom: 1em; +} diff --git a/comm/calendar/base/themes/osx/jar.mn b/comm/calendar/base/themes/osx/jar.mn new file mode 100644 index 0000000000..2def3c648a --- /dev/null +++ b/comm/calendar/base/themes/osx/jar.mn @@ -0,0 +1,19 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +calendar.jar: +% skin calendar classic/1.0 %skin/classic/calendar/ os=Darwin +#include ../common/jar.inc.mn + skin/classic/calendar/calendar.css (calendar.css) + skin/classic/calendar/calendar-daypicker.css (calendar-daypicker.css) + skin/classic/calendar/calendar-task-tree.css (calendar-task-tree.css) + skin/classic/calendar/calendar-task-view.css (calendar-task-view.css) + skin/classic/calendar/calendar-unifinder.css (calendar-unifinder.css) + skin/classic/calendar/calendar-views.css (calendar-views.css) + skin/classic/calendar/calendar-alarm-dialog.css (dialogs/calendar-alarm-dialog.css) + skin/classic/calendar/calendar-event-dialog.css (dialogs/calendar-event-dialog.css) + skin/classic/calendar/calendar-invitations-dialog.css (dialogs/calendar-invitations-dialog.css) + skin/classic/calendar/imip.css (imip.css) + skin/classic/calendar/today-pane.css (today-pane.css) + skin/classic/calendar/widgets/calendar-widgets.css (widgets/calendar-widgets.css) diff --git a/comm/calendar/base/themes/osx/moz.build b/comm/calendar/base/themes/osx/moz.build new file mode 100644 index 0000000000..de5cd1bf81 --- /dev/null +++ b/comm/calendar/base/themes/osx/moz.build @@ -0,0 +1,6 @@ +# vim: set filetype=python: +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +JAR_MANIFESTS += ["jar.mn"] diff --git a/comm/calendar/base/themes/osx/today-pane.css b/comm/calendar/base/themes/osx/today-pane.css new file mode 100644 index 0000000000..79c710f5e6 --- /dev/null +++ b/comm/calendar/base/themes/osx/today-pane.css @@ -0,0 +1,51 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + +@import url(chrome://calendar/skin/shared/today-pane.css); + +#today-pane-panel > .sidebar-header { + height: 32px; +} + +#today-pane-panel:-moz-lwtheme > .sidebar-header { + text-shadow: none; +} + +.today-closebutton > .toolbarbutton-text { + display: none; +} + +.monthlabel { + margin-bottom: 1px; +} + +#today-pane-panel:not(:-moz-lwtheme):-moz-window-inactive { + background-color: hsl(0, 0%, 97%); +} + +@media not (prefers-color-scheme: dark) { + #mini-day-image:-moz-window-inactive { + background-color: -moz-mac-chrome-inactive; + } +} + +:root[lwt-tree] #mini-day-image:-moz-window-inactive { + background-color: transparent; +} + +#todaypane-new-event-button[disabled="true"] > .toolbarbutton-icon { + opacity: .5; +} + +#todaypane-new-event-button > .toolbarbutton-text { + margin-inline-start: 0; +} + +#today-pane-splitter { + min-height: 5px; +} + +#miniday-dropdown-button > .toolbarbutton-menu-dropmarker { + appearance: none; +} diff --git a/comm/calendar/base/themes/osx/widgets/calendar-widgets.css b/comm/calendar/base/themes/osx/widgets/calendar-widgets.css new file mode 100644 index 0000000000..2151f1fa5d --- /dev/null +++ b/comm/calendar/base/themes/osx/widgets/calendar-widgets.css @@ -0,0 +1,19 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + +@import url(chrome://calendar/skin/shared/widgets/calendar-widgets.css); + +#task-tree-filtergroup { + padding-inline-start: 18px; +} + +#calendar-list-pane #calendar-list richlistitem { + padding-inline-start: 18px; + padding-block: 2px; +} + +#calendar-list .calendar-color { + /* Shift the color box closer to the name label */ + margin-inline-start: 1px; +} |