elbaitemoon

Elbaite theme for Pale Moon
Log | Files | Refs

commit 274b11748f015db0f7c6276959602f6e8b30bb95
Author: Lootyhoof <lootyhoofer@gmail.com>
Date:   Thu, 19 Nov 2015 23:02:12 +0000

Initial commit

Diffstat:
ALICENSE | 373+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
AREADME.md | 5+++++
Asrc/chrome.manifest | 7+++++++
Asrc/chrome/appver/25/browser.css | 69+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/appver/26/browser.css | 263+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/Geolocation-16.png | 0
Asrc/chrome/browser/Geolocation-64.png | 0
Asrc/chrome/browser/Info.png | 0
Asrc/chrome/browser/KUI-background.png | 0
Asrc/chrome/browser/KUI-close.png | 0
Asrc/chrome/browser/Privacy-16.png | 0
Asrc/chrome/browser/Privacy-32.png | 0
Asrc/chrome/browser/Privacy-48.png | 0
Asrc/chrome/browser/Secure24.png | 0
Asrc/chrome/browser/Toolbar-inverted.png | 0
Asrc/chrome/browser/Toolbar.png | 0
Asrc/chrome/browser/aboutCertError.css | 72++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/aboutCertError_sectionCollapsed-rtl.png | 0
Asrc/chrome/browser/aboutCertError_sectionCollapsed.png | 0
Asrc/chrome/browser/aboutCertError_sectionExpanded.png | 0
Asrc/chrome/browser/aboutPrivateBrowsing.css | 42++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/aboutSessionRestore-window-icon.png | 0
Asrc/chrome/browser/aboutSessionRestore.css | 63+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/aboutSocialError.css | 98+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/aboutSyncTabs.css | 101+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/aboutTabCrashed.css | 108+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/actionicon-tab.png | 0
Asrc/chrome/browser/appmenu-dropmarker.png | 0
Asrc/chrome/browser/appmenu-icons.png | 0
Asrc/chrome/browser/browser.css | 3424+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/caption-buttons.svg | 114+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/click-to-play-warning-stripes.png | 0
Asrc/chrome/browser/close-btn.png | 0
Asrc/chrome/browser/devtools/alerticon-warning.png | 0
Asrc/chrome/browser/devtools/app-manager/add.svg | 13+++++++++++++
Asrc/chrome/browser/devtools/app-manager/connection-footer.css | 223+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/app-manager/device.css | 399+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/app-manager/error.svg | 14++++++++++++++
Asrc/chrome/browser/devtools/app-manager/help.css | 40++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/app-manager/index-icons.svg | 81+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/app-manager/index.css | 103+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/app-manager/noise.png | 0
Asrc/chrome/browser/devtools/app-manager/plus.svg | 13+++++++++++++
Asrc/chrome/browser/devtools/app-manager/projects.css | 548+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/app-manager/remove.svg | 10++++++++++
Asrc/chrome/browser/devtools/app-manager/rocket.svg | 31+++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/app-manager/warning.svg | 14++++++++++++++
Asrc/chrome/browser/devtools/arrow-e.png | 0
Asrc/chrome/browser/devtools/background-noise-toolbar.png | 0
Asrc/chrome/browser/devtools/blackBoxMessageEye.png | 0
Asrc/chrome/browser/devtools/breadcrumbs-scrollbutton.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/ltr-end-pressed.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/ltr-end-selected-pressed.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/ltr-end-selected.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/ltr-end.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/ltr-middle-pressed.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/ltr-middle-selected-pressed.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/ltr-middle-selected.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/ltr-middle.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/ltr-start-pressed.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/ltr-start-selected-pressed.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/ltr-start-selected.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/ltr-start.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/rtl-end-pressed.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/rtl-end-selected-pressed.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/rtl-end-selected.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/rtl-end.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/rtl-middle-pressed.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/rtl-middle-selected-pressed.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/rtl-middle-selected.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/rtl-middle.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/rtl-start-pressed.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/rtl-start-selected-pressed.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/rtl-start-selected.png | 0
Asrc/chrome/browser/devtools/breadcrumbs/rtl-start.png | 0
Asrc/chrome/browser/devtools/checkbox-dark.png | 0
Asrc/chrome/browser/devtools/checkbox-light.png | 0
Asrc/chrome/browser/devtools/close.png | 0
Asrc/chrome/browser/devtools/command-console.png | 0
Asrc/chrome/browser/devtools/command-paintflashing.png | 0
Asrc/chrome/browser/devtools/command-responsivemode.png | 0
Asrc/chrome/browser/devtools/command-scratchpad.png | 0
Asrc/chrome/browser/devtools/command-tilt.png | 0
Asrc/chrome/browser/devtools/commandline-icon.png | 0
Asrc/chrome/browser/devtools/commandline.css | 153+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/common.css | 469+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/computedview.css | 169+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/controls.png | 0
Asrc/chrome/browser/devtools/dark-theme.css | 104+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/debugger-blackbox.png | 0
Asrc/chrome/browser/devtools/debugger-collapse.png | 0
Asrc/chrome/browser/devtools/debugger-expand.png | 0
Asrc/chrome/browser/devtools/debugger-pause.png | 0
Asrc/chrome/browser/devtools/debugger-play.png | 0
Asrc/chrome/browser/devtools/debugger-step-in.png | 0
Asrc/chrome/browser/devtools/debugger-step-out.png | 0
Asrc/chrome/browser/devtools/debugger-step-over.png | 0
Asrc/chrome/browser/devtools/debugger.css | 321+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/dock-bottom.png | 0
Asrc/chrome/browser/devtools/dock-side.png | 0
Asrc/chrome/browser/devtools/dropmarker.png | 0
Asrc/chrome/browser/devtools/editor-breakpoint.png | 0
Asrc/chrome/browser/devtools/editor-debug-location.png | 0
Asrc/chrome/browser/devtools/editor-error.png | 0
Asrc/chrome/browser/devtools/floating-scrollbars-light.css | 10++++++++++
Asrc/chrome/browser/devtools/floating-scrollbars.css | 33+++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/font-inspector.css | 80+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/inspect-button.png | 0
Asrc/chrome/browser/devtools/inspector.css | 35+++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/itemArrow-ltr.png | 0
Asrc/chrome/browser/devtools/itemArrow-rtl.png | 0
Asrc/chrome/browser/devtools/itemToggle.png | 0
Asrc/chrome/browser/devtools/layout-background-grid.png | 0
Asrc/chrome/browser/devtools/layoutview.css | 46++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/light-theme.css | 104+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/magnifying-glass.png | 0
Asrc/chrome/browser/devtools/markup-view.css | 44++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/netmonitor.css | 531+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/noise.png | 0
Asrc/chrome/browser/devtools/option-icon.png | 0
Asrc/chrome/browser/devtools/orion-breakpoint.png | 0
Asrc/chrome/browser/devtools/orion-container.css | 39+++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/orion-debug-location.png | 0
Asrc/chrome/browser/devtools/orion-error.png | 0
Asrc/chrome/browser/devtools/orion-task.png | 0
Asrc/chrome/browser/devtools/orion.css | 199+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/profiler-stopwatch.png | 0
Asrc/chrome/browser/devtools/profiler.css | 43+++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/responsive-background.png | 0
Asrc/chrome/browser/devtools/responsive-horizontal-resizer.png | 0
Asrc/chrome/browser/devtools/responsive-se-resizer.png | 0
Asrc/chrome/browser/devtools/responsive-vertical-resizer.png | 0
Asrc/chrome/browser/devtools/responsiveui-rotate.png | 0
Asrc/chrome/browser/devtools/responsiveui-screenshot.png | 0
Asrc/chrome/browser/devtools/responsiveui-touch.png | 0
Asrc/chrome/browser/devtools/ruleview.css | 131+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/scratchpad.css | 9+++++++++
Asrc/chrome/browser/devtools/shadereditor.css | 138+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/splitview.css | 115+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/styleeditor.css | 131+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/toggle-tools.png | 0
Asrc/chrome/browser/devtools/tool-debugger-paused.png | 0
Asrc/chrome/browser/devtools/tool-debugger.png | 0
Asrc/chrome/browser/devtools/tool-inspector.png | 0
Asrc/chrome/browser/devtools/tool-network.png | 0
Asrc/chrome/browser/devtools/tool-options.png | 0
Asrc/chrome/browser/devtools/tool-profiler.png | 0
Asrc/chrome/browser/devtools/tool-scratchpad.png | 0
Asrc/chrome/browser/devtools/tool-styleeditor.png | 0
Asrc/chrome/browser/devtools/tool-webconsole.png | 0
Asrc/chrome/browser/devtools/toolbox.css | 282+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/tooltip/arrow-horizontal-dark.png | 0
Asrc/chrome/browser/devtools/tooltip/arrow-horizontal-dark@2x.png | 0
Asrc/chrome/browser/devtools/tooltip/arrow-horizontal-light.png | 0
Asrc/chrome/browser/devtools/tooltip/arrow-horizontal-light@2x.png | 0
Asrc/chrome/browser/devtools/tooltip/arrow-vertical-dark.png | 0
Asrc/chrome/browser/devtools/tooltip/arrow-vertical-dark@2x.png | 0
Asrc/chrome/browser/devtools/tooltip/arrow-vertical-light.png | 0
Asrc/chrome/browser/devtools/tooltip/arrow-vertical-light@2x.png | 0
Asrc/chrome/browser/devtools/undock.png | 0
Asrc/chrome/browser/devtools/vview-delete.png | 0
Asrc/chrome/browser/devtools/vview-edit.png | 0
Asrc/chrome/browser/devtools/webconsole.css | 293+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/webconsole.png | 0
Asrc/chrome/browser/devtools/webconsole_networkpanel.css | 100+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/devtools/widgets.css | 655+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/downloads/allDownloadsViewOverlay.css | 107+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/downloads/buttons.png | 0
Asrc/chrome/browser/downloads/contentAreaDownloadsView.css | 22++++++++++++++++++++++
Asrc/chrome/browser/downloads/download-glow.png | 0
Asrc/chrome/browser/downloads/download-notification-finish.png | 0
Asrc/chrome/browser/downloads/download-notification-start.png | 0
Asrc/chrome/browser/downloads/download-summary.png | 0
Asrc/chrome/browser/downloads/downloads.css | 197+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/downloads/indicator.css | 160+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/engineManager.css | 11+++++++++++
Asrc/chrome/browser/feeds/audioFeedIcon.png | 0
Asrc/chrome/browser/feeds/audioFeedIcon16.png | 0
Asrc/chrome/browser/feeds/feedIcon.png | 0
Asrc/chrome/browser/feeds/feedIcon16.png | 0
Asrc/chrome/browser/feeds/subscribe-ui.css | 29+++++++++++++++++++++++++++++
Asrc/chrome/browser/feeds/subscribe.css | 159+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/feeds/videoFeedIcon.png | 0
Asrc/chrome/browser/feeds/videoFeedIcon16.png | 0
Asrc/chrome/browser/identity-icons-generic.png | 0
Asrc/chrome/browser/identity.png | 0
Asrc/chrome/browser/keyhole-forward-mask.svg | 15+++++++++++++++
Asrc/chrome/browser/livemark-folder.png | 0
Asrc/chrome/browser/max-btn.png | 0
Asrc/chrome/browser/menu-back.png | 0
Asrc/chrome/browser/menu-forward.png | 0
Asrc/chrome/browser/min-btn.png | 0
Asrc/chrome/browser/mixed-content-blocked-16.png | 0
Asrc/chrome/browser/mixed-content-blocked-64.png | 0
Asrc/chrome/browser/monitor.png | 0
Asrc/chrome/browser/monitor_16-10.png | 0
Asrc/chrome/browser/newtab/controls.png | 0
Asrc/chrome/browser/newtab/controls.svg | 396+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/newtab/newTab.css | 201+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/newtab/noise.png | 0
Asrc/chrome/browser/notification-16.png | 0
Asrc/chrome/browser/notification-64.png | 0
Asrc/chrome/browser/notification-pluginAlert.png | 0
Asrc/chrome/browser/notification-pluginBlocked.png | 0
Asrc/chrome/browser/notification-pluginNormal.png | 0
Asrc/chrome/browser/page-livemarks.png | 0
Asrc/chrome/browser/pageInfo.css | 252+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/pageInfo.png | 0
Asrc/chrome/browser/places/allBookmarks.png | 0
Asrc/chrome/browser/places/bookmark.png | 0
Asrc/chrome/browser/places/bookmarksMenu.png | 0
Asrc/chrome/browser/places/bookmarksToolbar.png | 0
Asrc/chrome/browser/places/calendar.png | 0
Asrc/chrome/browser/places/downloads.png | 0
Asrc/chrome/browser/places/editBookmarkOverlay.css | 80+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/places/history.png | 0
Asrc/chrome/browser/places/libraryToolbar.png | 0
Asrc/chrome/browser/places/livemark-item.png | 0
Asrc/chrome/browser/places/organizer.css | 214+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/places/places.css | 160+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/places/query.png | 0
Asrc/chrome/browser/places/starred48.png | 0
Asrc/chrome/browser/places/tag.png | 0
Asrc/chrome/browser/places/toolbarDropMarker.png | 0
Asrc/chrome/browser/places/unsortedBookmarks.png | 0
Asrc/chrome/browser/places/unstarred48.png | 0
Asrc/chrome/browser/pluginInstall-16.png | 0
Asrc/chrome/browser/pluginInstall-64.png | 0
Asrc/chrome/browser/pointerLock-16.png | 0
Asrc/chrome/browser/pointerLock-64.png | 0
Asrc/chrome/browser/preferences/Options-sync.png | 0
Asrc/chrome/browser/preferences/Options.png | 0
Asrc/chrome/browser/preferences/aboutPermissions.css | 114+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/preferences/alwaysAsk.png | 0
Asrc/chrome/browser/preferences/application.png | 0
Asrc/chrome/browser/preferences/applications.css | 64++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/preferences/in-content/preferences.css | 193+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/preferences/mail.png | 0
Asrc/chrome/browser/preferences/preferences.css | 137+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/preferences/saveFile.png | 0
Asrc/chrome/browser/privatebrowsing-dark.png | 0
Asrc/chrome/browser/privatebrowsing-light.png | 0
Asrc/chrome/browser/reload-stop-go.png | 0
Asrc/chrome/browser/sanitizeDialog.css | 93+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/searchbar-dropdown-arrow.png | 0
Asrc/chrome/browser/searchbar.css | 81+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/setDesktopBackground.css | 18++++++++++++++++++
Asrc/chrome/browser/slowStartup-16.png | 0
Asrc/chrome/browser/social/chat-icons.png | 0
Asrc/chrome/browser/social/services-16.png | 0
Asrc/chrome/browser/social/services-64.png | 0
Asrc/chrome/browser/social/share-button-active.png | 0
Asrc/chrome/browser/social/share-button.png | 0
Asrc/chrome/browser/sync-128.png | 0
Asrc/chrome/browser/sync-16.png | 0
Asrc/chrome/browser/sync-32.png | 0
Asrc/chrome/browser/sync-bg.png | 0
Asrc/chrome/browser/sync-desktopIcon.png | 0
Asrc/chrome/browser/sync-mobileIcon.png | 0
Asrc/chrome/browser/sync-notification-24.png | 0
Asrc/chrome/browser/sync-throbber.png | 0
Asrc/chrome/browser/syncCommon.css | 49+++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/syncProgress.css | 46++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/syncQuota.css | 26++++++++++++++++++++++++++
Asrc/chrome/browser/syncSetup.css | 134+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/tabbrowser/alltabs-inverted.png | 0
Asrc/chrome/browser/tabbrowser/alltabs.png | 0
Asrc/chrome/browser/tabbrowser/connecting.png | 0
Asrc/chrome/browser/tabbrowser/loading.png | 0
Asrc/chrome/browser/tabbrowser/newtab-inverted.png | 0
Asrc/chrome/browser/tabbrowser/newtab.png | 0
Asrc/chrome/browser/tabbrowser/tab-arrow-left-inverted.png | 0
Asrc/chrome/browser/tabbrowser/tab-arrow-left.png | 0
Asrc/chrome/browser/tabbrowser/tab-overflow-border.png | 0
Asrc/chrome/browser/tabbrowser/tab-overflow-indicator.png | 0
Asrc/chrome/browser/tabbrowser/tab.png | 0
Asrc/chrome/browser/tabbrowser/tabDragIndicator.png | 0
Asrc/chrome/browser/tabview/close.png | 0
Asrc/chrome/browser/tabview/edit-light.png | 0
Asrc/chrome/browser/tabview/grain.png | 0
Asrc/chrome/browser/tabview/search.png | 0
Asrc/chrome/browser/tabview/stack-expander.png | 0
Asrc/chrome/browser/tabview/tabview-inverted.png | 0
Asrc/chrome/browser/tabview/tabview.css | 671+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/browser/tabview/tabview.png | 0
Asrc/chrome/browser/toolbarbutton-dropdown-arrow-inverted.png | 0
Asrc/chrome/browser/toolbarbutton-dropdown-arrow.png | 0
Asrc/chrome/browser/urlbar-arrow.png | 0
Asrc/chrome/browser/urlbar-history-dropmarker.png | 0
Asrc/chrome/browser/urlbar-popup-blocked.png | 0
Asrc/chrome/browser/webRTC-shareDevice-16.png | 0
Asrc/chrome/browser/webRTC-shareDevice-64.png | 0
Asrc/chrome/browser/webRTC-sharingDevice-16.png | 0
Asrc/chrome/global/Filepicker.png | 0
Asrc/chrome/global/about.css | 66++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/aboutCache.css | 66++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/aboutCacheEntry.css | 29+++++++++++++++++++++++++++++
Asrc/chrome/global/aboutMemory.css | 149+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/aboutSupport.css | 105+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/alerts/alert.css | 92+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/alerts/notification-48.png | 0
Asrc/chrome/global/appPicker.css | 23+++++++++++++++++++++++
Asrc/chrome/global/arrow.css | 46++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/arrow/arrow-dn-dis.gif | 0
Asrc/chrome/global/arrow/arrow-dn-hov.gif | 0
Asrc/chrome/global/arrow/arrow-dn-sharp.gif | 0
Asrc/chrome/global/arrow/arrow-dn.gif | 0
Asrc/chrome/global/arrow/arrow-down.png | 0
Asrc/chrome/global/arrow/arrow-lft-dis.gif | 0
Asrc/chrome/global/arrow/arrow-lft-hov.gif | 0
Asrc/chrome/global/arrow/arrow-lft-sharp-end.gif | 0
Asrc/chrome/global/arrow/arrow-lft-sharp.gif | 0
Asrc/chrome/global/arrow/arrow-lft.gif | 0
Asrc/chrome/global/arrow/arrow-rit-dis.gif | 0
Asrc/chrome/global/arrow/arrow-rit-hov.gif | 0
Asrc/chrome/global/arrow/arrow-rit-sharp-end.gif | 0
Asrc/chrome/global/arrow/arrow-rit-sharp.gif | 0
Asrc/chrome/global/arrow/arrow-rit.gif | 0
Asrc/chrome/global/arrow/arrow-up-dis.gif | 0
Asrc/chrome/global/arrow/arrow-up-hov.gif | 0
Asrc/chrome/global/arrow/arrow-up-sharp.gif | 0
Asrc/chrome/global/arrow/arrow-up.gif | 0
Asrc/chrome/global/arrow/panelarrow-horizontal-themed.svg | 8++++++++
Asrc/chrome/global/arrow/panelarrow-horizontal-white.png | 0
Asrc/chrome/global/arrow/panelarrow-horizontal.svg | 8++++++++
Asrc/chrome/global/arrow/panelarrow-vertical-themed.svg | 8++++++++
Asrc/chrome/global/arrow/panelarrow-vertical-white.png | 0
Asrc/chrome/global/arrow/panelarrow-vertical.svg | 8++++++++
Asrc/chrome/global/autocomplete.css | 191+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/button.css | 151++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/checkbox.css | 81+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/checkbox/cbox-check-dis.gif | 0
Asrc/chrome/global/checkbox/cbox-check.gif | 0
Asrc/chrome/global/colorpicker.css | 48++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/commonDialog.css | 4++++
Asrc/chrome/global/config.css | 76++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/console/console-error-caret.gif | 0
Asrc/chrome/global/console/console-error-dash.gif | 0
Asrc/chrome/global/console/console-toolbar.png | 0
Asrc/chrome/global/console/console.css | 220+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/console/itemSelected.png | 0
Asrc/chrome/global/customizeToolbar.css | 26++++++++++++++++++++++++++
Asrc/chrome/global/datetimepicker.css | 139+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/dialog.css | 70++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/dirListing/dirListing.css | 106+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/dirListing/folder.png | 0
Asrc/chrome/global/dirListing/local.png | 0
Asrc/chrome/global/dirListing/remote.png | 0
Asrc/chrome/global/dirListing/up.png | 0
Asrc/chrome/global/dropmarker.css | 28++++++++++++++++++++++++++++
Asrc/chrome/global/expander.css | 14++++++++++++++
Asrc/chrome/global/filefield.css | 41+++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/filepicker.css | 77+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/findBar.css | 160+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/global.css | 312+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/globalBindings.xml | 62++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/groupbox.css | 40++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/icons/Close.gif | 0
Asrc/chrome/global/icons/Error.png | 0
Asrc/chrome/global/icons/Landscape.png | 0
Asrc/chrome/global/icons/Minimize.gif | 0
Asrc/chrome/global/icons/Portrait.png | 0
Asrc/chrome/global/icons/Print-preview.png | 0
Asrc/chrome/global/icons/Question.png | 0
Asrc/chrome/global/icons/Restore.gif | 0
Asrc/chrome/global/icons/Search-close.png | 0
Asrc/chrome/global/icons/Search-glass.png | 0
Asrc/chrome/global/icons/Warning.png | 0
Asrc/chrome/global/icons/autoscroll.png | 0
Asrc/chrome/global/icons/blacklist_favicon.png | 0
Asrc/chrome/global/icons/blacklist_large.png | 0
Asrc/chrome/global/icons/close-bright.png | 0
Asrc/chrome/global/icons/close.png | 0
Asrc/chrome/global/icons/collapse.png | 0
Asrc/chrome/global/icons/error-16.png | 0
Asrc/chrome/global/icons/error-24.png | 0
Asrc/chrome/global/icons/error-48.png | 0
Asrc/chrome/global/icons/error-64.png | 0
Asrc/chrome/global/icons/expand.png | 0
Asrc/chrome/global/icons/find-arrows.png | 0
Asrc/chrome/global/icons/find.png | 0
Asrc/chrome/global/icons/folder-item.png | 0
Asrc/chrome/global/icons/information-16.png | 0
Asrc/chrome/global/icons/information-24.png | 0
Asrc/chrome/global/icons/information-32.png | 0
Asrc/chrome/global/icons/information-48.png | 0
Asrc/chrome/global/icons/information-64.png | 0
Asrc/chrome/global/icons/loading_16.png | 0
Asrc/chrome/global/icons/notloading_16.png | 0
Asrc/chrome/global/icons/question-16.png | 0
Asrc/chrome/global/icons/question-24.png | 0
Asrc/chrome/global/icons/question-48.png | 0
Asrc/chrome/global/icons/question-64.png | 0
Asrc/chrome/global/icons/resizer-rtl.png | 0
Asrc/chrome/global/icons/resizer.png | 0
Asrc/chrome/global/icons/sslWarning.png | 0
Asrc/chrome/global/icons/tabprompts-bgtexture.png | 0
Asrc/chrome/global/icons/warning-16.png | 0
Asrc/chrome/global/icons/warning-24.png | 0
Asrc/chrome/global/icons/warning-64.png | 0
Asrc/chrome/global/icons/warning-large.png | 0
Asrc/chrome/global/icons/windowControls.png | 0
Asrc/chrome/global/icons/wrap.png | 0
Asrc/chrome/global/inContentUI.css | 147+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/linkTree.css | 28++++++++++++++++++++++++++++
Asrc/chrome/global/listbox.css | 143+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/media/TopLevelImageDocument.css | 18++++++++++++++++++
Asrc/chrome/global/media/TopLevelVideoDocument.css | 11+++++++++++
Asrc/chrome/global/media/clicktoplay-bgtexture.png | 0
Asrc/chrome/global/media/error.png | 0
Asrc/chrome/global/media/fullscreenButton.png | 0
Asrc/chrome/global/media/imagedoc-darknoise.png | 0
Asrc/chrome/global/media/imagedoc-lightnoise.png | 0
Asrc/chrome/global/media/muteButton.png | 0
Asrc/chrome/global/media/noAudio.png | 0
Asrc/chrome/global/media/pauseButton.png | 0
Asrc/chrome/global/media/playButton.png | 0
Asrc/chrome/global/media/scrubberThumb.png | 0
Asrc/chrome/global/media/scrubberThumbWide.png | 0
Asrc/chrome/global/media/stalled.png | 0
Asrc/chrome/global/media/throbber.png | 0
Asrc/chrome/global/media/unmuteButton.png | 0
Asrc/chrome/global/media/videoClickToPlayButton.svg | 103+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/media/videocontrols.css | 315+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/media/volume-empty.png | 0
Asrc/chrome/global/media/volume-full.png | 0
Asrc/chrome/global/media/volumeThumb.png | 0
Asrc/chrome/global/menu.css | 258+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/menu/menu-arrow-disabled-rtl.gif | 0
Asrc/chrome/global/menu/menu-arrow-disabled.gif | 0
Asrc/chrome/global/menu/menu-arrow-hover-rtl.gif | 0
Asrc/chrome/global/menu/menu-arrow-hover.gif | 0
Asrc/chrome/global/menu/menu-arrow-rtl.gif | 0
Asrc/chrome/global/menu/menu-arrow.gif | 0
Asrc/chrome/global/menu/menu-check-disabled.gif | 0
Asrc/chrome/global/menu/menu-check-hover.gif | 0
Asrc/chrome/global/menu/menu-check.gif | 0
Asrc/chrome/global/menu/menu-radio-disabled.gif | 0
Asrc/chrome/global/menu/menu-radio-hover.gif | 0
Asrc/chrome/global/menu/menu-radio.gif | 0
Asrc/chrome/global/menulist.css | 182+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/netError.css | 142+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/notification.css | 157+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/numberbox.css | 24++++++++++++++++++++++++
Asrc/chrome/global/passwordmgr.css | 13+++++++++++++
Asrc/chrome/global/popup.css | 165+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/preferences.css | 76++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/printPageSetup.css | 7+++++++
Asrc/chrome/global/printPreview.css | 70++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/printpreview/arrow-left-end.png | 0
Asrc/chrome/global/printpreview/arrow-left.png | 0
Asrc/chrome/global/printpreview/arrow-right-end.png | 0
Asrc/chrome/global/printpreview/arrow-right.png | 0
Asrc/chrome/global/progressmeter.css | 44++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/radio.css | 95+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/radio/radio-check-dis.gif | 0
Asrc/chrome/global/radio/radio-check.gif | 0
Asrc/chrome/global/resizer.css | 49+++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/richlistbox.css | 36++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/scale.css | 46++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/scrollbar/slider.gif | 0
Asrc/chrome/global/scrollbars.css | 234+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/scrollbox.css | 96+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/spinbuttons.css | 65+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/splitter.css | 135+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/splitter/grip-bottom.gif | 0
Asrc/chrome/global/splitter/grip-left.gif | 0
Asrc/chrome/global/splitter/grip-right.gif | 0
Asrc/chrome/global/splitter/grip-top.gif | 0
Asrc/chrome/global/tabbox.css | 134+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/tabprompts.css | 24++++++++++++++++++++++++
Asrc/chrome/global/textbox.css | 114+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/toolbar.css | 122+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/toolbar/chevron.gif | 0
Asrc/chrome/global/toolbar/spring.png | 0
Asrc/chrome/global/toolbar/toolbar-separator.png | 0
Asrc/chrome/global/toolbarbutton.css | 159+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/tree.css | 397+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/global/tree/columnpicker.gif | 0
Asrc/chrome/global/tree/sort-asc-classic.png | 0
Asrc/chrome/global/tree/sort-asc.png | 0
Asrc/chrome/global/tree/sort-dsc-classic.png | 0
Asrc/chrome/global/tree/sort-dsc.png | 0
Asrc/chrome/global/tree/twisty-clsd-hover-rtl.png | 0
Asrc/chrome/global/tree/twisty-clsd-hover.png | 0
Asrc/chrome/global/tree/twisty-clsd-rtl.png | 0
Asrc/chrome/global/tree/twisty-clsd.png | 0
Asrc/chrome/global/tree/twisty-open-hover-rtl.png | 0
Asrc/chrome/global/tree/twisty-open-hover.png | 0
Asrc/chrome/global/tree/twisty-open-rtl.png | 0
Asrc/chrome/global/tree/twisty-open.png | 0
Asrc/chrome/global/wizard.css | 50++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/mozapps/aboutNetworking.css | 60++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/mozapps/downloads/downloadButtons.png | 0
Asrc/chrome/mozapps/downloads/downloadIcon.png | 0
Asrc/chrome/mozapps/downloads/downloads.css | 140+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/mozapps/downloads/unknownContentType.css | 31+++++++++++++++++++++++++++++++
Asrc/chrome/mozapps/extensions/about.css | 80+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/mozapps/extensions/alerticon-error.png | 0
Asrc/chrome/mozapps/extensions/alerticon-info-negative.png | 0
Asrc/chrome/mozapps/extensions/alerticon-info-positive.png | 0
Asrc/chrome/mozapps/extensions/alerticon-warning.png | 0
Asrc/chrome/mozapps/extensions/blocklist.css | 20++++++++++++++++++++
Asrc/chrome/mozapps/extensions/cancel.png | 0
Asrc/chrome/mozapps/extensions/category-available.png | 0
Asrc/chrome/mozapps/extensions/category-dictionaries.png | 0
Asrc/chrome/mozapps/extensions/category-discover.png | 0
Asrc/chrome/mozapps/extensions/category-experiments.png | 0
Asrc/chrome/mozapps/extensions/category-extensions.png | 0
Asrc/chrome/mozapps/extensions/category-languages.png | 0
Asrc/chrome/mozapps/extensions/category-plugins.png | 0
Asrc/chrome/mozapps/extensions/category-recent.png | 0
Asrc/chrome/mozapps/extensions/category-search.png | 0
Asrc/chrome/mozapps/extensions/category-searchengines.png | 0
Asrc/chrome/mozapps/extensions/category-service.png | 0
Asrc/chrome/mozapps/extensions/category-themes.png | 0
Asrc/chrome/mozapps/extensions/category-userscripts.png | 0
Asrc/chrome/mozapps/extensions/category-userstyle.png | 0
Asrc/chrome/mozapps/extensions/dictionaryGeneric-16.png | 0
Asrc/chrome/mozapps/extensions/dictionaryGeneric.png | 0
Asrc/chrome/mozapps/extensions/discover-logo.png | 0
Asrc/chrome/mozapps/extensions/eula.css | 47+++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/mozapps/extensions/experimentGeneric.png | 0
Asrc/chrome/mozapps/extensions/extensionGeneric-16.png | 0
Asrc/chrome/mozapps/extensions/extensionGeneric.png | 0
Asrc/chrome/mozapps/extensions/extensionGenericNotify-16.png | 0
Asrc/chrome/mozapps/extensions/extensions.css | 1177+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/mozapps/extensions/extensions.svg | 6++++++
Asrc/chrome/mozapps/extensions/heart.png | 0
Asrc/chrome/mozapps/extensions/localeGeneric.png | 0
Asrc/chrome/mozapps/extensions/navigation.png | 0
Asrc/chrome/mozapps/extensions/newaddon.css | 114+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/mozapps/extensions/rating-not-won.png | 0
Asrc/chrome/mozapps/extensions/rating-won.png | 0
Asrc/chrome/mozapps/extensions/selectAddons.css | 183+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/mozapps/extensions/stripes-error.png | 0
Asrc/chrome/mozapps/extensions/stripes-info-negative.png | 0
Asrc/chrome/mozapps/extensions/stripes-info-positive.png | 0
Asrc/chrome/mozapps/extensions/stripes-warning.png | 0
Asrc/chrome/mozapps/extensions/themeGeneric-16.png | 0
Asrc/chrome/mozapps/extensions/themeGeneric.png | 0
Asrc/chrome/mozapps/extensions/update.css | 26++++++++++++++++++++++++++
Asrc/chrome/mozapps/extensions/utilities.png | 0
Asrc/chrome/mozapps/handling/handling.css | 30++++++++++++++++++++++++++++++
Asrc/chrome/mozapps/passwordmgr/key-16.png | 0
Asrc/chrome/mozapps/passwordmgr/key-64.png | 0
Asrc/chrome/mozapps/passwordmgr/key.png | 0
Asrc/chrome/mozapps/places/defaultFavicon.png | 0
Asrc/chrome/mozapps/plugins/contentPluginActivate.png | 0
Asrc/chrome/mozapps/plugins/contentPluginBlocked.png | 0
Asrc/chrome/mozapps/plugins/contentPluginClose.png | 0
Asrc/chrome/mozapps/plugins/contentPluginCrashed.png | 0
Asrc/chrome/mozapps/plugins/contentPluginDisabled.png | 0
Asrc/chrome/mozapps/plugins/contentPluginDownload.png | 0
Asrc/chrome/mozapps/plugins/contentPluginMissing.png | 0
Asrc/chrome/mozapps/plugins/contentPluginStripe.png | 0
Asrc/chrome/mozapps/plugins/notifyPluginCrashed.png | 0
Asrc/chrome/mozapps/plugins/notifyPluginGeneric.png | 0
Asrc/chrome/mozapps/plugins/pluginBlocked-64.png | 0
Asrc/chrome/mozapps/plugins/pluginBlocked.png | 0
Asrc/chrome/mozapps/plugins/pluginGeneric-16.png | 0
Asrc/chrome/mozapps/plugins/pluginGeneric.png | 0
Asrc/chrome/mozapps/plugins/pluginHelp-16.png | 0
Asrc/chrome/mozapps/plugins/pluginInstallerWizard.css | 12++++++++++++
Asrc/chrome/mozapps/plugins/pluginProblem.css | 212+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/mozapps/profile/profileSelection.css | 25+++++++++++++++++++++++++
Asrc/chrome/mozapps/profile/profileicon.png | 0
Asrc/chrome/mozapps/update/downloadButtons.png | 0
Asrc/chrome/mozapps/update/updates.css | 178+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/mozapps/viewsource/viewsource.css | 5+++++
Asrc/chrome/mozapps/xpinstall/xpinstallConfirm.css | 95+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/mozapps/xpinstall/xpinstallItemGeneric.png | 0
Asrc/chrome/ostarget/aero/browser.css | 426+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/ostarget/general/KUI-background.png | 0
Asrc/chrome/ostarget/general/KUI-close.png | 0
Asrc/chrome/ostarget/general/appmenu-dropmarker.png | 0
Asrc/chrome/ostarget/general/appmenu-icons.png | 0
Asrc/chrome/ostarget/general/browser.css | 234+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/chrome/ostarget/general/tabbrowser/tab.png | 0
Asrc/icon.png | 0
Asrc/install.rdf | 30++++++++++++++++++++++++++++++
581 files changed, 23335 insertions(+), 0 deletions(-)

diff --git a/LICENSE b/LICENSE @@ -0,0 +1,373 @@ +Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + 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/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. diff --git a/README.md b/README.md @@ -0,0 +1,5 @@ +# Dark Moon +Dark theme for Pale Moon, based on [White Moon] (https://github.com/Lootyhoof/whitemoon). + +## Building +Simply download the contents of the "src" folder and pack the contents into a .zip file. Then, rename the file to .xpi and drag into the browser. diff --git a/src/chrome.manifest b/src/chrome.manifest @@ -0,0 +1,7 @@ +skin browser darkmoon chrome/browser/ +skin mozapps darkmoon chrome/mozapps/ +skin global darkmoon chrome/global/ +skin ostarget darkmoon chrome/ostarget/general/ +skin ostarget darkmoon chrome/ostarget/aero/ os=WINNT osversion>=6 +skin appver darkmoon chrome/appver/25/ appversion<=26.0.0b2 +skin appver darkmoon chrome/appver/26/ appversion>26.0.0b2 diff --git a/src/chrome/appver/25/browser.css b/src/chrome/appver/25/browser.css @@ -0,0 +1,68 @@ +@media all and (-moz-windows-compositor) { + .titlebar-button { + display: none; + } + + #main-window[sizemode="maximized"] #titlebar-buttonbox { + -moz-margin-end: 3px; + } + + /* Fix borders because of Vista/7 versus 8/10+ */ + #main-window { + -moz-appearance: -moz-win-glass; + } + + /* On win 10, if we don't set this on the entire browser container, including + * the sidebar, then the accent color bleeds through in the titlebar + * if the sidebar is open. */ + #browser { + -moz-appearance: -moz-win-exclude-glass; + } + + @media (-moz-os-version: windows-vista), + (-moz-os-version: windows-win7) { + /* Make sure the native margins are correct on Win Vista/7. + * We can't use -moz-win-glass there because the border sizing would + * not be correct. */ + #main-window { + -moz-appearance: -moz-win-borderless-glass; + } + + /* The borders on the glass frame are ours, and inside #browser, and on + * vista and win7 we want to make sure they are "glassy", so we can't use + * #browser as the exclude-glass container. We use #appcontent instead. */ + #browser { + -moz-appearance: none; + } + + #appcontent { + -moz-appearance: -moz-win-exclude-glass; + } +} + + #main-window[chromemargin^="0,"][sizemode=normal] #navigator-toolbox { + margin-top: -7px; + } + + + #main-window[sizemode="normal"] > #titlebar > #titlebar-content:-moz-lwtheme { + border-top: 2px solid; + -moz-border-top-colors: rgb(37, 44, 51) rgba(255,255,255,.6); + } + + #main-window[sizemode="normal"] > #titlebar > #titlebar-content:-moz-lwtheme:-moz-window-inactive { + -moz-border-top-colors: rgb(102, 102, 102) rgba(255,255,255,.6); + } + + #main-window[sizemode="normal"] > #titlebar > #titlebar-content > #appmenu-button-container:-moz-lwtheme { + margin-top: -1px; + } + + #main-window[sizemode="normal"] #titlebar-buttonbox:-moz-lwtheme { + margin-top: -2px; + } + + #appmenu-button { + margin-bottom: -1px; + } +} +\ No newline at end of file diff --git a/src/chrome/appver/26/browser.css b/src/chrome/appver/26/browser.css @@ -0,0 +1,262 @@ +@media all and (-moz-windows-compositor) { + #main-window { + -moz-appearance: -moz-win-glass; + } + + /* On win 10, if we don't set this on the entire browser container, including + * the sidebar, then the accent color bleeds through in the titlebar + * if the sidebar is open. */ + #browser { + -moz-appearance: -moz-win-exclude-glass; + } + +/* ==== Windows 10 styling ==== */ + + @media not all and (-moz-os-version: windows-vista) { + @media not all and (-moz-os-version: windows-win7) { + @media not all and (-moz-os-version: windows-win8) { + /* Draw XUL caption buttons and background on Win10 */ + #appmenu-button { + margin-top: -1px !important; + margin-bottom: 5px !important; + } + + #tabbrowser-tabs { + min-height: 28px; + } + + #titlebar-buttonbox, + .titlebar-button { + -moz-appearance: none !important; + } + + .titlebar-button { + border: none; + margin: 0 !important; + padding: 8px 17px; + } + + #main-window[sizemode=maximized] .titlebar-button { + padding-top: 8px; + padding-bottom: 8px; + } + + .titlebar-button > .toolbarbutton-icon { + width: 12px; + height: 12px; + } + + #main-window[chromemargin^="0,"][sizemode=normal] #navigator-toolbox { + margin-top: -4px; + } + + #titlebar-min { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#minimize-highlight); + } + + #titlebar-max { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#maximize-highlight); + } + + #main-window[sizemode="maximized"] #titlebar-max { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#restore-highlight); + } + + #titlebar-close { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-highlight); + } + #titlebar-close:hover { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-highlight); + } + + /* light persona */ + #titlebar-min:-moz-lwtheme-darktext { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#minimize-outline); + } + #titlebar-max:-moz-lwtheme-darktext { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#maximize-outline); + } + #main-window[sizemode="maximized"]:-moz-lwtheme-darktext #titlebar-max:-moz-lwtheme-darktext { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#restore-outline); + } + #titlebar-close:-moz-lwtheme-darktext { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-outline); + } + #titlebar-close:hover:-moz-lwtheme-darktext { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-outline); + } + + /* dark persona */ + #titlebar-min:-moz-lwtheme-brighttext { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#minimize-outline-inverted); + } + #titlebar-max:-moz-lwtheme-brighttext { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#maximize-outline-inverted); + } + #main-window[sizemode="maximized"]:-moz-lwtheme-brighttext #titlebar-max:-moz-lwtheme-brighttext { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#restore-outline-inverted); + } + #titlebar-close:-moz-lwtheme-brighttext { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-outline-inverted); + } + #titlebar-close:hover:-moz-lwtheme-brighttext { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-outline-inverted); + } + + /* the 12px image renders a 10px icon, and the 10px upscaled gets rounded to 12.5, which + * rounds up to 13px, which makes the icon one pixel too big on 1.25dppx. Fix: */ + @media (min-resolution: 1.20dppx) and (max-resolution: 1.45dppx) { + .titlebar-button > .toolbarbutton-icon { + width: 11.5px; + height: 11.5px; + } + } + + /* 175% dpi should result in the same device pixel sizes as 150% dpi. */ + @media (min-resolution: 1.70dppx) and (max-resolution: 1.95dppx) { + .titlebar-button { + padding-left: 14.1px; + padding-right: 14.1px; + } + + .titlebar-button > .toolbarbutton-icon { + width: 10.8px; + height: 10.8px; + } + } + + /* 225% dpi should result in the same device pixel sizes as 200% dpi. */ + @media (min-resolution: 2.20dppx) and (max-resolution: 2.45dppx) { + .titlebar-button { + padding-left: 15.3333px; + padding-right: 15.3333px; + } + + .titlebar-button > .toolbarbutton-icon { + width: 10.8px; + height: 10.8px; + } + } + + /* 275% dpi should result in the same device pixel sizes as 250% dpi. */ + @media (min-resolution: 2.70dppx) and (max-resolution: 2.95dppx) { + .titlebar-button > .toolbarbutton-icon { + width: 10.8px; + height: 10.8px; + } + } + + @media (-moz-windows-default-theme) { + .titlebar-button:hover { + background-color: hsla(0, 0%, 255%, .22); + } + + .titlebar-button:hover:active { + background-color: hsla(0, 0%, 255%, .32); + } + + .titlebar-button:not(:hover) > .toolbarbutton-icon:-moz-window-inactive { + opacity: 0.5; + } + + #titlebar-close:hover { + background-color: hsl(355, 86%, 49%); + } + + #titlebar-close:hover:active { + background-color: hsl(355, 82%, 69%); + } + + /* dark persona */ + .titlebar-button:-moz-lwtheme-darktext:hover { + background-color: hsla(0, 0%, 0%, .12); + } + + .titlebar-button:-moz-lwtheme-darktext:hover:active { + background-color: hsla(0, 0%, 0%, .22); + } + } + + @media not all and (-moz-windows-default-theme) { + .titlebar-button { + background-color: -moz-field; + } + .titlebar-button:hover { + background-color: Highlight; + } + + #titlebar-min:hover { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#minimize-highlight); + } + + #titlebar-max:hover { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#maximize-highlight); + } + + #main-window[sizemode="maximized"] #titlebar-max:hover { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#restore-highlight); + } + + #titlebar-close:hover { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-highlight); + } + } + } + } + } + +/* ==== Windows Vista/7/8 styling ==== */ + + @media (-moz-os-version: windows-vista), + (-moz-os-version: windows-win7), + (-moz-os-version: windows-win8) { + /* Make sure the native margins are correct on Win Vista/7/8. + * We can't use -moz-win-glass there because the border sizing would + * not be correct. */ + #main-window { + -moz-appearance: -moz-win-borderless-glass; + } + + /* These should be hidden w/ glass enabled. Windows draws its own buttons. */ + .titlebar-button { + display: none; + } + + /* The borders on the glass frame are ours, and inside #browser, and on + * vista and win7 we want to make sure they are "glassy", so we can't use + * #browser as the exclude-glass container. We use #appcontent instead. */ + #browser { + -moz-appearance: none; + } + + #appcontent { + -moz-appearance: -moz-win-exclude-glass; + } + + #main-window[chromemargin^="0,"][sizemode=normal] #navigator-toolbox { + margin-top: -7px; + } + + /* Artificially draw window borders that are covered by lwtheme, see bug 591930. */ + #main-window[sizemode="normal"] > #titlebar > #titlebar-content:-moz-lwtheme { + border-top: 2px solid; + -moz-border-top-colors: rgb(37, 44, 51) rgba(255,255,255,.6); + } + + #main-window[sizemode="normal"] > #titlebar > #titlebar-content:-moz-lwtheme:-moz-window-inactive { + -moz-border-top-colors: rgb(102, 102, 102) rgba(255,255,255,.6); + } + + #main-window[sizemode="normal"] > #titlebar > #titlebar-content > #appmenu-button-container:-moz-lwtheme { + margin-top: -1px; + } + + #main-window[sizemode="normal"] #titlebar-buttonbox:-moz-lwtheme { + margin-top: -2px; + } + + #appmenu-button { + margin-bottom: -1px; + } + } +} +\ No newline at end of file diff --git a/src/chrome/browser/Geolocation-16.png b/src/chrome/browser/Geolocation-16.png Binary files differ. diff --git a/src/chrome/browser/Geolocation-64.png b/src/chrome/browser/Geolocation-64.png Binary files differ. diff --git a/src/chrome/browser/Info.png b/src/chrome/browser/Info.png Binary files differ. diff --git a/src/chrome/browser/KUI-background.png b/src/chrome/browser/KUI-background.png Binary files differ. diff --git a/src/chrome/browser/KUI-close.png b/src/chrome/browser/KUI-close.png Binary files differ. diff --git a/src/chrome/browser/Privacy-16.png b/src/chrome/browser/Privacy-16.png Binary files differ. diff --git a/src/chrome/browser/Privacy-32.png b/src/chrome/browser/Privacy-32.png Binary files differ. diff --git a/src/chrome/browser/Privacy-48.png b/src/chrome/browser/Privacy-48.png Binary files differ. diff --git a/src/chrome/browser/Secure24.png b/src/chrome/browser/Secure24.png Binary files differ. diff --git a/src/chrome/browser/Toolbar-inverted.png b/src/chrome/browser/Toolbar-inverted.png Binary files differ. diff --git a/src/chrome/browser/Toolbar.png b/src/chrome/browser/Toolbar.png Binary files differ. diff --git a/src/chrome/browser/aboutCertError.css b/src/chrome/browser/aboutCertError.css @@ -0,0 +1,72 @@ +/* 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/. */ + + +html { + background: -moz-Dialog; +} + +body { + margin: 0; + padding: 0 1em; + color: -moz-FieldText; + font: message-box; +} + +h1 { + margin: 0 0 .6em 0; + border-bottom: 1px solid ThreeDLightShadow; + font-size: 160%; +} + +h2 { + font-size: 130%; +} + +#errorPageContainer { + position: relative; + min-width: 13em; + max-width: 52em; + margin: 4em auto; + border: 1px solid #FFBD09; /* pale yellow extracted from yellow passport icon */ + border-radius: 10px; + padding: 3em; + -moz-padding-start: 30px; + background: url("chrome://global/skin/icons/sslWarning.png") left 0 no-repeat -moz-Field; + background-origin: content-box; +} + +#errorPageContainer:-moz-dir(rtl) { + background-position: right 0; +} + +#errorTitle { + -moz-margin-start: 80px; +} + +#errorLongContent { + -moz-margin-start: 80px; +} + +.expander > button { + -moz-padding-start: 20px; + -moz-margin-start: -20px; + background: url("chrome://browser/skin/aboutCertError_sectionExpanded.png") left center no-repeat; + border: none; + font: inherit; + color: inherit; + cursor: pointer; +} + +.expander > button:-moz-dir(rtl) { + background-position: right center; +} + +.expander[collapsed] > button { + background-image: url("chrome://browser/skin/aboutCertError_sectionCollapsed.png"); +} + +.expander[collapsed] > button:-moz-dir(rtl) { + background-image: url("chrome://browser/skin/aboutCertError_sectionCollapsed-rtl.png"); +} diff --git a/src/chrome/browser/aboutCertError_sectionCollapsed-rtl.png b/src/chrome/browser/aboutCertError_sectionCollapsed-rtl.png Binary files differ. diff --git a/src/chrome/browser/aboutCertError_sectionCollapsed.png b/src/chrome/browser/aboutCertError_sectionCollapsed.png Binary files differ. diff --git a/src/chrome/browser/aboutCertError_sectionExpanded.png b/src/chrome/browser/aboutCertError_sectionExpanded.png Binary files differ. diff --git a/src/chrome/browser/aboutPrivateBrowsing.css b/src/chrome/browser/aboutPrivateBrowsing.css @@ -0,0 +1,42 @@ + +body.private > #errorPageContainer { + background-image: url("chrome://browser/skin/Privacy-48.png"); +} + +body.normal > #errorPageContainer { + background-image: url("chrome://global/skin/icons/question-48.png"); +} + +#clearRecentHistoryDesc { + margin-top: 2em; +} + +#clearRecentHistoryDesc > p { + font-size: 110%; /* to match the value set in chrome://global/skin/netError.css */ +} + +#startPrivateBrowsingDesc > button { + -moz-margin-start: 0; +} + +#footerDesc > p { + font-size: 110%; /* to match the value set in chrome://global/skin/netError.css */ +} + +#moreInfo { + font-size: 110%; /* to match the value set in chrome://global/skin/netError.css */ + -moz-padding-start: 25px; + background: url("chrome://global/skin/icons/information-16.png") no-repeat top left; +} + +#moreInfo:-moz-dir(rtl) { + background-position: top right; +} + +#moreInfoText { + margin-bottom: 0; +} + +#moreInfoLinkContainer { + margin-top: 0.5em; +} diff --git a/src/chrome/browser/aboutSessionRestore-window-icon.png b/src/chrome/browser/aboutSessionRestore-window-icon.png Binary files differ. diff --git a/src/chrome/browser/aboutSessionRestore.css b/src/chrome/browser/aboutSessionRestore.css @@ -0,0 +1,63 @@ + +html { + height: 100%; +} + +body { + height: 100%; + text-align: center; +} + +#errorPageContainer { + background-image: url("chrome://global/skin/icons/warning-large.png"); + display: -moz-box; + width: -moz-available; + height: 70%; + -moz-box-orient: vertical; + text-align: start; +} + +#errorShortDesc > p { + margin-top: 0.4em; + margin-bottom: 0; +} + +#errorLongContent, #errorTrailerDesc { + display: -moz-box; + -moz-box-flex: 1; + -moz-box-orient: vertical; +} + +#tabList { + margin-top: 2.5em; + width: 100%; + min-height: 12em; +} + +treechildren::-moz-tree-image(icon), +treechildren::-moz-tree-image(noicon) { + padding-right: 2px; + margin: 0px 2px; + width: 16px; + height: 16px; +} + +treechildren::-moz-tree-image(noicon) { + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); +} +treechildren::-moz-tree-image(container, noicon) { + list-style-image: url("chrome://browser/skin/aboutSessionRestore-window-icon.png"); +} +treechildren::-moz-tree-image(checked) { + list-style-image: url("chrome://global/skin/checkbox/cbox-check.gif"); +} +treechildren::-moz-tree-image(partial) { + list-style-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif"); +} + +#buttons { + width: 100%; +} +#buttons > button { + margin-top: 2em; +} diff --git a/src/chrome/browser/aboutSocialError.css b/src/chrome/browser/aboutSocialError.css @@ -0,0 +1,98 @@ +body { + background-color: rgb(241, 244, 248); + margin-top: 2em; + font: message-box; + font-size: 100%; +} + +p { + font-size: .8em; +} + +#error-box { + background: url('chrome://global/skin/icons/information-24.png') no-repeat left 4px; + -moz-padding-start: 30px; +} + +#error-box:-moz-locale-dir(rtl) { + background-position: right 4px; +} + +#main-error-msg { + color: #4b4b4b; + font-weight: bold; +} + + +#button-box { + text-align: center; + width: 75%; + margin: 0 auto; +} + +@media all and (min-width: 300px) { + #error-box { + max-width: 50%; + margin: 0 auto; + background-image: url('chrome://global/skin/icons/information-32.png'); + min-height: 36px; + -moz-padding-start: 38px; + } + + button { + width: auto !important; + min-width: 150px; + } +} + +@media all and (min-width: 780px) { + #error-box { + max-width: 30%; + } +} + +button { + font: message-box; + font-size: 0.6875em; + -moz-appearance: none; + -moz-user-select: none; + width: 100%; + margin: 2px 0; + padding: 2px 6px; + line-height: 1.2; + background-color: hsla(210,30%,95%,.1); + background-image: linear-gradient(hsla(0,0%,100%,.6), hsla(0,0%,100%,.1)); + background-clip: padding-box; + border: 1px solid hsla(210,15%,25%,.4); + border-color: hsla(210,15%,25%,.3) hsla(210,15%,25%,.35) hsla(210,15%,25%,.4); + border-radius: 3px; + box-shadow: 0 1px 0 hsla(0,0%,100%,.3) inset, + 0 0 0 1px hsla(0,0%,100%,.3) inset, + 0 1px 0 hsla(0,0%,100%,.1); + + transition-property: background-color, border-color, box-shadow; + transition-duration: 150ms; + transition-timing-function: ease; + +} + +button:hover { + background-color: hsla(210,30%,95%,.8); + border-color: hsla(210,15%,25%,.45) hsla(210,15%,25%,.5) hsla(210,15%,25%,.55); + box-shadow: 0 1px 0 hsla(0,0%,100%,.3) inset, + 0 0 0 1px hsla(0,0%,100%,.3) inset, + 0 1px 0 hsla(0,0%,100%,.1), + 0 0 3px hsla(210,15%,25%,.1); + transition-property: background-color, border-color, box-shadow; + transition-duration: 150ms; + transition-timing-function: ease; +} + +button:hover:active { + background-color: hsla(210,15%,25%,.2); + box-shadow: 0 1px 1px hsla(210,15%,25%,.2) inset, + 0 0 2px hsla(210,15%,25%,.4) inset; + transition-property: background-color, border-color, box-shadow; + transition-duration: 10ms; + transition-timing-function: linear; +} diff --git a/src/chrome/browser/aboutSyncTabs.css b/src/chrome/browser/aboutSyncTabs.css @@ -0,0 +1,101 @@ +/* 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/. */ + +#tabs-display, +#tabsList { + background-color: transparent; + -moz-appearance: none; + margin: 0; +} + +#tabsList { + width: 100%; +} + +#tabs-display { + background: #fff url(chrome://browser/skin/sync-bg.png) repeat-x center -80px; +} + +#headers { + background: url(chrome://browser/skin/sync-32.png) no-repeat; + margin-top: 4px; + width: 45em; + height: 32px; + -moz-margin-start: 2em; + -moz-margin-end: 2em; +} + +#tabsListHeading { + font-size: 140%; + font-weight: bold; + -moz-margin-start: 40px; +} + +richlistitem { + -moz-margin-end: 2em; +} + +richlistitem[selected="true"], +richlistitem:focus { + outline-style: none; +} + +richlistitem[type="tab"] { + min-height: 3em; + border: #999999 1px solid !important; + padding: 2px 5px; + margin-bottom: 4px; + -moz-margin-start: 4em; + border-radius: 6px; + background-color: menu; + width: 44em; + opacity: 0.9; + box-shadow: + inset rgba(255, 255, 255, 0.5) 0 1px 0px, + inset rgba(0, 0, 0, 0.1) 0 -2px 0px, + rgba(0, 0, 0, 0.1) 0px 1px 0px; +} + +richlistitem[type="tab"][selected="true"] { + background-color: -moz-MenuHover; +} + +richlistitem[type="client"] { + min-height: 2em; + color: #000000; + -moz-margin-start: 2em; + margin-top: 2px; + margin-bottom: 3px; + width: 42em; + border-radius: 6px; + background-color: transparent; + -moz-user-focus: ignore !important; +} +richlistitem.mobile[type="client"] { + list-style-image: url("chrome://browser/skin/sync-mobileIcon.png"); +} +richlistitem.desktop[type="client"] { + list-style-image: url("chrome://browser/skin/sync-desktopIcon.png"); +} + +.title, +.clientName { + color: #000000; + font-size: 1.1em; +} + +.title[selected="true"], +.url[selected="true"] { + color: inherit; +} + +.url { + color: -moz-nativehyperlinktext; + font-size: 0.95em; +} + +.tabIcon { + -moz-padding-start: 2px; + padding-top: 2px; +} diff --git a/src/chrome/browser/aboutTabCrashed.css b/src/chrome/browser/aboutTabCrashed.css @@ -0,0 +1,108 @@ +body { + background-color: rgb(241, 244, 248); + margin-top: 2em; + font: message-box; + font-size: 100%; +} + +p { + font-size: .8em; +} + +#error-box { + background: url('chrome://global/skin/icons/information-24.png') no-repeat left 4px; + -moz-padding-start: 30px; +} + +#error-box:-moz-locale-dir(rtl) { + background-position: right 4px; +} + +#main-error-msg { + color: #4b4b4b; + font-weight: bold; +} + +#report-box { + text-align: center; + width: 75%; + margin: 0 auto; + display: none; +} + +.crashDumpAvaible #report-box { + display: block +} + +#button-box { + text-align: center; + width: 75%; + margin: 0 auto; +} + +@media all and (min-width: 300px) { + #error-box { + max-width: 50%; + margin: 0 auto; + background-image: url('chrome://global/skin/icons/information-32.png'); + min-height: 36px; + -moz-padding-start: 38px; + } + + button { + width: auto !important; + min-width: 150px; + } +} + +@media all and (min-width: 780px) { + #error-box { + max-width: 30%; + } +} + +button { + font: message-box; + font-size: 0.6875em; + -moz-appearance: none; + -moz-user-select: none; + width: 100%; + margin: 2px 0; + padding: 2px 6px; + line-height: 1.2; + background-color: hsla(210,30%,95%,.1); + background-image: linear-gradient(hsla(0,0%,100%,.6), hsla(0,0%,100%,.1)); + background-clip: padding-box; + border: 1px solid hsla(210,15%,25%,.4); + border-color: hsla(210,15%,25%,.3) hsla(210,15%,25%,.35) hsla(210,15%,25%,.4); + border-radius: 3px; + box-shadow: 0 1px 0 hsla(0,0%,100%,.3) inset, + 0 0 0 1px hsla(0,0%,100%,.3) inset, + 0 1px 0 hsla(0,0%,100%,.1); + + transition-property: background-color, border-color, box-shadow; + transition-duration: 150ms; + transition-timing-function: ease; + +} + +button:hover { + background-color: hsla(210,30%,95%,.8); + border-color: hsla(210,15%,25%,.45) hsla(210,15%,25%,.5) hsla(210,15%,25%,.55); + box-shadow: 0 1px 0 hsla(0,0%,100%,.3) inset, + 0 0 0 1px hsla(0,0%,100%,.3) inset, + 0 1px 0 hsla(0,0%,100%,.1), + 0 0 3px hsla(210,15%,25%,.1); + transition-property: background-color, border-color, box-shadow; + transition-duration: 150ms; + transition-timing-function: ease; +} + +button:hover:active { + background-color: hsla(210,15%,25%,.2); + box-shadow: 0 1px 1px hsla(210,15%,25%,.2) inset, + 0 0 2px hsla(210,15%,25%,.4) inset; + transition-property: background-color, border-color, box-shadow; + transition-duration: 10ms; + transition-timing-function: linear; +} diff --git a/src/chrome/browser/actionicon-tab.png b/src/chrome/browser/actionicon-tab.png Binary files differ. diff --git a/src/chrome/browser/appmenu-dropmarker.png b/src/chrome/browser/appmenu-dropmarker.png Binary files differ. diff --git a/src/chrome/browser/appmenu-icons.png b/src/chrome/browser/appmenu-icons.png Binary files differ. diff --git a/src/chrome/browser/browser.css b/src/chrome/browser/browser.css @@ -0,0 +1,3423 @@ +@import url("chrome://ostarget/skin/browser.css"); +@import url("chrome://global/skin/"); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + + +#main-window:not(:-moz-lwtheme):after { + color: #fff !important; + text-shadow: none !important; +} + +#main-window { + background-color: rgb(23,23,23); +} + +#menubar-items { + -moz-box-orient: vertical; +} + +#main-menubar { + -moz-box-flex: 1; +} + +#navigator-toolbox { + -moz-appearance: none; + background-color: transparent; + border-top: none; + border-bottom-color: rgb(50,50,50); +} + +#navigator-toolbox::after { + content: ""; + display: -moz-box; + -moz-box-ordinal-group: 101; + height: 1px; + background-color: rgba(75,75,75,1); +} + +#navigator-toolbox[tabsontop=false]::after, +#main-window[disablechrome] #navigator-toolbox::after { + visibility: collapse; +} + +#navigator-toolbox > toolbar:not(:-moz-lwtheme) { + -moz-appearance: none; + border-style: none; + background-color: rgba(43,43,43,1); +} + +#nav-bar[tabsontop=true]:-moz-lwtheme-darktext { + background-image: -moz-linear-gradient(rgba(250,250,250,0.9), rgba(250,250,250,0.5)); +} + +#main-window[tabsontop=true] #PersonalToolbar:-moz-lwtheme-darktext, +#addon-bar:-moz-lwtheme-darktext { + background-image: -moz-linear-gradient(rgba(250,250,250,0.5), rgba(250,250,250,0.5)); +} + +#nav-bar[tabsontop=true]:-moz-lwtheme-brighttext { + background-image: -moz-linear-gradient(rgba(5,5,5,0.9), rgba(5,5,5,0.6)); +} + +#main-window[tabsontop=true] #PersonalToolbar:-moz-lwtheme-brighttext, +#addon-bar:-moz-lwtheme-brighttext { + background-image: -moz-linear-gradient(rgba(5,5,5,0.6), rgba(5,5,5,0.6)); +} + +#personal-bookmarks { + min-height: 24px; +} + +/* ::::: app menu button ::::: */ + +#appmenu-button, +#appmenu-toolbar-button { + -moz-appearance: none; + background: rgba(90,90,90,.85); + background-clip: padding-box; + border-radius: 0 0 4px 4px; + border: 1px solid rgba(0,0,0,.15) !important; + border-top: none !important; + font-weight: bold; + box-shadow: none !important; + padding: 0 .8em .05em; + margin: 0 0 2px; + color: #fff; +} + +@media (-moz-windows-classic) { + #appmenu-button { + margin-bottom: 1px; + } +} + +#appmenu-button:hover:not(:active):not([open]), +#appmenu-toolbar-button:hover:not(:active):not([open]) { + background: rgba(110,110,110,.75); + border-color: rgba(0,0,0,.20) !important; +} + +#appmenu-button:hover:active, +#appmenu-button[open], +#appmenu-toolbar-button:hover:active, +#appmenu-toolbar-button[open] { + border-radius: 0; + background: rgba(75,75,75,.4); + border-color: rgba(0,0,0,.25) !important; +} + +#appmenu-button > .button-box { + border-style: none; + padding: 0; +} + +#appmenu-button > .button-box > .button-menu-dropmarker, +#appmenu-toolbar-button > .toolbarbutton-menu-dropmarker { + list-style-image: url(chrome://browser/skin/appmenu-dropmarker.png); + width: auto; + height: auto; + padding: 0; + margin: 0; + -moz-margin-start: .5em; +} + +.splitmenu-menuitem { + -moz-margin-end: 1px; + -moz-padding-end: 0.5em; +} + +.splitmenu-menu { + -moz-box-pack: end; +} + +.appmenu-edit-button { + -moz-appearance: none; + border: 1px solid transparent; + padding: 2px; + background: transparent; + border-radius: 3px; +} + +.appmenu-edit-button[disabled="true"] { + opacity: .3; +} + +#appmenuPrimaryPane { + -moz-border-end: 1px solid ThreeDShadow; +} + +#appmenu-popup { + -moz-appearance: none; + background: rgb(50,50,50); + border: 1px solid rgb(75,75,75); +} +#appmenuPrimaryPane { + background-color: rgb(62,62,62); + padding: 2px; + -moz-border-end: none; +} +#appmenuSecondaryPane { + background-color: rgb(50,50,50); + -moz-padding-start: 3px; + -moz-padding-end: 2px; + padding-top: 2px; + padding-bottom: 2px; + font-family: "Segoe UI Semibold", "Segoe UI", sans-serif; +} + +.appmenu-menuseparator { + -moz-appearance: none; + margin-top: 3px; + margin-bottom: 3px; + -moz-margin-start: 30px; + padding: 0; + border-top: 1px solid #e1e1e1; + border-bottom: none; +} + +.appmenu-edit-button:not([disabled]):hover { + border: 1px solid #b8d6fb; + box-shadow: inset 0 0 1px white; + background: -moz-linear-gradient(#fafbfd, #ebf3fd); + -moz-transition: .2s ease-in; +} + +#appmenuSecondaryPane-spacer { + min-height: 1em; +} + +#appmenu-editmenu { + -moz-box-pack: end; +} + +#appmenu_print, +#appmenu_print_popup, +.appmenu-edit-button, +#appmenu-editmenu-cut, +#appmenu-editmenu-copy, +#appmenu-editmenu-paste, +#appmenu-quit { + list-style-image: url("chrome://browser/skin/appmenu-icons.png"); +} + +#appmenu-cut, +#appmenu-editmenu-cut { + -moz-image-region: rect(0 16px 16px 0); +} + +#appmenu-copy, +#appmenu-editmenu-copy { + -moz-image-region: rect(0 32px 16px 16px); +} + +#appmenu-paste, +#appmenu-editmenu-paste { + -moz-image-region: rect(0 48px 16px 32px); +} + +#appmenu_print, +#appmenu_print_popup { + -moz-image-region: rect(0 64px 16px 48px); +} + +#appmenu-quit { + -moz-image-region: rect(0 80px 16px 64px); +} + +#appmenu-edit-label { + -moz-appearance: none; + background: transparent; + font-style: italic; +} + +#appmenu_bookmarks { + list-style-image: url("chrome://browser/skin/places/bookmark.png"); + -moz-image-region: rect(0px 48px 16px 32px); +} + +#appmenu_privateBrowsing, +#appmenu_newPrivateWindow { + list-style-image: url("chrome://browser/skin/Privacy-16.png"); +} + +#appmenu_addons { + list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); +} + +#BMB_bookmarkThisPage, +#appmenu_bookmarkThisPage { + list-style-image: url("chrome://browser/skin/places/bookmark.png"); + -moz-image-region: rect(0 16px 16px 0); +} + +/* ::::: bookmark items ::::: */ + +.bookmark-item { + list-style-image: url("chrome://global/skin/icons/folder-item.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); +} + +.bookmark-item[container] { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +.bookmark-item[container][open] { + -moz-image-region: rect(16px, 32px, 32px, 16px); +} + +.bookmark-item[container][livemark] { + list-style-image: url("chrome://browser/skin/livemark-folder.png"); + -moz-image-region: auto; +} + +.bookmark-item[container][livemark] .bookmark-item { + list-style-image: url("chrome://browser/skin/places/livemark-item.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); +} + +.bookmark-item[container][livemark] .bookmark-item[visited] { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +.bookmark-item[container][query] { + list-style-image: url("chrome://browser/skin/places/query.png"); + -moz-image-region: auto; +} + +.bookmark-item[query][tagContainer] { + list-style-image: url("chrome://browser/skin/places/tag.png"); + -moz-image-region: auto; +} + +.bookmark-item[query][dayContainer] { + list-style-image: url("chrome://browser/skin/places/calendar.png"); + -moz-image-region: auto; +} + +.bookmark-item[query][hostContainer] { + list-style-image: url("chrome://global/skin/icons/folder-item.png"); + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +.bookmark-item[query][hostContainer][open] { + list-style-image: url("chrome://global/skin/icons/folder-item.png"); + -moz-image-region: rect(16px, 32px, 32px, 16px); +} + +.bookmark-item[cutting] > .toolbarbutton-icon, +.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon { + opacity: 0.5; +} + +.bookmark-item[cutting] > .toolbarbutton-text, +.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text { + opacity: 0.7; +} + +/* ::::: primary toolbar buttons ::::: */ + +.toolbarbutton-1 { + list-style-image: url("chrome://browser/skin/Toolbar.png"); +} + +.toolbarbutton-1:-moz-lwtheme-darktext { + list-style-image: url("chrome://browser/skin/Toolbar-inverted.png"); +} + +.toolbarbutton-1[disabled=true] > .toolbarbutton-icon, +.toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker, +.toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker, +.toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon, +.toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled] > .toolbarbutton-icon { + opacity: .4; +} + +.toolbarbutton-1 > .toolbarbutton-menu-dropmarker, +.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { + list-style-image: url("chrome://browser/skin/toolbarbutton-dropdown-arrow.png"); +} + +.toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-darktext, +.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-darktext { + list-style-image: url("chrome://browser/skin/toolbarbutton-dropdown-arrow-inverted.png"); +} + +.toolbarbutton-1 > .toolbarbutton-icon, +.toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon { + -moz-margin-end: 0; +} + +toolbar[mode=full] .toolbarbutton-1:not([type=menu-button]) { + -moz-box-orient: vertical; +} + +toolbar[mode=full] .toolbarbutton-1, +toolbar[mode=full] .toolbarbutton-1 > .toolbarbutton-menubutton-button { + min-width: 57px; +} + +#nav-bar { + counter-reset: smallicons; +} + +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1, +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button { + -moz-appearance: none; + border: none; + padding: 0; + background: none; +} + +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1:not([type=menu-button]), +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button, +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { + padding: 5px 2px; + -moz-box-pack: center; +} + +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button) { + padding-left: 5px; + padding-right: 5px; +} + +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > menupopup { + margin-top: -3px; +} + +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button { + -moz-padding-end: 0; +} + +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { + -moz-padding-start: 0; + -moz-box-align: center; +} + +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-icon, +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container, +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon, +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { + padding: 2px 6px; + background: hsla(210,32%,93%,0) padding-box; + border-radius: 2px; + border: 1px solid; + border-color: hsla(210,54%,20%,0) hsla(210,54%,20%,0) hsla(210,54%,20%,0); + box-shadow: 0 1px hsla(0,0%,100%,0) inset, + 0 1px hsla(210,54%,20%,0), + 0 0 2px hsla(210,54%,20%,0); + transition-property: background-color, border-color, box-shadow; + transition-duration: 150ms; +} + +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1:not(:-moz-any(#back-button, #forward-button, #reload-button, #stop-button, #home-button, #print-button, #downloads-button, #downloads-indicator, #history-button, #bookmarks-button, #bookmarks-menu-button, #new-tab-button, #new-window-button, #cut-button, #copy-button, #paste-button, #fullscreen-button, #zoom-out-button, #zoom-in-button, #sync-button, #feed-button, #alltabs-button, #tabview-button, #webrtc-status-button)) > .toolbarbutton-icon, +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1:not(:-moz-any(#back-button, #forward-button, #reload-button, #stop-button, #home-button, #print-button, #downloads-button, #downloads-indicator, #history-button, #bookmarks-button, #bookmarks-menu-button, #new-tab-button, #new-window-button, #cut-button, #copy-button, #paste-button, #fullscreen-button, #zoom-out-button, #zoom-in-button, #sync-button, #feed-button, #alltabs-button, #tabview-button, #webrtc-status-button)) > .toolbarbutton-badge-container, +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1:not(:-moz-any(#back-button, #forward-button, #reload-button, #stop-button, #home-button, #print-button, #downloads-button, #downloads-indicator, #history-button, #bookmarks-button, #bookmarks-menu-button, #new-tab-button, #new-window-button, #cut-button, #copy-button, #paste-button, #fullscreen-button, #zoom-out-button, #zoom-in-button, #sync-button, #feed-button, #alltabs-button, #tabview-button, #webrtc-status-button)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon { + padding: 3px 7px; +} + +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button) > .toolbarbutton-icon, +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text { + -moz-padding-end: 17px; +} + +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker { + -moz-margin-start: -15px; +} + +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon { + -moz-border-end: none; +} + +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { + padding: 8px 5px 7px; +} + +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar #social-toolbar-item { + margin-left: 2px; + margin-right: 2px; +} + +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar #social-toolbar-item > .toolbarbutton-1 { + padding-left: 0; + padding-right: 0; +} + +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before, +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar #social-toolbar-item > .toolbarbutton-1:not(:hover):not(:active):not([open]) + .toolbarbutton-1:not(:hover):not(:active):not([open])::before { + content: ""; + display: -moz-box; + width: 1px; + height: 18px; + -moz-margin-end: -1px; + background-image: linear-gradient(rgba(75,75,75,1) 0, rgba(75,75,75,1) 18px); + background-clip: padding-box; + background-position: center; + background-repeat: no-repeat; + background-size: 1px 18px; +} + +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon:-moz-locale-dir(ltr), +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:-moz-locale-dir(rtl) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon:-moz-locale-dir(rtl), +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:-moz-locale-dir(ltr) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + + + +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled]):hover:active > .toolbarbutton-icon, +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled]) > .dropmarker-icon, +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1:not([disabled]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon, +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1:not([disabled]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container { + background-image: linear-gradient(hsla(0,0%,0%,.6), hsla(0,0%,0%,.1)); + background-color: hsla(0,0%,0%,.1); + border-color: hsla(0,0%,0%,.2) hsla(0,0%,0%,.24) hsla(0,0%,0%,.22); + box-shadow: 0 1px 1px hsla(0,0%,0%,.06) inset, + 0 0 1px hsla(0,0%,0%,.12) inset, + + 0 1px 0 hsla(0,0%,0%,0), + 0 0 2px hsla(0,0%,0%,0); + text-shadow: none; + transition: none; +} + +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1:-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker:not([disabled]) > .dropmarker-icon { + -moz-border-start-color: hsla(210,54%,20%,.35); +} + +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1[checked]:not(:active):hover > .toolbarbutton-icon { + background-color: rgba(90%,90%,90%,.4); + transition: background-color .4s; +} + +:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1, +:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button, +.tabbrowser-arrowscrollbox > .scrollbutton-up, +.tabbrowser-arrowscrollbox > .scrollbutton-down { + -moz-appearance: none; + border-style: none; + padding: 0 3px; +} + +#TabsToolbar .toolbarbutton-1:not([disabled]):hover, +#TabsToolbar .toolbarbutton-1[open], +#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled]):hover, +.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):hover, +.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):hover { + background-image: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.5)), + linear-gradient(transparent, rgba(0,0,0,.25) 30%), + linear-gradient(transparent, rgba(0,0,0,.25) 30%); + background-position: 1px -1px, 0 -1px, 100% -1px; + background-size: calc(100% - 2px) 100%, 1px 100%, 1px 100%; + background-repeat: no-repeat; +} + +#addon-bar .toolbarbutton-1:not([disabled]):hover, +#addon-bar .toolbarbutton-1[open], +#addon-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled]):hover { + background-image: linear-gradient(to top, transparent, rgba(0,0,0,.15)), + linear-gradient(to top, transparent, rgba(0,0,0,.15) 30%), + linear-gradient(to top, transparent, rgba(0,0,0,.15) 30%); + background-position: left, left, right; + background-size: auto, 1px 100%, 1px 100%; + background-repeat: no-repeat; +} + +#back-button { + -moz-image-region: rect(0, 18px, 18px, 0); +} + +#forward-button { + -moz-image-region: rect(0, 36px, 18px, 18px); +} + +#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, +#forward-button:-moz-locale-dir(rtl), +#forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text { + transform: scaleX(-1); +} + + + +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > #unified-back-forward-button > #forward-button > .toolbarbutton-icon { + -moz-margin-start: -4px !important; + -moz-margin-end: -2px !important; + + padding-left: 2px; + padding-right: 2px; +} + +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > #unified-back-forward-button:not([switchingtabs]) > #forward-button { + transition: opacity 150ms ease-out; +} + +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > #unified-back-forward-button > #back-button { + -moz-image-region: rect(0, 19px, 18px, 1px); +} + +.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr), +.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) { + list-style-image: url("chrome://browser/skin/menu-back.png") !important; +} + +.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr), +.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) { + list-style-image: url("chrome://browser/skin/menu-forward.png") !important; +} + +#stop-button { + -moz-image-region: rect(0, 54px, 18px, 36px); +} + +#reload-button { + -moz-image-region: rect(0, 72px, 18px, 54px); +} + +#home-button.bookmark-item { + list-style-image: url("chrome://browser/skin/Toolbar.png"); +} +#home-button.bookmark-item:-moz-lwtheme-darktext { + list-style-image: url("chrome://browser/skin/Toolbar-inverted.png"); +} +#home-button { + -moz-image-region: rect(0, 90px, 18px, 72px); +} + +#downloads-button { + -moz-image-region: rect(0, 108px, 18px, 90px); +} + +#history-button { + -moz-image-region: rect(0, 126px, 18px, 108px); +} + +#bookmarks-button, +#bookmarks-menu-button { + -moz-image-region: rect(0, 144px, 18px, 126px); +} + +#bookmarks-menu-button.bookmark-item { + list-style-image: url("chrome://browser/skin/Toolbar.png"); +} + +#bookmarks-menu-button.bookmark-item:-moz-lwtheme-darktext { + list-style-image: url("chrome://browser/skin/Toolbar-inverted.png"); +} + +#print-button { + -moz-image-region: rect(0, 162px, 18px, 144px); +} + +#new-tab-button { + -moz-image-region: rect(0, 180px, 18px, 162px); +} + +#new-window-button { + -moz-image-region: rect(0, 198px, 18px, 180px); +} + +#cut-button { + -moz-image-region: rect(0, 216px, 18px, 198px); +} + +#copy-button { + -moz-image-region: rect(0, 234px, 18px, 216px); +} + +#paste-button { + -moz-image-region: rect(0, 252px, 18px, 234px); +} + +#fullscreen-button { + -moz-image-region: rect(0, 270px, 18px, 252px); +} + +#zoom-out-button { + -moz-image-region: rect(0, 288px, 18px, 270px); +} + +#zoom-in-button { + -moz-image-region: rect(0, 306px, 18px, 288px); +} + +#sync-button { + -moz-image-region: rect(0, 324px, 18px, 306px); +} +#sync-button[status="active"] { + list-style-image: url("chrome://browser/skin/sync-throbber.png"); + -moz-image-region: rect(0, 18px, 18px, 0); +} + +#feed-button { + -moz-image-region: rect(0, 342px, 18px, 324px); +} + +#webrtc-status-button { + -moz-image-region: rect(0, 360px, 18px, 342px); +} + + + +#tabview-button, +#menu_tabview { + list-style-image: url(chrome://browser/skin/tabview/tabview.png); +} + +#tabview-button:-moz-lwtheme-darktext { + list-style-image: url(chrome://browser/skin/tabview/tabview-inverted.png); +} + +#tabview-button { + -moz-image-region: rect(0, 90px, 18px, 72px); +} + +#tabview-button[groups="0"] { + -moz-image-region: rect(0, 18px, 18px, 0); +} + +#tabview-button[groups="1"] { + -moz-image-region: rect(0, 36px, 18px, 18px); +} + +#tabview-button[groups="2"] { + -moz-image-region: rect(0, 54px, 18px, 36px); +} + +#tabview-button[groups="3"] { + -moz-image-region: rect(0, 72px, 18px, 54px); +} + +#menu_tabview { + -moz-image-region: rect(1px, 89px, 17px, 73px); +} + +#menu_tabview[groups="0"] { + -moz-image-region: rect(1px, 17px, 17px, 1px); +} + +#menu_tabview[groups="1"] { + -moz-image-region: rect(1px, 35px, 17px, 19px); +} + +#menu_tabview[groups="2"] { + -moz-image-region: rect(1px, 53px, 17px, 37px); +} + +#menu_tabview[groups="3"] { + -moz-image-region: rect(1px, 71px, 17px, 55px); +} + +/* ::::: Location Bar ::::: */ + +#urlbar, +.searchbar-textbox { + -moz-appearance: none; + margin: 1px 3px; + padding: 2px; + background-clip: padding-box; + border: 1px solid; + border-color: rgba(75,75,75,1); + border-radius: 5px; + background-color: rgb(50,50,50); + color: #fff; +} + +#urlbar { + width: 7em; + -moz-padding-end: 2px; +} + +#urlbar:-moz-lwtheme, +.searchbar-textbox:-moz-lwtheme { + background-color: rgba(50,50,50,.8); + border-color: rgba(75,75,75,.27) rgba(75,75,75,.2) rgba(75,75,75,.18); + color: #fff; +} + +html|*.urlbar-input:-moz-lwtheme:-moz-placeholder, +.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:-moz-placeholder { + color: #fff; +} + +#urlbar:-moz-lwtheme[focused="true"], +.searchbar-textbox:-moz-lwtheme[focused="true"] { + background-color: rgb(50,50,50); +} + +#urlbar-container { + -moz-box-orient: horizontal; + -moz-box-align: stretch; +} + +.urlbar-textbox-container { + -moz-box-align: stretch; +} + +.urlbar-input-box { + -moz-margin-start: 0; + min-width: 4em; +} + +#urlbar-icons { + -moz-box-align: center; +} + +.urlbar-icon { + padding: 0 3px; +} + +.searchbar-engine-button, +.search-go-container { + padding: 2px 2px; +} + +#urlbar-search-splitter { + min-width: 6px; + -moz-margin-start: -3px; + border: none; + background: transparent; +} + +#urlbar-search-splitter + #urlbar-container > #urlbar , +#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox { + -moz-margin-start: 0; +} + +#urlbar-display-box { + -moz-border-end: 1px solid #AAA; + -moz-margin-end: 3px; +} + +#urlbar-display { + margin-top: 0; + margin-bottom: 0; + -moz-margin-start: 0; + color: GrayText; +} + + + +#identity-box { + padding: 4px 2px; + margin: -2px 0; + font-size: .9em; +} + +#identity-box:-moz-locale-dir(ltr) { + border-top-left-radius: 1.5px; + border-bottom-left-radius: 1.5px; +} + +#identity-box:-moz-locale-dir(rtl) { + border-top-right-radius: 1.5px; + border-bottom-right-radius: 1.5px; +} + +#notification-popup-box:not([hidden]) + #identity-box { + -moz-padding-start: 10px; + border-radius: 0; +} + +#urlbar[pageproxystate="valid"] > #identity-box.chromeUI, +#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity, +#urlbar[pageproxystate="valid"] > #identity-box.verifiedDomain { + -moz-margin-end: 4px; +} + +#identity-box:-moz-focusring { + outline: 1px dotted #000; + outline-offset: -3px; +} + +#identity-icon-labels { + -moz-padding-start: 2px; + -moz-padding-end: 5px; +} + + + +.urlbar-history-dropmarker { + -moz-appearance: none; + padding: 0 3px; + background-color: transparent; + border: none; + width: auto; + list-style-image: url("chrome://browser/skin/urlbar-history-dropmarker.png"); + -moz-image-region: rect(0px, 11px, 14px, 0px); +} + +.urlbar-history-dropmarker:hover { + -moz-image-region: rect(0px, 22px, 14px, 11px); +} + +.urlbar-history-dropmarker:hover:active, +.urlbar-history-dropmarker[open="true"] { + -moz-image-region: rect(0px, 33px, 14px, 22px); +} + + + + +#urlbar[pageproxystate="valid"] > #identity-box.chromeUI, +#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity, +#urlbar[pageproxystate="valid"] > #identity-box.verifiedDomain { + background-position: right; + background-size: 1px; + background-repeat: no-repeat; +} + +#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl), +#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl), +#urlbar[pageproxystate="valid"] > #identity-box.verifiedDomain:-moz-locale-dir(rtl) { + background-position: left; +} + +#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity, +#urlbar[pageproxystate="valid"] > #identity-box.chromeUI { + color: hsl(92,100%,30%); +} + +#urlbar[pageproxystate="valid"] > #identity-box.chromeUI { + color: rgb(229,115,0); +} + +#urlbar[pageproxystate="valid"] > #identity-box.verifiedDomain { + color: hsl(207,100%,63%); +} + +#page-proxy-favicon { + width: 16px; + height: 16px; + list-style-image: url(chrome://browser/skin/identity-icons-generic.png); +} + +#page-proxy-favicon[pageproxystate="invalid"] { + opacity: 0.3; +} + +#identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon { + list-style-image: url("chrome://branding/content/icon64.png"); +} + +#identity-popup-brandName { + font-weight: bold; + font-size: 1.25em; + margin-top: .5em; + margin-bottom: .5em; +} + +#identity-popup-content-box { + max-width: 50ch; +} + +#page-proxy-favicon { + margin-top: 1px; + margin-bottom: 1px; + -moz-margin-start: 3px; + -moz-margin-end: 2px; + -moz-image-region: rect(0, 16px, 16px, 0); +} + +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > #unified-back-forward-button + #urlbar-container > #urlbar > #identity-box > #page-proxy-favicon { + -moz-margin-end: 1px; +} + +#identity-box:hover > #page-proxy-favicon { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +#identity-box:hover:active > #page-proxy-favicon, +#identity-box[open=true] > #page-proxy-favicon { + -moz-image-region: rect(0, 48px, 16px, 32px); +} + + + +#treecolAutoCompleteImage { + max-width: 36px; +} + +.ac-result-type-bookmark, +.autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) { + list-style-image: url("chrome://browser/skin/places/bookmark.png"); + -moz-image-region: rect(0px 48px 16px 32px); + width: 16px; + height: 16px; +} + +.ac-result-type-keyword, +.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) { + list-style-image: url(chrome://global/skin/icons/Search-glass.png); + -moz-image-region: rect(0px 32px 16px 16px); + width: 16px; + height: 16px; +} + +.ac-result-type-tag, +.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) { + list-style-image: url("chrome://browser/skin/places/tag.png"); + width: 16px; + height: 16px; +} + +.ac-comment { + font-size: 1.15em; +} + +.ac-extra > .ac-comment { + font-size: inherit; +} + +.ac-url-text, +.ac-action-text, +.ac-title { + color: #fff; +} + + +richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon { + list-style-image: url("chrome://browser/skin/actionicon-tab.png"); +} + +.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { + color: GrayText; +} + +.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), +.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) +{ + color: GrayText; + font-size: smaller; +} + +.autocomplete-treebody::-moz-tree-cell(suggesthint) { + border-top: 1px solid GrayText; +} + + + +#go-button, +#urlbar > toolbarbutton { + -moz-appearance: none; + padding: 0 2px; + background-origin: border-box; + border: none; + list-style-image: url("chrome://browser/skin/reload-stop-go.png"); +} + +#go-button { + padding: 0 3px; +} + +#urlbar-reload-button { + -moz-image-region: rect(0, 14px, 14px, 0); +} + +#urlbar-reload-button:not([disabled]):hover { + -moz-image-region: rect(14px, 14px, 28px, 0); +} + +#urlbar-reload-button:not([disabled]):hover:active { + -moz-image-region: rect(28px, 14px, 42px, 0); +} + +#urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { + transform: scaleX(-1); +} + +#go-button, +#urlbar-go-button { + -moz-image-region: rect(0, 42px, 14px, 28px); +} + +#go-button:hover, +#urlbar-go-button:hover { + -moz-image-region: rect(14px, 42px, 28px, 28px); +} + +#go-button:hover:active, +#urlbar-go-button:hover:active { + -moz-image-region: rect(28px, 42px, 42px, 28px); +} + +#go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, +#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { + transform: scaleX(-1); +} + +#urlbar-stop-button { + -moz-image-region: rect(0, 28px, 14px, 14px); +} + +#urlbar-stop-button:not([disabled]):hover { + -moz-image-region: rect(14px, 28px, 28px, 14px); +} + +#urlbar-stop-button:hover:active { + -moz-image-region: rect(28px, 28px, 42px, 14px); +} + + + +#page-report-button { + list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png"); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +#page-report-button:hover { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +#page-report-button:hover:active, +#page-report-button[open="true"] { + -moz-image-region: rect(0, 48px, 16px, 32px); +} + + + + +#social-share-panel > iframe { + background: linear-gradient(to bottom, #f0f4f7, #fafbfc); + width: 300px; + height: 150px; +} + +#social-share-button { + list-style-image: url(chrome://browser/skin/social/share-button.png); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +.social-share-toolbar { + border-right: 1px solid #e2e5e8; + background: linear-gradient(to bottom, #ffffff, #f5f7fa); +} + +#social-share-provider-buttons { + padding: 6px; +} + +#social-share-provider-buttons > .share-provider-button { + -moz-appearance: none; + padding: 5px; + margin: 1px; + border: none; + background: none; + border-radius: 2px; +} + +#social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]), +#social-share-provider-buttons > .share-provider-button:hover, +#social-share-provider-buttons > .share-provider-button:active { + padding: 4px; + border: 1px solid #aeb8c1; + box-shadow: inset 1px 1px 1px rgba(10, 31, 51, 0.1); +} + +#social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) { + background: linear-gradient(to bottom, rgba(230,232,234,.65), #d2d5d9); +} + +#social-share-provider-buttons > .share-provider-button > .toolbarbutton-text { + display: none; +} +#social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon { + width: 16px; + min-height: 16px; + max-height: 16px; +} + + +toolbarbutton[type="socialmark"] > .toolbarbutton-icon { + width: auto; + height: auto; + max-width: 32px; + max-height: 24px; +} + + +.social-panel > .social-panel-frame { + border-radius: inherit; +} + +#social-share-panel { + max-height: 600px; + min-height: 100px; + max-width: 800px; + min-width: 300px; +} + +.social-share-frame { + background: linear-gradient(to bottom, #f0f4f7, #fafbfc); + width: 330px; + height: 150px; + + transition: height 100ms ease-out, width 100ms ease-out; +} + +.social-share-frame:-moz-locale-dir(ltr) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + border-top-right-radius: inherit; + border-bottom-right-radius: inherit; +} + +.social-share-frame:-moz-locale-dir(rtl) { + border-top-left-radius: inherit; + border-bottom-left-radius: inherit; + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +#social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) { + border-top-left-radius: inherit; + border-bottom-left-radius: inherit; +} + +#social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) { + border-top-right-radius: inherit; + border-bottom-right-radius: inherit; +} + +#social-share-provider-buttons:-moz-locale-dir(ltr) { + border-top-left-radius: inherit; + border-bottom-left-radius: inherit; +} + +#social-share-provider-buttons:-moz-locale-dir(rtl) { + border-top-right-radius: inherit; + border-bottom-right-radius: inherit; +} + + + +#social-mark-button { + -moz-image-region: rect(0, 16px, 16px, 0); +} + + + +#star-button { + list-style-image: url("chrome://browser/skin/places/bookmark.png"); + -moz-image-region: rect(0px 16px 16px 0px); +} + +#star-button:hover { + background-image: -moz-radial-gradient(center, circle closest-side, hsla(45,100%,73%,.3), hsla(45,100%,73%,0)); + -moz-image-region: rect(0px 32px 16px 16px); +} + +#star-button:hover:active { + background-image: -moz-radial-gradient(center, circle closest-side, hsla(45,100%,73%,.1), hsla(45,100%,73%,0)); + -moz-image-region: rect(0px 48px 16px 32px); +} + +#star-button[starred="true"] { + list-style-image: url("chrome://browser/skin/places/bookmark.png"); + -moz-image-region: rect(0px 32px 16px 16px); +} + + +#editBookmarkPanelStarIcon { + list-style-image: url("chrome://browser/skin/places/starred48.png"); + width: 48px; + height: 48px; +} + +#editBookmarkPanelStarIcon[unstarred] { + list-style-image: url("chrome://browser/skin/places/unstarred48.png"); +} + +#editBookmarkPanelTitle { + font-size: 130%; +} + +#editBookmarkPanelHeader, +#editBookmarkPanelContent { + margin-bottom: .5em; +} + + +#editBMPanel_folderTree { + min-width: 27em; +} + +/* ::::: content area ::::: */ + +#sidebar { + background-color: Window; +} + +#sidebar-title { + -moz-padding-start: 0px; +} + +#sidebar-search-container { + background-color: #fafafa; +} + +#sidebar-header { + -moz-appearance: none; + border-top: none; + border-bottom: none; + background-image: -moz-linear-gradient(rgba(240,240,240,1), rgba(248,248,248,1)); + color: #666; +} + +/* ::::: throbber ::::: */ + +#navigator-throbber { + width: 16px; + min-height: 16px; + margin: 0 3px; +} + +#navigator-throbber[busy="true"] { + list-style-image: url("chrome://global/skin/icons/loading_16.png"); +} + +#navigator-throbber, +#wrapper-navigator-throbber > #navigator-throbber { + list-style-image: url("chrome://global/skin/icons/notloading_16.png"); +} + +.tabbrowser-tab:not([pinned]) { + max-width: 210px; + min-width: 36px; +} + +.tabbrowser-tab:not([pinned]):not([fadein]) { + max-width: 0.1px; + min-width: 0.1px; +} + +.tabbrowser-tab, +.tabs-newtab-button { + -moz-appearance: none; + background-color: transparent; + background-image: -moz-linear-gradient(rgba(23,23,23,1), rgba(23,23,23,1)); + background-origin: border-box; + background-position: 1px 2px; + background-size: -moz-calc(100% - 2px) -moz-calc(100% - 2px); + background-repeat: no-repeat; + margin: 0; + padding: 2px 0 4px; + border-width: 4px 3px 0; + border-style: solid; + -moz-border-image: url(chrome://browser/skin/tabbrowser/tab.png) 4 3 0 / 4px 3px 0 repeat stretch; + border-radius: 0; + -moz-margin-start: -1px; + color: #fff; +} + +.tabbrowser-tab:-moz-lwtheme, +.tabs-newtab-button:-moz-lwtheme { + color: inherit; + text-shadow: inherit; + background-origin: padding-box !important; + background-size: 120% 110% !important; + background-position: -3px -2px !important; + background-repeat: repeat-x !important; +} + +.tabbrowser-tab:-moz-lwtheme-darktext, +.tabs-newtab-button:-moz-lwtheme-darktext { + background: -moz-linear-gradient(rgba(235,235,235,.4), rgba(235,235,235,.4)); +} + +.tabbrowser-tab:-moz-lwtheme-brighttext, +.tabs-newtab-button:-moz-lwtheme-brighttext { + background: -moz-linear-gradient(rgba(105,105,105,.4), rgba(105,105,105,.4)); +} + +.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox { + -moz-padding-start: 1px; +} + +.tabbrowser-tab:hover, +.tabs-newtab-button:hover { + background-image: -moz-linear-gradient(rgba(80,80,80,.85), rgba(80,80,80,.85)); +} + +.tabbrowser-tab:-moz-lwtheme-darktext:hover, +.tabs-newtab-button:-moz-lwtheme-darktext:hover { + background-image: -moz-linear-gradient(rgba(240,240,240,.8), rgba(240,240,240,.8)) !important; +} + +.tabbrowser-tab:-moz-lwtheme-brighttext:hover, +.tabs-newtab-button:-moz-lwtheme-brighttext:hover { + background-image: -moz-linear-gradient(rgba(110,110,110,.8), rgba(110,110,110,.8)) !important; +} + +.tabbrowser-tab[selected="true"] { + background-image: -moz-linear-gradient(rgba(43,43,43,1), rgba(43,43,43,1)); +} + +.tabbrowser-tab[selected="true"]:-moz-lwtheme-darktext { + background-image: -moz-linear-gradient(rgba(250,250,250,.9), rgba(250,250,250,.9)) !important; +} + +.tabbrowser-tab[selected="true"]:-moz-lwtheme-brighttext { + background-image: -moz-linear-gradient(rgba(5,5,5,.9), rgba(5,5,5,.9)) !important; +} + +.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):not(:-moz-lwtheme) { + background-image: -moz-linear-gradient(rgba(255,255,255,1) -8px, rgba(23,23,23,1), rgba(23,23,23,1)); +} + +.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):-moz-lwtheme-brighttext { + background-image: -moz-linear-gradient(rgba(255,255,255,1) -8px, rgba(105,105,105,.4), rgba(105,105,105,.4)); +} + +.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):-moz-lwtheme-darktext { + background-image: -moz-linear-gradient(rgba(255,255,255,1) -8px, rgba(235,235,235,.4), rgba(235,235,235,.4)); +} + +.tab-throbber, +.tab-icon-image { + width: 16px; + height: 16px; + list-style-image: url("chrome://global/skin/icons/folder-item.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); + -moz-margin-start: 2px; + -moz-margin-end: 3px; +} + +.tab-throbber { + list-style-image: url("chrome://browser/skin/tabbrowser/connecting.png"); +} + +.tab-throbber[progress] { + list-style-image: url("chrome://browser/skin/tabbrowser/loading.png"); +} + +#tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] { + min-height: 16px; +} + +.tab-throbber[pinned], +.tab-icon-image[pinned] { + -moz-margin-start: 5px; + -moz-margin-end: 5px; +} + + +.tabbrowser-tab:focus > .tab-stack { + outline: 1px dotted; +} + + +.tab-drop-indicator { + list-style-image: url(chrome://browser/skin/tabbrowser/tabDragIndicator.png); + margin-bottom: -11px; +} + + +.tab-close-button { + -moz-appearance: none; + -moz-image-region: rect(0, 64px, 16px, 48px); + border: none; + padding: 0px; + list-style-image: url("chrome://global/skin/icons/close.png"); +} + +.tab-close-button:-moz-lwtheme-darktext { + list-style-image: url(chrome://global/skin/icons/close-bright.png); +} + +.tab-close-button:-moz-system-metric(touch-enabled) { + -moz-transform: scale(1.2); +} + +.tab-close-button:hover, +.tab-close-button:hover[selected="true"] { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +.tab-close-button:hover:active, +.tab-close-button:hover:active[selected="true"] { + -moz-image-region: rect(0, 48px, 16px, 32px); +} + +.tab-close-button[selected="true"] { + -moz-image-region: rect(0, 16px, 16px, 0); +} + +.tab-close-button:focus { + outline: none !important; +} + +/* Tab Overflow */ +.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]), +.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) { + background-image: url(chrome://browser/skin/tabbrowser/tab-overflow-indicator.png); + background-size: 100% 100%; + width: 14px; + margin-bottom: 0; + pointer-events: none; + position: relative; + z-index: 3; /* the selected tab's z-index + 1 */ +} +.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl), +.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) { + transform: scaleX(-1); +} +.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) { + -moz-margin-start: -2px; + -moz-margin-end: -12px; +} +.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) { + -moz-margin-start: -12px; + -moz-margin-end: -2px; +} +.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed], +.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] { + opacity: 0; +} +.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator, +.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator { + transition: opacity 150ms ease; +} + +/* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */ + +@media all and (-moz-touch-enabled) { + .tabbrowser-arrowscrollbox > .scrollbutton-up, + .tabbrowser-arrowscrollbox > .scrollbutton-down, + #TabsToolbar .toolbarbutton-1 { + min-width: 8.1mozmm; + } + + .tabs-newtab-button { + min-width: 10mozmm; + } + + .tab-content { + min-height: -moz-calc(6.8mozmm - 7px); + } +} + +.tabbrowser-arrowscrollbox > .scrollbutton-up, +.tabbrowser-arrowscrollbox > .scrollbutton-down { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left.png"); + margin: 0; + padding-right: 2px; + border-right: 2px solid transparent; + background-origin: border-box; +} + +.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-darktext, +.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-darktext { + list-style-image: url(chrome://browser/skin/tabbrowser/tab-arrow-left-inverted.png); +} + +.tabbrowser-arrowscrollbox > .scrollbutton-up[disabled], +.tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] { + opacity: .4; +} + +.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl), +.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) { + -moz-transform: scaleX(-1); +} + +.tabbrowser-arrowscrollbox > .scrollbutton-down { + -moz-transition: 1s background-color ease-out; +} + +.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] { + background-color: Highlight; + -moz-transition: none; +} + +.tabs-newtab-button > .toolbarbutton-icon { + margin-top: -1px; + margin-bottom: -1px; +} + +.tabs-newtab-button, +#TabsToolbar > #new-tab-button, +#TabsToolbar > toolbarpaletteitem > #new-tab-button { + list-style-image: url(chrome://browser/skin/tabbrowser/newtab.png); + -moz-image-region: auto; +} + +.tabs-newtab-button:-moz-lwtheme-darktext, +#TabsToolbar > #new-tab-button:-moz-lwtheme-darktext, +#TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-darktext { + list-style-image: url(chrome://browser/skin/tabbrowser/newtab-inverted.png); +} + +.tabs-newtab-button { + width: 27px; +} + +#TabsToolbar > #new-tab-button { + width: 26px; +} + +#alltabs-button { + list-style-image: url("chrome://browser/skin/tabbrowser/alltabs.png"); + -moz-image-region: rect(0, 14px, 16px, 0); +} + +#alltabs-button:hover:active { + -moz-image-region: rect(0, 28px, 16px, 14px); +} + +#alltabs-button[type="menu"] { + list-style-image: url("chrome://browser/skin/toolbarbutton-dropdown-arrow.png"); + -moz-image-region: auto; +} + +#alltabs-button[type="menu"]:-moz-lwtheme-darktext { + list-style-image: url("chrome://browser/skin/toolbarbutton-dropdown-arrow-inverted.png"); +} + +#alltabs-button:-moz-lwtheme-brighttext { + list-style-image: url("chrome://browser/skin/tabbrowser/alltabs-inverted.png"); +} + +#alltabs-button[type="menu"] > .toolbarbutton-icon { + margin: 0 2px; +} + +#alltabs-button[type="menu"] > .toolbarbutton-menu-dropmarker { + display: none; +} + + +.alltabs-item > .menu-iconic-left > .menu-iconic-icon { + list-style-image: url("chrome://global/skin/icons/folder-item.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); +} + +.alltabs-item[selected="true"] { + font-weight: bold; +} + +.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { + list-style-image: url("chrome://global/skin/icons/loading_16.png"); +} + +.alltabs-item[tabIsVisible] { + box-shadow: inset 0 0 0 2em hsla(0,0%,50%,.15); +} + + +.tabs-closebutton { + -moz-appearance: none; + list-style-image: url("chrome://global/skin/icons/close.png"); + -moz-image-region: rect(0, 16px, 16px, 0); + padding: 4px 2px; + margin: 0px; + border: none; +} + +.tabs-closebutton > .toolbarbutton-icon { + -moz-margin-end: 0px !important; + -moz-padding-end: 2px !important; + -moz-padding-start: 2px !important; +} + +.tabs-closebutton:hover { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +.tabs-closebutton:hover:active { + -moz-image-region: rect(0, 48px, 16px, 32px); +} + +toolbarbutton.chevron { + list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important; +} + +toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon { + -moz-transform: scaleX(-1); +} + +toolbarbutton.chevron > .toolbarbutton-text, +toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { + display: none; +} + +toolbarbutton.chevron > .toolbarbutton-icon { + margin: 0; +} + +toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon { + display: -moz-box; +} + +#sidebar-throbber[loading="true"] { + list-style-image: url("chrome://global/skin/icons/loading_16.png"); + -moz-margin-end: 4px; +} + + +#PlacesToolbarDropIndicator { + list-style-image: url(chrome://browser/skin/places/toolbarDropMarker.png); +} + +toolbarbutton.bookmark-item[dragover="true"][open="true"] { + -moz-appearance: none; + background: Highlight !important; + color: HighlightText !important; +} + + +.menupopup-drop-indicator-bar { + position: relative; + + margin-top: -1px; + margin-bottom: -1px; +} + +.menupopup-drop-indicator { + list-style-image: none; + height: 2px; + -moz-margin-end: -4em; + background-color: Highlight; +} + +/* ::::: Identity Indicator Styling ::::: */ + + +#identity-popup-icon { + height: 64px; + width: 64px; + padding: 0; + list-style-image: url("chrome://browser/skin/identity.png"); + -moz-image-region: rect(0px, 64px, 64px, 0px); +} + +#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon { + -moz-image-region: rect(64px, 64px, 128px, 0px); +} + +#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon { + -moz-image-region: rect(128px, 64px, 192px, 0px); +} + +#identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon { + list-style-image: url("chrome://branding/content/icon64.png"); +} + + +.identity-popup-description { + white-space: pre-wrap; + -moz-padding-start: 15px; + margin: 2px 0 4px; +} + +.identity-popup-label { + white-space: pre-wrap; + -moz-padding-start: 15px; + margin: 0; +} + +#identity-popup-content-host, +#identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner { + font-size: 1.2em; +} + +#identity-popup-content-host { + margin-top: 3px; + margin-bottom: 5px; + font-weight: bold; + max-width: 300px; +} + +#identity-popup-content-owner { + margin-top: 4px; + margin-bottom: 0 !important; + font-weight: bold; + max-width: 300px; +} + +.verifiedDomain > #identity-popup-content-owner { + font-weight: normal; +} + +#identity-popup-content-verifier { + margin: 4px 0 2px; +} + +#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption , +#identity-popup-content-box.verifiedDomain > #identity-popup-encryption { + margin-top: 10px; + -moz-margin-start: -24px; +} + +#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon , +#identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon { + list-style-image: url("chrome://browser/skin/Secure24.png"); +} + +#identity-popup-help-icon { + -moz-appearance: none; + border: none; + margin: 7px 0 0 -3px; + background: none; + min-width: 0; + list-style-image: url("chrome://global/skin/icons/question-16.png"); + cursor: pointer; +} + +#identity-popup-help-icon > .button-box > .button-text { + display: none; +} + +#identity-popup-help-icon > .button-box > .button-icon { + height: 16px; + width: 16px; +} + +#identity-popup-more-info-button { + margin-top: 6px; + margin-bottom: 0; + -moz-margin-end: 0; +} + +.popup-notification-icon { + width: 64px; + height: 64px; + -moz-margin-end: 10px; +} + +.popup-notification-icon[popupid="geolocation"] { + list-style-image: url(chrome://browser/skin/Geolocation-64.png); +} + +.popup-notification-icon[popupid="xpinstall-disabled"], +.popup-notification-icon[popupid="addon-progress"], +.popup-notification-icon[popupid="addon-install-cancelled"], +.popup-notification-icon[popupid="addon-install-blocked"], +.popup-notification-icon[popupid="addon-install-failed"], +.popup-notification-icon[popupid="addon-install-complete"] { + list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric.png); + width: 32px; + height: 32px; +} + +.popup-notification-icon[popupid="click-to-play-plugins"] { + list-style-image: url(chrome://mozapps/skin/plugins/pluginBlocked-64.png); +} + +.popup-notification-icon[popupid="plugins-not-found"] { + list-style-image: url(chrome://browser/skin/pluginInstall-64.png); +} + +.popup-notification-icon[popupid="web-notifications"] { + list-style-image: url(chrome://browser/skin/notification-64.png); +} + +.addon-progress-description { + width: 350px; + max-width: 350px; +} + +.popup-progress-label, +.popup-progress-meter { + -moz-margin-start: 0; + -moz-margin-end: 0; +} + +.popup-progress-cancel { + -moz-appearance: none; + background: transparent; + border: none; + padding: 0; + margin: 0; + min-height: 0; + min-width: 0; + list-style-image: url(chrome://mozapps/skin/downloads/downloadButtons.png); + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +.popup-progress-cancel:hover { + -moz-image-region: rect(16px, 32px, 32px, 16px); +} + +.popup-progress-cancel:active { + -moz-image-region: rect(32px, 32px, 48px, 16px); +} + +.popup-notification-icon[popupid="indexedDB-permissions-prompt"], +.popup-notification-icon[popupid="indexedDB-quota-prompt"], +.popup-notification-icon[popupid*="offline-app-requested"], +.popup-notification-icon[popupid="offline-app-usage"] { + list-style-image: url(chrome://global/skin/icons/question-64.png); +} + +.popup-notification-icon[popupid="password-save"], +.popup-notification-icon[popupid="password-change"] { + list-style-image: url(chrome://mozapps/skin/passwordmgr/key-64.png); +} + +.popup-notification-icon[popupid="webapps-install"] { + list-style-image: url(chrome://global/skin/icons/webapps-64.png); +} + +.popup-notification-icon[popupid="mixed-content-blocked"] { + list-style-image: url(chrome://browser/skin/mixed-content-blocked-64.png); +} + +.popup-notification-icon[popupid="webRTC-sharingDevices"], +.popup-notification-icon[popupid="webRTC-shareDevices"] { + list-style-image: url(chrome://browser/skin/webRTC-shareDevice-64.png); +} + +.popup-notification-icon[popupid="pointerLock"] { + list-style-image: url(chrome://browser/skin/pointerLock-64.png); +} + + +#notification-popup-box { + position: relative; + + background-clip: padding-box; + padding-left: 3px; + padding-right: 2px; + border-radius: 2.5px 0 0 2.5px; + border-width: 0 8px 0 0; + border-style: solid; + -moz-border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0; + -moz-margin-end: -8px; + margin-top: -2px; + margin-bottom: -2px; +} + +#notification-popup-box:-moz-locale-dir(rtl), +.notification-anchor-icon:-moz-locale-dir(rtl) { + transform: scaleX(-1); +} + +.notification-anchor-icon { + width: 16px; + height: 16px; + margin: 0 2px; +} + +.notification-anchor-icon:-moz-focusring { + outline: 1px dotted -moz-DialogText; + outline-offset: -3px; +} + +.default-notification-icon, +#default-notification-icon { + list-style-image: url(chrome://global/skin/icons/information-16.png); +} + +.identity-notification-icon, +#identity-notification-icon { + list-style-image: url(chrome://mozapps/skin/profile/profileicon.png); +} + +.geo-notification-icon, +#geo-notification-icon { + list-style-image: url(chrome://browser/skin/Geolocation-16.png); +} + +#addons-notification-icon { + list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric-16.png); +} + +.indexedDB-notification-icon, +#indexedDB-notification-icon { + list-style-image: url(chrome://global/skin/icons/question-16.png); +} + +#password-notification-icon { + list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16.png); +} + +#webapps-notification-icon { + list-style-image: url(chrome://global/skin/icons/webapps-16.png); +} + +#plugins-notification-icon { + list-style-image: url(chrome://browser/skin/notification-pluginNormal.png); +} + +#alert-plugins-notification-icon { + list-style-image: url(chrome://browser/skin/notification-pluginAlert.png); +} + +#blocked-plugins-notification-icon { + list-style-image: url(chrome://browser/skin/notification-pluginBlocked.png); +} + +#plugins-notification-icon, +#alert-plugins-notification-icon, +#blocked-plugins-notification-icon { + -moz-image-region: rect(0, 16px, 16px, 0); +} + +#plugins-notification-icon:hover, +#alert-plugins-notification-icon:hover, +#blocked-plugins-notification-icon:hover { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +#plugins-notification-icon:active, +#alert-plugins-notification-icon:active, +#blocked-plugins-notification-icon:active { + -moz-image-region: rect(0, 48px, 16px, 32px); +} + +#plugin-install-notification-icon { + list-style-image: url(chrome://browser/skin/pluginInstall-16.png); +} + +#notification-popup-box[hidden] { + display: -moz-box; + visibility: collapse; +} + +#blocked-plugins-notification-icon[showing] { + animation: pluginBlockedNotification 500ms ease 0s 5 alternate both; +} + +@keyframes pluginBlockedNotification { + from { + opacity: 0; + } + to { + opacity: 1; + } +} + +.mixed-content-blocked-notification-icon, +#mixed-content-blocked-notification-icon { + list-style-image: url(chrome://browser/skin/mixed-content-blocked-16.png); +} + +.webRTC-shareDevices-notification-icon, +#webRTC-shareDevices-notification-icon { + list-style-image: url(chrome://browser/skin/webRTC-shareDevice-16.png); +} + +.webRTC-sharingDevices-notification-icon, +#webRTC-sharingDevices-notification-icon { + list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16.png); +} + +.web-notifications-notification-icon, +#web-notifications-notification-icon { + list-style-image: url(chrome://browser/skin/notification-16.png); +} + +#pointerLock-notification-icon { + list-style-image: url(chrome://browser/skin/pointerLock-16.png); +} +#pointerLock-cancel { + margin: 0px; +} + +#identity-popup-container { + min-width: 280px; +} + + +#appmenu_subscribeToPage:not([disabled]), +#appmenu_subscribeToPageMenu, +#subscribeToPageMenuitem:not([disabled]), +#subscribeToPageMenupopup, +#BMB_subscribeToPageMenuitem:not([disabled]), +#BMB_subscribeToPageMenupopup { + list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png"); +} + +#bookmarksToolbarFolderMenu, +#appmenu_bookmarksToolbar, +#BMB_bookmarksToolbar { + list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png"); + -moz-image-region: auto; +} + +#appmenu_unsortedBookmarks, +#BMB_unsortedBookmarks { + list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png"); + -moz-image-region: auto; +} + +/* ::::: Keyboard UI Panel ::::: */ + +.KUI-panel { + -moz-appearance: none; + background: rgba(27%,27%,27%,.9) url(chrome://browser/skin/KUI-background.png) repeat-x; + color: white; + border-style: none; + border-radius: 20px; +} + +.KUI-panel[level="top"] { + background-color: rgba(27%,27%,27%,.65); +} + +.KUI-panel-closebutton { + list-style-image: url(chrome://browser/skin/KUI-close.png); + -moz-appearance: none; + border: none; + padding: 0; + width: 24px; + height: 24px; +} + +.KUI-panel-closebutton:not(:hover) { + opacity: .6; +} + +.KUI-panel-closebutton > .toolbarbutton-icon { + margin: 0; +} + +/* ::::: Ctrl-Tab and All Tabs Panels ::::: */ + + + +#ctrlTab-panel { + padding: 20px 10px 10px; + font-weight: bold; + text-shadow: 0 0 1px rgb(27%,27%,27%), 0 0 2px rgb(27%,27%,27%); +} + +.ctrlTab-favicon[src] { + background-color: white; + width: 20px; + height: 20px; + padding: 2px; +} + +.ctrlTab-preview-inner > .tabPreview-canvas { + box-shadow: 1px 1px 2px rgb(12%,12%,12%); +} + +.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas { + margin-bottom: 2px; +} + +.ctrlTab-preview-inner { + padding-bottom: 10px; +} + +#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner { + padding: 10px; + background-color: rgba(255,255,255,.2); + border-radius: .5em; +} + +.ctrlTab-preview:focus > * > .ctrlTab-preview-inner { + color: white; + background-color: rgba(0,0,0,.6); + text-shadow: none; + padding: 8px; + border: 2px solid white; + border-radius: .5em; +} + +.ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner { + margin: -10px -10px 0; +} + +#ctrlTab-showAll { + margin-top: .5em; +} + + + +#allTabs-panel { + padding-bottom: 10px; + -moz-appearance: none; + border: none; + background: -moz-dialog; + color: -moz-dialogText; +} + +#allTabs-meta { + margin: 10px; +} + +#allTabs-filter { + -moz-margin-start: 24px; + -moz-margin-end: 0; +} + +#allTabs-tab-close-button > .toolbarbutton-icon { + margin: 0; +} + +.allTabs-favicon[src] { + background-color: -moz-dialog; + width: 22px; + height: 22px; + padding-top: 1px; + padding-bottom: 5px; + -moz-padding-start: 1px; + -moz-padding-end: 5px; + margin-top: -2px; + -moz-margin-start: -2px; + border-bottom-right-radius: 4px; +} + +.allTabs-favicon[src]:-moz-locale-dir(rtl) { + border-bottom-right-radius: 0; + border-bottom-left-radius: 4px; +} + +.allTabs-preview-inner > .tabPreview-canvas { + background-color: rgb(60%,60%,60%); + box-shadow: 0 0 1.5px ThreeDShadow; +} + +.allTabs-preview:not(:hover):not([closebuttonhover]) > html|canvas { + opacity: .8; +} + +.allTabs-preview:focus > * > .allTabs-preview-inner { + outline: 1px dotted -moz-dialogText; +} + + +#addon-bar, +#FindToolbar { + min-height: 20px; + border: solid rgb(75,75,75) !important; + border-width: 1px 0 0 0 !important; +} + +#addon-bar:not(:-moz-lwtheme), +#FindToolbar:not(:-moz-lwtheme) { + -moz-appearance: none; + color: #fff; +} + +#status-bar { + -moz-appearance: none; + background-color: transparent; + border: none; + min-height: 0; +} + +#status-bar > statusbarpanel { + border-width: 0; + -moz-appearance: none; +} + +#addonbar-closebutton { + border: none; + padding: 0 5px; + list-style-image: url("chrome://global/skin/icons/close.png"); + -moz-appearance: none; + -moz-image-region: rect(0, 16px, 16px, 0); +} + +#addonbar-closebutton:hover { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +#addonbar-closebutton:hover:active { + -moz-image-region: rect(0, 48px, 16px, 32px); +} + + + +.statuspanel-label { + margin: 0; + padding: 2px 4px; + background: -moz-linear-gradient(white, #ddd); + border: 1px none #ccc; + border-top-style: solid; + color: #333; + text-shadow: none; +} + +.statuspanel-label:-moz-locale-dir(ltr):not([mirror]), +.statuspanel-label:-moz-locale-dir(rtl)[mirror] { + border-right-style: solid; + margin-right: 1em; +} + +.statuspanel-label:-moz-locale-dir(rtl):not([mirror]), +.statuspanel-label:-moz-locale-dir(ltr)[mirror] { + border-left-style: solid; + margin-left: 1em; +} + + + + + +#full-screen-warning-message { + background-color: hsl(0,0%,15%); + color: white; + border-radius: 8px; + margin-top: 30px; + padding: 30px 50px; + box-shadow: 0 0 2px white; +} + +#full-screen-warning-container[obscure-browser] { + background-color: rgba(0,0,0,0.3); +} + +.full-screen-description { + font-size: 150%; +} + +#full-screen-domain-text { + font-size: 300%; +} + +.full-screen-approval-button, +#full-screen-remember-decision { + font-size: 120%; +} + + +/* Responsive Mode */ + +.browserContainer[responsivemode] { + background: #222 url("chrome://browser/skin/devtools/responsive-background.png"); + padding: 0 20px 20px 20px; +} + +.browserStack[responsivemode] { + box-shadow: 0 0 7px black; +} + +.devtools-responsiveui-toolbar { + -moz-appearance: none; + background: transparent; + /* text color is textColor from dark theme, since no theme is applied to + * the responsive toolbar. + */ + color: hsl(210,30%,85%); + margin: 10px 0; + padding: 0; + box-shadow: none; + border-bottom-width: 0; +} + +.devtools-responsiveui-menulist, +.devtools-responsiveui-toolbarbutton { + -moz-appearance: none; + -moz-box-align: center; + min-width: 32px; + min-height: 22px; + text-shadow: 0 -1px 0 hsla(210,8%,5%,.45); + border: 1px solid hsla(210,8%,5%,.45); + border-radius: 0; + background: linear-gradient(hsla(212,7%,57%,.35), hsla(212,7%,57%,.1)) padding-box; + box-shadow: 0 1px 0 hsla(210,16%,76%,.15) inset, 0 0 0 1px hsla(210,16%,76%,.15) inset, 0 1px 0 hsla(210,16%,76%,.15); + margin: 0 3px; + color: inherit; +} + +.devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button { + -moz-box-orient: horizontal; +} + +.devtools-responsiveui-menulist:-moz-focusring, +.devtools-responsiveui-toolbarbutton:-moz-focusring { + outline: 1px dotted hsla(210,30%,85%,0.7); + outline-offset: -4px; +} + +.devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text { + display: none; +} + +.devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active { + border-color: hsla(210,8%,5%,.6); + background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3)); + box-shadow: 0 0 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); +} + +.devtools-responsiveui-menulist[open=true], +.devtools-responsiveui-toolbarbutton[open=true], +.devtools-responsiveui-toolbarbutton[checked=true] { + border-color: hsla(210,8%,5%,.6) !important; + background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4)); + box-shadow: 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); +} + +.devtools-responsiveui-toolbarbutton[checked=true] { + color: hsl(208,100%,60%); +} + +.devtools-responsiveui-toolbarbutton[checked=true]:hover { + background-color: transparent !important; +} + +.devtools-responsiveui-toolbarbutton[checked=true]:hover:active { + background-color: hsla(210,8%,5%,.2) !important; +} + +.devtools-responsiveui-menulist > .menulist-label-box { + text-align: center; +} + +.devtools-responsiveui-menulist > .menulist-dropmarker { + -moz-appearance: none; + display: -moz-box; + background-color: transparent; + list-style-image: url("chrome://browser/skin/devtools/dropmarker.png"); + -moz-box-align: center; + border-width: 0; + min-width: 16px; +} + +.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button { + -moz-appearance: none; + color: inherit; + border-width: 0; + -moz-border-end: 1px solid hsla(210,8%,5%,.45); + box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15); +} + +.devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button { + box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15); +} + +.devtools-responsiveui-toolbarbutton[type=menu-button] { + padding: 0 1px; + -moz-box-align: stretch; +} + +.devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker, +.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker { + -moz-appearance: none !important; + list-style-image: url("chrome://browser/skin/devtools/dropmarker.png"); + -moz-box-align: center; + padding: 0 3px; +} + +.devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child, +.devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child { + margin-left: 0; +} + +.devtools-responsiveui-close { + list-style-image: url("chrome://browser/skin/devtools/close.png"); +} + +.devtools-responsiveui-rotate { + list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png"); +} + +.devtools-responsiveui-touch { + list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png"); + -moz-image-region: rect(0px,16px,16px,0px); +} + +.devtools-responsiveui-touch[checked] { + -moz-image-region: rect(0px,32px,16px,16px); +} + +.devtools-responsiveui-screenshot { + list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png"); +} + +.devtools-responsiveui-resizebarV { + width: 7px; + height: 24px; + cursor: ew-resize; + transform: translate(12px, -12px); + background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png"); +} + +.devtools-responsiveui-resizebarH { + width: 24px; + height: 7px; + cursor: ns-resize; + transform: translate(-12px, 12px); + background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png"); +} + +.devtools-responsiveui-resizehandle { + width: 16px; + height: 16px; + cursor: se-resize; + transform: translate(12px, 12px); + background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png"); +} + +/* Highlighter */ + +.highlighter-outline { + box-shadow: 0 0 0 1px black; + outline: 1px dashed white; + outline-offset: -1px; +} + +.highlighter-outline[locked] { + box-shadow: 0 0 0 1px rgba(0,0,0,0.3); + outline-color: rgba(255,255,255,0.7); +} + +/* Highlighter - Node Infobar */ + +.highlighter-nodeinfobar { + color: hsl(216,33%,97%); + border-radius: 3px; + background: hsl(214,13%,24%) no-repeat padding-box; +} + +/* Highlighter - Node Infobar - text */ + +.highlighter-nodeinfobar-text { + /* 100% - size of the buttons and margins */ + max-width: calc(100% - 2 * (26px + 6px)); + padding-bottom: 1px; +} + +html|*.highlighter-nodeinfobar-tagname { + color: hsl(285,100%,75%); +} + +html|*.highlighter-nodeinfobar-id { + color: hsl(103,46%,54%); +} + +html|*.highlighter-nodeinfobar-classes, +html|*.highlighter-nodeinfobar-pseudo-classes { + color: hsl(200,74%,57%); +} + +/* Highlighter - Node Infobar - buttons */ + +.highlighter-nodeinfobar-button { + -moz-appearance: none; + border-width: 0; + padding: 0; + width: 26px; + min-height: 26px; + background-color: transparent; +} + +.highlighter-nodeinfobar-inspectbutton { + -moz-border-end: 1px solid #5a6169; + -moz-margin-end: 12px; + list-style-image: url("chrome://browser/skin/devtools/inspect-button.png"); + -moz-image-region: rect(0px 16px 16px 0px); +} + +.highlighter-nodeinfobar-inspectbutton:active:hover, +.highlighter-nodeinfobar-container:not([locked]) > .highlighter-nodeinfobar > .highlighter-nodeinfobar-inspectbutton { + -moz-image-region: rect(0px 32px 16px 16px); +} + +.highlighter-nodeinfobar-menu { + -moz-border-start: 1px solid #5a6169; + -moz-margin-start: 12px; +} + +.highlighter-nodeinfobar-menu > .toolbarbutton-menu-dropmarker { + -moz-appearance: none !important; + list-style-image: url("chrome://browser/skin/devtools/dropmarker.png"); + -moz-box-align: center; + -moz-margin-start: -1px; +} + +/* Highlighter - Node Infobar - box & arrow */ + +.highlighter-nodeinfobar-arrow { + width: 14px; + height: 14px; + -moz-margin-start: calc(50% - 7px); + transform: rotate(-45deg); + background-clip: padding-box; + background-repeat: no-repeat; +} + +.highlighter-nodeinfobar-arrow-top { + margin-bottom: -8px; + margin-top: 8px; + background-image: linear-gradient(to top right, transparent 50%, hsl(210,2%,22%) 50%); +} + +.highlighter-nodeinfobar-arrow-bottom { + margin-top: -8px; + margin-bottom: 8px; + background-image: linear-gradient(to bottom left, transparent 50%, hsl(210,2%,22%) 50%); +} + +.highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar { + margin: 7px 0; +} + +/* Developer toolbar */ + +#developer-toolbar { + -moz-appearance: none; + padding: 0; + min-height: 32px; + background-image: url(devtools/background-noise-toolbar.png), linear-gradient(#303840, #2d3640); + border-top: 1px solid #060a0d; + box-shadow: 0 1px 0 hsla(204,45%,98%,.05) inset, 0 -1px 0 hsla(206,37%,4%,.1) inset; +} + +#developer-toolbar > toolbarbutton { + -moz-appearance: none; + border: none; + background: transparent; + margin: 0; + padding: 0 10px; + width: 32px; +} + +.developer-toolbar-button > image { + margin: auto 10px; +} + +#developer-toolbar-toolbox-button { + list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); +} + +#developer-toolbar-toolbox-button > label { + display: none; +} + +#developer-toolbar-toolbox-button:hover { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +#developer-toolbar-toolbox-button:hover:active { + -moz-image-region: rect(0px, 48px, 16px, 32px); +} + +#developer-toolbar-toolbox-button[checked=true] { + -moz-image-region: rect(0px, 64px, 16px, 48px); +} + +#developer-toolbar-closebutton { + list-style-image: url("chrome://browser/skin/devtools/close.png"); + -moz-appearance: none; + border: none; + margin: 0 4px; + min-width: 16px; + width: 16px; + opacity: 0.6; +} + +#developer-toolbar-closebutton > .toolbarbutton-icon { + /* XXX Buttons have padding in widget/ that we don't want here but can't override with good CSS, so we must + use evil CSS to give the impression of smaller content */ + margin: -4px; +} + +#developer-toolbar-closebutton > .toolbarbutton-text { + display: none; +} + +#developer-toolbar-closebutton:hover { + opacity: 0.8; +} + +#developer-toolbar-closebutton:hover:active { + opacity: 1; +} + +/* GCLI */ + +html|*#gcli-tooltip-frame, +html|*#gcli-output-frame { + padding: 0; + border-width: 0; + background-color: transparent; +} + +#gcli-output, +#gcli-tooltip { + border-width: 0; + background-color: transparent; + -moz-appearance: none; +} + +.gclitoolbar-input-node, +.gclitoolbar-complete-node { + margin: 0; + -moz-box-align: center; + padding-top: 0; + padding-bottom: 0; + padding-right: 8px; + text-shadow: none; + box-shadow: none; + border-width: 0; + background-color: transparent; +} + +.gclitoolbar-input-node { + -moz-appearance: none; + color: hsl(210,30%,85%); + padding-left: 20px; + background-color: #242b33; + background-repeat: no-repeat; + background-position: 4px center; + box-shadow: 0 1px 1px hsla(206,37%,4%,.2) inset, + 1px 0 0 hsla(206,37%,4%,.2) inset, + -1px 0 0 hsla(206,37%,4%,.2) inset; + line-height: 32px; + outline-style: none; + background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 16, 16, 0); +} + +.gclitoolbar-input-node[focused="true"] { + background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16); + background-color: #232e38; +} + +.gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection { + background-color: hsl(210,30%,85%); + color: hsl(210,24%,16%); + text-shadow: none; +} + +.gclitoolbar-complete-node { + padding-left: 21px; + background-color: transparent; + color: transparent; + z-index: 100; + pointer-events: none; +} + +.gcli-in-incomplete, +.gcli-in-error, +.gcli-in-ontab, +.gcli-in-todo, +.gcli-in-closebrace, +.gcli-in-param, +.gcli-in-valid { + margin: 0; + padding: 0; +} + +.gcli-in-incomplete { + border-bottom: 2px dotted #999; +} + +.gcli-in-error { + border-bottom: 2px dotted #F00; +} + +.gcli-in-ontab { + color: hsl(210,0%,35%); +} + +.gcli-in-todo { + color: hsl(210,50%,35%); +} + +.gcli-in-closebrace { + color: hsl(0,0%,80%); +} +#notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent { + padding: 0px; +} + +.click-to-play-plugins-notification-center-box { + border: 1px solid ThreeDShadow; + margin: 10px; +} + +.plugin-popupnotification-centeritem:nth-child(odd) { + background-color: rgba(0,0,0,0.1); +} + +.center-item-label { + -moz-margin-start: 6px; + margin-bottom: 0; + text-overflow: ellipsis; +} + +.center-item-warning-icon { + background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png"); + background-repeat: no-repeat; + width: 16px; + height: 15px; + -moz-margin-start: 6px; +} + +.click-to-play-plugins-notification-button-container { + background: linear-gradient(rgba(0,0,0,0.04) 60%, transparent); + padding: 10px; + margin-top: 5px; +} + +.click-to-play-popup-button { + width: 50%; +} + +.click-to-play-plugins-notification-description-box { + padding: 10px; +} + +.click-to-play-plugins-outer-description { + margin-top: 8px; +} + +.click-to-play-plugins-notification-link, +.center-item-link { + margin: 0; +} + +.messageImage[value="plugin-hidden"] { + list-style-image: url("chrome://browser/skin/notification-pluginNormal.png"); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +/* Keep any changes to this style in sync with pluginProblem.css */ +notification.pluginVulnerable { + background-color: rgb(72,72,72); + background-image: url(chrome://mozapps/skin/plugins/contentPluginStripe.png); + color: white; +} + +notification.pluginVulnerable .messageImage { + list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png"); +} + +/* 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/. */ + +/*** Status and progress indicator ***/ + +#downloads-animation-container { + min-height: 1px; + min-width: 1px; + height: 1px; + margin-bottom: -1px; + /* Makes the outermost animation container element positioned, so that its + contents are rendered over the main browser window in the Z order. + This is required by the animated event notification. */ + position: relative; + /* The selected tab may overlap #downloads-indicator-notification */ + z-index: 5; +} + +/*** Main indicator icon ***/ + +#downloads-indicator-icon { + background: -moz-image-rect(url("chrome://browser/skin/Toolbar.png"), + 0, 108, 18, 90) center no-repeat; + min-width: 18px; + min-height: 18px; +} + +#downloads-indicator-icon:-moz-lwtheme-darktext { + background: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted.png"), + 0, 108, 18, 90) center no-repeat; +} + +#downloads-button[attention] > #downloads-indicator-anchor > #downloads-indicator-icon { + background-image: url("chrome://browser/skin/downloads/download-glow.png"); +} + +/* In the next few rules, we use :not([counter]) as a shortcut that is + equivalent to -moz-any([progress], [paused]). */ + +#downloads-button:not([counter]) > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter { + background: -moz-image-rect(url("chrome://browser/skin/Toolbar.png"), + 0, 108, 18, 90) center no-repeat; + background-size: 12px; +} + +#downloads-button:not([counter])[attention] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter { + background-image: url("chrome://browser/skin/downloads/download-glow.png"); +} + +/*** Download notifications ***/ + +#downloads-indicator-notification { + opacity: 0; + background-size: 16px; + background-position: center; + background-repeat: no-repeat; + width: 16px; + height: 16px; +} + +@keyframes downloadsIndicatorNotificationStartRight { + from { opacity: 0; transform: translate(-128px, 128px) scale(8); } + 20% { opacity: .85; animation-timing-function: ease-out; } + to { opacity: 0; transform: translate(0) scale(1); } +} + +@keyframes downloadsIndicatorNotificationStartLeft { + from { opacity: 0; transform: translate(128px, 128px) scale(8); } + 20% { opacity: .85; animation-timing-function: ease-out; } + to { opacity: 0; transform: translate(0) scale(1); } +} + +#downloads-notification-anchor[notification="start"] > #downloads-indicator-notification { + background-image: url("chrome://browser/skin/downloads/download-notification-start.png"); + animation-name: downloadsIndicatorNotificationStartRight; + animation-duration: 1s; +} + +#downloads-notification-anchor[notification="start"]:-moz-locale-dir(rtl) > #downloads-indicator-notification { + animation-name: downloadsIndicatorNotificationStartLeft; +} + +@keyframes downloadsIndicatorNotificationFinish { + from { opacity: 0; transform: scale(1); } + 20% { opacity: .65; animation-timing-function: ease-in; } + to { opacity: 0; transform: scale(8); } +} + +#downloads-notification-anchor[notification="finish"] > #downloads-indicator-notification { + background-image: url("chrome://browser/skin/downloads/download-notification-finish.png"); + animation-name: downloadsIndicatorNotificationFinish; + animation-duration: 1s; +} + +/*** Progress bar and text ***/ + +#downloads-indicator-counter { + height: 9px; + margin: -3px 0px 0px 0px; + color: white; + text-shadow: 0 0 1px rgba(0,0,0,.7), + 0 1px 1.5px rgba(0,0,0,.5); + font-size: 9px; + line-height: 9px; + text-align: center; +} + +#downloads-indicator-counter:-moz-lwtheme-darktext { + color: hsl(0,0%,30%); + text-shadow: hsla(0,0%,100%,.5) 0 1px; +} + +#downloads-indicator-progress { + width: 16px; + height: 5px; + min-width: 0; + min-height: 0; + margin-top: 1px; + margin-bottom: 2px; + border-radius: 2px; + box-shadow: 0 1px 0 hsla(0,0%,100%,.4); +} + +#downloads-indicator-progress > .progress-bar { + -moz-appearance: none; + min-width: 0; + min-height: 0; + /* The background-clip: border-box; and background-image: none; are there to expand the background-color behind the border */ + background-clip: padding-box, border-box; + background-color: rgb(90, 201, 66); + background-image: linear-gradient(transparent 1px, rgba(255, 255, 255, 0.4) 1px, rgba(255, 255, 255, 0.4) 2px, transparent 2px), none; + border: 1px solid; + border-color: rgba(0,43,86,.6) rgba(0,43,86,.4) rgba(0,43,86,.4); + border-radius: 2px 0 0 2px; +} + +#downloads-indicator-progress > .progress-remainder { + -moz-appearance: none; + min-width: 0; + min-height: 0; + background-image: linear-gradient(#505050, #575757); + border: 1px solid; + border-color: hsla(0,0%,0%,.6) hsla(0,0%,0%,.4) hsla(0,0%,0%,.4); + -moz-border-start: none; + border-radius: 0 2px 2px 0; +} + +#downloads-button[paused] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-progress > .progress-bar { + background-color: rgb(220, 230, 81); +} + +#downloads-button[paused] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-progress > .progress-remainder { + background-image: linear-gradient(#4b5000, #515700); +} + +toolbar[mode="full"] > #downloads-button[indicator] > .toolbarbutton-text { + margin: 0; + text-align: center; +} + +/* Error counter */ + +#developer-toolbar-toolbox-button[error-count]:before { + color: #FDF3DE; + min-width: 16px; + text-shadow: none; + background-image: linear-gradient(#B4211B, #8A1915); + border-radius: 1px; + -moz-margin-end: 5px; +} + +/* Social toolbar item */ + +#social-provider-button { + -moz-image-region: rect(0, 16px, 16px, 0); + list-style-image: url(chrome://browser/skin/social/services-16.png); +} + +#social-provider-button > .toolbarbutton-menu-dropmarker { + display: none; +} + +.toolbarbutton-badge-container { + margin: 0; + padding: 0; + position: relative; +} + +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container { + padding: 2px 5px; +} + +.toolbarbutton-1 > .toolbarbutton-badge-container > .toolbar-icon { + position: absolute; + top: 2px; + right: 2px; +} + +.toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) { + -moz-margin-end: 0; +} + +.toolbarbutton-badge[badge=""] { + display: none; +} +.toolbarbutton-badge[badge]:not([badge=""])::after { + /* The |content| property is set in the content stylesheet. */ + font-size: 9px; + font-weight: bold; + padding: 0 1px; + color: #fff; + background-color: rgb(240,61,37); + border: 1px solid rgb(216,55,34); + border-radius: 2px; + box-shadow: 0 1px 0 rgba(0,39,121,0.77); + position: absolute; + top: 0; + right: 0; +} + +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""])::after { + top: 1px; + right: 1px; +} + +.toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after { + left: 0; + right: auto; +} + +#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after { + left: 1px; + right: auto; +} + +.popup-notification-icon[popupid="servicesInstall"] { + list-style-image: url(chrome://browser/skin/social/services-64.png); +} +#servicesInstall-notification-icon { + list-style-image: url(chrome://browser/skin/social/services-16.png); +} +#social-undoactivation-button, +#servicesInstall-learnmore-link { + -moz-margin-start: 0; /* override default label margin to match description margin */ +} + +#socialActivatedNotification .popup-notification-button-container { + margin-left: 6px; +} + +.social-activation-icon { + width: auto; + height: auto; + max-height: 64px; + max-width: 64px; +} + +#social-activation-message { + max-width: 250px; +} + +#social-activation-message > label { + margin: 0; +} + +/* social toolbar provider menu */ +.social-statusarea-popup { + margin-top: 0; + margin-left: -12px; + margin-right: -12px; +} + +.social-statusarea-user { + -moz-appearance: none; + border-bottom: 1px solid rgb(221,221,221); + background-color: -moz-Dialog; + position: relative; + cursor: pointer; + list-style-image:url("chrome://global/skin/icons/information-32.png"); +} + +.social-statusarea-user-portrait { + width: 32px; + height: 32px; + border-radius: 2px; + margin: 10px; +} + +.social-statusarea-loggedInStatus { + -moz-appearance: none; + background: transparent; + border: none; + color: -moz-nativehyperlinktext; + min-width: 0; + margin: 0 6px; + list-style-image: none; +} + +.social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus { + text-decoration: underline; +} + +.social-panel > .panel-arrowcontainer > .panel-arrowcontent { + padding: 0; +} + +.social-panel-frame { + border-radius: inherit; +} + + +.chat-status-icon { + max-height: 16px; + max-width: 16px; + padding: 0; +} + +.chat-toolbarbutton { + -moz-appearance: none; + border: none; + padding: 0; + margin: 0; + background: none; + width: 16px; +} + +.chat-toolbarbutton > .toolbarbutton-text { + display: none; +} + +.chat-toolbarbutton > .toolbarbutton-icon { + width: inherit; +} + +.chat-close-button { + list-style-image: url('chrome://browser/skin/social/chat-icons.png'); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +.chat-close-button:hover { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +.chat-close-button:hover:active { + -moz-image-region: rect(0, 48px, 16px, 32px); +} + +.chat-minimize-button { + list-style-image: url('chrome://browser/skin/social/chat-icons.png'); + -moz-image-region: rect(16px, 16px, 32px, 0); +} + +.chat-minimize-button:hover { + -moz-image-region: rect(16px, 32px, 32px, 16px); +} + +.chat-minimize-button:hover:active { + -moz-image-region: rect(16px, 48px, 32px, 32px); +} + +.chat-swap-button { + list-style-image: url('chrome://browser/skin/social/chat-icons.png'); + -moz-image-region: rect(48px, 16px, 64px, 0); +} + +.chat-swap-button:hover { + -moz-image-region: rect(48px, 32px, 64px, 16px); +} + +.chat-swap-button:hover:active { + -moz-image-region: rect(48px, 48px, 64px, 32px); +} + +chatbar > chatbox > .chat-titlebar > .chat-swap-button { + list-style-image: url('chrome://browser/skin/social/chat-icons.png'); + -moz-image-region: rect(32px, 16px, 48px, 0); +} + +chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover { + -moz-image-region: rect(32px, 32px, 48px, 16px); +} + +chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover:active { + -moz-image-region: rect(32px, 48px, 48px, 32px); +} + +@media (min-resolution: 2dppx) { + .chat-close-button { + list-style-image: url('chrome://browser/skin/social/chat-icons@2x.png'); + -moz-image-region: rect(0, 32px, 32px, 0); + } + + .chat-close-button:hover { + -moz-image-region: rect(0, 64px, 32px, 32px); + } + + .chat-close-button:hover:active { + -moz-image-region: rect(0, 96px, 32px, 64px); + } + + .chat-minimize-button { + list-style-image: url('chrome://browser/skin/social/chat-icons@2x.png'); + -moz-image-region: rect(32px, 32px, 64px, 0); + } + + .chat-minimize-button:hover { + -moz-image-region: rect(32px, 64px, 64px, 32px); + } + + .chat-minimize-button:hover:active { + -moz-image-region: rect(32px, 96px, 64px, 64px); + } + + .chat-swap-button { + list-style-image: url('chrome://browser/skin/social/chat-icons@2x.png'); + -moz-image-region: rect(96px, 32px, 128px, 0); + } + + .chat-swap-button:hover { + -moz-image-region: rect(96px, 64px, 128px, 32px); + } + + .chat-swap-button:hover:active { + -moz-image-region: rect(96px, 96px, 128px, 64px); + } + + chatbar > chatbox > .chat-titlebar > .chat-swap-button { + list-style-image: url('chrome://browser/skin/social/chat-icons@2x.png'); + -moz-image-region: rect(64px, 32px, 96px, 0); + } + + chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover { + -moz-image-region: rect(64px, 64px, 96px, 32px); + } + + chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover:active { + -moz-image-region: rect(64px, 96px, 96px, 64px); + } +} + +.chat-title { + font-weight: bold; + color: black; + text-shadow: none; + cursor: inherit; +} + +.chat-titlebar { + height: 20px; + min-height: 20px; + width: 100%; + margin: 0; + padding: 2px; + -moz-padding-start: 6px; + border: none; + border-bottom: 1px solid #ccc; + cursor: pointer; +} + +.chat-titlebar > .notification-anchor-icon { + margin-left: 2px; + margin-right: 2px; +} + +.chat-titlebar[minimized="true"] { + border-bottom: none; +} + +.chat-titlebar[activity] { + background-image: radial-gradient(ellipse closest-side at center, rgb(255,255,255), rgba(255,255,255,0)); + background-repeat: no-repeat; + background-size: 100% 20px; + background-position: 0 -10px; +} + +.chat-frame { + padding: 0; + margin: 0; + overflow: hidden; +} + +.chatbar-button { + list-style-image: url("chrome://browser/skin/social/services-16.png"); + margin: 0; + padding: 2px; + height: 21px; + width: 21px; + border: 1px solid #ccc; + border-bottom: none; +} + +@media (min-resolution: 2dppx) { + .chatbar-button { + list-style-image: url("chrome://browser/skin/social/services-16@2x.png"); + } +} + +.chatbar-button > .toolbarbutton-icon { + width: 16px; +} + +.chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon { + width: auto; + height: auto; + max-height: 16px; + max-width: 16px; +} + +.chatbar-button[open="true"] { + box-shadow: inset 0 2px 5px rgba(0,0,0,0.6), 0 1px rgba(255,255,255,0.2); +} + +.chatbar-button > .toolbarbutton-text, +.chatbar-button > .toolbarbutton-menu-dropmarker { + display: none; +} + +.chatbar-button > menupopup > menuitem[activity] { + font-weight: bold; +} + +.chatbar-innerbox { + background: transparent; + margin: -285px 0 0; + overflow: hidden; +} + +chatbar { + -moz-margin-end: 20px; +} + +chatbox { + -moz-margin-start: 4px; + background-color: white; + border: 1px solid #ccc; + border-bottom: none; +} + +window > chatbox { + -moz-margin-start: 0px; + margin: 0px; + border: none; + padding: 0px; +} + +.chat-titlebar { + background-color: #c4cfde; + background-image: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0)); +} + +.chat-titlebar[selected] { + background-color: #dae3f0; +} + +.chatbar-button { + -moz-appearance: none; + background-color: #c4cfde; + background-image: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0)); +} + +.chatbar-button > .toolbarbutton-icon { + -moz-margin-end: 0; +} + +.chatbar-button:hover, +.chatbar-button[open="true"] { + background-color: #dae3f0; +} + +.chatbar-button[activity]:not([open="true"]) { + background-image: radial-gradient(circle farthest-corner at center 3px, rgb(255,255,255) 3%, rgba(186,221,251,0.75) 40%, rgba(127,179,255,0.5) 80%, rgba(127,179,255,0.25)); +} + +chatbox { + border-top-left-radius: 2.5px; + border-top-right-radius: 2.5px; +} + +#main-window[privatebrowsingmode=temporary] #toolbar-menubar { + background-image: url("chrome://browser/skin/privatebrowsing-dark.png"); + background-position: top right; + background-repeat: no-repeat; +} + +#main-window[privatebrowsingmode=temporary] #toolbar-menubar:-moz-locale-dir(rtl) { + background-position: top left; +} + +#main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .box-inherit > .button-icon { + list-style-image: url("chrome://browser/skin/privatebrowsing-light.png"); + width: 20px; + height: 16px; +} + + +/* UI Tour */ + +html|div#UITourHighlight { + border-radius: 20px; + border: 2px #5B9CD9 solid; + box-shadow: 0 0 2px #5B9CD9, inset 0 0 1px #5B9CD9; + min-height: 32px; + min-width: 32px; +} + +#UITourTooltip { + max-width: 20em; +} + +#UITourTooltipTitle { + font-size: 130%; + font-weight: bold; + margin: 0 0 5px 0; +} + +#UITourTooltipDescription { + max-width: 20em; +} + +/* Pale Moon feed icon */ +#ub-feed-button, +#ub-feed-button > .button-box, +#ub-feed-button:hover:active > .button-box { + padding: 0px; + margin: 0px; + border: 0px; + background-color: transparent !important; +} + +#ub-feed-button { + -moz-appearance: none; + min-width: 0px; + list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png"); +} +\ No newline at end of file diff --git a/src/chrome/browser/caption-buttons.svg b/src/chrome/browser/caption-buttons.svg @@ -0,0 +1,113 @@ +<svg width="12" height="12" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> +<!-- 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/. --> + <style> + g { + stroke: ButtonText; + stroke-width: 0.9px; + fill: none; + } + + g:not(:target) { + display: none; + } + + use:target > g { + display: initial; + } + + .highlight > g { + stroke: HighlightText; + } + + .bolder { + stroke-width: 1.6px; + stroke: black; + } + + .outline { + stroke-width: 4px; + stroke: white; + opacity: 0.75; + } + + .inverted { + stroke-width: 1.6px; + stroke: white; + } + + .outline-inverted { + stroke-width: 4px; + stroke: black; + opacity: 0.75; + } + + .outline-thinner { + stroke-width: 3.6px; + } + + </style> + + <g id="close"> + <line x1="1" y1="1" x2="11" y2="11"/> + <line x1="11" y1="1" x2="1" y2="11"/> + </g> + <g id="maximize"> + <rect x="1.5" y="1.5" width="9" height="9"/> + </g> + <g id="minimize"> + <line x1="1" y1="5.5" x2="11" y2="5.5"/> + </g> + <g id="restore"> + <rect x="1.5" y="3.5" width="7" height="7"/> + <polyline points="3.5,3.5 3.5,1.5 10.5,1.5 10.5,8.5 8.5,8.5"/> + </g> + + <g id="close-outline"> + <line x1="1" y1="1" x2="11" y2="11" stroke-linecap="round" class="outline"/> + <line x1="11" y1="1" x2="1" y2="11" stroke-linecap="round" class="outline"/> + <line x1="1" y1="1" x2="11" y2="11" class="bolder"/> + <line x1="11" y1="1" x2="1" y2="11" class="bolder"/> + </g> + <g id="maximize-outline"> + <rect x="1.2" y="1.2" width="9.6" height="9.6" stroke-linecap="round" class="outline"/> + <rect x="1.5" y="1.5" width="9" height="9" class="bolder"/> + </g> + <g id="minimize-outline"> + <line x1="1" y1="5.5" x2="11" y2="5.5" stroke-linecap="round" class="outline outline-thinner"/> + <line x1="1" y1="5.5" x2="11" y2="5.5" class="bolder"/> + </g> + <g id="restore-outline"> + <rect x="1.5" y="3.5" width="7" height="7" stroke-linecap="round" class="outline"/> + <polyline points="3.5,3.5 3.5,1.5 10.5,1.5 10.5,8.5 8.5,8.5" stroke-linecap="round" class="outline"/> + <rect x="1.5" y="3.5" width="7" height="7" class="bolder"/> + <polyline points="3.5,3.5 3.5,1.5 10.5,1.5 10.5,8.5 8.5,8.5" class="bolder"/> + </g> + + <g id="close-outline-inverted"> + <line x1="1" y1="1" x2="11" y2="11" stroke-linecap="round" class="outline-inverted"/> + <line x1="11" y1="1" x2="1" y2="11" stroke-linecap="round" class="outline-inverted"/> + <line x1="1" y1="1" x2="11" y2="11" class="inverted"/> + <line x1="11" y1="1" x2="1" y2="11" class="inverted"/> + </g> + <g id="maximize-outline-inverted"> + <rect x="1.2" y="1.2" width="9.6" height="9.6" stroke-linecap="round" class="outline-inverted"/> + <rect x="1.5" y="1.5" width="9" height="9" class="inverted"/> + </g> + <g id="minimize-outline-inverted"> + <line x1="1" y1="5.5" x2="11" y2="5.5" stroke-linecap="round" class="outline-inverted outline-thinner"/> + <line x1="1" y1="5.5" x2="11" y2="5.5" class="inverted"/> + </g> + <g id="restore-outline-inverted"> + <rect x="1.5" y="3.5" width="7" height="7" stroke-linecap="round" class="outline-inverted"/> + <polyline points="3.5,3.5 3.5,1.5 10.5,1.5 10.5,8.5 8.5,8.5" stroke-linecap="round" class="outline-inverted"/> + <rect x="1.5" y="3.5" width="7" height="7" class="inverted"/> + <polyline points="3.5,3.5 3.5,1.5 10.5,1.5 10.5,8.5 8.5,8.5" class="inverted"/> + </g> + + <use id="close-highlight" class="highlight" xlink:href="#close"/> + <use id="maximize-highlight" class="highlight" xlink:href="#maximize"/> + <use id="minimize-highlight" class="highlight" xlink:href="#minimize"/> + <use id="restore-highlight" class="highlight" xlink:href="#restore"/> +</svg> +\ No newline at end of file diff --git a/src/chrome/browser/click-to-play-warning-stripes.png b/src/chrome/browser/click-to-play-warning-stripes.png Binary files differ. diff --git a/src/chrome/browser/close-btn.png b/src/chrome/browser/close-btn.png Binary files differ. diff --git a/src/chrome/browser/devtools/alerticon-warning.png b/src/chrome/browser/devtools/alerticon-warning.png Binary files differ. diff --git a/src/chrome/browser/devtools/app-manager/add.svg b/src/chrome/browser/devtools/app-manager/add.svg @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- 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/. --> + +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> +<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="64px" height="64px" viewBox="0 0 64 64"> + <path fill="#00B2F7" d="M32.336,3.894c-15.74,0-28.5,12.76-28.5,28.5s12.76,28.5,28.5,28.5s28.5-12.76,28.5-28.5 + S48.076,3.894,32.336,3.894z M44.86,36.966h-7.823v7.62c0,2.582-2.12,4.702-4.702,4.702c-2.584,0-4.704-2.12-4.704-4.702v-7.62 + h-7.817c-2.52,0-4.572-2.056-4.572-4.572s2.053-4.572,4.572-4.572h7.817v-7.62c0-2.582,2.12-4.702,4.704-4.702 + c2.582,0,4.702,2.12,4.702,4.702v7.62h7.823c2.514,0,4.57,2.056,4.57,4.572S47.374,36.966,44.86,36.966z"/> +</svg> diff --git a/src/chrome/browser/devtools/app-manager/connection-footer.css b/src/chrome/browser/devtools/app-manager/connection-footer.css @@ -0,0 +1,223 @@ +/* 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/. */ + +/************** LAYOUT **************/ + +#connection-footer { + display: flex; + flex-direction: column; + height: 50px; +} + +#banners-and-logs { + display: flex; + flex-grow: 1; +} + +#logs { + display: flex; + width: 40%; + padding: 0; + width: 100%; +} + +.banner { + display: none; + width: 60%; +} + +#connection-footer[status="connected"] #banner-connected, +#connection-footer[status="connecting"] #banner-connecting, +#connection-footer[status="disconnected"] #banner-disconnected, +#connection-footer[status="disconnecting"] #banner-disconnecting { + display: flex; +} + +body.show-simulators .banner, +body.edit-connection .banner { + display: none !important; +} + +body.show-simulators #banner-simulators, +body.edit-connection #banner-editing { + display: flex !important; +} + +#banner-logs { + width: 40%; + display: flex; +} + +#logs > pre { + overflow: auto; + white-space: pre-line; +} + +#status.banner-box { + width: 100% !important; +} + +.banner-box { + display: flex; + flex-direction: column; + justify-content: center; + width: 100%; +} + +#banner-connected > .banner-box { + align-items: flex-start; +} + +#start-simulator-box { + display: inline; +} + +/************** PIXELS **************/ + +* { + margin: 0; + padding: 0; + -moz-box-sizing: border-box; + font-size: 0.9rem; +} + +body { + color: #333; + background-color: white; + font-family: Lucida Grande, Helvetica, Helvetica Neue, sans-serif; +} + +button { + background: linear-gradient(to bottom, #49535C, #394148); + box-shadow: 0px 1px 1px #3C444D, inset 0 1px 0px rgba(255,255,255,0.1); + color: #9FA6AD; + text-shadow: 0px 1px 1px rgba(0,0,0,0.6); + border: 1px solid #111; + cursor: pointer; + border-radius: 3px; + padding: 3px 10px; +} + +button.left { + margin-right: 0px; + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +button.right { + margin-left: -6px; + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +button.action-primary { + background: linear-gradient(to bottom, #276DA3, #1E5580); + color: #EEE; +} + +button.action-cancel { + background: linear-gradient(to bottom, #B32B02, #942300); + color: #EEE; +} + +#banners-and-logs { + border-top: #111 solid; + border-width: 1px 0; + background: linear-gradient(to bottom, #323A42, #29313A); + color: #A8BABF; + box-shadow: inset 0 0 1px #424A51; +} + +#status { + background: linear-gradient(to bottom, #454F59, #404952); + box-shadow: inset 0 0 1px #606D78, inset 0 1px 0 #5E6973; +} + +#logs > pre { + border: 1px solid #111; + box-shadow: 0px 1px 1px #49525A, inset 0 0 5px rgba(0,0,0,0.3); + font-size: 10px; + background: #22272D; + padding: 5px; + height: 100%; + padding-left: 20px; + position: relative; +} + +#logs > pre span{ + text-shadow: 0 1px 2px #000; + color: #3195FB; + position: fixed; + right: calc(30% - 15px); + bottom: -1px; +} + +#logs > pre b { + font-size: 10px; + color: #70C4FF; +} + +.banner-box { + box-shadow: inset 0 0 1px #667480, inset 0 1px 0 #5E6973; + border-right: 1px solid #111; + background-position: center right; + background-size: 1px 100%; + background-repeat: no-repeat; + padding: 10px 20px; + position: relative; +} + +.connected-status { + color: #B3BFC9; + text-shadow: 0px 1px 2px rgba(0,0,0,0.9); + padding-bottom: 10px; +} + +.connected-status { + font-size: 150%; + top: 10%; + padding-right: 3px; + position: relative; +} + +.connected-indicator { + box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), inset 0 0px 1px rgba(255,255,255,0.3); + height: 100%; + flex: 0 0 10px; +} + +#banner-connected .connected-indicator, +#banner-connecting .connected-indicator { + background: linear-gradient(to bottom, #69B8FF, #339FFF ); +} + +#banner-simulators .connected-indicator, +#banner-disconnected .connected-indicator, +#banner-editing .connected-indicator, +#banner-disconnecting .connected-indicator { + background: linear-gradient(to bottom, #375A87, #1C4375 ); +} + +#banner-simulators .banner-content > * { + display: inline-block; +} + +#banner-simulators[simulator-count="0"] .found-simulator, +#banner-simulators:not([simulator-count="0"]) .no-simulator { + display: none; +} + +#connection-no-device, +[device-count="0"] > #connection-found-device, +#connection-manual, +#connection-assisted { + display: none; +} + +#connection-found-device, +[device-count="0"] > #connection-no-device, +[adb-available="true"] > #connection-assisted, +[adb-available="false"] > #connection-manual { + display: inline; +} diff --git a/src/chrome/browser/devtools/app-manager/device.css b/src/chrome/browser/devtools/app-manager/device.css @@ -0,0 +1,399 @@ +/* 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/. */ + +/***************** GENERAL *****************/ + +* { + margin: 0; + padding: 0; + -moz-box-sizing: border-box; +} + +html, body { + height: 100%; +} + +body { + font-size: 0.9rem; + color: #333; + background-color: rgb(225, 225, 225); + font-family: Lucida Grande, Helvetica, Helvetica Neue, sans-serif; + display: flex; + flex-direction: column; +} + +template { + display: none; +} + +h1 { + font-size: 20px; +} + +#content { + display: flex; + flex-direction: row; + height: 100%; + overflow: hidden; +} + +#detail { + background-image: url('noise.png'); + display: flex; + flex-grow: 1; + z-index: 1; + overflow: hidden; +} + +#meta { + background-size: 100%; + padding-top: 50px; +} + +#connection-footer { + border-width: 0; + height: 50px; + min-height: 50px; +} + + + +/***************** APP BUTTONS *****************/ + + + +.app-buttons { + display: block; + margin-left: 20px; + color: #BBB; +} + +button { + margin: 0; + font-size: 11px; + border: 1px solid #CCC; + padding: 5px 15px; + cursor: pointer; + background: rgba(255,255,255,0.4); + text-transform: uppercase; + border-radius: 3px; + border-width: 1px; +} + +.app-buttons > button { + display: none; +} + +.app-buttons > button[disabled] { + background-color: transparent; + opacity: 0.4; + pointer-events: none; +} + +.app[running="false"] > .app-buttons > .button-start, +.app[running="true"] > .app-buttons > .button-stop, +.app[running="true"] > .app-buttons > .button-debug { + display: inline-block; +} + +.button-debug { + color: #3498DB; +} + +.button-debug:hover { + background-color: #3498DB; + color: #FFF; +} + +.button-debug[disabled] { + color: #3498DB; +} + +.button-start { + color: #18BC9C +} + +.button-start:hover { + background-color: #18BC9C; + color: #FFF; +} + +.button-start[disabled] { + color: #18BC9C +} + +.button-stop { + color: #E74C3C; +} + +.button-stop:hover { + background-color: #E74C3C; + color: #FFF; +} + +.button-stop[disabled] { + color: #E74C3C; +} + + + +/***************** PERMISSIONS *****************/ + + + + +.permission-table { + display: flex; + flex-direction: column; + height: 100%; +} + +.permission-table-body { + overflow: auto; + display: flex; + flex-grow: 1; + flex-direction: column; +} + +.permission-table-header, +.permission-table-footer { + display: flex; + background: #FFF; + border-top: 1px solid #CCC; + z-index: 2; + flex-shrink: 0; +} + +.permission-table-header > div, +.permission-table-footer > div { + z-index: 2; + flex-grow: 1; + background: linear-gradient(to bottom, #49535C, #394148); + box-shadow: 0px 1px 3px rgba(12, 20, 30, 0.5), inset 0 1px 0px rgba(255,255,255,0.1); + color: #9FA6AD; + text-shadow: 0px 1px 1px rgba(0,0,0,0.6); + border: 0; + margin: auto 0; + padding: 5px; + text-align: center; + background: transparent; + box-shadow: none; + text-shadow: none; +} + +.permission-table-header > div { + flex-basis: 20%; +} + +.permission-table-header > div:first-child { + text-align: left; + padding-left: 10px; + flex-basis: 30%; +} + +.permission-table-header { + border: 0; + border-bottom: 1px solid #CCC; + box-shadow: 0 1px 4px rgba(0,0,0,0.3); +} + +.permission-table-footer { + box-shadow: 0 -1px 4px rgba(0,0,0,0.3); +} + +.permission { + display: flex; + flex-grow: 1; +} + +.permission:nth-child(odd) { + background: #E4E4E4; +} + +.permission:hover { + background: #EEE; +} + +.permission > div { + flex-grow: 1; + flex-basis: 20%; + text-align: center; + padding: 3px; + border-right: 1px solid #CCC; + border-bottom: 1px solid #CCC; +} + +.permission > div:first-child { + text-align: left; + padding: 3px 10px; + flex-basis: 30%; + font-weight: bold; +} + +.permission > div[permission="1"]:before, .allow-label:after { + color: #98CF39; + content: ' \2713'; +} + +.permission > div[permission="2"]:before, .deny-label:after { + color: #CC4908; + content: ' \2715'; +} + +.permission > div[permission="3"]:before, .prompt-label:after { + color: #009EED; + content: ' !'; +} + + + + +/***************** SIDEBAR *****************/ + + + + +#sidebar { + background: #EEE; + position: relative; + box-shadow: 0 1px 6px rgba(0,0,0,0.3); + display: flex; + flex-direction: column; + flex: 0 0 350px; + overflow: hidden; + z-index: 100; +} + +.sidebar-item { + background-color: #F6F6F6; + box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); + color: #666; + line-height: 120%; + cursor: pointer; + display: flex; + padding: 15px 10px; + display: block; + text-align: left; + flex-grow: 1; +} + +.sidebar-item > * { + flex-shrink: 0; +} + +.sidebar-item:hover { + background-color: #EEE; +} + +.sidebar-item.selected { + background-color: #46AFE3; + color: #FFF; +} + +.help { + float: right; + padding: 0 5px; +} + +/***************** HEADER *****************/ + +header { + padding-top: 140px; + background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.7)); + color: #FFF; + text-shadow: 0 1px 2px rgba(0,0,0,0.8); + padding: 10px; +} + + + +/***************** APPS *****************/ + + + + +.apps { + display: flex; + flex-direction: column; + overflow: auto; +} + +.app { + display: flex; + align-items: center; + order: 1; +} + +.app-name { + flex-grow: 1; + font-weight: bold; +} + +.app { + padding: 10px 20px; + border-bottom: 1px solid #CCC; +} + +.app:hover { + background-color: #EFEFEF; +} + +.app-icon { + width: 32px; + height: 32px; + margin-right: 10px; +} + + + +/***************** NOT CONNECTED *****************/ + + + +body:not(.notconnected) > #notConnectedMessage, +body.notconnected > #content { + display: none; +} + +#notConnectedMessage { + flex-grow: 1; + flex-direction: column; + margin: 50px auto; +} + +#notConnectedMessage > span { + padding: 20px; + border: 1px solid #CCC; + border-radius: 5px; +} + +#notConnectedMessage > span:before { + content: ''; + background: url('error.svg') no-repeat; + background-size: 18px; + height: 24px; + width: 24px; + position: relative; + top: 10px; + display: inline-block; +} + + + +/***************** TABS *****************/ + +#tabs { + flex-grow: 1; + overflow: auto; +} + +.tabpanel:not(.selected) { + display: none; +} + +#tabs-headers { + flex-shrink: 0; + display: flex; + flex-direction: column; +} diff --git a/src/chrome/browser/devtools/app-manager/error.svg b/src/chrome/browser/devtools/app-manager/error.svg @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- 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/. --> + +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> +<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="64px" height="64px" viewBox="0 0 64 64"> + <path fill="#E25026" d="M32,4.894c-15.74,0-28.5,12.76-28.5,28.5s12.76,28.5,28.5,28.5s28.5-12.76,28.5-28.5S47.74,4.894,32,4.894 + z M46.903,48.674c-1.817,1.817-4.691,1.76-6.449,0.002l-8.327-8.327l-8.151,8.151c-1.877,1.877-4.87,1.814-6.685,0 + c-1.877-1.877-1.879-4.811-0.002-6.687l8.151-8.151l-8.327-8.327c-1.76-1.76-1.817-4.634,0-6.451c1.76-1.76,4.691-1.76,6.451,0 + l8.327,8.327l8.151-8.151c1.877-1.877,4.811-1.874,6.687,0.002c1.814,1.814,1.877,4.808,0,6.685l-8.151,8.151l8.327,8.327 + C48.662,43.982,48.662,46.914,46.903,48.674z"/> +</svg> diff --git a/src/chrome/browser/devtools/app-manager/help.css b/src/chrome/browser/devtools/app-manager/help.css @@ -0,0 +1,40 @@ +/* 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/. */ + +html, body { + margin: 0; + height: 100%; +} + +body { + color: #555; + font-family: Lucida Grande, Helvetica, Helvetica Neue, sans-serif; + overflow: hidden; + max-width: 600px; + margin: auto; + padding: 20px 0; + background-color: #FFF; +} + +button { + border: 1px solid #CCC; + padding: 5px 15px; + cursor: pointer; + background: rgba(255,255,255,0.4); + text-transform: uppercase; + color: #3498DB; +} + +button:hover { + background-color: #3498DB; + color: #FFF; +} + +a, a:visited { + color: rgb(39,109,163); +} + +#close-button { + float: right; +} diff --git a/src/chrome/browser/devtools/app-manager/index-icons.svg b/src/chrome/browser/devtools/app-manager/index-icons.svg @@ -0,0 +1,81 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> +<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" + width="160px" height="240px" viewBox="0 0 160 240" enable-background="new 0 0 160 240" xml:space="preserve"> +<rect y="40" display="none" fill="#22272D" width="84" height="160"/> +<rect x="80.75" y="40" display="none" fill="#194866" width="84" height="160"/> +<path fill="#414042" d="M40,21.149c-2.044,0.001-6.042,6.745-7.404,13.436L28,39.181v12l3.204,0l4.467-4.466 + c0.457,0.478,0.96,0.88,1.5,1.199h5.652c0.543-0.318,1.05-0.719,1.507-1.199l4.466,4.466l3.204,0v-12l-4.597-4.596 + C46.042,27.895,42.044,21.149,40,21.149z M40.005,28.185c0.712,0,1.965,2,2.746,4.392c-0.846-0.157-1.747-0.244-2.686-0.244 + c-0.987,0-1.933,0.099-2.815,0.271C38.03,30.199,39.289,28.185,40.005,28.185z"/> +<path fill="#414042" d="M41.436,50.98c0,1.41-1.094,2.553-1.459,2.553c-0.364,0-1.459-1.144-1.459-2.553 + c0-0.546,0.099-1.051,0.266-1.466h-1.69c-0.198,0.731-0.31,1.549-0.31,2.412c0,3.108,2.411,5.627,3.215,5.627 + s3.216-2.519,3.215-5.626c0-0.864-0.112-1.681-0.31-2.413l-1.734,0C41.337,49.929,41.436,50.434,41.436,50.98z"/> +<g> + <g> + <path fill="#B2B5B9" d="M40,21.149c-2.044,0.001-6.042,6.745-7.404,13.436L28,39.181v12l3.204,0l4.467-4.466 + c0.457,0.478,0.96,0.88,1.5,1.199h5.652c0.543-0.318,1.05-0.719,1.507-1.199l4.466,4.466l3.204,0v-12l-4.597-4.596 + C46.042,27.895,42.044,21.149,40,21.149z M40.005,28.185c0.712,0,1.965,2,2.746,4.392c-0.846-0.157-1.747-0.244-2.686-0.244 + c-0.987,0-1.933,0.099-2.815,0.271C38.03,30.199,39.289,28.185,40.005,28.185z"/> + <path fill="#B2B5B9" d="M41.436,50.98c0,1.41-1.094,2.553-1.459,2.553c-0.364,0-1.459-1.144-1.459-2.553 + c0-0.546,0.099-1.051,0.266-1.466h-1.69c-0.198,0.731-0.31,1.549-0.31,2.412c0,3.108,2.411,5.627,3.215,5.627 + s3.216-2.519,3.215-5.626c0-0.864-0.112-1.681-0.31-2.413l-1.734,0C41.337,49.929,41.436,50.434,41.436,50.98z"/> + </g> +</g> +<g> + <path fill="#DCE8F3" d="M120,21.149c-2.044,0.001-6.042,6.745-7.404,13.436L108,39.181v12l3.204,0l4.467-4.466 + c0.457,0.478,0.96,0.88,1.5,1.199h5.652c0.543-0.318,1.05-0.719,1.507-1.199l4.467,4.466l3.204,0v-12l-4.597-4.596 + C126.042,27.895,122.044,21.149,120,21.149z M120.005,28.185c0.712,0,1.965,2,2.746,4.392c-0.846-0.157-1.747-0.244-2.686-0.244 + c-0.987,0-1.933,0.099-2.815,0.271C118.03,30.199,119.289,28.185,120.005,28.185z"/> + <path fill="#DCE8F3" d="M121.436,50.98c0,1.41-1.094,2.553-1.459,2.553c-0.364,0-1.459-1.144-1.459-2.553 + c0-0.546,0.099-1.051,0.266-1.466h-1.69c-0.198,0.731-0.31,1.549-0.31,2.412c0,3.108,2.411,5.627,3.215,5.627 + s3.216-2.519,3.215-5.626c0-0.864-0.112-1.681-0.31-2.413l-1.734,0C121.337,49.929,121.436,50.434,121.436,50.98z"/> +</g> +<g> + <g> + <path fill="#B2B5B9" d="M52.5,136.017c0,2.279-1.888,4.167-4.167,4.167H31.667c-2.279,0-4.167-1.888-4.167-4.167v-33.333 + c0-2.279,1.888-4.167,4.167-4.167h16.667c2.279,0,4.167,1.888,4.167,4.167V136.017z M49.375,107.892 + c0-0.554-0.488-1.042-1.042-1.042H31.667c-0.553,0-1.042,0.488-1.042,1.042v22.917c0,0.554,0.488,1.042,1.042,1.042h16.667 + c0.553,0,1.042-0.488,1.042-1.042V107.892z M42.604,102.684h-5.208c-0.293,0-0.521,0.228-0.521,0.521 + c0,0.293,0.228,0.521,0.521,0.521h5.208c0.293,0,0.521-0.228,0.521-0.521C43.125,102.912,42.897,102.684,42.604,102.684z + M40,133.413c-1.432,0-2.604,1.171-2.604,2.604c0,1.433,1.172,2.604,2.604,2.604s2.604-1.171,2.604-2.604 + C42.604,134.585,41.432,133.413,40,133.413z"/> + </g> +</g> +<g> + <path fill="#DCE8F3" d="M132.5,136.017c0,2.279-1.888,4.167-4.167,4.167h-16.667c-2.279,0-4.167-1.888-4.167-4.167v-33.333 + c0-2.279,1.888-4.167,4.167-4.167h16.667c2.279,0,4.167,1.888,4.167,4.167V136.017z M129.375,107.892 + c0-0.554-0.488-1.042-1.042-1.042h-16.667c-0.553,0-1.042,0.488-1.042,1.042v22.917c0,0.554,0.488,1.042,1.042,1.042h16.667 + c0.553,0,1.042-0.488,1.042-1.042V107.892z M122.604,102.684h-5.208c-0.293,0-0.521,0.228-0.521,0.521 + c0,0.293,0.228,0.521,0.521,0.521h5.208c0.293,0,0.521-0.228,0.521-0.521C123.125,102.912,122.897,102.684,122.604,102.684z + M120,133.413c-1.432,0-2.604,1.171-2.604,2.604c0,1.433,1.172,2.604,2.604,2.604s2.604-1.171,2.604-2.604 + C122.604,134.585,121.432,133.413,120,133.413z"/> +</g> +<g> + <path fill="#B2B5B9" d="M40,185.388c8.121,0,14.729,6.607,14.729,14.729S48.121,214.845,40,214.845s-14.729-6.607-14.729-14.729 + S31.879,185.388,40,185.388 M40,182.75c-9.591,0-17.367,7.775-17.367,17.367c0,9.591,7.775,17.367,17.367,17.367 + s17.367-7.775,17.367-17.367C57.367,190.525,49.591,182.75,40,182.75L40,182.75z"/> + <g> + <path fill="#B2B5B9" d="M39.565,204.504c-0.688,0-1.196-0.508-1.286-1.195l-0.299-2.57c-0.12-0.808,0.359-1.405,1.166-1.495 + c2.81-0.269,4.364-1.345,4.364-3.229v-0.06c0-1.674-1.285-2.84-3.438-2.84c-1.584,0-2.87,0.568-4.065,1.645 + c-0.299,0.239-0.688,0.418-1.106,0.418c-0.926,0-1.674-0.747-1.674-1.644c0-0.448,0.18-0.927,0.598-1.285 + c1.584-1.495,3.587-2.481,6.337-2.481c4.185,0,7.024,2.331,7.024,6.068v0.06c0,3.767-2.72,5.47-6.038,6.038l-0.12,1.375 + c-0.12,0.657-0.598,1.195-1.285,1.195H39.565z M39.565,206.687c1.226,0,2.122,0.896,2.122,2.062v0.299 + c0,1.166-0.896,2.062-2.122,2.062s-2.123-0.896-2.123-2.062v-0.299C37.442,207.583,38.339,206.687,39.565,206.687z"/> + </g> +</g> +<g> + <path fill="#DCE8F3" d="M120,185.388c8.121,0,14.729,6.607,14.729,14.729s-6.607,14.729-14.729,14.729s-14.729-6.607-14.729-14.729 + S111.879,185.388,120,185.388 M120,182.75c-9.591,0-17.367,7.775-17.367,17.367c0,9.591,7.775,17.367,17.367,17.367 + s17.367-7.775,17.367-17.367C137.367,190.525,129.591,182.75,120,182.75L120,182.75z"/> + <g> + <path fill="#DCE8F3" d="M119.564,204.504c-0.688,0-1.195-0.508-1.285-1.195l-0.299-2.57c-0.12-0.808,0.358-1.405,1.166-1.495 + c2.81-0.269,4.363-1.345,4.363-3.229v-0.06c0-1.674-1.285-2.84-3.438-2.84c-1.584,0-2.869,0.568-4.064,1.645 + c-0.3,0.239-0.688,0.418-1.106,0.418c-0.927,0-1.674-0.747-1.674-1.644c0-0.448,0.18-0.927,0.598-1.285 + c1.584-1.495,3.587-2.481,6.337-2.481c4.186,0,7.024,2.331,7.024,6.068v0.06c0,3.767-2.72,5.47-6.038,6.038l-0.119,1.375 + c-0.12,0.657-0.598,1.195-1.285,1.195H119.564z M119.564,206.687c1.226,0,2.122,0.896,2.122,2.062v0.299 + c0,1.166-0.896,2.062-2.122,2.062s-2.122-0.896-2.122-2.062v-0.299C117.442,207.583,118.339,206.687,119.564,206.687z"/> + </g> +</g> +</svg> diff --git a/src/chrome/browser/devtools/app-manager/index.css b/src/chrome/browser/devtools/app-manager/index.css @@ -0,0 +1,103 @@ +/* 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/. */ + +* { + margin: 0; + padding: 0; + -moz-box-sizing: border-box; + font-family: Lucida Grande, Helvetica, Helvetica Neue, sans-serif; +} + +#tabs { + box-shadow: inset -4px 0 0 rgba(0,0,0,0.3); + background: #252C33; +} + +#toolbox-tabs { + overflow-y: auto; +} + +.button { + width: 80px; + height: 85px; + padding-bottom: 5px; + -moz-appearance: none; + border: none; + border-bottom: 1px solid #121214; + background-color: transparent; + color: #B5B8BB; + cursor: pointer; + text-align: center; + -moz-box-align: end; + font-size: 10px; + text-shadow: 0 1px 0 #333; + color: #9FA6AD; +} + +.button:first-child { + border-top: none; +} + +.button[selected] { + box-shadow: inset -4px 0 0 rgba(0,0,0,0.3), inset 2px 0 0 #DEFFFF, inset 3px 0 0 #8DC7E8, inset 4px 0 1px #1D6496; + color: #DCE8F3; + background-color: #1A4766; + border-color: #191B1E; +} + +.button::-moz-focus-inner { + border-width: 0; +} + +.panel { + border-width: 0; +} + +.panel:not([selected="true"]) { + display: none; +} + +.button.toolbox { + background-repeat: no-repeat; + background-position: center 15px; + background-size: 40px 40px; +} + +.projects-button { + background: url('chrome://browser/skin/devtools/app-manager/index-icons.svg') no-repeat; + background-position: left -5px; +} + +.projects-button[selected] { + background-position: right -5px; +} + +.device-button { + background-image: url('chrome://browser/skin/devtools/app-manager/index-icons.svg'); + background-position: left -85px, top left; + background-repeat: no-repeat, no-repeat; + background-size: 160px 240px, 2px 80px; +} + +.device-button[selected] { + background-position: right -85px, top left; +} + +.help-button { + border-bottom: 0; + background-image: url('chrome://browser/skin/devtools/app-manager/index-icons.svg'); + background-position: left -165px, top left; + background-repeat: no-repeat, no-repeat; + background-size: 160px 240px, 2px 80px; +} + +.help-button[selected] { + background-position: right -165px, top left; +} + +#connection-footer { + border-width: 0; + height: 50px; + min-height: 50px; +} diff --git a/src/chrome/browser/devtools/app-manager/noise.png b/src/chrome/browser/devtools/app-manager/noise.png Binary files differ. diff --git a/src/chrome/browser/devtools/app-manager/plus.svg b/src/chrome/browser/devtools/app-manager/plus.svg @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- 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/. --> + +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> +<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="64px" height="64px" viewBox="0 0 64 64"> + <path fill="#ABABAB" d="M32.336,3.894c-15.74,0-28.5,12.76-28.5,28.5s12.76,28.5,28.5,28.5s28.5-12.76,28.5-28.5 + S48.076,3.894,32.336,3.894z M44.86,36.966h-7.823v7.62c0,2.582-2.12,4.702-4.702,4.702c-2.584,0-4.704-2.12-4.704-4.702v-7.62 + h-7.817c-2.52,0-4.572-2.056-4.572-4.572s2.053-4.572,4.572-4.572h7.817v-7.62c0-2.582,2.12-4.702,4.704-4.702 + c2.582,0,4.702,2.12,4.702,4.702v7.62h7.823c2.514,0,4.57,2.056,4.57,4.572S47.374,36.966,44.86,36.966z"/> +</svg> diff --git a/src/chrome/browser/devtools/app-manager/projects.css b/src/chrome/browser/devtools/app-manager/projects.css @@ -0,0 +1,548 @@ +/* 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/. */ + +* { + margin: 0; + padding: 0; + -moz-box-sizing: border-box; + font-size: 0.9rem; +} + +html, body { + height: 100%; +} + +template { + display: none; +} + +body { + display: flex; + color: #333; + background-color: white; + font-family: Lucida Grande, Helvetica, Helvetica Neue, sans-serif; + overflow: hidden; +} + +body:not(.connected) button.device-action { + display: none; +} + +strong { + color: #111; +} + + +/********* SIDEBAR ***********/ + + + +#sidebar { + display: flex; + flex-direction: column; + flex: 0 0 350px; + overflow: hidden; + z-index: 100; + background-color: #E9EAEB; + position: relative; + box-shadow: 3px 0 1.5px rgba(0,0,0,0.08); +} + +#project-list { + height: 100%; + overflow: auto; +} + +#project-list:not([projects-count="0"]) > #no-project { + display: none; +} + +#no-project { + padding: 100px 20px 0; + font-weight: bold; + color: #BBB; + font-size: 22px; +} + + +/********* PROJECT MENU ***********/ + + +.project-item { + padding: 10px 0; + background-color: #F0F1F2; + box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); + color: #666; + line-height: 120%; + cursor: pointer; + display: flex; + position: relative; +} + +.project-item:hover { + background-color: #EEE; +} + +.project-item > * { + flex-shrink: 0; +} + +.project-item.selected { + background-color: #46AFE3; +} + +.project-item.selected strong { + color: #FFF; +} + +.project-item.selected p, +.project-item.selected span { + color: #C1DCF0; +} + +.button-remove { + background-image: url('remove.svg'); + background-size: 20px; + width: 20px; + height: 20px; + position: absolute; + right: 5px; + bottom: 5px; + visibility: hidden; + opacity: 0.5; +} + +.project-item:hover .button-remove { + visibility: visible; +} + +.project-item-status { + width: 6px; + margin: -10px 0; + border-right: 1px solid rgba(0,0,0,0.1); + box-shadow: inset 0 0 1px 1px rgba(255,255,255,0.2), inset 0 -1px 0 0 rgba(0,0,0,0.2); +} + +.project-item-status[status="valid"] { + background-color: #70BF53; +} + +.project-item-status[status~="warning"] { + background-color: #F2B33F; +} + +.project-item-status[status~="error"] { + background-color: #ED4C62; +} + +.project-item-icon { + width: 32px; + height: 32px; + margin: 0 10px; +} + +.project-item-meta { + flex-grow: 1; + flex-shrink: 1 !important; +} + +.project-item-type { + font-size: 10px; + line-height: 20px; + float: right; + padding-right: 10px; + color: #7597B9; + text-transform: uppercase; +} + +.project-item-description { + color: #888; + font-size: 90%; +} + +/********* ADD PROJECT ***********/ + +#new-packaged-project { + box-shadow: 0 -1px 5px rgba(0,0,0,0.1); + background-position: calc(100% - 10px) 10px; +} + +#new-packaged-project, +#new-hosted-project { + background-color: #EEE; + border: none; + border-top: 1px solid #DDD; + padding: 10px; + font-weight: bold; +} + +#new-packaged-project:hover, +#new-hosted-project:hover { + background-color: #DDD; +} + +#new-hosted-project-wrapper { + display: flex; + align-items: center; +} + +#new-packaged-project, +#new-hosted-project-click { + background-image: url('plus.svg'); + background-size: 20px; + background-repeat: no-repeat; + cursor: pointer; +} + +#new-hosted-project-click { + background-position: top right; + width: 20px; + height: 20px; + margin-left: 5px; +} + +#url-input { + flex-grow: 1; + width: 90%; + box-shadow: none; + border-radius: 3px; + border: 1px solid #DDD; + padding: 4px; + margin-top: 4px; +} + + +/********* LENSE ***********/ + + +#lense { + height: 100%; + flex-grow: 1; + display: flex; + z-index: 1; + overflow: hidden; + background-color: rgb(225, 225, 225); + background-image: url('rocket.svg'), url('noise.png'); + background-repeat: no-repeat, repeat; + background-size: 35%, auto; + background-position: center center, top left; +} + +#lense > div { + display: flex; + flex-grow: 1; + flex-direction: column; +} + + +/********* PROJECT ***********/ + + +.project-details { + background-color: rgb(225, 225, 225); + padding: 10px; + line-height: 160%; + display: flex; + flex-direction: column; +} + +.project-metadata { + flex-grow: 1; +} + +.project-status { + display: flex; +} + +.project-title { + flex-direction: row; + display: flex; + align-items: flex-start; + padding-bottom: 10px; + border-bottom: 1px solid #CCC; + margin-bottom: 10px; +} + +.project-title > h1 { + flex-grow: 1; + font-size: 24px; +} + +.project-location { + color: gray; + font-size: 10px; + cursor: pointer; + font-family: monospace; +} + +.project-location:hover { + text-decoration: underline; +} + +.project-header { + display: flex; + border-bottom: 1px solid #CCC; + margin: 10px 20px 10px 20px; + padding-bottom: 10px; +} + +.project-icon { + flex-shrink: 0; + width: 64px; + height: 64px; + margin-right: 10px; +} + +.project-location { + font-size: 11px; + color: #999; +} + +.project-description { + font-style: italic; + color: #333; +} + +.project-status > p { + text-transform: uppercase; + font-size: 10px; + padding: 2px 10px; + border-radius: 2px; + margin-top: 6px; + line-height: 10px; +} + +.project-validation { + color: #FFF; + display: none; + margin-left: 10px; +} + +.project-validation.valid { + background-color: #70BF53; +} + +.project-validation.warning { + background-color: #F2B33F; +} + +.project-validation.error { + background-color: #ED4C62; +} + +[status="valid"] > .project-validation.valid, +[status~="warning"] > .project-validation.warning, +[status~="error"] > .project-validation.error { + display: inline; +} + + +/********* PROJECT BUTTONS ***********/ + + + +.project-buttons { + display: flex; + margin-left: 20px; + color: #BBB; +} + +.project-buttons > button { + margin: 0; + font-size: 11px; + border: 1px solid #CCC; + border-left-width: 0; + padding: 5px 15px; + cursor: pointer; + background: rgba(255,255,255,0.4); + text-transform: uppercase; +} + +.project-buttons > button[disabled] { + background-color: transparent; + opacity: 0.4; + pointer-events: none; +} + +.project-buttons > button:first-child { + border-left-width: 1px; +} + +.project-button-debug { + color: #3498DB; +} + +.project-button-debug:hover { + background-color: #3498DB; + color: #FFF; +} + +.project-button-debug[disabled] { + color: #3498DB; +} + +.project-button-update { + color: #777; +} + +.project-button-update:hover { + background-color: #777; + color: #FFF; +} + +.project-button-update[disabled] { + color: #777; +} + + + +/********* ERRORS AND WARNINGS ***********/ + +.project-warnings, +.project-errors, +.project-item-warnings, +.project-item-errors { + display: none; +} + +[status~="warning"] .project-item-warnings, +[status~="error"] .project-item-errors { + display: inline-block; +} + +[status~="warning"] > .project-warnings, +[status~="error"] > .project-errors { + display: block; +} + +.project-warnings, +.project-errors { + margin: 20px 20px 0; + padding: 10px 10px; + font-family: monospace; +} + +.project-warnings { + border-left: 3px solid #ECB51E; + background-color: rgba(236, 181, 20, 0.1); +} + +.project-errors { + border-left: 3px solid #ED4C62; + background-color: rgba(237,76,98,0.1); +} + +.project-item-warnings { + background-image: url('warning.svg'); +} + +.project-item-errors { + background-image: url('error.svg'); + color: rgb(227, 79, 34); +} + +.project-item-warnings, +.project-item-errors { + background-repeat: no-repeat; + background-size: 12px; + background-position: left center; + margin-top: 6px; +} + +.project-item-warnings > span, +.project-item-errors > span { + font-size: 11px; + padding-left: 16px; + font-weight: bold; +} + + +/********* MANIFEST EDITOR ***********/ + +.manifest-editor { + display: flex; + flex-direction: column; + flex-grow: 1; + background-color: #E1E1E1; +} + +.manifest-header { + display: flex; + flex-direction: row; +} + +.manifest-header > h2 { + font-size: 18px; + margin: 1em 15px 1em 30px; + display: none; +} + +.manifest-header > button { + margin: 18px 0; + font-size: 11px; + border: 1px solid #CCC; + border-right-width: 0; + padding: 2px; + cursor: pointer; + background: rgba(255,255,255,0.4); + text-transform: uppercase; + display: none; +} + +.manifest-header > button[disabled] { + background-color: transparent; + opacity: 0.4; + pointer-events: none; +} + +.manifest-header > button:last-child { + border-right-width: 1px; +} + +[type="packaged"] > .editable { + display: block; +} + +[type="hosted"] > .viewable { + display: block; +} + +.manifest-button-save { + color: #777; +} + +.manifest-button-save:hover { + background-color: #777; + color: #FFF; +} + +.manifest-button-save[disabled] { + color: #777; +} + +.variables-view { + flex-grow: 1; + border: 0; + border-top: 5px solid #C9C9C9; +} + +/* Bug 925921: Remove when the manifest editor is always on */ + +.manifest-editor { + display: none; +} + +.project-details { + flex-grow: 1; +} + +#lense[manifest-editable] .manifest-editor { + display: flex; +} + +#lense[manifest-editable] .project-details { + flex-grow: 0; +} + +/* End blocks to remove */ diff --git a/src/chrome/browser/devtools/app-manager/remove.svg b/src/chrome/browser/devtools/app-manager/remove.svg @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> + +<!-- 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/. --> + +<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="64px" height="64px" viewBox="0 0 64 64"> +<path d="m 12.183457,12.241457 c -11.129861,11.12986 -11.129861,29.175226 0,40.305086 11.12986,11.129861 29.175226,11.129861 40.305086,0 11.129861,-11.12986 11.129861,-29.175226 0,-40.305086 -11.12986,-11.129861 -29.175226,-11.129861 -40.305086,0 z m 32.241241,14.52963 -5.531697,5.531696 5.388154,5.388154 c 1.82575,1.82575 1.82575,4.823882 0,6.649632 -1.827164,1.827164 -4.825297,1.827164 -6.651047,0.0014 l -5.388153,-5.388153 -5.527454,5.527453 c -1.781909,1.781909 -4.686704,1.779081 -6.465784,0 -1.779081,-1.77908 -1.781202,-4.684582 0,-6.465784 l 5.527453,-5.527454 -5.388153,-5.388153 c -1.82575,-1.82575 -1.82575,-4.823883 0.0014,-6.651047 1.82575,-1.82575 4.823882,-1.82575 6.649632,0 l 5.388154,5.388154 5.531696,-5.531697 c 1.777667,-1.777666 4.68529,-1.777666 6.46437,0.0014 1.779081,1.77908 1.779081,4.686703 0.0014,6.46437 z" + style="fill:#FF6B00" /> +</svg> diff --git a/src/chrome/browser/devtools/app-manager/rocket.svg b/src/chrome/browser/devtools/app-manager/rocket.svg @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> + +<!-- 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/. --> + +<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve"> + <g opacity="0.1"> + <g> + <path fill="#FFFFFF" d="M12,2.3c-1.127,0-3.333,3.721-4.084,7.411l-2.535,2.535v6.619l1.767,0l2.464-2.464 + c0.252,0.264,0.529,0.486,0.827,0.662h3.118c0.299-0.175,0.579-0.397,0.831-0.662l2.464,2.464l1.767,0v-6.619l-2.535-2.535 + C15.333,6.021,13.127,2.3,12,2.3z M12.003,6.181c0.393,0,1.084,1.103,1.515,2.423c-0.466-0.087-0.963-0.135-1.481-0.135 + c-0.545,0-1.066,0.054-1.553,0.15C10.914,7.292,11.608,6.181,12.003,6.181z"/> + <path fill="#FFFFFF" d="M12.792,18.755c0,0.778-0.603,1.408-0.805,1.408c-0.201,0-0.805-0.631-0.805-1.408 + c0-0.301,0.055-0.579,0.147-0.809h-0.932c-0.109,0.403-0.171,0.854-0.171,1.33c0,1.714,1.33,3.104,1.774,3.104 + s1.774-1.389,1.774-3.103c0-0.477-0.062-0.927-0.171-1.331l-0.957,0C12.738,18.175,12.792,18.453,12.792,18.755z"/> + </g> + <g> + <g> + <path fill="#414042" d="M12,2c-1.127,0-3.333,3.721-4.084,7.411l-2.535,2.535v6.619l1.767,0l2.464-2.464 + c0.252,0.264,0.529,0.486,0.827,0.662h3.118c0.299-0.175,0.579-0.397,0.831-0.662l2.464,2.464l1.767,0v-6.619l-2.535-2.535 + C15.333,5.721,13.127,2,12,2z M12.003,5.881c0.393,0,1.084,1.103,1.515,2.423c-0.466-0.087-0.963-0.135-1.481-0.135 + c-0.545,0-1.066,0.054-1.553,0.15C10.914,6.992,11.608,5.881,12.003,5.881z"/> + <path fill="#414042" d="M12.792,18.455c0,0.778-0.603,1.408-0.805,1.408c-0.201,0-0.805-0.631-0.805-1.408 + c0-0.301,0.055-0.579,0.147-0.809h-0.932c-0.109,0.403-0.171,0.854-0.171,1.33c0,1.714,1.33,3.104,1.774,3.104 + s1.774-1.389,1.774-3.103c0-0.477-0.062-0.927-0.171-1.331l-0.957,0C12.738,17.875,12.792,18.153,12.792,18.455z"/> + </g> + </g> + </g> +</svg> diff --git a/src/chrome/browser/devtools/app-manager/warning.svg b/src/chrome/browser/devtools/app-manager/warning.svg @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> + +<!-- 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/. --> + +<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="64px" height="64px" viewBox="0 0 64 64" enable-background="new 0 0 64 64"> + <path fill="#ECB51F" d="M61.689,51.121L36.437,7.384c-2.441-4.227-6.434-4.227-8.875,0L2.311,51.121 + c-2.441,4.227-0.444,7.686,4.437,7.686h50.504C62.133,58.807,64.13,55.349,61.689,51.121z M35.968,47.68 + c0,2.191-1.688,3.877-3.968,3.877s-3.968-1.686-3.968-3.877v-0.093c0-2.187,1.688-3.873,3.968-3.873s3.968,1.686,3.968,3.873V47.68z + M36.059,21.548l-1.961,17.146c-0.137,1.233-0.958,2.009-2.098,2.009s-1.961-0.776-2.098-2.009l-1.961-17.146 + c-0.137-1.322,0.592-2.325,1.825-2.325h4.469C35.466,19.223,36.196,20.226,36.059,21.548z"/> +</svg> diff --git a/src/chrome/browser/devtools/arrow-e.png b/src/chrome/browser/devtools/arrow-e.png Binary files differ. diff --git a/src/chrome/browser/devtools/background-noise-toolbar.png b/src/chrome/browser/devtools/background-noise-toolbar.png Binary files differ. diff --git a/src/chrome/browser/devtools/blackBoxMessageEye.png b/src/chrome/browser/devtools/blackBoxMessageEye.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs-scrollbutton.png b/src/chrome/browser/devtools/breadcrumbs-scrollbutton.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/ltr-end-pressed.png b/src/chrome/browser/devtools/breadcrumbs/ltr-end-pressed.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/ltr-end-selected-pressed.png b/src/chrome/browser/devtools/breadcrumbs/ltr-end-selected-pressed.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/ltr-end-selected.png b/src/chrome/browser/devtools/breadcrumbs/ltr-end-selected.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/ltr-end.png b/src/chrome/browser/devtools/breadcrumbs/ltr-end.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/ltr-middle-pressed.png b/src/chrome/browser/devtools/breadcrumbs/ltr-middle-pressed.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/ltr-middle-selected-pressed.png b/src/chrome/browser/devtools/breadcrumbs/ltr-middle-selected-pressed.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/ltr-middle-selected.png b/src/chrome/browser/devtools/breadcrumbs/ltr-middle-selected.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/ltr-middle.png b/src/chrome/browser/devtools/breadcrumbs/ltr-middle.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/ltr-start-pressed.png b/src/chrome/browser/devtools/breadcrumbs/ltr-start-pressed.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/ltr-start-selected-pressed.png b/src/chrome/browser/devtools/breadcrumbs/ltr-start-selected-pressed.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/ltr-start-selected.png b/src/chrome/browser/devtools/breadcrumbs/ltr-start-selected.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/ltr-start.png b/src/chrome/browser/devtools/breadcrumbs/ltr-start.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/rtl-end-pressed.png b/src/chrome/browser/devtools/breadcrumbs/rtl-end-pressed.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/rtl-end-selected-pressed.png b/src/chrome/browser/devtools/breadcrumbs/rtl-end-selected-pressed.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/rtl-end-selected.png b/src/chrome/browser/devtools/breadcrumbs/rtl-end-selected.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/rtl-end.png b/src/chrome/browser/devtools/breadcrumbs/rtl-end.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/rtl-middle-pressed.png b/src/chrome/browser/devtools/breadcrumbs/rtl-middle-pressed.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/rtl-middle-selected-pressed.png b/src/chrome/browser/devtools/breadcrumbs/rtl-middle-selected-pressed.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/rtl-middle-selected.png b/src/chrome/browser/devtools/breadcrumbs/rtl-middle-selected.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/rtl-middle.png b/src/chrome/browser/devtools/breadcrumbs/rtl-middle.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/rtl-start-pressed.png b/src/chrome/browser/devtools/breadcrumbs/rtl-start-pressed.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/rtl-start-selected-pressed.png b/src/chrome/browser/devtools/breadcrumbs/rtl-start-selected-pressed.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/rtl-start-selected.png b/src/chrome/browser/devtools/breadcrumbs/rtl-start-selected.png Binary files differ. diff --git a/src/chrome/browser/devtools/breadcrumbs/rtl-start.png b/src/chrome/browser/devtools/breadcrumbs/rtl-start.png Binary files differ. diff --git a/src/chrome/browser/devtools/checkbox-dark.png b/src/chrome/browser/devtools/checkbox-dark.png Binary files differ. diff --git a/src/chrome/browser/devtools/checkbox-light.png b/src/chrome/browser/devtools/checkbox-light.png Binary files differ. diff --git a/src/chrome/browser/devtools/close.png b/src/chrome/browser/devtools/close.png Binary files differ. diff --git a/src/chrome/browser/devtools/command-console.png b/src/chrome/browser/devtools/command-console.png Binary files differ. diff --git a/src/chrome/browser/devtools/command-paintflashing.png b/src/chrome/browser/devtools/command-paintflashing.png Binary files differ. diff --git a/src/chrome/browser/devtools/command-responsivemode.png b/src/chrome/browser/devtools/command-responsivemode.png Binary files differ. diff --git a/src/chrome/browser/devtools/command-scratchpad.png b/src/chrome/browser/devtools/command-scratchpad.png Binary files differ. diff --git a/src/chrome/browser/devtools/command-tilt.png b/src/chrome/browser/devtools/command-tilt.png Binary files differ. diff --git a/src/chrome/browser/devtools/commandline-icon.png b/src/chrome/browser/devtools/commandline-icon.png Binary files differ. diff --git a/src/chrome/browser/devtools/commandline.css b/src/chrome/browser/devtools/commandline.css @@ -0,0 +1,153 @@ +/* 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/. */ + +.gcli-body { + margin: 0; + font: message-box; + color: hsl(210,30%,85%); +} + +#gcli-output-root, +#gcli-tooltip-root { + border: 1px solid hsl(206,37%,4%); + box-shadow: 0 1px 0 hsla(209,29%,72%,.25) inset; + background-image: linear-gradient(hsla(209,18%,18%,0.9), hsl(209,23%,18%)); + border-radius: 3px; +} + +#gcli-output-root { + padding: 5px 10px; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + border-bottom: 0; +} + +#gcli-tooltip-root { + padding: 5px 0px; +} + +#gcli-tooltip-connector { + margin-top: -1px; + margin-left: 8px; + width: 20px; + height: 10px; + border-left: 1px solid hsl(206,37%,4%); + border-right: 1px solid hsl(206,37%,4%); + background-color: hsl(209,23%,18%); +} + +.gcli-tt-description, +.gcli-tt-error { + padding: 0 10px; +} + +.gcli-row-out { + padding: 0 5px; + line-height: 1.2em; + border-top: none; + border-bottom: none; + color: hsl(210,30%,85%); +} + +.gcli-row-out p, +.gcli-row-out h1, +.gcli-row-out h2, +.gcli-row-out h3 { + margin: 5px 0; +} + +.gcli-row-out h1, +.gcli-row-out h2, +.gcli-row-out h3, +.gcli-row-out h4, +.gcli-row-out h5, +.gcli-row-out th, +.gcli-row-out strong, +.gcli-row-out pre { + color: hsl(210,30%,95%); +} + +.gcli-row-out pre { + font-size: 80%; +} + +.gcli-row-out td { + white-space: nowrap; +} + +.gcli-out-shortcut, +.gcli-help-synopsis { + padding: 0 3px; + margin: 0 4px; + font-weight: normal; + font-size: 90%; + border-radius: 3px; + background-color: hsl(209,23%,18%); + border: 1px solid hsl(206,37%,4%); +} + +.gcli-out-shortcut:before, +.gcli-help-synopsis:before { + color: hsl(210,30%,85%); + -moz-padding-end: 2px; +} + +.gcli-help-arrow { + color: #666; +} + +.gcli-help-description { + margin: 0 20px; + padding: 0; +} + +.gcli-help-parameter { + margin: 0 30px; + padding: 0; +} + +.gcli-help-header { + margin: 10px 0 6px; +} + +.gcli-menu-name { + -moz-padding-start: 8px; +} + +.gcli-menu-desc { + -moz-padding-end: 8px; + color: hsl(210,30%,75%); +} + +.gcli-menu-option:hover { + background-color: hsla(0,0%,0%,.3); +} + +.gcli-menu-highlight, +.gcli-menu-highlight.gcli-menu-option:hover { + background-color: hsla(0,100%,100%,.1); +} + +.gcli-menu-typed { + color: hsl(25,78%,50%); +} + +.gcli-menu-more { + font-size: 80%; + text-align: right; + -moz-padding-end: 8px; +} + +.gcli-addon-disabled { + opacity: 0.6; + text-decoration: line-through; +} + +.gcli-breakpoint-label { + font-weight: bold; +} + +.gcli-breakpoint-lineText { + font-family: monospace; +} diff --git a/src/chrome/browser/devtools/common.css b/src/chrome/browser/devtools/common.css @@ -0,0 +1,469 @@ +/* vim:set ts=2 sw=2 sts=2 et: */ +/* 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/. */ + +/* Font for code */ + +:root { + font: message-box; +} + +.devtools-monospace { + font-family: monospace; +} + +/* Toolbar and Toolbar items */ + +.devtools-toolbar { + -moz-appearance: none; + padding: 4px 3px; + color: hsl(210,30%,85%); + background-image: url(background-noise-toolbar.png), linear-gradient(#3e4750, #3e4750); + border-bottom: 1px solid #060a0d; + box-shadow: 0 1px 0 hsla(204,45%,98%,.05) inset, -1px 0 0 hsla(204,45%,98%,.05) inset, 0 -1px 0 hsla(204,45%,98%,.05) inset; +} + +.devtools-menulist, +.devtools-toolbarbutton { + -moz-appearance: none; + -moz-box-align: center; + min-width: 78px; + min-height: 22px; + text-shadow: 0 -1px 0 hsla(210,8%,5%,.45); + border: 1px solid hsla(211,68%,6%,.5); + border-radius: 3px; + background: linear-gradient(hsla(209,13%,54%,.35), hsla(209,13%,54%,.1) 85%, hsla(209,13%,54%,.2)) padding-box; + box-shadow: 0 1px 0 hsla(209,29%,72%,.15) inset, 0 0 0 1px hsla(209,29%,72%,.1) inset, 0 0 0 1px hsla(209,29%,72%,.1), 0 1px 0 hsla(210,16%,76%,.1); + margin: 0; + -moz-margin-end: 3px; + color: inherit; +} + +.devtools-toolbarbutton > .toolbarbutton-menubutton-button { + -moz-box-orient: horizontal; +} + +.devtools-menulist:-moz-focusring, +.devtools-toolbarbutton:-moz-focusring { + outline: 1px dotted hsla(210,30%,85%,0.7); + outline-offset: -4px; +} + +.devtools-toolbarbutton > .toolbarbutton-icon { + margin: 0; +} + +.devtools-toolbarbutton:not([label]) { + min-width: 32px; +} + +.devtools-toolbarbutton:not([label]) > .toolbarbutton-text { + display: none; +} + +.devtools-toolbarbutton:not([checked=true]):hover:active { + background-color: hsla(210,18%,9%,.1); + background-image: linear-gradient(hsla(209,13%,54%,.35), hsla(209,13%,54%,.1) 85%, hsla(209,13%,54%,.2)); + box-shadow: 0 1px 3px hsla(211,68%,6%,.5) inset, 0 0 0 1px hsla(209,29%,72%,.1), 0 1px 0 hsla(210,16%,76%,.1); +} + +.devtools-menulist[open=true], +.devtools-toolbarbutton[open=true], +.devtools-toolbarbutton[checked=true] { + border-color: hsla(211,68%,6%,.6); + background: linear-gradient(hsla(211,68%,6%,.1), hsla(211,68%,6%,.2)); + box-shadow: 0 1px 3px hsla(211,68%,6%,.5) inset, 0 0 0 1px hsla(209,29%,72%,.1), 0 1px 0 hsla(210,16%,76%,.1); +} + +.devtools-toolbarbutton[checked=true] { + color: hsl(200,100%,60%) !important; +} + +.devtools-toolbarbutton[checked=true]:hover:active { + background-color: hsla(211,68%,6%,.2); +} + +.devtools-option-toolbarbutton { + -moz-appearance: none; + list-style-image: url("chrome://browser/skin/devtools/option-icon.png"); + -moz-image-region: rect(0px 16px 16px 0px); + background: none; + border: none; +} + +.devtools-option-toolbarbutton[open=true] { + -moz-image-region: rect(0px 32px 16px 16px); +} + +.devtools-menulist > .menulist-label-box { + text-align: center; +} + +.devtools-menulist > .menulist-dropmarker { + -moz-appearance: none; + list-style-image: url("chrome://browser/skin/devtools/dropmarker.png"); + border-width: 0; + background-color: transparent; +} + +.devtools-menulist:focus:not([open="true"]):not(.menulist-compact) > .menulist-label-box { + color: hsl(210,30%,85%) !important; + background-color: transparent; +} + +.devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button { + -moz-appearance: none; + color: inherit; + border-width: 0; + -moz-border-end: 1px solid hsla(210,8%,5%,.45); + box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15); +} + +.devtools-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button { + box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15); +} + +.devtools-toolbarbutton[type=menu-button] { + padding: 0 1px; + -moz-box-align: stretch; +} + +.devtools-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker, +.devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker { + -moz-appearance: none !important; + list-style-image: url("chrome://browser/skin/devtools/dropmarker.png"); + -moz-box-align: center; +} + +/* Text input */ + +.devtools-textinput, +.devtools-searchinput { + -moz-appearance: none; + margin: 0 3px; + min-height: 22px; + border: 1px solid hsla(211,68%,6%,.6); + box-shadow: inset 0 1px 0 hsla(211,68%,6%,.05), 0 0 0 1px hsla(210,40%,83%,.1); + border-radius: 2px; + background-color: transparent; + background-image: linear-gradient(hsla(210,16%,76%,.15), hsla(210,16%,76%,.35)); + padding: 3px; + transition-property: background-color, border-color, box-shadow; + transition-duration: 150ms; + transition-timing-function: ease; + color: inherit; +} + +.devtools-searchinput { + background-image: url(magnifying-glass.png), linear-gradient(hsla(210,16%,76%,.15), hsla(210,16%,76%,.35)); + background-repeat: no-repeat; + background-position: 4px center, top left, top left; + padding-top: 0; + padding-bottom: 0; + -moz-padding-start: 18px; + -moz-padding-end: 12px; + font-size: inherit; +} + +.devtools-searchinput[focused] { + border-color: hsl(200,70%,40%) hsl(200,75%,37%) hsl(200,80%,35%); + background-origin: padding-box; + background-clip: padding-box; + box-shadow: inset 0 0 0 1px hsla(211,68%,6%,.1); +} + +.devtools-searchinput:-moz-locale-dir(rtl) { + background-position: calc(100% - 4px) center, top left, top left; +} + +.devtools-searchinput > .textbox-input-box > .textbox-search-icons { + display: none; +} + +.devtools-searchinput > .textbox-input-box > .textbox-input::-moz-placeholder { + opacity: 1.0; + color: hsl(208,10%,66%); +} + +.devtools-no-search-result { + box-shadow: inset 0 0 0 1px hsla(0,68%,6%,.35); + border-color: hsl(10,70%,40%) hsl(10,75%,37%) hsl(10,80%,35%) !important; + background-image: url(magnifying-glass.png), linear-gradient(hsla(1,16%,76%,.45), hsla(1,16%,76%,.75)); +} + +/* Close button */ + +.devtools-closebutton { + list-style-image: url("chrome://browser/skin/devtools/close.png"); + -moz-appearance: none; + border: none; + margin: 0 4px; + min-width: 16px; + width: 16px; + opacity: 0.6; +} + +.devtools-closebutton > .toolbarbutton-text { + display: none; +} + +.devtools-closebutton:hover { + opacity: 0.8; +} + +.devtools-closebutton:hover:active { + opacity: 1; +} + +/* Splitters */ + +.devtools-horizontal-splitter { + -moz-appearance: none; + border-width: 1px 0 0 0; + -moz-border-top-colors: black; + background-color: transparent; + min-height: 3px; + height: 3px; + margin-bottom: -3px; + position: relative; +} + +.devtools-side-splitter { + border: 0; + -moz-border-start: 1px solid #242b33; + min-width: 0; + width: 3px; + background-color: transparent; + -moz-margin-end: -3px; + position: relative; + cursor: e-resize; +} + +/* In-tools sidebar */ + +.devtools-toolbox-side-iframe { + min-width: 465px; +} + +.devtools-sidebar-tabs { + -moz-appearance: none; + margin: 0; +} + +.devtools-sidebar-tabs > tabpanels { + -moz-appearance: none; + padding: 0; + border: 0; +} + +.devtools-sidebar-tabs > tabs { + -moz-appearance: none; + position: static; + color: hsl(210,30%,85%); + margin-bottom: 0; + padding: 0; + background-image: url(background-noise-toolbar.png), linear-gradient(#3e4750, #3e4750); + box-shadow: 0 1px 0 hsla(204,45%,98%,.05) inset, -1px 0 0 hsla(204,45%,98%,.05) inset, 0 -1px 0 hsla(204,45%,98%,.05) inset; + border-width: 0 0 1px 0; + border-color: hsla(210,8%,5%,.6); + border-style: solid; + overflow: hidden; +} + +.devtools-sidebar-tabs > tabs > .tabs-right, +.devtools-sidebar-tabs > tabs > .tabs-left { + display: none; +} + +.devtools-sidebar-tabs > tabs > tab { + -moz-appearance: none; + /* We want to match the height of a toolbar with a toolbarbutton + * First, we need to replicated the padding of toolbar (4px), + * then, the padding of the button itself from toolbarbutton.css (3px), + * Also, we need to take the border of the buttons into accout (1px). + * Padding-bottom is one pixel shorter because we need to include the + * black border. + */ + padding: 8px 3px 7px; + -moz-padding-start: 6px; + margin: 0; + min-width: 78px; + text-shadow: 0 -1px 0 hsla(210,8%,5%,.45); + text-align: center; + color: inherit; + -moz-box-flex: 1; + border-width: 0; + background: transparent; + border-radius: 0; + position: static; + -moz-margin-start: -1px; +} + +.devtools-sidebar-tabs > tabs > tab:-moz-focusring { + position: static; +} + +.devtools-sidebar-tabs > tabs > tab:last-of-type { + -moz-border-end-width: 0; +} + +.devtools-sidebar-tabs > tabs > tab:first-of-type { + -moz-margin-start: -3px; +} + +.devtools-sidebar-tabs > tabs > tab { + background-size: 100% 100%, 1px 100%, 1px 100%, 1px 100%; + background-repeat: no-repeat; + background-position: 2px, 0, 1px, 2px; +} + +.devtools-sidebar-tabs:-moz-locale-dir(rtl) > tabs > tab { + background-position: calc(100% - 3px), 100%, calc(100% - 1px), calc(100% - 2px); +} + + +.devtools-sidebar-tabs > tabs > tab { + background-image: linear-gradient(transparent, transparent), linear-gradient(hsla(204,45%,98%,0), hsla(204,45%,98%,.1), hsla(204,45%,98%,0)), linear-gradient(hsla(206,37%,4%,0), hsla(206,37%,4%,.6), hsla(206,37%,4%,0)), linear-gradient(hsla(204,45%,98%,0), hsla(204,45%,98%,.1), hsla(204,45%,98%,0)); +} + +.devtools-sidebar-tabs > tabs > tab:hover { + background-image: linear-gradient(hsla(206,37%,4%,.2), hsla(206,37%,4%,.2)), linear-gradient(hsla(204,45%,98%,0), hsla(204,45%,98%,.1), hsla(204,45%,98%,0)), linear-gradient(hsla(206,37%,4%,0), hsla(206,37%,4%,.6), hsla(206,37%,4%,0)), linear-gradient(hsla(204,45%,98%,0), hsla(204,45%,98%,.1), hsla(204,45%,98%,0)); +} + +.devtools-sidebar-tabs > tabs > tab:hover:active { + background-image: linear-gradient(hsla(206,37%,4%,.4), hsla(206,37%,4%,.4)), linear-gradient(hsla(204,45%,98%,0), hsla(204,45%,98%,.1), hsla(204,45%,98%,0)), linear-gradient(hsla(206,37%,4%,0), hsla(206,37%,4%,.6), hsla(206,37%,4%,0)), linear-gradient(hsla(204,45%,98%,0), hsla(204,45%,98%,.1), hsla(204,45%,98%,0)); +} + +.devtools-sidebar-tabs > tabs > tab[selected=true] + tab { + background-image: linear-gradient(transparent, transparent), linear-gradient(transparent, transparent), linear-gradient(hsla(206,37%,4%,.6), hsla(206,37%,4%,.7)), linear-gradient(hsla(204,45%,98%,.1), hsla(204,45%,98%,.1)); +} + +.devtools-sidebar-tabs > tabs > tab[selected=true] + tab:hover { + background-image: linear-gradient(hsla(206,37%,4%,.2), hsla(206,37%,4%,.2)), linear-gradient(transparent, transparent), linear-gradient(hsla(206,37%,4%,.6), hsla(206,37%,4%,.7)), linear-gradient(hsla(204,45%,98%,.1), hsla(204,45%,98%,.1)); +} + +.devtools-sidebar-tabs > tabs > tab[selected=true] + tab:hover:active { + background-image: linear-gradient(hsla(206,37%,4%,.4), hsla(206,37%,4%,.4)), linear-gradient(transparent, transparent), linear-gradient(hsla(206,37%,4%,.6), hsla(206,37%,4%,.7)), linear-gradient(hsla(204,45%,98%,.1), hsla(204,45%,98%,.1)); +} + +.devtools-sidebar-tabs > tabs > tab[selected=true] { + color: #f5f7fa; + background-image: linear-gradient(#2f607b, #294d68), linear-gradient(transparent, transparent), linear-gradient(hsla(206,37%,4%,.6), hsla(206,37%,4%,.7)), linear-gradient(hsla(204,45%,98%,.1), hsla(204,45%,98%,.1)); + box-shadow: 0 1px 0 hsla(0,0%,100%,.1) inset, 0 -2px 0 hsla(206,37%,4%,.05) inset, 0 -1px 1px hsla(206,37%,4%,.1) inset; +} + +.devtools-sidebar-tabs > tabs > tab[selected=true]:hover { + background-image: linear-gradient(#274f64, #224056), linear-gradient(transparent, transparent), linear-gradient(hsla(206,37%,4%,.6), hsla(206,37%,4%,.7)), linear-gradient(hsla(204,45%,98%,.1), hsla(204,45%,98%,.1)); + box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset, 0 -2px 0 hsla(206,37%,4%,.05) inset, 0 -1px 1px hsla(206,37%,4%,.1) inset; +} + +.devtools-sidebar-tabs > tabs > tab[selected=true]:hover:active { + background-image: linear-gradient(#1f3e4f, #1b3243), linear-gradient(transparent, transparent), linear-gradient(hsla(206,37%,4%,.6), hsla(206,37%,4%,.7)), linear-gradient(hsla(204,45%,98%,.1), hsla(204,45%,98%,.1)); + box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset, 0 -2px 0 hsla(206,37%,4%,.05) inset, 0 -1px 1px hsla(206,37%,4%,.1) inset; +} + + +/* Autocomplete Popup */ +/* Dark and light theme */ + +.devtools-autocomplete-popup { + -moz-appearance: none !important; + border: 1px solid hsl(210,11%,10%); + box-shadow: 0 1px 0 hsla(209,29%,72%,.25) inset; + background-color: transparent; + background-image: linear-gradient(to bottom, hsla(209,18%,18%,0.9), hsl(210,11%,16%)); + border-radius: 3px; + max-height: 40rem; +} + +.devtools-autocomplete-listbox { + -moz-appearance: none !important; + background-color: transparent; + border-width: 0px !important; +} + +.devtools-autocomplete-listbox > richlistitem, +.devtools-autocomplete-listbox > richlistitem[selected] { + width: 100%; + background-color: transparent; + border-radius: 4px; +} + +.devtools-autocomplete-listbox.dark-theme > richlistitem[selected], +.devtools-autocomplete-listbox.dark-theme > richlistitem:hover { + background-color: rgba(0,0,0,0.5); +} + +.devtools-autocomplete-listbox.dark-theme > richlistitem[selected] > .autocomplete-value, +.devtools-autocomplete-listbox:focus.dark-theme > richlistitem[selected] > .initial-value { + color: hsl(208,100%,60%); +} + +.devtools-autocomplete-listbox.dark-theme > richlistitem[selected] > label { + color: #eee; +} + +.devtools-autocomplete-listbox.dark-theme > richlistitem > label { + color: #ccc; +} + +.devtools-autocomplete-listbox > richlistitem > .initial-value, +.devtools-autocomplete-listbox > richlistitem > .autocomplete-value { + margin: 0; + padding: 1px 0; +} + +.devtools-autocomplete-listbox > richlistitem > .autocomplete-count { + text-align: right; +} + +/* Rest of the light theme */ + +.devtools-autocomplete-popup.light-theme { + border: 1px solid hsl(210,24%,90%); + box-shadow: 0 1px 0 hsla(209,29%,90%,.25) inset; + background-image: linear-gradient(to bottom, hsla(209,18%,100%,0.9), hsl(210,24%,95%)); +} + +.devtools-autocomplete-listbox.light-theme > richlistitem[selected], +.devtools-autocomplete-listbox.light-theme > richlistitem:hover { + background-color: rgba(128,128,128,0.3); +} + +.devtools-autocomplete-listbox.light-theme > richlistitem[selected] > .autocomplete-value, +.devtools-autocomplete-listbox:focus.light-theme > richlistitem[selected] > .initial-value { + color: #222; +} + +.devtools-autocomplete-listbox.light-theme > richlistitem > label { + color: #666; +} + +/* Responsive container */ + +.devtools-responsive-container { + -moz-box-orient: horizontal; +} + +@media (max-width: 700px) { + .devtools-responsive-container { + -moz-box-orient: vertical; + } + + .devtools-responsive-container > .devtools-side-splitter { + border: 0; + margin: 0; + border-top: 1px solid black; + min-height: 3px; + height: 3px; + margin-bottom: -3px; + /* In some edge case the cursor is not changed to n-resize */ + cursor: n-resize; + } + + .devtools-responsive-container > .devtools-sidebar-tabs { + min-height: 35vh; + max-height: 75vh; + } +} diff --git a/src/chrome/browser/devtools/computedview.css b/src/chrome/browser/devtools/computedview.css @@ -0,0 +1,169 @@ +/* vim:set ts=2 sw=2 sts=2 et: */ +/* 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/. */ + +/* Take away these two :visited rules to get a core dumper */ +/* See https://bugzilla.mozilla.org/show_bug.cgi?id=575675#c30 */ +.link, +.link:visited { + color: #0091ff; +} +.link, +.helplink, +.link:visited, +.helplink:visited { + text-decoration: none; +} +.link:hover { + text-decoration: underline; +} + +/* From content */ + +* { + box-sizing: border-box; +} + +:root { + height: 100%; +} + +body { + margin: 0; + display : flex; + flex-direction: column; + height: 100%; +} + +#propertyContainer { + -moz-user-select: text; + overflow: auto; + min-height: 0; + flex: 1; +} + +.property-view-hidden, +.property-content-hidden { + display: none; +} + +.property-view { + clear: both; + padding: 2px 0 2px 17px; +} + +.property-view > * { + display: inline-block; + vertical-align: middle; +} + +.property-name { + width: 50%; + overflow-x: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.property-value { + width: 50%; + max-width: 100%; + overflow-x: hidden; + text-overflow: ellipsis; + white-space: nowrap; + background-image: url(arrow-e.png); + background-repeat: no-repeat; + background-size: 5px 8px; + background-position: 2px center; + padding-left: 10px; +} + +.other-property-value { + background-image: url(arrow-e.png); + background-repeat: no-repeat; + background-size: 5px 8px; + background-position: left center; + padding-left: 8px; +} + +@media (min-width: 400px) { + .property-name { + width: 200px; + } + .property-value { + width: auto; + } +} + +.property-content { + padding-left: 17px; +} + +/* From skin */ +.expander { + visibility: hidden; + margin-left: -12px!important; +} + +.expander[open] { + margin-left: -17px!important; +} + +.expandable { + visibility: visible; +} + +.match { + visibility: hidden; +} + +.matchedselectors > p { + clear: both; + margin: 0 2px 0 0; + padding: 2px; + overflow-x: hidden; + border-style: dotted; + border-color: rgba(128,128,128,0.4); + border-width: 1px 1px 0 1px; +} + +.matchedselectors > p:last-of-type { + border-bottom-width: 1px; +} + +/* This rule is necessary because Templater.jsm breaks LTR TDs in RTL docs */ +.rule-text { + direction: ltr; +} + +.matched { + text-decoration: line-through; +} + +.parentmatch { + opacity: 0.5; +} + +#noResults { + font-size: 110%; + margin: 5px; + text-align: center; +} + +.onlyuserstyles { + cursor: pointer; +} + +.legendKey { + margin: 0 5px; +} + +.devtools-toolbar { + width: 100%; +} + +.link { + padding: 0 3px; + cursor: pointer; + float: right; +} diff --git a/src/chrome/browser/devtools/controls.png b/src/chrome/browser/devtools/controls.png Binary files differ. diff --git a/src/chrome/browser/devtools/dark-theme.css b/src/chrome/browser/devtools/dark-theme.css @@ -0,0 +1,104 @@ +/* vim:set ts=2 sw=2 sts=2 et: */ +/* 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/. */ + +/* According to: + * https://bugzilla.mozilla.org/show_bug.cgi?id=715472#c17 + */ +.theme-body { + background: #131c26; + color: #8fa1b2 +} + +.theme-twisty { + cursor: pointer; + margin-right: 5px; +} + +.theme-twisty:-moz-focusring { + outline-style: none; +} + +.theme-twisty:not([open]) { + width: 0; + height: 0; + border-top: 5px solid transparent; + border-bottom: 5px solid transparent; + border-left: 5px solid rgba(255,255,255,0.5); + margin-left: 5px; +} + +.theme-twisty[open] { + width: 10px; + height: 10px; + background-image: linear-gradient(to bottom right, transparent 68%, rgba(255,255,255,0.5) 68%); +} + +.theme-checkbox { + display: inline-block; + border: 0; + width: 14px; + height: 14px; + padding: 0; + outline: none; + background: url("chrome://browser/skin/devtools/checkbox-dark.png") no-repeat; +} + +.theme-checkbox[checked] { + background: url("chrome://browser/skin/devtools/checkbox-dark.png") 14px 0; +} + +.theme-selected { + background: #26384E; +} + +.theme-bg-darker { + background-color: rgba(0,0,0,0.1); +} + +.theme-link { /* blue */ + color: #3689b2; +} + +.theme-comment { /* grey */ + color: #5c6773; +} + +.theme-gutter { + background-color: #0f171f; + color: #667380; + border-color: #303b47; +} + +.theme-separator { /* grey */ + border-color: #303b47; +} + +.theme-fg-color1 { /* green */ + color: #5c9966; +} + +.theme-fg-color2 { /* blue */ + color: #3689b2; +} + +.theme-fg-color3 { /* pink/lavender */ + color: #a673bf; +} + +.theme-fg-color4 { /* purple/violet */ + color: #6270b2; +} + +.theme-fg-color5 { /* Yellow */ + color: #a18650; +} + +.theme-fg-color6 { /* Orange */ + color: #b26b47; +} + +.theme-fg-color7 { /* Red */ + color: #bf5656; +} diff --git a/src/chrome/browser/devtools/debugger-blackbox.png b/src/chrome/browser/devtools/debugger-blackbox.png Binary files differ. diff --git a/src/chrome/browser/devtools/debugger-collapse.png b/src/chrome/browser/devtools/debugger-collapse.png Binary files differ. diff --git a/src/chrome/browser/devtools/debugger-expand.png b/src/chrome/browser/devtools/debugger-expand.png Binary files differ. diff --git a/src/chrome/browser/devtools/debugger-pause.png b/src/chrome/browser/devtools/debugger-pause.png Binary files differ. diff --git a/src/chrome/browser/devtools/debugger-play.png b/src/chrome/browser/devtools/debugger-play.png Binary files differ. diff --git a/src/chrome/browser/devtools/debugger-step-in.png b/src/chrome/browser/devtools/debugger-step-in.png Binary files differ. diff --git a/src/chrome/browser/devtools/debugger-step-out.png b/src/chrome/browser/devtools/debugger-step-out.png Binary files differ. diff --git a/src/chrome/browser/devtools/debugger-step-over.png b/src/chrome/browser/devtools/debugger-step-over.png Binary files differ. diff --git a/src/chrome/browser/devtools/debugger.css b/src/chrome/browser/devtools/debugger.css @@ -0,0 +1,321 @@ +/* vim:set ts=2 sw=2 sts=2 et: */ +/* 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/. */ + +#body { + background: #fff; +} + +/* Sources and breakpoints pane */ + +#sources-pane { + min-width: 50px; +} + +#sources-pane + .devtools-side-splitter { + -moz-border-start-color: transparent; +} + +/* ListWidget items */ + +.list-widget-item { + padding: 2px; +} + +.list-widget-item:not(.selected):not(.empty):hover { + background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.85)), Highlight; +} + +.list-widget-item.selected.light { + background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.8)), Highlight; + color: #000; +} + +.list-widget-item.selected { + background: Highlight; + color: HighlightText; +} + +.list-widget-item.empty { + color: GrayText; + padding: 2px; +} + +/* Stack frames view */ + +.dbg-stackframe-details { + -moz-padding-start: 4px; +} + +.dbg-stackframe-menuitem[checked] { + margin-top: 3px; + margin-bottom: 3px; + outline: 1px solid #eee; + font-weight: 600; +} + +.dbg-stackframe-menuitem-details { + -moz-padding-start: 16px; +} + +/* Sources and breakpoints view */ + +.dbg-breakpoint { + font-family: monospace; +} + +.dbg-breakpoint-line { + font-weight: 600; +} + +.dbg-breakpoint-text { + -moz-margin-start: 10px !important; + font-style: italic; +} + +/* Watch expressions view */ + +#expressions { + min-height: 10px; + max-height: 125px; +} + +.dbg-expression { + height: 20px; +} + +.dbg-expression-arrow { + width: 16px; + height: auto; + background: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16); +} + +.dbg-expression-input { + -moz-padding-start: 2px !important; + font-family: Menlo, Monaco, monospace; +} + +/* Searchbox and the search operations help panel */ + +.devtools-searchinput { + min-width: 220px; + -moz-margin-start: 1px; +} + +#searchbox-panel-description { + margin-top: 0; + margin-bottom: 8px; + -moz-margin-start: 2px; +} + +.searchbox-panel-operator-button { + min-width: 26px; + margin-top: 0; + margin-bottom: 0; + -moz-margin-start: 2px; + -moz-margin-end: 6px; + text-align: center; + font-family: Menlo, Monaco, monospace; +} + +.searchbox-panel-operator-label { + padding-bottom: 2px; +} + +/* Searchbox results panel */ + +.results-panel { + padding: 4px; + opacity: 0.9; +} + +.results-panel-item { + background: #f4f4f4; + border: 1px solid #ddd; + border-top-color: #fff; + padding: 5px; + cursor: pointer; +} + +.results-panel-item:first-of-type { + border-top-color: #ddd; + border-radius: 4px 4px 0 0; +} + +.results-panel-item:last-of-type { + border-radius: 0 0 4px 4px; +} + +.results-panel-item:only-of-type { + border-radius: 4px; +} + +.results-panel-item:not(.selected):not(:hover) { + text-shadow: 0 1px #fff; +} + +.results-panel-item-pre { + -moz-margin-end: 5px !important; + color: #444; + cursor: inherit; +} + +.results-panel-item-name { + color: #111; + font-weight: 600; + cursor: inherit; +} + +.results-panel-item-details { + color: #7f7f7f; + cursor: inherit; +} + +/* Sources search view */ + +#globalsearch { + min-height: 10px; + box-shadow: inset 0 -4px 8px #eee; + background: url(background-noise-toolbar.png); +} + +#globalsearch > vbox:not(:empty) { + min-height: 10px; + max-height: 125px; +} + +#globalsearch + .devtools-horizontal-splitter { + -moz-border-top-colors: #bfbfbf; +} + +.dbg-source-results { + padding: 0; + background: none !important; +} + +.dbg-results-header { + -moz-padding-start: 6px; +} + +.dbg-results-header-location { + font-weight: 600; +} + +.dbg-results-header-match-count { + -moz-padding-start: 6px; + color: GrayText; +} + +.dbg-results-line-number { + background: #e2e2e2; + min-width: 40px; + -moz-border-end: 1px solid #b4c4d3; + -moz-padding-end: 4px; + padding-top: 2px; + text-align: end; + font-family: monospace; + color: #8c8c8c; +} + +.dbg-results-line-contents { + -moz-padding-start: 4px; + padding-top: 1px; + padding-bottom: 1px; + font-family: monospace; +} + +.dbg-results-line-contents-string { + padding: 1px; +} + +.dbg-results-line-contents-string[match=true] { + background: rgba(255,255,0,0.5); + padding: 0; + border: 1px solid #aaa; + border-radius: 4px; + cursor: pointer; +} + +.dbg-results-line-contents-string[match=true][focusing] { + transition: transform 0.3s ease-in-out; +} + +.dbg-results-line-contents-string[match=true][focused] { + transition-duration: 0.1s; + transform: scale(1.75, 1.75); +} + +/* Toolbar Controls */ + +#resumption-panel-desc { + width: 200px; +} + +#resumption-order-panel { + -moz-margin-start: -8px; +} + +#resume { + list-style-image: url("chrome://browser/skin/devtools/debugger-play.png"); + -moz-image-region: rect(0px,16px,16px,0px); +} + +#resume[checked] { + -moz-image-region: rect(0px,32px,16px,16px); +} + +#step-over { + list-style-image: url("chrome://browser/skin/devtools/debugger-step-over.png"); +} + +#step-in { + list-style-image: url("chrome://browser/skin/devtools/debugger-step-in.png"); +} + +#step-out { + list-style-image: url("chrome://browser/skin/devtools/debugger-step-out.png"); +} + +#debugger-controls > toolbarbutton { + margin: 0; + box-shadow: none; + border-radius: 0; + border-width: 0; + -moz-border-end-width: 1px; + outline-offset: -3px; +} + +#debugger-controls > toolbarbutton:last-of-type { + -moz-border-end-width: 0; +} + +#debugger-controls { + box-shadow: 0 1px 0 hsla(209,29%,72%,.15) inset, + 0 0 0 1px hsla(209,29%,72%,.1) inset, + 0 0 0 1px hsla(209,29%,72%,.1), + 0 1px 0 hsla(210,16%,76%,.1); + border: 1px solid hsla(210,8%,5%,.45); + border-radius: 3px; + margin: 0 3px; +} + +#instruments-pane-toggle { + background: none; + box-shadow: none; + border: none; + list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png"); + -moz-image-region: rect(0px,16px,16px,0px); +} + +#instruments-pane-toggle[pane-collapsed] { + list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png"); +} + +#instruments-pane-toggle:hover { + -moz-image-region: rect(0px,32px,16px,16px); +} + +#instruments-pane-toggle:hover:active { + -moz-image-region: rect(0px,48px,16px,32px); +} diff --git a/src/chrome/browser/devtools/dock-bottom.png b/src/chrome/browser/devtools/dock-bottom.png Binary files differ. diff --git a/src/chrome/browser/devtools/dock-side.png b/src/chrome/browser/devtools/dock-side.png Binary files differ. diff --git a/src/chrome/browser/devtools/dropmarker.png b/src/chrome/browser/devtools/dropmarker.png Binary files differ. diff --git a/src/chrome/browser/devtools/editor-breakpoint.png b/src/chrome/browser/devtools/editor-breakpoint.png Binary files differ. diff --git a/src/chrome/browser/devtools/editor-debug-location.png b/src/chrome/browser/devtools/editor-debug-location.png Binary files differ. diff --git a/src/chrome/browser/devtools/editor-error.png b/src/chrome/browser/devtools/editor-error.png Binary files differ. diff --git a/src/chrome/browser/devtools/floating-scrollbars-light.css b/src/chrome/browser/devtools/floating-scrollbars-light.css @@ -0,0 +1,10 @@ +/* vim:set ts=2 sw=2 sts=2 et: */ +/* 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("floating-scrollbars.css"); + +scrollbar thumb { + background-color: rgba(170,170,170,0.2) !important; +} diff --git a/src/chrome/browser/devtools/floating-scrollbars.css b/src/chrome/browser/devtools/floating-scrollbars.css @@ -0,0 +1,33 @@ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +scrollbar { + -moz-appearance: none !important; + position: relative; + background-color: transparent; + background-image: none; + z-index: 2147483647; + padding: 2px; +} + +scrollbar[orient="vertical"] { + -moz-margin-start: -10px; + min-width: 10px; + max-width: 10px; +} + +scrollbar[orient="horizontal"] { + margin-top: -10px; + min-height: 10px; + max-height: 10px; +} + +scrollbar thumb { + -moz-appearance: none !important; + border-width: 0px !important; + background-color: rgba(170,170,170,0.2) !important; + border-radius: 3px !important; +} + +scrollbar scrollbarbutton, scrollbar gripper { + display: none; +} diff --git a/src/chrome/browser/devtools/font-inspector.css b/src/chrome/browser/devtools/font-inspector.css @@ -0,0 +1,80 @@ +* { + box-sizing: border-box; +} + +body { + margin: 0; + padding-bottom: 20px; +} + +#all-fonts { + padding: 0 5px; + margin: 0; +} + +#showall { + border-radius: 0; + border: 1px solid black; + margin: 3px; + cursor: pointer; + position: fixed; + bottom: 0; + right: 0; +} + +.font { + padding: 10px 5px; + font-size: 0; +} + +.theme-dark .font { + border-bottom: 1px solid #444; +} + +.theme-light .font { + border-bottom: 1px solid #DDD; +} + +.font:last-of-type { + border-bottom: 0; +} + +.theme-light .font:nth-child(even) { + background: #F4F4F4; +} + +.font-preview { + height: 60px; + width: 100%; + border: 0; + display: block; +} + +.font-info { + font-size: 1rem; + display: block; +} + +.font-name { + display: inline; +} + +.font-css-code { + max-width: 100%; + overflow: hidden; + text-overflow: ellipsis; + padding: 5px; +} + +.theme-light .font-css-code, +.theme-light .font-url { + border: 1px solid #CCC; + background: white; +} + +.theme-dark .font-css-code, +.theme-dark .font-url { + border: 1px solid #333; + background: black; + color: white; +} diff --git a/src/chrome/browser/devtools/inspect-button.png b/src/chrome/browser/devtools/inspect-button.png Binary files differ. diff --git a/src/chrome/browser/devtools/inspector.css b/src/chrome/browser/devtools/inspector.css @@ -0,0 +1,35 @@ +/* vim:set ts=2 sw=2 sts=2 et: */ +/* 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/. */ + +#inspector-inspect-toolbutton { + list-style-image: url("chrome://browser/skin/devtools/inspect-button.png"); + -moz-image-region: rect(0px 16px 16px 0px); +} + +#inspector-inspect-toolbutton[checked=true] { + -moz-image-region: rect(0px 32px 16px 16px); +} + +#inspector-searchbox { + transition-property: max-width, -moz-padding-end, -moz-padding-start; + transition-duration: 250ms; + transition-timing-function: ease; +} + +#inspector-searchbox:not([focused]):not([filled]) > .textbox-input-box { + overflow: hidden; +} + +#inspector-searchbox:not([focused]):not([filled]) { + max-width: 20px !important; + -moz-padding-end: 6px; + -moz-padding-start: 22px; + background-position: 8px center, top left, top left; +} + +#inspector-searchbox[focused], +#inspector-searchbox[filled] { + max-width: 200px !important; +} diff --git a/src/chrome/browser/devtools/itemArrow-ltr.png b/src/chrome/browser/devtools/itemArrow-ltr.png Binary files differ. diff --git a/src/chrome/browser/devtools/itemArrow-rtl.png b/src/chrome/browser/devtools/itemArrow-rtl.png Binary files differ. diff --git a/src/chrome/browser/devtools/itemToggle.png b/src/chrome/browser/devtools/itemToggle.png Binary files differ. diff --git a/src/chrome/browser/devtools/layout-background-grid.png b/src/chrome/browser/devtools/layout-background-grid.png Binary files differ. diff --git a/src/chrome/browser/devtools/layoutview.css b/src/chrome/browser/devtools/layoutview.css @@ -0,0 +1,46 @@ +/* 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/. */ + +.theme-dark .theme-body { + background-image: url(layout-background-grid.png); +} + +.theme-light .theme-body { + background-image: url(layout-background-grid.png), radial-gradient(circle at 50% 70%, hsl(210,53%,45%) 0%, hsl(210,54%,33%) 100%); +} + +.theme-body { + color: hsl(210,100%,85%); + box-sizing: border-box; +} + +#main { + border-color: hsla(210,100%,85%,0.7); + border-style: dotted; +} + +#main > .border { + color: hsl(210,53%,45%); +} + +.border > span { + background-color: hsl(210,100%,85%); + border-radius: 2px; + padding: 0 4px; +} + +#content { + border-color: hsla(210,100%,85%,0.7); + border-style: dotted +} + +#padding { + border-color: hsla(210,100%,85%,0.2); + border-style: solid; +} + +#borders { + border-style: solid; + border-color: hsl(210,100%,85%); +} diff --git a/src/chrome/browser/devtools/light-theme.css b/src/chrome/browser/devtools/light-theme.css @@ -0,0 +1,104 @@ +/* vim:set ts=2 sw=2 sts=2 et: */ +/* 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/. */ + +/* According to: + * https://bugzilla.mozilla.org/show_bug.cgi?id=715472#c17 + */ +.theme-body { + background: white; + color: black; +} + +.theme-twisty { + cursor: pointer; + margin-right: 5px; +} + +.theme-twisty:-moz-focusring { + outline-style: none; +} + +.theme-twisty:not([open]) { + width: 0; + height: 0; + border-top: 5px solid transparent; + border-bottom: 5px solid transparent; + border-left: 5px solid rgba(0,0,0,0.5); + margin-left: 5px; +} + +.theme-twisty[open] { + width: 10px; + height: 10px; + background-image: linear-gradient(to bottom right, transparent 68%, rgba(0,0,0,0.5) 68%); +} + +.theme-checkbox { + display: inline-block; + border: 0; + width: 14px; + height: 14px; + padding: 0; + outline: none; + background: url("chrome://browser/skin/devtools/checkbox-light.png") no-repeat; +} + +.theme-checkbox[checked] { + background: url("chrome://browser/skin/devtools/checkbox-light.png") 14px 0; +} + +.theme-selected { + background-color: hsl(0,0%,90%); +} + +.theme-bg-darker { + background: #F9F9F9; +} + +.theme-link { /* blue */ + color: hsl(208,56%,40%); +} + +.theme-comment { /* grey */ + color: hsl(90,2%,46%); +} + +.theme-gutter { + background-color: hsl(0,0%,90%); + color: #667380; + border-color: hsl(0,0%,65%); +} + +.theme-separator { /* grey */ + border-color: #cddae5; +} + +.theme-fg-color1 { /* green */ + color: hsl(72,100%,27%); +} + +.theme-fg-color2 { /* blue */ + color: hsl(208,56%,40%); +} + +.theme-fg-color3 { /* dark blue */ + color: hsl(208,81%,21%) +} + +.theme-fg-color4 { /* Orange */ + color: hsl(24,85%,39%); +} + +.theme-fg-color5 { /* Yellow */ + color: #a18650; +} + +.theme-fg-color6 { /* Orange */ + color: hsl(24,85%,39%); +} + +.theme-fg-color7 { /* Red */ + color: #bf5656; +} diff --git a/src/chrome/browser/devtools/magnifying-glass.png b/src/chrome/browser/devtools/magnifying-glass.png Binary files differ. diff --git a/src/chrome/browser/devtools/markup-view.css b/src/chrome/browser/devtools/markup-view.css @@ -0,0 +1,44 @@ +/* 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/. */ + +* { + padding: 0; + margin: 0; +} + +.newattr { + cursor: pointer; +} + +.selected { + background-color: hsl(0,0%,90%); +} + +/* Give some padding to focusable elements to match the editor input + * that will replace them. */ +span[tabindex] { + display: inline-block; + padding: 1px 0; +} + +li.container { + position: relative; + padding: 2px 0 0 2px; +} + +.codebox { + padding-left: 14px; +} + +.expander { + position: absolute; +} + +.more-nodes { + padding-left: 16px; +} + +.styleinspector-propertyeditor { + border: 1px solid #CCC; +} diff --git a/src/chrome/browser/devtools/netmonitor.css b/src/chrome/browser/devtools/netmonitor.css @@ -0,0 +1,531 @@ +/* vim:set ts=2 sw=2 sts=2 et: */ +/* 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/. */ + +#body { + background: url(background-noise-toolbar.png), hsl(208,11%,27%); +} + +/* Network requests table */ + +#requests-menu-empty-notice { + background: url(background-noise-toolbar.png), hsl(208,11%,27%); + padding: 12px; + font-size: 110%; + color: #fff; +} + +#requests-menu-toolbar { + height: 33px; + padding: 0; +} + +.requests-menu-header:first-child { + -moz-padding-start: 4px; +} + +.requests-menu-subitem { + padding: 4px; +} + +.requests-menu-header:not(:last-child):-moz-locale-dir(ltr), +.requests-menu-subitem:not(:last-child):-moz-locale-dir(ltr) { + -moz-border-end: 1px solid hsla(210,8%,5%,.25); + box-shadow: 1px 0 0 hsla(210,16%,76%,.1); +} + +.requests-menu-header:not(:last-child):-moz-locale-dir(rtl), +.requests-menu-subitem:not(:last-child):-moz-locale-dir(rtl) { + -moz-border-end: 1px solid hsla(210,8%,5%,.25); + box-shadow: -1px 0 0 hsla(210,16%,76%,.1); +} + +.requests-menu-header-button { + -moz-appearance: none; + background: none; + min-width: 20px; + min-height: 32px; /* Remaining 1px comes from border of the toolbar. */ + margin: 0; + border: none; + padding: 0; + color: inherit; + font-weight: inherit !important; + transition: background-color 0.1s ease-in-out; +} + +.requests-menu-header-button:hover { + background: rgba(0,0,0,0.10); +} + +.requests-menu-header-button:hover:active { + background: rgba(0,0,0,0.25); +} + +.requests-menu-header-button:not(:active)[sorted] { + background: rgba(0,0,0,0.15); +} + +.requests-menu-header-button:not(:active)[sorted=ascending] { + background-image: radial-gradient(farthest-side at center top, hsla(200,100%,70%,.7), hsla(200,100%,70%,0.3)); + background-size: 100% 1px; + background-repeat: no-repeat; +} + +.requests-menu-header-button:not(:active)[sorted=descending] { + background-image: radial-gradient(farthest-side at center bottom, hsla(200,100%,70%,.7), hsla(200,100%,70%,0.3)); + background-size: 100% 1px; + background-repeat: no-repeat; + background-position: bottom; +} + +/* Network requests table: specific column dimensions */ + +.requests-menu-status-and-method { + width: 8em; +} + +.requests-menu-status { + width: 10px; + height: 10px; +} + +.requests-menu-method { + text-align: center; + font-weight: 600; +} + +.requests-menu-file { + width: 20vw; + min-width: 4em; +} + +.requests-menu-domain { + width: 14vw; + min-width: 10em; +} + +.requests-menu-type { + text-align: center; + width: 4em; +} + +.requests-menu-size { + text-align: center; + width: 8em; +} + +/* Network requests table: status codes */ + +box.requests-menu-status { + background: #fff; + -moz-margin-start: 5px; + -moz-margin-end: 5px; + border-radius: 20px; + box-shadow: + 0 0 0 1px rgba(255,255,255,0.4) inset, + 0 -6px 4px 0 rgba(32,32,32,1.0) inset, + 0 0 8px 0 rgba(32,0,0,0.4); + transition: box-shadow 0.5s ease-in-out; +} + +box.requests-menu-status[code^="1"] { + box-shadow: + 0 0 2px 1px rgba(255,255,255,0.8) inset, + 0 -6px 4px 0 rgba(0,0,64,1.0) inset, + 0 0 8px 0 rgba(0,0,128,1.0); +} + +box.requests-menu-status[code^="2"] { + box-shadow: + 0 0 2px 1px rgba(255,255,255,0.8) inset, + 0 -6px 4px 0 rgba(0,64,0,1.0) inset, + 0 0 8px 0 rgba(0,128,0,1.0); +} + +box.requests-menu-status[code^="3"] { + box-shadow: + 0 0 2px 1px rgba(255,255,255,0.8) inset, + 0 -6px 4px 0 rgba(64,32,0,1.0) inset, + 0 0 8px 0 rgba(128,128,0,1.0); +} + +box.requests-menu-status[code^="4"] { + box-shadow: + 0 0 2px 1px rgba(255,255,255,0.8) inset, + 0 -6px 4px 0 rgba(64,0,0,1.0) inset, + 0 0 8px 0 rgba(128,0,0,1.0); +} + +box.requests-menu-status[code^="5"] { + box-shadow: + 0 0 2px 1px rgba(255,255,255,0.8) inset, + 0 -6px 4px 0 rgba(64,0,64,1.0) inset, + 0 0 8px 0 rgba(128,0,128,1.0); +} + +/* Network requests table: waterfall header */ + +#requests-menu-waterfall-label { + -moz-padding-start: 8px; + -moz-padding-end: 8px; +} + +.requests-menu-timings-division { + width: 100px; + padding-top: 1px; + -moz-padding-start: 4px; + -moz-border-start: 1px dotted #999; + font-size: 90%; + pointer-events: none; +} + +.requests-menu-timings-division:not(:first-child) { + -moz-margin-start: -100px !important; /* Don't affect layout. */ +} + +.requests-menu-timings-division:-moz-locale-dir(ltr) { + transform-origin: left center; +} + +.requests-menu-timings-division:-moz-locale-dir(rtl) { + transform-origin: right center; +} + +/* Network requests table: waterfall items */ + +.requests-menu-subitem.requests-menu-waterfall { + -moz-padding-start: 4px; + -moz-padding-end: 4px; + background-repeat: repeat-y; /* Background created on a <canvas> in js. */ + margin-top: -1px; /* Compensate borders. */ + margin-bottom: -1px; +} + +.requests-menu-subitem.requests-menu-waterfall:-moz-locale-dir(rtl) { + background-position: right center; +} + +.requests-menu-timings:-moz-locale-dir(ltr) { + transform-origin: left center; +} + +.requests-menu-timings:-moz-locale-dir(rtl) { + transform-origin: right center; +} + +.requests-menu-timings-total:-moz-locale-dir(ltr) { + transform-origin: left center; +} + +.requests-menu-timings-total:-moz-locale-dir(rtl) { + transform-origin: right center; +} + +.requests-menu-timings-total { + -moz-padding-start: 8px; + font-size: 85%; + font-weight: 600; +} + +.requests-menu-timings-cap { + width: 4px; + height: 10px; + border: 1px solid #fff; +} + +.requests-menu-timings-cap.start { + -moz-border-end: none; +} + +.requests-menu-timings-cap.end { + -moz-border-start: none; +} + +.requests-menu-timings-cap.start:-moz-locale-dir(ltr) { + border-radius: 4px 0 0 4px; + transform-origin: right center; +} + +.requests-menu-timings-cap.start:-moz-locale-dir(rtl) { + border-radius: 0 4px 4px 0; + transform-origin: left center; +} + +.requests-menu-timings-cap.end:-moz-locale-dir(ltr) { + border-radius: 0 4px 4px 0; + transform-origin: left center; +} + +.requests-menu-timings-cap.end:-moz-locale-dir(rtl) { + border-radius: 4px 0 0 4px; + transform-origin: right center; +} + +.requests-menu-timings-box { + height: 10px; + border-top: 1px solid #fff; + border-bottom: 1px solid #fff; +} + +.requests-menu-timings-box.blocked, +.requests-menu-timings-cap.blocked { + background-color: rgba(255,32,32,0.8); + box-shadow: 0 0 8px 0 rgba(128,32,32,0.8), + 0 0 4px 0 rgba(255,255,255,1.0) inset; +} + +.requests-menu-timings-box.dns, +.requests-menu-timings-cap.dns { + background-color: rgba(255,128,255,0.6); + box-shadow: 0 0 8px 0 rgba(128,128,255,1.0), + 0 0 4px 0 rgba(255,255,255,1.0) inset; +} + +.requests-menu-timings-box.connect, +.requests-menu-timings-cap.connect { + background-color: rgba(255,128,16,0.4); + box-shadow: 0 0 8px 0 rgba(128,128,16,0.8), + 0 0 4px 0 rgba(255,255,255,1.0) inset; +} + +.requests-menu-timings-box.send, +.requests-menu-timings-cap.send { + background-color: rgba(255,255,128,0.4); + box-shadow: 0 0 8px 0 rgba(128,255,128,0.8), + 0 0 4px 0 rgba(255,255,255,1.0) inset; +} + +.requests-menu-timings-box.wait, +.requests-menu-timings-cap.wait { + background-color: rgba(255,255,255,0.2); + box-shadow: 0 0 8px 0 rgba(128,255,255,0.4), + 0 0 4px 0 rgba(255,255,255,1.0) inset; +} + +.requests-menu-timings-box.receive, +.requests-menu-timings-cap.receive { + background-color: rgba(255,255,255,1.0); + box-shadow: 0 0 8px 0 rgba(128,255,255,1.0), + 0 0 4px 0 rgba(255,255,255,1.0) inset; +} + +/* SideMenuWidget */ + +.side-menu-widget-item[odd] { + background: rgba(255,255,255,0.05); +} + +.side-menu-widget-item-contents { + padding: 0; +} + +/* Network request details */ + +#details-pane { + background: hsl(208,11%,27%); + max-width: 500px; +} + +#details-pane-toggle { + background: none; + box-shadow: none; + border-color: transparent; + list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png"); + -moz-image-region: rect(0px,16px,16px,0px); +} + +#details-pane-toggle[pane-collapsed] { + list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png"); +} + +#details-pane-toggle:active { + -moz-image-region: rect(0px,32px,16px,16px); +} + +/* Network request details tabpanels */ + +.tabpanel-content { + background: url(background-noise-toolbar.png), #3e4750; + box-shadow: 0 1px 0 hsla(204,45%,98%,.05) inset; + color: #fff; +} + +.tabpanel-summary-container { + padding: 1px; +} + +.tabpanel-summary-label { + -moz-padding-start: 4px; + -moz-padding-end: 3px; + font-weight: 600; + text-shadow: 0 1px 0 #000; + color: hsl(210,30%,85%); +} + +.tabpanel-summary-value { + -moz-padding-start: 3px; + font-family: Menlo, Monaco, monospace; +} + +.variable-or-property:not(:focus) > .title > .token-string { + color: #10c !important; +} + +/* Headers tabpanel */ + +#headers-summary-status, +#headers-summary-version { + padding-bottom: 2px; +} + +#headers-summary-size { + padding-top: 2px; +} + +/* Response tabpanel */ + +#response-content-info-header { + background: + url(background-noise-toolbar.png), + linear-gradient(hsl(0,61%,40%), hsl(0,61%,31%)) repeat-x top left; + box-shadow: + inset 0 1px 0 hsla(210,40%,83%,.15), + inset 0 -1px 0 hsla(210,40%,83%,.05); + margin: 0; + padding: 5px 8px; +} + +#response-content-image-box { + padding-top: 10px; + padding-bottom: 10px; +} + +#response-content-image { + background: #fff; + border: 1px dashed GrayText; + margin-bottom: 10px; +} + +/* Timings tabpanel */ + +#timings-tabpanel .tabpanel-summary-label { + width: 10em; +} + +#timings-tabpanel .requests-menu-timings-box { + transition: transform 0.2s ease-out; + min-width: 1px; +} + +#timings-tabpanel .requests-menu-timings-total { + transition: transform 0.2s ease-out; +} + +/* Footer */ + +#requests-menu-footer { + box-shadow: inset 0 1px 16px hsla(210,8%,5%,.3); +} + +.requests-menu-footer-button, +.requests-menu-footer-label { + min-width: 1em; + margin: 0; + border: none; + padding: 0px 1.5vw; + color: #fff; +} + +.requests-menu-footer-spacer { + min-width: 2px; +} + +.requests-menu-footer-spacer, +.requests-menu-footer-button { + -moz-border-end: 1px solid hsla(210,8%,5%,.25); + box-shadow: 1px 0 0 hsla(210,16%,76%,.1); +} + +.requests-menu-footer-button { + -moz-appearance: none; + background: rgba(0,0,0,0.025); +} + +.requests-menu-footer-button:hover { + background: rgba(0,0,0,0.20); +} + +.requests-menu-footer-button:hover:active { + background: rgba(0,0,0,0.35); +} + +.requests-menu-footer-button:not(:active)[checked] { + background-color: rgba(0,0,0,0.25); + background-image: radial-gradient(farthest-side at center top, hsla(200,100%,70%,.7), hsla(200,100%,70%,0.3)); + background-size: 100% 1px; + background-repeat: no-repeat; +} + +.requests-menu-footer-label { + font-weight: 600; +} + +/* Responsive sidebar */ +@media (max-width: 700px) { + #requests-menu-toolbar { + height: 24px; + } + + .requests-menu-header-button { + min-height: 23px; /* Remaining 1px comes from border of the toolbar. */ + } + + .requests-menu-footer-button, + .requests-menu-footer-label { + padding: 0px 2vw; + } + + #details-pane { + max-width: none; + margin: 0 !important; + /* To prevent all the margin hacks to hide the sidebar. */ + } + + .requests-menu-status-and-method { + width: 16vw; + } + + .requests-menu-file, + .requests-menu-domain { + width: 30vw; + } + + .requests-menu-type { + width: 8vw; + } + + .requests-menu-size { + width: 16vw; + border-width: 0 !important; + box-shadow: none !important; + /* The "Timeline" header is not visible anymore, and thus the + right border and box-shadow of "Size" column should be hidden. */ + } +} + +@media (min-width: 701px) { + #network-table[type-overflows] .requests-menu-domain { + border-width: 0 !important; + box-shadow: none !important; + /* The "Type" header is not visible anymore, and thus the + right border and box-shadow of "Domain" column should be hidden. */ + } + + #network-table[domain-overflows] .requests-menu-file { + border-width: 0 !important; + box-shadow: none !important; + /* The "Domain" header is not visible anymore, and thus the + right border and box-shadow of "File" column should be hidden. */ + } +} diff --git a/src/chrome/browser/devtools/noise.png b/src/chrome/browser/devtools/noise.png Binary files differ. diff --git a/src/chrome/browser/devtools/option-icon.png b/src/chrome/browser/devtools/option-icon.png Binary files differ. diff --git a/src/chrome/browser/devtools/orion-breakpoint.png b/src/chrome/browser/devtools/orion-breakpoint.png Binary files differ. diff --git a/src/chrome/browser/devtools/orion-container.css b/src/chrome/browser/devtools/orion-container.css @@ -0,0 +1,39 @@ +/* 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/. */ + +.viewTooltip { + display: none; /* TODO: add tooltips support, see bug 721752 */ + font-family: monospace; + font-size: 13px; + background-color: InfoBackground; + color: InfoText; + padding: 2px; + border-radius: 4px; + border: 1px solid black; + z-index: 100; + position: fixed; + overflow: hidden; + white-space: pre; +} + +.viewTooltip em { + font-style: normal; + font-weight: bold; +} + +.annotationHTML { + cursor: pointer; + width: 16px; + height: 16px; + display: inline-block; + vertical-align: middle; + background-position: center; + background-repeat: no-repeat; +} +.annotationHTML.task { + background-image: url("chrome://browser/skin/devtools/orion-task.png"); +} +.annotationHTML.breakpoint { + background-image: url("chrome://browser/skin/devtools/orion-breakpoint.png"); +} diff --git a/src/chrome/browser/devtools/orion-debug-location.png b/src/chrome/browser/devtools/orion-debug-location.png Binary files differ. diff --git a/src/chrome/browser/devtools/orion-error.png b/src/chrome/browser/devtools/orion-error.png Binary files differ. diff --git a/src/chrome/browser/devtools/orion-task.png b/src/chrome/browser/devtools/orion-task.png Binary files differ. diff --git a/src/chrome/browser/devtools/orion.css b/src/chrome/browser/devtools/orion.css @@ -0,0 +1,199 @@ +/* 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/. */ + +.viewContainer { + background: hsl(0,0%,89%); /* This will be seen as the continuation of the ruler */ + font-family: monospace; + font-size: inherit; /* inherit browser's default monospace font size */ +} + +.view { + color: black; /* Default text color */ + background: white; /* Background of the editor */ + padding-left: 4px; +} + +.readonly > .view { + background: #fdfefd; /* super light green */ +} + +.ruler { + background: hsl(0,0%,89%); + color: hsl(0,0%,55%); +} +.ruler.annotations { + width: 16px; + padding-left: 4px; +} +.ruler.lines { + border-right: 1px solid #b4c4d3; + min-width: 1.4em; + padding-left: 4px; + padding-right: 4px; + text-align: end; +} + +.ruler.linesWithAnnotations { + min-width: 0; + padding-left: 0; +} + +.ruler.overview { + border-left: 1px solid #b4c4d3; + width: 14px; + text-align: start; +} + +/* Styles for the annotation ruler (first line) */ +.annotationHTML { + cursor: pointer; + width: 16px; + height: 16px; + display: inline-block; + vertical-align: middle; + background-position: center; + background-repeat: no-repeat; +} +.annotation.task .annotationHTML { + background-image: url("chrome://browser/skin/devtools/orion-task.png"); +} +.annotation.breakpoint .annotationHTML { + background-image: url("chrome://browser/skin/devtools/orion-breakpoint.png"); +} +.annotation.debugLocation .annotationHTML { + background-image: url("chrome://browser/skin/devtools/orion-debug-location.png"); +} +.annotation.breakpoint.debugLocation .annotationHTML, +.annotation.task.debugLocation .annotationHTML { + background-position: center, center; + background-repeat: no-repeat, no-repeat; + background-size: 75%, 100%; +} +.annotation.breakpoint.debugLocation .annotationHTML { + background-image: url("chrome://browser/skin/devtools/orion-debug-location.png"), + url("chrome://browser/skin/devtools/orion-breakpoint.png"); +} + +.annotation.task.debugLocation .annotationHTML { + background-image: url("chrome://browser/skin/devtools/orion-debug-location.png"), + url("chrome://browser/skin/devtools/orion-task.png"); +} + +/* Styles for the overview ruler */ +.annotationOverview { + cursor: pointer; + border-radius: 2px; + left: 2px; + width: 8px; +} +.annotationOverview.task { + background-color: lightgreen; + border: 1px solid green; +} +.annotationOverview.breakpoint { + background-color: lightblue; + border: 1px solid blue; +} +.annotationOverview.debugLocation { + background-color: white; + border: 1px solid green; +} +.annotationOverview.currentBracket { + background-color: lightgray; + border: 1px solid red; +} +.annotationOverview.matchingBracket { + background-color: lightgray; + border: 1px solid red; +} + +/* Styles for text range */ +.annotationRange { + background-repeat: repeat-x; + background-position: left bottom; +} +.annotationRange.task { + outline: 1px dashed rgba(0, 255, 0, 0.5); +} +.annotationRange.matchingBracket { + outline: 1px solid grey; +} + +.token_singleline_comment, +.token_multiline_comment, +.token_doc_comment { + color: hsl(90,2%,50%); /* grey */ +} + +.token_doc_html_markup { + color: #dd0058; /* purple */ +} + +.token_doc_tag { + color: #dd0058; /* purple */ +} + +.token_task_tag { /* "TODO" */ + color: black; + background: yellow; +} + +.token_string { + color: hsl(72,100%,27%); /* green */ + font-style: italic; +} + +.token_keyword { + color: hsl(276,44%,45%); /* purple */ +} + +.token_space { + /* images/white_space.png */ + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAIAAABv85FHAAAABnRSTlMA/wAAAACkwsAdAAAAIUlEQVR4nGP4z8CAC+GUIEXuABhgkTuABEiRw2cmae4EAH05X7xDolNRAAAAAElFTkSuQmCC"); + background-repeat: no-repeat; + background-position: center center; +} + +.token_tab { + /* images/white_tab.png */ + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAJCAIAAACJ2loDAAAABnRSTlMA/wD/AP83WBt9AAAAMklEQVR4nGP4TwRgoK6i52c3bz5w6zMSA6tJn28d2Lx589nnCAYu63AaSLxJRLoJPwAAeNk0aG4opfMAAAAASUVORK5CYII="); + background-repeat: no-repeat; + background-position: left center; +} + +.line_caret, +.annotationLine.currentLine { /* Current line */ + background: hsl(208, 93%, 94%); +} + +.readonly .line_caret, +.readonly .annotationLine.currentLine { + background: hsl(208, 80%, 90%); +} + +/* Styling for html syntax highlighting */ +.entity-name-tag { + color: hsl(208,48%,40%); /* blue */ +} + +.entity-other-attribute-name { + color: hsl(208,48%,40%); /* blue */ +} + +.punctuation-definition-comment { + color: hsl(90,2%,50%); /* grey */ +} + +.comment { + color: hsl(90,2%,50%); /* grey */ +} + +.string-quoted { + color: hsl(24,85%,39%); /* orange */ +} + +.invalid { + color: red; + font-weight: bold; +} diff --git a/src/chrome/browser/devtools/profiler-stopwatch.png b/src/chrome/browser/devtools/profiler-stopwatch.png Binary files differ. diff --git a/src/chrome/browser/devtools/profiler.css b/src/chrome/browser/devtools/profiler.css @@ -0,0 +1,42 @@ +/* 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/. */ + + +.profiler-sidebar { + min-width: 196px; +} + +.profiler-sidebar + .devtools-side-splitter { + -moz-border-start-color: transparent; +} + +.profiler-sidebar-item { + padding: 3px 5px; +} + +.profiler-sidebar-item > h3 { + font-size: 13px; + display: block; +} + +.profiler-sidebar-item > span { + margin-top: 2px; + color: rgb(140, 152, 165); +} + +.selected .profiler-sidebar-item > span { + color: rgb(128, 195, 228); +} + +.devtools-toolbar { + height: 26px; + padding: 3px; +} + +.devtools-toolbar .devtools-toolbarbutton { + min-width: 48px; + min-height: 0; + font-size: 11px; + padding: 0px 8px; +} +\ No newline at end of file diff --git a/src/chrome/browser/devtools/responsive-background.png b/src/chrome/browser/devtools/responsive-background.png Binary files differ. diff --git a/src/chrome/browser/devtools/responsive-horizontal-resizer.png b/src/chrome/browser/devtools/responsive-horizontal-resizer.png Binary files differ. diff --git a/src/chrome/browser/devtools/responsive-se-resizer.png b/src/chrome/browser/devtools/responsive-se-resizer.png Binary files differ. diff --git a/src/chrome/browser/devtools/responsive-vertical-resizer.png b/src/chrome/browser/devtools/responsive-vertical-resizer.png Binary files differ. diff --git a/src/chrome/browser/devtools/responsiveui-rotate.png b/src/chrome/browser/devtools/responsiveui-rotate.png Binary files differ. diff --git a/src/chrome/browser/devtools/responsiveui-screenshot.png b/src/chrome/browser/devtools/responsiveui-screenshot.png Binary files differ. diff --git a/src/chrome/browser/devtools/responsiveui-touch.png b/src/chrome/browser/devtools/responsiveui-touch.png Binary files differ. diff --git a/src/chrome/browser/devtools/ruleview.css b/src/chrome/browser/devtools/ruleview.css @@ -0,0 +1,131 @@ +/* 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/. */ + +.ruleview { + height: 100%; +} + +.ruleview-rule-source { + -moz-padding-start: 5px; + cursor: pointer; + text-align: right; + float: right; + -moz-user-select: none; +} + +.ruleview-rule-inheritance { + border-top-width: 1px; + border-bottom-width: 1px; + border-top-style: solid; + border-bottom-style: solid; + padding: 1px 4px; + margin-top: 4px; + -moz-user-select: none; +} + +.ruleview-rule-source:hover { + text-decoration: underline; +} + +.ruleview-rule, +#noResults { + padding: 2px 4px; +} + +#noResults { + font: message-box; + color: GrayText; +} + +.ruleview-rule + .ruleview-rule { + border-top-width: 1px; + border-top-style: dotted; +} + +.ruleview-warning { + background: url("chrome://browser/skin/devtools/alerticon-warning.png"); + -moz-margin-start: 5px; + vertical-align: middle; + width: 13px; + height: 12px; +} + +.ruleview-ruleopen { + -moz-padding-end: 5px; +} + +.ruleview-ruleclose { + cursor: text; + padding-right: 20px; +} + +.ruleview-propertylist { + list-style: none; + padding: 0; + margin: 0; +} + +.ruleview-rule:not(:hover) .ruleview-enableproperty { + visibility: hidden; +} + +.ruleview-expander { + display: inline-block; +} + +.ruleview-newproperty { + /* (enable checkbox width: 12px) + (expander width: 15px) */ + -moz-margin-start: 27px; +} + +.ruleview-namecontainer, +.ruleview-propertycontainer, +.ruleview-propertyname, +.ruleview-propertyvalue { + text-decoration: inherit; +} + +.ruleview-computedlist { + list-style: none; + padding: 0; +} + +.ruleview-computed { + -moz-margin-start: 35px; +} + +.ruleview-overridden { + text-decoration: line-through; +} + +.styleinspector-propertyeditor { + border: 1px solid #CCC; + padding: 0; +} + +.ruleview-property { + border-left: 2px solid transparent; +} + +.ruleview-property > * { + vertical-align: middle; +} + +.ruleview-property[dirty] { + border-left-color: #68E268; +} + +.ruleview-namecontainer > .ruleview-propertyname, +.ruleview-propertycontainer > .ruleview-propertyvalue { + border-bottom: 1px dashed transparent; +} + +.ruleview-namecontainer:hover > .ruleview-propertyname, +.ruleview-propertycontainer:hover > .ruleview-propertyvalue { + border-bottom-color: hsl(0,0%,50%); +} + +.ruleview-selector-separator, .ruleview-selector-unmatched { + color: #888; +} diff --git a/src/chrome/browser/devtools/scratchpad.css b/src/chrome/browser/devtools/scratchpad.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/. */ + + +#scratchpad-sidebar > tabs { + height: 0; + border: none; +} diff --git a/src/chrome/browser/devtools/shadereditor.css b/src/chrome/browser/devtools/shadereditor.css @@ -0,0 +1,138 @@ +/* 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/. */ + +/* 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/. */ + +#body { + background: url(background-noise-toolbar.png), hsl(208,11%,27%); +} + +#content { + background: #fff; +} + +/* Reload and waiting notices */ + +.notice-container { + background: transparent; + margin-top: -50vh; + color: #fff; +} + +#reload-notice { + font-size: 120%; +} + +#waiting-notice { + font-size: 110%; +} + +#waiting-notice::before { + display: inline-block; + content: ""; + background: url("chrome://global/skin/icons/loading_16.png") center no-repeat; + width: 16px; + height: 16px; + -moz-margin-end: 6px; +} + +#requests-menu-reload-notice-button { + min-height: 2em; +} + +/* Shaders pane */ + +#shaders-pane { + min-width: 150px; +} + +#shaders-pane + .devtools-side-splitter { + -moz-border-start-color: transparent; +} + +.side-menu-widget-item-checkbox { + -moz-appearance: none; + opacity: 0; + transition: opacity .15s ease-out 0s; +} + +/* Only show the checkbox when the source is hovered over, is selected, or if it + * is not checked. */ +.side-menu-widget-item:hover > .side-menu-widget-item-checkbox, +.side-menu-widget-item.selected > .side-menu-widget-item-checkbox, +.side-menu-widget-item-checkbox:not([checked]) { + opacity: 1; + transition: opacity .15s ease-out 0s; +} + +.side-menu-widget-item-checkbox .checkbox-check { + -moz-appearance: none; + background: none; + background-image: url(itemToggle.png); + background-repeat: no-repeat; + background-clip: content-box; + background-size: 32px 16px; + background-position: -16px 0; + width: 16px; + height: 16px; + border: 0; +} + +.side-menu-widget-item-checkbox[checked] .checkbox-check { + background-position: 0 0; +} + +.side-menu-widget-item-checkbox:not([checked]) ~ .side-menu-widget-item-contents { + color: #888; +} + +/* Shader source editors */ + +#editors-splitter { + -moz-border-start-color: rgb(61,69,76); +} + +.editor-label { + background: url(background-noise-toolbar.png), hsl(208,11%,27%); + border-top: 1px solid #222426; + padding: 1px 12px; + color: #fff; +} + +.editor-label[selected] { + background: linear-gradient(hsl(206,61%,40%), hsl(206,61%,31%)) repeat-x top left; + box-shadow: inset 0 1px 0 hsla(210,40%,83%,.15), + inset 0 -1px 0 hsla(210,40%,83%,.05); +} + +/* Responsive sidebar */ + +@media (max-width: 700px) { + #shaders-pane { + max-height: 60vh; + } + + .side-menu-widget-container { + box-shadow: none !important; + } + + .side-menu-widget-item-arrow { + background-image: none !important; + } + + .devtools-side-splitter { + border-top-color: transparent !important; + } + + .editor-label { + -moz-box-ordinal-group: 0; + } + + .editor-label:not([selected]) { + border-top: 1px solid hsla(210,8%,5%,.25); + box-shadow: inset 0 1px 0 hsla(210,40%,83%,.15); + } +} diff --git a/src/chrome/browser/devtools/splitview.css b/src/chrome/browser/devtools/splitview.css @@ -0,0 +1,115 @@ +/* vim:set ts=2 sw=2 sts=2 et: */ +/* 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/. */ + +.splitview-nav-container { + background-color: hsl(211,21%,26%); + color: white; +} + +.loading .splitview-nav-container { + background-image: url(chrome://global/skin/icons/loading_16.png); + background-repeat: no-repeat; + background-position: center center; +} + +.splitview-nav { + -moz-appearance: none; + margin: 0; + box-shadow: inset -1px 0 0 #222426; +} + +.splitview-nav > li { + color: white; + background-clip: padding-box; + border-bottom: 1px solid hsla(210,40%,83%,.1); + box-shadow: inset 0 -1px 0 hsla(211,68%,6%,.3); + -moz-padding-end: 8px; + -moz-box-align: center; +} + +.splitview-nav { + list-style-image: none; + list-style: none; + padding: 0; + margin: 0; +} + +.splitview-nav > li { + outline: 0; + vertical-align: bottom; +} + +.placeholder { + -moz-box-flex: 1; + text-align: center; +} + +.splitview-nav > li.splitview-active { + background-image: url(itemArrow-ltr.png), + linear-gradient(to right, black, black), + linear-gradient(hsl(200,100%,33%), hsl(200,100%,25%)); + background-repeat: no-repeat, no-repeat, repeat-x; + background-position: center right, top right, top left; + background-size: auto, 1px 100%, auto; + border-bottom: 1px solid hsla(210,8%,5%,.25); + box-shadow: inset 0 1px 0 hsla(210,40%,83%,.15), + inset 0 -1px 0 hsla(210,40%,83%,.05); +} + +.splitview-nav > li.splitview-active:-moz-locale-dir(rtl) { + background-image: url(itemArrow-rtl.png), + linear-gradient(to right, black, black), + linear-gradient(hsl(200,100%,33%), hsl(200,100%,25%)); + background-repeat: no-repeat, no-repeat, repeat-x; + background-position: center left, top left, top right; +} + +/* Toolbars */ + +.devtools-toolbar { + height: 26px; + background-origin: border-box; + background-clip: border-box; + border-top-width: 0; + border-bottom: 1px solid hsla(210,8%,5%,.65); + padding: 3px; +} + +.splitview-main > toolbar:-moz-locale-dir(ltr) { + border-right: 1px solid hsla(210,8%,5%,.5); +} + +.splitview-main > toolbar:-moz-locale-dir(rtl) { + border-left: 1px solid hsla(210,8%,5%,.5); +} + +.devtools-toolbarbutton { + font-size: 11px; + padding: 0 8px; + width: auto; + min-width: 48px; + min-height: 0; +} + + +/* Resizers */ + +.splitview-landscape-splitter { + -moz-border-start-color: transparent; +} + +.splitview-portrait-resizer { + -moz-appearance: none; + background: linear-gradient(black 1px, rgba(255,255,255,0.2) 1px), + linear-gradient(hsl(209,18%,34%), hsl(210,24%,16%)); + height: 12px; + background-size: 10px 2px, 100% 12px; + background-clip: content-box, border-box; + background-repeat: repeat-y, no-repeat; + background-position: center center; + padding: 2px 0; + border-top: 1px solid hsla(210,8%,5%,.5); + border-bottom: 1px solid hsla(210,8%,5%,.5); +} diff --git a/src/chrome/browser/devtools/styleeditor.css b/src/chrome/browser/devtools/styleeditor.css @@ -0,0 +1,131 @@ +/* vim:set ts=2 sw=2 sts=2 et: */ +/* 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/. */ + +#style-editor-chrome { + background-color: hsl(211,21%,26%); +} + +.stylesheet-title, +.stylesheet-name { + text-decoration: none; + color: hsl(210,30%,85%); +} + +.stylesheet-name { + font-size: 13px; +} + +.stylesheet-rule-count, +.stylesheet-saveButton { + color: hsl(210,16%,53%); +} + +.stylesheet-saveButton { + text-decoration: underline; + cursor: pointer; +} + +.splitview-active .stylesheet-title, +.splitview-active .stylesheet-name { + color: hsl(0,0%,100%); +} + +.splitview-active .stylesheet-rule-count, +.splitview-active .stylesheet-saveButton { + color: hsl(205,50%,70%); +} + +.splitview-nav:focus { + outline: 0; /* focus ring is on the stylesheet name */ +} + +.splitview-nav > li.unsaved > hgroup .stylesheet-name { + font-style: italic; +} + +.splitview-nav:-moz-locale-dir(ltr) > li.unsaved > hgroup .stylesheet-name:before, +.splitview-nav:-moz-locale-dir(rtl) > li.unsaved > hgroup .stylesheet-name:after { + font-style: italic; +} + +.splitview-nav.empty > p { + padding: 0 10px; +} + +.stylesheet-enabled { + padding: 8px 0; + margin: 0 8px; + background-image: url(itemToggle.png); + background-repeat: no-repeat; + background-clip: content-box; + background-position: 0 8px; + width: 24px; + height: 40px; +} + +.disabled > .stylesheet-enabled { + background-position: -24px 8px; +} + +.splitview-nav > li > .stylesheet-enabled:focus, +.splitview-nav > li:hover > .stylesheet-enabled { + outline: 0; +} + +.stylesheet-error-message { + color: red; +} + +.stylesheet-more > h3 { + font-size: 11px; + -moz-margin-end: 2px; +} + +.devtools-searchinput { + max-width: 25ex; + font-size: 11px; +} + +.placeholder { + color: white; +} + +.placeholder a { + text-decoration: underline; +} + +h1, +h2, +h3 { + font-size: inherit; + font-weight: normal; + margin: 0; + padding: 0; +} + +/* portrait mode */ +@media (max-width: 550px) { + .splitview-nav { + box-shadow: none; + } + + .splitview-nav > li.splitview-active { + background-size: 0 0, 0 0, auto; + } + + .stylesheet-enabled { + padding: 0; + background-position: 0 0; + height: 24px; + } + + .disabled > .stylesheet-enabled { + background-position: -24px 0; + } + + .splitview-nav > li > hgroup.stylesheet-info { + -moz-box-align: baseline; + } +} diff --git a/src/chrome/browser/devtools/toggle-tools.png b/src/chrome/browser/devtools/toggle-tools.png Binary files differ. diff --git a/src/chrome/browser/devtools/tool-debugger-paused.png b/src/chrome/browser/devtools/tool-debugger-paused.png Binary files differ. diff --git a/src/chrome/browser/devtools/tool-debugger.png b/src/chrome/browser/devtools/tool-debugger.png Binary files differ. diff --git a/src/chrome/browser/devtools/tool-inspector.png b/src/chrome/browser/devtools/tool-inspector.png Binary files differ. diff --git a/src/chrome/browser/devtools/tool-network.png b/src/chrome/browser/devtools/tool-network.png Binary files differ. diff --git a/src/chrome/browser/devtools/tool-options.png b/src/chrome/browser/devtools/tool-options.png Binary files differ. diff --git a/src/chrome/browser/devtools/tool-profiler.png b/src/chrome/browser/devtools/tool-profiler.png Binary files differ. diff --git a/src/chrome/browser/devtools/tool-scratchpad.png b/src/chrome/browser/devtools/tool-scratchpad.png Binary files differ. diff --git a/src/chrome/browser/devtools/tool-styleeditor.png b/src/chrome/browser/devtools/tool-styleeditor.png Binary files differ. diff --git a/src/chrome/browser/devtools/tool-webconsole.png b/src/chrome/browser/devtools/tool-webconsole.png Binary files differ. diff --git a/src/chrome/browser/devtools/toolbox.css b/src/chrome/browser/devtools/toolbox.css @@ -0,0 +1,282 @@ +/* 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/. */ + +#toolbox-controls { + margin: 0 4px; +} + +#toolbox-controls > toolbarbutton, +#toolbox-dock-buttons > toolbarbutton { + -moz-appearance: none; + border: none; + margin: 0 4px; + min-width: 16px; + width: 16px; +} + +#toolbox-dock-bottom { + list-style-image: url("chrome://browser/skin/devtools/dock-bottom.png"); +} + +#toolbox-dock-side { + list-style-image: url("chrome://browser/skin/devtools/dock-side.png"); +} + +#toolbox-dock-window { + list-style-image: url("chrome://browser/skin/devtools/undock.png"); +} + +#toolbox-dock-window, +#toolbox-dock-bottom, +#toolbox-dock-side { + opacity: 0.6; +} + +#toolbox-dock-window:hover, +#toolbox-dock-bottom:hover, +#toolbox-dock-side:hover { + opacity: 1; +} + +#toolbox-controls-separator { + width: 3px; + background-image: linear-gradient(hsla(204,45%,98%,0), hsla(204,45%,98%,.1), hsla(204,45%,98%,0)), + linear-gradient(hsla(206,37%,4%,0), hsla(206,37%,4%,.6), hsla(206,37%,4%,0)), + linear-gradient(hsla(204,45%,98%,0), hsla(204,45%,98%,.1), hsla(204,45%,98%,0)); + background-size: 1px 100%; + background-repeat: no-repeat; + background-position: 0, 1px, 2px; + -moz-margin-start: 8px; +} + + +/* Command buttons */ + +.command-button { + -moz-appearance: none; + border: none; + margin: 0; + padding: 0 8px; + width: 16px; +} + +.command-button:hover { + background-color: hsla(206,37%,4%,.2); +} +.command-button:hover:active, .command-button[checked=true]:not(:hover) { + background-color: hsla(206,37%,4%,.4); +} + +#command-button-paintflashing { + list-style-image: url("chrome://browser/skin/devtools/command-paintflashing.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); +} +#command-button-paintflashing:hover { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} +#command-button-paintflashing:hover:active { + -moz-image-region: rect(0px, 48px, 16px, 32px); +} +#command-button-paintflashing[checked=true] { + -moz-image-region: rect(0px, 64px, 16px, 48px); +} + +#command-button-responsive { + list-style-image: url("chrome://browser/skin/devtools/command-responsivemode.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); +} +#command-button-responsive:hover { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} +#command-button-responsive:hover:active { + -moz-image-region: rect(0px, 48px, 16px, 32px); +} +#command-button-responsive[checked=true] { + -moz-image-region: rect(0px, 64px, 16px, 48px); +} + +#command-button-tilt { + list-style-image: url("chrome://browser/skin/devtools/command-tilt.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); +} +#command-button-tilt:hover { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +#command-button-tilt:hover:active { + -moz-image-region: rect(0px, 48px, 16px, 32px); +} + +#command-button-tilt[checked=true] { + -moz-image-region: rect(0px, 64px, 16px, 48px); +} + +#command-button-scratchpad { + list-style-image: url("chrome://browser/skin/devtools/command-scratchpad.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); +} + +#command-button-scratchpad:hover { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +#command-button-scratchpad:hover:active { + -moz-image-region: rect(0px, 48px, 16px, 32px); +} + +/* Tabs */ + +.devtools-tabbar { + -moz-appearance: none; + background-image: url("background-noise-toolbar.png"), + linear-gradient(#303840, #2d3640); + border-bottom: 1px solid #060a0d; + box-shadow: 0 1px 0 hsla(204,45%,98%,.05) inset, + 0 -1px 0 hsla(206,37%,4%,.1) inset; + min-height: 32px; + padding: 0; +} + +#toolbox-tabs { + margin: 0; +} + +.devtools-tab { + -moz-appearance: none; + min-width: 32px; + min-height: 32px; + max-width: 110px; + color: #b6babf; + margin: 0; + padding: 0; + background-image: linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)), + linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)); + background-size: 1px 100%; + background-repeat: no-repeat; + background-position: left, right; + border-top: 1px solid #060a0d; + border-right: 1px solid hsla(206,37%,4%,.45); +} + +.devtools-tab > image { + -moz-margin-end: 0; + -moz-margin-start: 4px; + opacity: 0.6; +} + +#toolbox-tab-options > image { + margin: 0 8px; +} + +.devtools-tab:hover > image { + opacity: 0.8; +} + +.devtools-tab:active > image, +.devtools-tab[selected=true] > image { + opacity: 1; +} + +.devtools-tab:hover { + background-image: linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)), + linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)), + linear-gradient(hsla(206,37%,4%,.1), hsla(206,37%,4%,.2)); + background-size: 1px 100%, + 1px 100%, + 100%; + background-repeat: no-repeat, + no-repeat, + repeat-x; + background-position: left, right; + color: #ced3d9; +} +.devtools-tab:hover:active { + background-color: hsla(206,37%,4%,.2); + color: #f5f7fa; +} + +.devtools-tab[selected=true] { + color: #f5f7fa; + background-image: radial-gradient(farthest-corner at center top, #9fdfff, hsla(200,100%,70%,.3)), + radial-gradient(farthest-side at center top, hsla(200,100%,70%,.4), hsla(200,100%,70%,0)), + linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)), + linear-gradient(hsla(204,45%,98%,.02), hsla(204,45%,98%,.04)), + linear-gradient(hsla(206,37%,4%,.2), hsla(206,37%,4%,.3)); + background-size: 100% 1px, + 100% 5px, + 1px 100%, + 1px 100%, + 100%; + background-repeat: no-repeat, + no-repeat, + no-repeat, + no-repeat, + repeat-x; + background-position: top right, top left, left, right; + box-shadow: 1px -1px 0 hsla(206,37%,4%,.2) inset; +} + +.devtools-tab:not([selected=true]).highlighted { + color: #f5f7fa; + background-image: radial-gradient(farthest-corner at center top, #c0ff40, hsla(80,100%,63%,.5) 70%, hsla(80,100%,63%,.3) 97%), + radial-gradient(farthest-side at center top, hsla(80,100%,35%,.5), hsla(80,100%,35%,0)), + linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)), + linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)), + linear-gradient(hsla(99,100%,14%,.2), hsla(99,100%,14%,.2)); + background-size: 100% 1px, + 100% 5px, + 1px 100%, + 1px 100%, + 100%; + background-repeat: no-repeat, + no-repeat, + no-repeat, + no-repeat, + repeat-x; + background-position: top right, top left, left, right; +} + +.devtools-tab:not(.highlighted) > .highlighted-icon, +.devtools-tab[selected=true] > .highlighted-icon, +.devtools-tab:not([selected=true]).highlighted > .default-icon { + visibility: collapse; +} + +#options-panel { + background-image: url("chrome://browser/skin/newtab/noise.png"); +} + +.options-vertical-pane { + margin: 15px; + width: calc(50% - 30px); + min-width: 400px; + -moz-padding-start: 5px; +} + +.options-vertical-pane > label { + padding: 5px 0; + font-size: 1.4rem; +} + +.options-groupbox { + -moz-margin-start: 15px; + padding: 4px; +} + +.options-groupbox > * { + padding: 2px; +} + +.options-citation-label { + font-size: 1rem !important; + /* !important is required otherwise font-size will still be 1.4rem */ + font-style: italic; + padding: 4px 0 0; /* To align it with the checkbox */ + color: #444; +} + +.options-citation-label + label { + padding: 3px 0 0 !important; /* To align it with the checkbox */ + font-style: italic; +} diff --git a/src/chrome/browser/devtools/tooltip/arrow-horizontal-dark.png b/src/chrome/browser/devtools/tooltip/arrow-horizontal-dark.png Binary files differ. diff --git a/src/chrome/browser/devtools/tooltip/arrow-horizontal-dark@2x.png b/src/chrome/browser/devtools/tooltip/arrow-horizontal-dark@2x.png Binary files differ. diff --git a/src/chrome/browser/devtools/tooltip/arrow-horizontal-light.png b/src/chrome/browser/devtools/tooltip/arrow-horizontal-light.png Binary files differ. diff --git a/src/chrome/browser/devtools/tooltip/arrow-horizontal-light@2x.png b/src/chrome/browser/devtools/tooltip/arrow-horizontal-light@2x.png Binary files differ. diff --git a/src/chrome/browser/devtools/tooltip/arrow-vertical-dark.png b/src/chrome/browser/devtools/tooltip/arrow-vertical-dark.png Binary files differ. diff --git a/src/chrome/browser/devtools/tooltip/arrow-vertical-dark@2x.png b/src/chrome/browser/devtools/tooltip/arrow-vertical-dark@2x.png Binary files differ. diff --git a/src/chrome/browser/devtools/tooltip/arrow-vertical-light.png b/src/chrome/browser/devtools/tooltip/arrow-vertical-light.png Binary files differ. diff --git a/src/chrome/browser/devtools/tooltip/arrow-vertical-light@2x.png b/src/chrome/browser/devtools/tooltip/arrow-vertical-light@2x.png Binary files differ. diff --git a/src/chrome/browser/devtools/undock.png b/src/chrome/browser/devtools/undock.png Binary files differ. diff --git a/src/chrome/browser/devtools/vview-delete.png b/src/chrome/browser/devtools/vview-delete.png Binary files differ. diff --git a/src/chrome/browser/devtools/vview-edit.png b/src/chrome/browser/devtools/vview-edit.png Binary files differ. diff --git a/src/chrome/browser/devtools/webconsole.css b/src/chrome/browser/devtools/webconsole.css @@ -0,0 +1,293 @@ +/* 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/. */ + +/* 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/. */ + +/* General output styles */ + +.webconsole-timestamp { + color: GrayText; + margin-top: 0; + margin-bottom: 0; + font-family: monospace; +} + +.hud-msg-node { + list-style-image: url(chrome://browser/skin/devtools/webconsole.png); + -moz-image-region: rect(0, 1px, 0, 0); +} + +.webconsole-msg-icon { + margin: 3px 4px; + width: 8px; + height: 8px; +} + +.hud-clickable { + cursor: pointer; + text-decoration: underline; +} + +.webconsole-msg-body { + margin-top: 0; + margin-bottom: 3px; + -moz-margin-start: 3px; + -moz-margin-end: 6px; + white-space: pre-wrap; + font-family: monospace; +} + +.webconsole-msg-body-piece { + margin: 0; +} + +.webconsole-msg-url { + margin: 0 6px; +} + +/* Repeated messages */ +.webconsole-msg-repeat { + margin: 2px 0; + padding-left: 4px; + padding-right: 4px; + color: white; + background-color: red; + border-radius: 40px; + font: message-box; + font-size: 0.9em; + font-weight: 600; +} + +.webconsole-msg-repeat[value="1"] { + display: none; +} + +.webconsole-location { + margin-top: 0; + margin-bottom: 0; + -moz-margin-start: 0; + -moz-margin-end: 6px; + width: 10em; + text-align: end; +} + +.webconsole-mixed-content { + color: #FF0000; +} + +.webconsole-mixed-content-link { + color: #0000EE; + margin: 0; +} + +.hud-msg-node[selected="true"] > .webconsole-timestamp, +.hud-msg-node[selected="true"] > .webconsole-location { + color: inherit; +} + +.jsterm-input-container { + background: white; +} + +.jsterm-input-node, +.jsterm-complete-node { + font-family: monospace; +} + +.hud-output-node { + -moz-appearance: none; + border-bottom: 1px solid ThreeDShadow; + margin: 0; +} + +.hud-filtered-by-type, +.hud-filtered-by-string { + display: none; +} + +.hidden-message { + display: block; + visibility: hidden; + height: 0; + overflow: hidden; +} + +/* WebConsole colored drops */ + +.webconsole-filter-button { + -moz-user-focus: normal; +} + +.webconsole-filter-button[checked] { + color: white !important; +} + +.webconsole-filter-button > .toolbarbutton-menubutton-button:before { + content: ""; + display: inline-block; + height: 8px; + width: 8px; + border-radius: 50%; + margin-left: 5px; + border-width: 1px; + border-style: solid; +} + +/* Network styles */ +.webconsole-filter-button[category="net"] > .toolbarbutton-menubutton-button:before { + background-image: linear-gradient(#444444, #000000); + border-color: #777; +} + +.webconsole-msg-network > .webconsole-msg-icon-container { + -moz-border-start: solid #000 6px; +} + +.webconsole-msg-network.webconsole-msg-error { + -moz-image-region: rect(0, 16px, 8px, 8px); +} + +/* CSS styles */ +.webconsole-filter-button[category="css"] > .toolbarbutton-menubutton-button:before { + background-image: linear-gradient(#2DC3F3, #00B6F0); + border-color: #1BA2CC; +} + +.webconsole-msg-cssparser > .webconsole-msg-icon-container { + -moz-border-start: solid #00b6f0 6px; +} + +.webconsole-msg-cssparser.webconsole-msg-error { + -moz-image-region: rect(8px, 16px, 16px, 8px); +} + +.webconsole-msg-cssparser.webconsole-msg-warn { + -moz-image-region: rect(8px, 24px, 16px, 16px); +} + +/* JS styles */ +.webconsole-filter-button[category="js"] > .toolbarbutton-menubutton-button:before { + background-image: linear-gradient(#FCB142, #FB9500); + border-color: #E98A00; +} + +.webconsole-msg-exception > .webconsole-msg-icon-container { + -moz-border-start: solid #fb9500 6px; +} + +.webconsole-msg-exception.webconsole-msg-error { + -moz-image-region: rect(16px, 16px, 24px, 8px); +} + +.webconsole-msg-exception.webconsole-msg-warn { + -moz-image-region: rect(16px, 24px, 24px, 16px); +} + +/* Web Developer styles */ +.webconsole-filter-button[category="logging"] > .toolbarbutton-menubutton-button:before { + background-image: linear-gradient(#B9B9B9, #AAAAAA); + border-color: #929292; +} + +.webconsole-msg-console > .webconsole-msg-icon-container { + -moz-border-start: solid #cbcbcb 6px; +} + +.webconsole-msg-console.webconsole-msg-error, +.webconsole-msg-output.webconsole-msg-error { + -moz-image-region: rect(24px, 16px, 32px, 8px); +} + +.webconsole-msg-console.webconsole-msg-warn { + -moz-image-region: rect(24px, 24px, 32px, 16px); +} + +.webconsole-msg-console.webconsole-msg-info { + -moz-image-region: rect(24px, 32px, 32px, 24px); +} + +/* Input and output styles */ +.webconsole-msg-input > .webconsole-msg-icon-container, +.webconsole-msg-output > .webconsole-msg-icon-container { + border-left: solid #808080 6px; +} + +.webconsole-msg-input { + -moz-image-region: rect(24px, 40px, 32px, 32px); +} + +.webconsole-msg-output { + -moz-image-region: rect(24px, 48px, 32px, 40px); +} + +/* JSTerm Styles */ +.jsterm-input-node, +.jsterm-complete-node { + border: none; + padding: 0 0 0 16px; + -moz-appearance: none; +} + +.jsterm-input-node { + background: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16) no-repeat; +} + +:-moz-any(.jsterm-input-node, + .jsterm-complete-node) > .textbox-input-box > .textbox-textarea { + overflow-x: hidden; +} + +.jsterm-complete-node > .textbox-input-box > .textbox-textarea { + color: GrayText; +} + +.webconsole-msg-inspector iframe { + height: 7em; + margin-bottom: 15px; + -moz-margin-end: 15px; + border-radius: 4px; + box-shadow: 0 0 12px #dfdfdf; +} + +#webconsole-sidebar > tabs { + height: 0; + border: none; +} + +/* Security styles */ + +.webconsole-msg-security > .webconsole-msg-icon-container { + -moz-border-start: solid red 6px; +} + +.webconsole-filter-button[category="security"] > .toolbarbutton-menubutton-button:before { + background-image: linear-gradient(#FF3030, #FF7D7D); + border-color: #D12C2C; +} + +.webconsole-msg-security.webconsole-msg-error { + -moz-image-region: rect(32px, 16px, 40px, 8px); +} + +.webconsole-msg-security.webconsole-msg-warn { + -moz-image-region: rect(32px, 24px, 40px, 16px); +} + +.webconsole-timestamp, +.webconsole-msg-body, +.jsterm-input-node, +.jsterm-complete-node { + font-family: Consolas, Lucida Console, monospace; +} + +/* + * This hardcoded width likely due to a toolkit Windows specific bug. + * See http://hg.mozilla.org/mozilla-central/annotate/f38d6df93cad/toolkit/themes/winstripe/global/textbox-aero.css#l7 + */ + +.hud-filter-box { + width: 200px; +} diff --git a/src/chrome/browser/devtools/webconsole.png b/src/chrome/browser/devtools/webconsole.png Binary files differ. diff --git a/src/chrome/browser/devtools/webconsole_networkpanel.css b/src/chrome/browser/devtools/webconsole_networkpanel.css @@ -0,0 +1,100 @@ +/* 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/. */ + +body { + font-family: sans-serif; + font-size: 11px; + background: #EEE; + color: #000; +} + +#header { + padding: 5px; + overflow-x: auto; + display: block; +} + +h1 { + font-size: 13px; + line-height: 15px; + padding: 3px 10px; + vertical-align: bottom; + margin: 0px; + background: linear-gradient(#BBB, #999); + border-radius: 2px; + text-shadow: #FFF 0px 1px 0px; +} + +h1 .info { + font-size: 11px; + line-height: 15px; + vertical-align: bottom; + float: right; + color: #333; + padding-right: 3px; +} + +.property-table { + padding: 2px 5px; + background: linear-gradient(#FFF, #F8F8F8); + color: #333; + width: 100%; + max-height: 330px; + overflow: auto; + display: block; +} + +.property-table-header { + font-size: 11px; + font-weight: bold; + padding-right: 4px; + color: #000; + white-space: nowrap; + text-align: right; + vertical-align: top; + width: 10%; +} + +.property-table-value { + padding-right: 5px; + font-size: 11px; + word-wrap: break-word; + width: 90%; +} + +div.group { + margin-top: 10px; +} + +div.group, +#header { + background: #FFF; + border-color: #E1E1E1; + border-style: solid; + border-width: 1px; + box-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.2); + border-radius: 4px 4px 4px 4px; +} + +img#responseImageNode { + box-shadow: rgba(0,0,0,0.2) 0px 3px 3.5px; + max-width: 100%; +} + +#responseImageNodeDiv { + padding: 5px; +} + +#responseBodyFetchLink, #requestBodyFetchLink { + padding: 5px; + margin: 0; + cursor: pointer; + font-weight: bold; + font-size: 1.1em; + text-decoration: underline; +} + +.longStringEllipsis { + margin-left: 0.6em; +} diff --git a/src/chrome/browser/devtools/widgets.css b/src/chrome/browser/devtools/widgets.css @@ -0,0 +1,655 @@ +/* vim:set ts=2 sw=2 sts=2 et: */ +/* 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/. */ + +/* Generic pane helpers */ + +.generic-toggled-side-pane { + min-width: 50px; + -moz-margin-start: 0px !important; + /* Unfortunately, transitions don't work properly with locale-aware properties, + so both the left and right margins are set via js, while the start margin + is always overridden here. */ +} + +.generic-toggled-side-pane[animated] { + transition: margin 0.25s ease-in-out; +} + +/* BreacrumbsWidget */ + +.breadcrumbs-widget-container { + -moz-margin-end: 3px; + /* A fake 1px-shadow is included in the border-images of the + breadcrumbs-widget-items, to match toolbar-buttons style. + This negative margin compensates the extra row of pixels created + by the shadow.*/ + margin: -1px 0; +} + +/* Preloading hack, LTR */ + +.breadcrumbs-widget-container:-moz-locale-dir(ltr)::after { + content: ''; + display: block; + background-image: + url(breadcrumbs/ltr-start.png), + url(breadcrumbs/ltr-start-selected.png), + url(breadcrumbs/ltr-start-pressed.png), + url(breadcrumbs/ltr-start-selected-pressed.png), + url(breadcrumbs/ltr-middle.png), + url(breadcrumbs/ltr-middle-selected.png), + url(breadcrumbs/ltr-middle-pressed.png), + url(breadcrumbs/ltr-middle-selected-pressed.png), + url(breadcrumbs/ltr-end.png), + url(breadcrumbs/ltr-end-selected.png), + url(breadcrumbs/ltr-end-pressed.png), + url(breadcrumbs/ltr-end-selected-pressed.png); +} + +/* Preloading hack, RTL */ + +.breadcrumbs-widget-container:-moz-locale-dir(rtl)::after { + content: ''; + display: block; + background-image: + url(breadcrumbs/rtl-start.png), + url(breadcrumbs/rtl-start-selected.png), + url(breadcrumbs/rtl-start-pressed.png), + url(breadcrumbs/rtl-start-selected-pressed.png), + url(breadcrumbs/rtl-middle.png), + url(breadcrumbs/rtl-middle-selected.png), + url(breadcrumbs/rtl-middle-pressed.png), + url(breadcrumbs/rtl-middle-selected-pressed.png), + url(breadcrumbs/rtl-end.png), + url(breadcrumbs/rtl-end-selected.png), + url(breadcrumbs/rtl-end-pressed.png), + url(breadcrumbs/rtl-end-selected-pressed.png); +} + +.scrollbutton-up, +.scrollbutton-down { + -moz-appearance: none; + background: linear-gradient(hsla(212,7%,57%,.35), hsla(212,7%,57%,.1)) padding-box; + box-shadow: 0 1px 0 hsla(210,16%,76%,.15) inset, + 0 0 0 1px hsla(210,16%,76%,.15) inset, + 0 1px 0 hsla(210,16%,76%,.15); + border: 1px solid hsla(210,8%,5%,.45); + margin: 1px 0 1px; +} + +.scrollbutton-up:not([disabled]):active:hover, +.scrollbutton-down:not([disabled]):active:hover { + background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3)); + box-shadow: 0 0 3px hsla(210,8%,5%,.25) inset, + 0 1px 3px hsla(210,8%,5%,.25) inset, + 0 1px 0 hsla(210,16%,76%,.15); + border-color: hsla(210,8%,5%,.6); +} + +.scrollbutton-up > .toolbarbutton-icon, +.scrollbutton-down > .toolbarbutton-icon { + -moz-appearance: none; + list-style-image: url("breadcrumbs-scrollbutton.png"); + -moz-image-region: rect(0px,7px,16px,0px); + margin: 0 5px; +} + +.scrollbutton-up:not([disabled]):active:hover > .toolbarbutton-icon, +.scrollbutton-down:not([disabled]):active:hover > .toolbarbutton-icon { + -moz-image-region: rect(0px,14px,16px,7px); +} + +.scrollbutton-up[disabled] > .toolbarbutton-icon, +.scrollbutton-down[disabled] > .toolbarbutton-icon { + opacity: 0.5; +} + +.scrollbutton-up > .toolbarbutton-icon:-moz-locale-dir(rtl), +.scrollbutton-down > .toolbarbutton-icon:-moz-locale-dir(ltr) { + transform: scaleX(-1); +} + +.breadcrumbs-widget-item { + background-color: transparent; + -moz-appearance: none; + overflow: hidden; + min-width: 85px; + max-width: 250px; + min-height: 25px; + border-style: solid; + border-width: 2px 13px; + margin: 0 -11px 0 0; + padding: 0 9px; + outline: none; + color: hsl(210,30%,85%); +} + +.breadcrumbs-widget-item:-moz-focusring > label { + border-bottom: 1px dotted hsla(210,30%,85%,0.4); +} + +.breadcrumbs-widget-item:-moz-focusring > .button-box { + border-width: 0; +} + +.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-tag { + color: hsl(208,100%,60%); +} + +.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-id { + color: hsl(205,100%,70%); +} + +.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-pseudo-classes { + color: hsl(20,100%,70%); +} + +.breadcrumbs-widget-item-id, +.breadcrumbs-widget-item-classes { + color: #8d99a6; +} + +.breadcrumbs-widget-item-pseudo-classes { + color: hsl(20,100%,85%); +} + +/* Breadcrumbs LTR */ + +.breadcrumbs-widget-item:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-middle.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:not([checked]):hover:active:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-middle-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item[checked]:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-middle-selected.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item[checked]:hover:active:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-middle-selected-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:first-of-type:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-start.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:first-of-type:not([checked]):hover:active:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-start-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:first-of-type[checked]:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-start-selected.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:first-of-type[checked]:hover:active:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-start-selected-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:last-of-type:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-end.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:last-of-type:not([checked]):hover:active:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-end-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:last-of-type[checked]:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-end-selected.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:last-of-type[checked]:hover:active:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-end-selected-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-container[overflows] > .breadcrumbs-widget-item:first-of-type:-moz-locale-dir(ltr) { + border-left-width: 0; +} + +.breadcrumbs-widget-container[overflows] > .breadcrumbs-widget-item:last-of-type:-moz-locale-dir(ltr) { + border-right-width: 0; +} + +/* Breadcrumbs RTL */ + +.breadcrumbs-widget-item:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-middle.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:not([checked]):hover:active:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-middle-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item[checked]:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-middle-selected.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item[checked]:hover:active:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-middle-selected-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:first-of-type:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-start.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:first-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-start-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:first-of-type[checked]:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-start-selected.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:first-of-type[checked]:hover:active:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-start-selected-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:last-of-type:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-end.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:last-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-end-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:last-of-type[checked]:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-end-selected.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:last-of-type[checked]:hover:active:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-end-selected-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-container[overflows] > .breadcrumbs-widget-item:first-of-type:-moz-locale-dir(rtl) { + border-right-width: 0; +} + +.breadcrumbs-widget-container[overflows] > .breadcrumbs-widget-item:last-of-type:-moz-locale-dir(rtl) { + border-left-width: 0; +} + +/* SideMenuWidget */ + +.side-menu-widget-container { + background: url(background-noise-toolbar.png), hsl(208,11%,27%); + color: #fff; +} + +.side-menu-widget-container[with-arrow=true]:-moz-locale-dir(ltr), +.side-menu-widget-group[with-arrow=true]:-moz-locale-dir(ltr), +.side-menu-widget-item[with-arrow=true]:-moz-locale-dir(ltr) { + box-shadow: inset -1px 0 0 #222426; +} + +.side-menu-widget-container[with-arrow=true]:-moz-locale-dir(rtl), +.side-menu-widget-group[with-arrow=true]:-moz-locale-dir(rtl), +.side-menu-widget-item[with-arrow=true]:-moz-locale-dir(rtl) { + box-shadow: inset 1px 0 0 #222426; +} + +.side-menu-widget-group-title { + background-image: linear-gradient(#1f3e4f, #1b3243); + box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset, + 0 -2px 0 hsla(206,37%,4%,.05) inset, + 0 -1px 1px hsla(206,37%,4%,.1) inset; + text-shadow: 0 -1px 0 hsla(210,8%,5%,.45); + padding: 4px; + color: #f5f7fa; + transition-property: color, text-shadow; + transition-duration: 0.3s; +} + +.side-menu-widget-group:hover > .side-menu-widget-group-title { + text-shadow: 0 0 1px #cfcfcf; + color: #fff; +} + +.side-menu-widget-item { + border-top: 1px solid hsla(210,16%,76%,.1); + border-bottom: 1px solid hsla(210,8%,5%,.25); + cursor: pointer; +} + +.side-menu-widget-item:last-of-type { + box-shadow: 0 1px 0 hsla(210,16%,76%,.1); +} + +.side-menu-widget-item.selected { + background: linear-gradient(hsl(206,61%,40%), hsl(206,61%,31%)) repeat-x top left !important; + box-shadow: inset 0 1px 0 hsla(210,40%,83%,.15), + inset 0 -1px 0 hsla(210,40%,83%,.05); +} + +.side-menu-widget-item.selected > .side-menu-widget-item-arrow { + background-size: auto, 1px 100%; + background-repeat: no-repeat; +} + +.side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(ltr) { + background-image: url(itemArrow-ltr.png), linear-gradient(to right, black, black); + background-position: center right, top right; +} + +.side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(rtl) { + background-image: url(itemArrow-rtl.png), linear-gradient(to right, black, black); + background-position: center left, top left; +} + +.side-menu-widget-item-arrow { + -moz-margin-start: -8px; + width: 8px; +} + +.side-menu-widget-item-contents { + padding: 4px; +} + +.side-menu-widget-item label { + cursor: inherit; +} + +.side-menu-widget-item-other { + background: url(background-noise-toolbar.png), hsla(208,11%,27%, 0.65); + margin: 0 -4px; + -moz-padding-start: 5px; +} + +.side-menu-widget-item-other.selected { + background: url(background-noise-toolbar.png), hsla(208,11%,27%, 0.15); + box-shadow: inset 0 1px 0 hsla(210,40%,83%,.07), + inset 0 -1px 0 hsla(210,40%,83%,.07); +} + +.side-menu-widget-item.selected .side-menu-widget-item-other:first-of-type { + border-top: 1px dotted #333; + margin-top: 3px; +} + +.side-menu-widget-item-other:first-of-type { + margin-top: 4px; +} + +.side-menu-widget-item-other:last-of-type { + margin-bottom: -4px; +} + +.side-menu-widget-item-other > label { + color: #f5f7fa; +} + +.side-menu-widget-empty-notice-container { + background: url(background-noise-toolbar.png), hsl(208,11%,27%); + padding: 12px; + color: #fff; + font-weight: 600; +} + +/* VariablesView */ + +.variables-view-container { + background: #fff; +} + +.variables-view-empty-notice { + color: GrayText; + padding: 2px; +} + +.variables-view-scope > .title { + color: #fff; +} + +.variables-view-scope:focus > .title { + background: Highlight; + color: HighlightText; +} + +.variables-view-scope > .variables-view-element-details:not(:empty) { + margin-top: 1px; + -moz-margin-start: 2px; + -moz-margin-end: 1px; +} + +.variables-view-scope > .variables-view-element-details.enum:not(:empty) { + border-bottom: 1px solid #ddd; +} + +/* Generic traits applied to both variables and properties */ + +.variable-or-property { + transition: background 1s ease-in-out; + color: #000; +} + +.variable-or-property[changed] { + background: rgba(255,255,0,0.65); + transition-duration: 0.4s; +} + +.variable-or-property > .title > .value { + -moz-padding-start: 6px; + -moz-padding-end: 4px; +} + +.variable-or-property:focus > .title { + background: Highlight; + color: HighlightText; + border-radius: 4px; +} + +.variable-or-property[editable] > .title > .value { + cursor: text; +} + +.variable-or-property:not([non-header]) > .variables-view-element-details { + -moz-margin-start: 10px; +} + +/* Custom variables and properties traits */ + +.variables-view-variable { + -moz-margin-start: 1px; + -moz-margin-end: 1px; + border-bottom: 1px solid #eee; +} + +.variables-view-variable > .title > .name { + font-weight: 600; +} + +.variables-view-variable:not(:focus) > .title > .name { + color: #048; +} + +.variables-view-property:not(:focus) > .title > .name { + color: #881090; +} + +/* Token value colors */ + +.variable-or-property:not(:focus) > .title > .token-undefined { + color: #bbb; +} + +.variable-or-property:not(:focus) > .title > .token-null { + color: #999; +} + +.variable-or-property:not(:focus) > .title > .token-boolean { + color: #10c; +} + +.variable-or-property:not(:focus) > .title > .token-number { + color: #c00; +} + +.variable-or-property:not(:focus) > .title > .token-string { + color: #282; +} + +.variable-or-property:not(:focus) > .title > .token-other { + color: #333; +} + +/* Custom configurable/enumerable/writable or frozen/sealed/extensible + * variables and properties */ + +.variable-or-property[non-enumerable]:not([self]):not([exception]):not([return]) > .title > .name { + opacity: 0.5; +} + +.variable-or-property[non-configurable] > .title > .name { + border-bottom: 1px dashed #99f; +} + +.variable-or-property[non-writable] > .title > .name { + border-bottom: 1px dashed #f99; +} + +.variable-or-property-non-writable-icon { + background: url("chrome://browser/skin/identity-icons-https.png") no-repeat; + width: 16px; + height: 16px; + opacity: 0.5; +} + +@media (min-resolution: 2dppx) { + .variable-or-property-non-writable-icon { + background-image: url("chrome://browser/skin/identity-icons-https@2x.png"); + background-size: 32px; + } +} + +.variable-or-property-frozen-label, +.variable-or-property-sealed-label, +.variable-or-property-non-extensible-label { + -moz-padding-end: 4px; +} + +.variable-or-property:not(:focus) > .title > .variable-or-property-frozen-label, +.variable-or-property:not(:focus) > .title > .variable-or-property-sealed-label, +.variable-or-property:not(:focus) > .title > .variable-or-property-non-extensible-label { + color: #666; +} + +/* Special variables and properties */ + +.variable-or-property[safe-getter] > .title > .name { + border-bottom: 1px dashed #8b0; +} + +.variable-or-property[exception]:not(:focus) > .title > .name { + color: #a00; + text-shadow: 0 0 8px #fcc; +} + +.variable-or-property[return]:not(:focus) > .title > .name { + color: #0a0; + text-shadow: 0 0 8px #cfc; +} + +/* Variables and properties tooltips */ + +.variable-or-property > tooltip > label { + margin: 0 2px 0 2px; +} + +.variable-or-property[non-enumerable] > tooltip > label[value=enumerable], +.variable-or-property[non-configurable] > tooltip > label[value=configurable], +.variable-or-property[non-writable] > tooltip > label[value=writable], +.variable-or-property[non-extensible] > tooltip > label[value=extensible] { + color: #800; + text-decoration: line-through; +} + +.variable-or-property[safe-getter] > tooltip > label[value=WebIDL] { + -moz-padding-start: 4px; + -moz-border-start: 1px dotted #000; + color: #080; +} + +/* Variables and properties editing */ + +.variables-view-delete { + list-style-image: url("chrome://browser/skin/devtools/vview-delete.png"); + -moz-image-region: rect(0,16px,16px,0); +} + +.variables-view-delete:hover { + -moz-image-region: rect(0,32px,16px,16px); +} + +.variables-view-delete:active { + -moz-image-region: rect(0,48px,16px,32px); +} + +*:not(:hover) .variables-view-delete { + display: none; +} + +.variables-view-delete > .toolbarbutton-text { + display: none; +} + +.variables-view-edit { + background: url("chrome://browser/skin/devtools/vview-edit.png") center no-repeat; + width: 20px; + height: 16px; + cursor: pointer; +} + +.variables-view-throbber { + background: url("chrome://global/skin/icons/loading_16.png") center no-repeat; + width: 16px; + height: 16px; +} + +.element-value-input { + -moz-margin-start: 4px !important; + -moz-margin-end: 2px !important; +} + +.element-name-input { + -moz-margin-start: -2px !important; + -moz-margin-end: 2px !important; + color: #048; + font-weight: 600; +} + +.element-value-input, +.element-name-input { + border: 1px solid #999 !important; + box-shadow: 1px 2px 4px #aaa; +} + +/* Variables and properties searching */ + +.variables-view-searchinput { + min-height: 24px; +} + +.variable-or-property[non-match] { + border: none; + margin: 0; +} + +/* Expand/collapse arrow */ + +.arrow { + background: url("chrome://global/skin/tree/twisty-clsd.png") center center no-repeat; + width: 9px; + height: 20px; + -moz-margin-start: 5px; + -moz-margin-end: 5px; +} + +.arrow[open] { + background-image: url("chrome://global/skin/tree/twisty-open.png"); +} + +.arrow[invisible] { + visibility: hidden; +} diff --git a/src/chrome/browser/downloads/allDownloadsViewOverlay.css b/src/chrome/browser/downloads/allDownloadsViewOverlay.css @@ -0,0 +1,107 @@ +/* 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/. */ + +/* 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/. */ + +#downloadsRichListBox { + /** The default listbox appearance comes with an unwanted margin. **/ + -moz-appearance: none; + margin: 0; +} + +#downloadsRichListBox > richlistitem.download { + height: 6em; +} + +.downloadTypeIcon { + -moz-margin-end: 8px; + -moz-margin-start: 8px; + /* explicitly size the icon, so size doesn't vary on hidpi systems */ + height: 32px; + width: 32px; +} + +.blockedIcon { + list-style-image: url("chrome://global/skin/icons/Error.png"); +} + +.downloadTarget { + margin-bottom: 3px; + cursor: inherit; +} + +.downloadDetails { + opacity: 0.7; + font-size: 95%; + cursor: inherit; +} + +.downloadButton { + -moz-appearance: none; + background: transparent; + min-width: 0; + min-height: 0; + margin: 3px; + border: none; + padding: 5px; + list-style-image: url("chrome://browser/skin/downloads/buttons.png"); +} + +/*** Button icons ***/ + +.downloadButton.downloadCancel { + -moz-image-region: rect(0px, 16px, 16px, 0px); +} + +richlistitem.download:hover > .downloadButton.downloadCancel { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +richlistitem.download:hover > .downloadButton.downloadCancel:hover { + -moz-image-region: rect(0px, 48px, 16px, 32px); +} + +richlistitem.download:hover > .downloadButton.downloadCancel:active { + -moz-image-region: rect(0px, 64px, 16px, 48px); +} + +.downloadButton.downloadShow { + -moz-image-region: rect(16px, 16px, 32px, 0px); +} + +richlistitem.download:hover > .downloadButton.downloadShow { + -moz-image-region: rect(16px, 32px, 32px, 16px); +} + +richlistitem.download:hover > .downloadButton.downloadShow:hover { + -moz-image-region: rect(16px, 48px, 32px, 32px); +} + +richlistitem.download:hover > .downloadButton.downloadShow:active { + -moz-image-region: rect(16px, 64px, 32px, 48px); +} + +.downloadButton.downloadRetry { + -moz-image-region: rect(32px, 16px, 48px, 0px); +} + +richlistitem.download:hover > .downloadButton.downloadRetry { + -moz-image-region: rect(32px, 32px, 48px, 16px); +} + +richlistitem.download:hover > .downloadButton.downloadRetry:hover { + -moz-image-region: rect(32px, 48px, 48px, 32px); +} + +richlistitem.download:hover > .downloadButton.downloadRetry:active { + -moz-image-region: rect(32px, 64px, 48px, 48px); +} + +#downloadsRichListBox > richlistitem.download[selected] { + color: #fff; + background-color: rgb(110,110,110); +} + diff --git a/src/chrome/browser/downloads/buttons.png b/src/chrome/browser/downloads/buttons.png Binary files differ. diff --git a/src/chrome/browser/downloads/contentAreaDownloadsView.css b/src/chrome/browser/downloads/contentAreaDownloadsView.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://global/skin/inContentUI.css"); + +.downloadButton { + box-shadow: none; +} + +.downloadButton:not([disabled="true"]):hover:active, +.downloadButton:not([disabled]):hover:active { + background: transparent; + border: none; + box-shadow: none; +} + +#downloadsListEmptyDescription { + margin: 1em; + text-align: center; + color: GrayText; +} diff --git a/src/chrome/browser/downloads/download-glow.png b/src/chrome/browser/downloads/download-glow.png Binary files differ. diff --git a/src/chrome/browser/downloads/download-notification-finish.png b/src/chrome/browser/downloads/download-notification-finish.png Binary files differ. diff --git a/src/chrome/browser/downloads/download-notification-start.png b/src/chrome/browser/downloads/download-notification-start.png Binary files differ. diff --git a/src/chrome/browser/downloads/download-summary.png b/src/chrome/browser/downloads/download-summary.png Binary files differ. diff --git a/src/chrome/browser/downloads/downloads.css b/src/chrome/browser/downloads/downloads.css @@ -0,0 +1,197 @@ +/* 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/. */ + +/* 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/. */ + +/*** Panel and outer controls ***/ + +#downloadsPanel > .panel-arrowcontainer > .panel-arrowcontent { + padding: 0; +} + +#downloadsPanel:not([hasdownloads]) > #downloadsListBox { + display: none; +} + +#downloadsHistory { + background: transparent; + color: #fff; + cursor: pointer; +} + +#downloadsPanel[keyfocus] > #downloadsFooter > #downloadsHistory:focus { + outline: 1px rgb(75,75,75) dotted; + outline-offset: -1px; +} + +#downloadsHistory > .button-box { + border: none; + margin: 1em; +} + +#downloadsPanel[hasdownloads] > #downloadsFooter { + background: rgb(75,75,75); + border-top: 1px solid rgb(75,75,75); +} + +/*** Downloads Summary and List items ***/ + +#downloadsSummary, +richlistitem[type="download"] { + height: 7em; + -moz-padding-end: 0; + color: inherit; +} + +#downloadsSummary { + padding: 8px 38px 8px 12px; + cursor: pointer; + -moz-user-focus: normal; +} + +#downloadsPanel[keyfocus] > #downloadsFooter > #downloadsSummary:focus { + outline: 1px rgb(75,75,75) dotted; + outline-offset: -5px; +} + +#downloadsSummary > .downloadTypeIcon { + list-style-image: url("chrome://browser/skin/downloads/download-summary.png"); +} + +#downloadsSummaryDescription { + color: -moz-nativehyperlinktext; +} + +richlistitem[type="download"] { + margin: 0; + border-bottom: 1px solid rgb(75,75,75); + background: rgb(50,50,50); + padding: 8px; +} + +richlistitem[type="download"]:first-child { + border-top: 1px solid transparent; +} + +@media (-moz-windows-default-theme) { + richlistitem[type="download"]:last-child { + border-bottom: 1px solid transparent; + } +} + +.downloadTypeIcon { + -moz-margin-end: 8px; + /* Prevent flickering when changing states. */ + height: 32px; + width: 32px; +} + +.blockedIcon { + list-style-image: url("chrome://global/skin/icons/Error.png"); +} + +/* We hold .downloadTarget, .downloadProgress and .downloadDetails inside of + a vbox with class .downloadContainer. We set the font-size of the entire + container to 90% because: + + 1) This is the size that we want .downloadDetails to be + 2) The container's width is set by localizers by &downloadDetails.width;, + which is a ch unit. Since this is the value that should control the + panel width, we apply it to the outer container to constrain + .downloadTarget and .downloadProgress. + + Finally, since we want .downloadTarget's font-size to be at 100% of the + font-size of .downloadContainer's parent, we use calc to go from the + smaller font-size back to the original font-size. + */ +#downloadsSummaryDetails, +.downloadContainer { + font-size: 90%; +} + +#downloadsSummaryDescription, +.downloadTarget { + margin-bottom: 6px; + cursor: inherit; +} + +.downloadTarget { + font-size: calc(100%/0.9); +} + +#downloadsSummaryDetails, +.downloadDetails { + opacity: 0.6; + cursor: inherit; +} + +.downloadButton { + -moz-appearance: none; + min-width: 0; + min-height: 0; + margin: 3px; + border: none; + background: transparent; + padding: 5px; + list-style-image: url("chrome://browser/skin/downloads/buttons.png"); +} + +.downloadButton > .button-box { + border: 1px solid transparent; + padding: 0; +} + +#downloadsPanel[keyfocus] .downloadButton:focus > .button-box { + border: 1px dotted rgb(75,75,75); +} + +/*** Highlighted list items ***/ + +#downloadsPanel:not([keyfocus]) > #downloadsListBox > richlistitem[type="download"][state="1"][exists]:hover { + color: #fff; + background-color: rgb(75,75,75); +} + +/*** Button icons ***/ + +.downloadButton.downloadCancel { + -moz-image-region: rect(0px, 16px, 16px, 0px); +} +richlistitem[type="download"]:hover > stack > .downloadButton.downloadCancel { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} +richlistitem[type="download"]:hover > stack > .downloadButton.downloadCancel:hover { + -moz-image-region: rect(0px, 48px, 16px, 32px); +} +richlistitem[type="download"]:hover > stack > .downloadButton.downloadCancel:active { + -moz-image-region: rect(0px, 64px, 16px, 48px); +} + +.downloadButton.downloadShow { + -moz-image-region: rect(16px, 16px, 32px, 0px); +} +richlistitem[type="download"]:hover > stack > .downloadButton.downloadShow { + -moz-image-region: rect(16px, 32px, 32px, 16px); +} +richlistitem[type="download"]:hover > stack > .downloadButton.downloadShow:hover { + -moz-image-region: rect(16px, 48px, 32px, 32px); +} +richlistitem[type="download"]:hover > stack > .downloadButton.downloadShow:active { + -moz-image-region: rect(16px, 64px, 32px, 48px); +} + +.downloadButton.downloadRetry { + -moz-image-region: rect(32px, 16px, 48px, 0px); +} +richlistitem[type="download"]:hover > stack > .downloadButton.downloadRetry { + -moz-image-region: rect(32px, 32px, 48px, 16px); +} +richlistitem[type="download"]:hover > stack > .downloadButton.downloadRetry:hover { + -moz-image-region: rect(32px, 48px, 48px, 32px); +} +richlistitem[type="download"]:hover > stack > .downloadButton.downloadRetry:active { + -moz-image-region: rect(32px, 64px, 48px, 48px); +} diff --git a/src/chrome/browser/downloads/indicator.css b/src/chrome/browser/downloads/indicator.css @@ -0,0 +1,160 @@ +/* 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/. */ + +/* 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/. */ + +/*** Status and progress indicator ***/ + +#downloads-indicator-anchor { + /* Makes the outermost stack element positioned, so that its contents are + rendered over the main browser window in the Z order. This is required by + the animated event notification. */ + position: relative; +} + +/*** Main indicator icon ***/ + +#downloads-indicator-icon { + background: -moz-image-rect(url("chrome://browser/skin/Toolbar.png"), + 0, 108, 18, 90) center no-repeat; + min-width: 18px; + min-height: 18px; +} + +#downloads-indicator-icon:-moz-lwtheme-darktext { + background: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted.png"), + 0, 108, 18, 90) center no-repeat; +} + +#downloads-indicator[attention] > #downloads-indicator-anchor > #downloads-indicator-icon { + background-image: url("chrome://browser/skin/downloads/download-glow.png"); +} + +/* In the next few rules, we use :not([counter]) as a shortcut that is + equivalent to -moz-any([progress], [paused]). */ + +#downloads-indicator:not([counter]) > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter { + background: -moz-image-rect(url("chrome://browser/skin/Toolbar.png"), + 0, 108, 18, 90) center no-repeat; + background-size: 12px; +} + +#downloads-indicator:not([counter])[attention] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter { + background-image: url("chrome://browser/skin/downloads/download-glow.png"); +} + +/*** Download notifications ***/ + +#downloads-indicator-notification { + opacity: 0; + background-size: 16px; + background-position: center; + background-repeat: no-repeat; +} + +@keyframes downloadsIndicatorNotificationStartRight { + from { opacity: 0; transform: translate(-128px, 128px) scale(8); } + 20% { opacity: .85; animation-timing-function: ease-out; } + to { opacity: 0; transform: translate(0) scale(1); } +} + +@keyframes downloadsIndicatorNotificationStartLeft { + from { opacity: 0; transform: translate(128px, 128px) scale(8); } + 20% { opacity: .85; animation-timing-function: ease-out; } + to { opacity: 0; transform: translate(0) scale(1); } +} + +#downloads-indicator[notification="start"] > #downloads-indicator-anchor > #downloads-indicator-notification { + background-image: url("chrome://browser/skin/downloads/download-notification-start.png"); + animation-name: downloadsIndicatorNotificationStartRight; + animation-duration: 1s; +} + +#downloads-indicator[notification="start"]:-moz-locale-dir(rtl) > #downloads-indicator-anchor > #downloads-indicator-notification { + animation-name: downloadsIndicatorNotificationStartLeft; +} + +@keyframes downloadsIndicatorNotificationFinish { + from { opacity: 0; transform: scale(1); } + 20% { opacity: .65; animation-timing-function: ease-in; } + to { opacity: 0; transform: scale(8); } +} + +#downloads-indicator[notification="finish"] > #downloads-indicator-anchor > #downloads-indicator-notification { + background-image: url("chrome://browser/skin/downloads/download-notification-finish.png"); + animation-name: downloadsIndicatorNotificationFinish; + animation-duration: 1s; +} + +/*** Progress bar and text ***/ + +#downloads-indicator-counter { + height: 9px; + margin: -3px 0px 0px 0px; + color: white; + text-shadow: 0 0 1px rgba(0,0,0,.7), + 0 1px 1.5px rgba(0,0,0,.5); + font-size: 9px; + line-height: 9px; + text-align: center; +} + +#downloads-indicator-counter:-moz-lwtheme-brighttext { + color: hsl(0,0%,30%); + text-shadow: hsla(0,0%,100%,.5) 0 1px; +} + +#downloads-indicator-progress { + width: 16px; + height: 5px; + min-width: 0; + min-height: 0; + margin-top: 1px; + margin-bottom: 2px; + border-radius: 2px; + box-shadow: 0 1px 0 hsla(0,0%,100%,.4); +} + +#downloads-indicator-progress > .progress-bar { + -moz-appearance: none; + min-width: 0; + min-height: 0; + /* The background-clip: border-box; and background-image: none; are there to expand the background-color behind the border */ + background-clip: padding-box, border-box; + background-color: rgb(90, 201, 66); + background-image: linear-gradient(transparent 1px, rgba(255, 255, 255, 0.4) 1px, rgba(255, 255, 255, 0.4) 2px, transparent 2px), none; + border: 1px solid; + border-color: rgba(0,43,86,.6) rgba(0,43,86,.4) rgba(0,43,86,.4); + border-radius: 2px 0 0 2px; +} + +#downloads-indicator-progress > .progress-remainder { + -moz-appearance: none; + min-width: 0; + min-height: 0; + background-image: linear-gradient(#505050, #575757); + border: 1px solid; + border-color: hsla(0,0%,0%,.6) hsla(0,0%,0%,.4) hsla(0,0%,0%,.4); + -moz-border-start: none; + border-radius: 0 2px 2px 0; +} + +#downloads-indicator[paused] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-progress > .progress-bar { + background-color: rgb(220, 230, 81); +} + +#downloads-indicator[paused] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-progress > .progress-remainder { + background-image: linear-gradient(#4b5000, #515700); +} + +toolbar[mode="full"] > #downloads-indicator > .toolbarbutton-text { + margin: 0; + text-align: center; +} + +#downloads-indicator-counter { + margin-bottom: -1px; +} diff --git a/src/chrome/browser/engineManager.css b/src/chrome/browser/engineManager.css @@ -0,0 +1,11 @@ + +#engineList treechildren::-moz-tree-image(engineName) { + -moz-margin-end: 4px; + -moz-margin-start: 1px; + width: 16px; + height: 16px; +} + +#engineList treechildren::-moz-tree-row { + height: 20px; +} diff --git a/src/chrome/browser/feeds/audioFeedIcon.png b/src/chrome/browser/feeds/audioFeedIcon.png Binary files differ. diff --git a/src/chrome/browser/feeds/audioFeedIcon16.png b/src/chrome/browser/feeds/audioFeedIcon16.png Binary files differ. diff --git a/src/chrome/browser/feeds/feedIcon.png b/src/chrome/browser/feeds/feedIcon.png Binary files differ. diff --git a/src/chrome/browser/feeds/feedIcon16.png b/src/chrome/browser/feeds/feedIcon16.png Binary files differ. diff --git a/src/chrome/browser/feeds/subscribe-ui.css b/src/chrome/browser/feeds/subscribe-ui.css @@ -0,0 +1,29 @@ +/* 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/. */ + +.alwaysUse { + padding: 5px; +} + +.handlersMenuPopup > menuitem { + -moz-padding-start: 23px; +} + +.handlersMenuPopup > menuitem.menuitem-iconic { + -moz-padding-start: 2px; +} + +.handlersMenuPopup > .menuitem-iconic > .menu-iconic-left { + display: -moz-box; + min-width: 16px; + -moz-padding-end: 2px; +} + +.chooseApplicationMenuItem { + list-style-image: url("chrome://browser/skin/preferences/application.png"); +} + +#feedHeader[dir="rtl"] .handlersMenuList > menupopup { + direction: rtl; +} diff --git a/src/chrome/browser/feeds/subscribe.css b/src/chrome/browser/feeds/subscribe.css @@ -0,0 +1,159 @@ +/* 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/. */ + +html { + background: -moz-Dialog; + font: 3mm tahoma,arial,helvetica,sans-serif; +} + +#feedBody { + border: 1px solid THreeDShadow; + padding: 3em; + -moz-padding-start: 30px; + margin: 2em auto; + background: -moz-Field; +} + +#feedHeaderContainer { + border: 1px solid ThreeDShadow; + border-radius: 10px; + margin: -4em auto 0 auto; + background-color: InfoBackground; +} + +#feedHeader { + margin-top: 4.9em; + margin-bottom: 1em; + -moz-margin-start: 1.4em; + -moz-margin-end: 1em; + -moz-padding-start: 2.9em; + font-size: 110%; + color: InfoText; +} + +#feedIntroText { + display: none; +} + +.feedBackground { + background: url("chrome://browser/skin/feeds/feedIcon.png") 0% 10% no-repeat InfoBackground; +} + +.videoPodcastBackground { + background: url("chrome://browser/skin/feeds/videoFeedIcon.png") 0% 10% no-repeat InfoBackground; +} + +.audioPodcastBackground { + background: url("chrome://browser/skin/feeds/audioFeedIcon.png") 0% 10% no-repeat InfoBackground; +} + +#feedHeader[dir="rtl"] { + background-position: 100% 10%; +} + +#feedHeader[firstrun="true"] #feedIntroText { + padding-top: 0.1em; + -moz-padding-start: 0.6em; + display: block; +} + +#feedHeader[firstrun="true"] > #feedSubscribeLine { + -moz-padding-start: 1.8em; +} + +#feedSubscribeLine { + padding-top: 0.2em; +} + +/* Don't print subscription UI */ +@media print { + #feedHeaderContainer { + display: none; + } +} + +body { + margin: 0; + padding: 0 3em; + color: -moz-fieldText; + font: message-box; +} + +h1 { + font-size: 160%; + border-bottom: 2px solid ThreeDLightShadow; + margin: 0 0 .2em 0; +} + +h2 { + color: ThreeDDarkShadow; + font-size: 110%; + font-weight: normal; + margin: 0 0 .6em 0; +} + +#feedTitleLink { + float: right; + -moz-margin-start: .6em; + -moz-margin-end: 0; + margin-top: 0; + margin-bottom: 0; +} + +a[href] img { + border: none; +} + +#feedTitleContainer { + -moz-margin-start: 0; + -moz-margin-end: .6em; + margin-top: 0; + margin-bottom: 0; +} + +#feedTitleImage { + -moz-margin-start: .6em; + -moz-margin-end: 0; + margin-top: 0; + margin-bottom: 0; + max-width: 300px; + max-height: 150px; +} + +.feedEntryContent { + font-size: 110%; +} + +.link { + color: #0000FF; + text-decoration: underline; + cursor: pointer; +} + +.link:hover:active { + color: #FF0000; +} + +.lastUpdated { + font-size: 85%; + font-weight: normal; +} + +.type-icon { + vertical-align: bottom; + height: 16px; + width: 16px; +} + +.enclosures { + border: 1px solid THreeDShadow; + padding: 1em; + margin: 1em auto; + background: -moz-Dialog; +} + +.enclosure { + vertical-align: middle; + margin-left: 2px; +} diff --git a/src/chrome/browser/feeds/videoFeedIcon.png b/src/chrome/browser/feeds/videoFeedIcon.png Binary files differ. diff --git a/src/chrome/browser/feeds/videoFeedIcon16.png b/src/chrome/browser/feeds/videoFeedIcon16.png Binary files differ. diff --git a/src/chrome/browser/identity-icons-generic.png b/src/chrome/browser/identity-icons-generic.png Binary files differ. diff --git a/src/chrome/browser/identity.png b/src/chrome/browser/identity.png Binary files differ. diff --git a/src/chrome/browser/keyhole-forward-mask.svg b/src/chrome/browser/keyhole-forward-mask.svg @@ -0,0 +1,15 @@ +<?xml version="1.0"?> +<!-- 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/. --> + +<svg xmlns="http://www.w3.org/2000/svg"> + <mask id="mask" maskContentUnits="objectBoundingBox"> + <rect x="0" y="0" width="1" height="1" fill="white"/> + <circle cx="-0.46" cy="0.5" r="0.63"/> + </mask> + <mask id="mask-hover" maskContentUnits="objectBoundingBox"> + <rect x="0" y="0" width="1" height="1" fill="white"/> + <circle cx="-0.35" cy="0.5" r="0.58"/> + </mask> +</svg> diff --git a/src/chrome/browser/livemark-folder.png b/src/chrome/browser/livemark-folder.png Binary files differ. diff --git a/src/chrome/browser/max-btn.png b/src/chrome/browser/max-btn.png Binary files differ. diff --git a/src/chrome/browser/menu-back.png b/src/chrome/browser/menu-back.png Binary files differ. diff --git a/src/chrome/browser/menu-forward.png b/src/chrome/browser/menu-forward.png Binary files differ. diff --git a/src/chrome/browser/min-btn.png b/src/chrome/browser/min-btn.png Binary files differ. diff --git a/src/chrome/browser/mixed-content-blocked-16.png b/src/chrome/browser/mixed-content-blocked-16.png Binary files differ. diff --git a/src/chrome/browser/mixed-content-blocked-64.png b/src/chrome/browser/mixed-content-blocked-64.png Binary files differ. diff --git a/src/chrome/browser/monitor.png b/src/chrome/browser/monitor.png Binary files differ. diff --git a/src/chrome/browser/monitor_16-10.png b/src/chrome/browser/monitor_16-10.png Binary files differ. diff --git a/src/chrome/browser/newtab/controls.png b/src/chrome/browser/newtab/controls.png Binary files differ. diff --git a/src/chrome/browser/newtab/controls.svg b/src/chrome/browser/newtab/controls.svg @@ -0,0 +1,396 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + version="1.1" + id="icons-enhanced-tiles" + x="0" + y="0" + width="288" + height="33" + viewBox="0 0 288 33" + inkscape:version="0.91 r13725" + sodipodi:docname="controls.svg"> + <metadata + id="metadata71"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + </cc:Work> + </rdf:RDF> + </metadata> + <sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="690" + inkscape:window-height="480" + id="namedview69" + showgrid="false" + inkscape:zoom="2.8284271" + inkscape:cx="17.094499" + inkscape:cy="16.5" + inkscape:window-x="0" + inkscape:window-y="0" + inkscape:window-maximized="0" + inkscape:current-layer="icons-enhanced-tiles" /> + <defs + id="defs3"> + <style + type="text/css" + id="style5"><![CDATA[ + /* Glyph Styles */ + + .glyphShape-style { + fill: #737373; + } + + .glyphShape-style-hover-gear { + fill: #00aeff; + } + + .glyphShape-style-hover-pin { + fill: #00aeff; + } + + .glyphShape-style-hover-delete { + fill: #666; + } + + .glyphShape-style-hover-active { + fill: #999; + } + + /* Circle Background Styles */ + + .glyphShape-style-circle { + fill: #fff; + } + + .glyphShape-style-circle-dropshadow { + fill: #000; + fill-opacity: .3; + filter: url(#filter-shadow-drop); + } + + .default-transparent { + opacity: .7; + } + .default-transparent .glyphShape-style-circle-dropshadow { + fill-opacity: .5; + } + .active-grey .glyphShape-style-circle { + fill: #f0f0f0; + } + ]]></style> + <filter + id="filter-shadow-drop" + x="-10%" + y="-10%" + width="120%" + height="120%"> + <feOffset + in="SourceAlpha" + dx="0" + dy="1.6" + result="filter-shadow-drop-offset" + id="feOffset8" /> + <feGaussianBlur + in="filter-shadow-drop-offset" + stdDeviation="1" + result="filter-shadow-drop-blur" + id="feGaussianBlur10" /> + </filter> + <path + id="glyphShape-gear" + d="M14,18v3h-3v-3H14 M15,17h-5v5h5V17L15,17z M21,18v3h-3v-3H21 M22,17h-5v5h5V17L22,17z M14,11v3h-3v-3H14 M15,10h-5v5h5V10 L15,10z M21,11v3h-3v-3H21 M22,10h-5v5h5V10L22,10z" /> + <circle + id="glyphShape-circle" + cx="16" + cy="16" + r="14" /> + <path + id="glyphShape-pin" + d="M19,15v-5h2V7H11v3h2v5l-3,2v2h5c0,4.5,0.4,8,1,8s1-3.5,1-8h5v-2L19,15z" /> + <polygon + id="glyphShape-delete" + points="22.6,10.6 21.4,9.4 16,14.8 10.6,9.4 9.4,10.6 14.8,16 9.4,21.4 10.6,22.6 16,17.2 21.4,22.6 22.6,21.4 17.2,16" /> + <filter + style="color-interpolation-filters:sRGB;" + inkscape:label="Invert" + id="filter3586"> + <feColorMatrix + type="hueRotate" + values="180" + result="color1" + id="feColorMatrix3588" /> + <feColorMatrix + values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 -0.21 -0.72 -0.07 2 0 " + result="color2" + id="feColorMatrix3590" /> + </filter> + <filter + style="color-interpolation-filters:sRGB;" + inkscape:label="Invert" + id="filter3592"> + <feColorMatrix + type="hueRotate" + values="180" + result="color1" + id="feColorMatrix3594" /> + <feColorMatrix + values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 -0.21 -0.72 -0.07 2 0 " + result="color2" + id="feColorMatrix3596" /> + </filter> + <filter + style="color-interpolation-filters:sRGB;" + inkscape:label="Invert" + id="filter3598"> + <feColorMatrix + type="hueRotate" + values="180" + result="color1" + id="feColorMatrix3600" /> + <feColorMatrix + values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 -0.21 -0.72 -0.07 2 0 " + result="color2" + id="feColorMatrix3602" /> + </filter> + <filter + style="color-interpolation-filters:sRGB;" + inkscape:label="Invert" + id="filter3604"> + <feColorMatrix + type="hueRotate" + values="180" + result="color1" + id="feColorMatrix3606" /> + <feColorMatrix + values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 -0.21 -0.72 -0.07 2 0 " + result="color2" + id="feColorMatrix3608" /> + </filter> + <filter + style="color-interpolation-filters:sRGB;" + inkscape:label="Invert" + id="filter3610"> + <feColorMatrix + type="hueRotate" + values="180" + result="color1" + id="feColorMatrix3612" /> + <feColorMatrix + values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 -0.21 -0.72 -0.07 2 0 " + result="color2" + id="feColorMatrix3614" /> + </filter> + <filter + style="color-interpolation-filters:sRGB;" + inkscape:label="Invert" + id="filter3616"> + <feColorMatrix + type="hueRotate" + values="180" + result="color1" + id="feColorMatrix3618" /> + <feColorMatrix + values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 -0.21 -0.72 -0.07 2 0 " + result="color2" + id="feColorMatrix3620" /> + </filter> + <filter + style="color-interpolation-filters:sRGB;" + inkscape:label="Invert" + id="filter3622"> + <feColorMatrix + type="hueRotate" + values="180" + result="color1" + id="feColorMatrix3624" /> + <feColorMatrix + values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 -0.21 -0.72 -0.07 2 0 " + result="color2" + id="feColorMatrix3626" /> + </filter> + <filter + style="color-interpolation-filters:sRGB;" + inkscape:label="Invert" + id="filter3628"> + <feColorMatrix + type="hueRotate" + values="180" + result="color1" + id="feColorMatrix3630" /> + <feColorMatrix + values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 -0.21 -0.72 -0.07 2 0 " + result="color2" + id="feColorMatrix3632" /> + </filter> + <filter + style="color-interpolation-filters:sRGB;" + inkscape:label="Invert" + id="filter3634"> + <feColorMatrix + type="hueRotate" + values="180" + result="color1" + id="feColorMatrix3636" /> + <feColorMatrix + values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 -0.21 -0.72 -0.07 2 0 " + result="color2" + id="feColorMatrix3638" /> + </filter> + </defs> + <g + id="icon-gear-default" + class="semi-transparent" + style="filter:url(#filter3586)"> + <use + xlink:href="#glyphShape-gear" + class="glyphShape-style" + id="use17" /> + </g> + <g + id="g19" + transform="translate(32)" + style="filter:url(#filter3592)"> + <use + xlink:href="#glyphShape-gear" + class="glyphShape-style-hover-gear" + id="use21" /> + </g> + <g + id="icon-pin-default" + transform="translate(64)" + class="default-transparent" + style="filter:url(#filter3598)"> + <use + xlink:href="#glyphShape-circle" + class="glyphShape-style-circle-dropshadow" + id="use24" /> + <use + xlink:href="#glyphShape-circle" + class="glyphShape-style-circle" + id="use26" /> + <use + xlink:href="#glyphShape-pin" + class="glyphShape-style" + id="use28" /> + </g> + <g + id="icon-delete-default" + transform="translate(160)" + class="default-transparent" + style="filter:url(#filter3604)"> + <use + xlink:href="#glyphShape-circle" + class="glyphShape-style-circle-dropshadow" + id="use45" /> + <use + xlink:href="#glyphShape-circle" + class="glyphShape-style-circle" + id="use47" /> + <use + xlink:href="#glyphShape-delete" + class="glyphShape-style" + id="use49" /> + </g> + <g + id="icon-delete-hover" + transform="translate(192)" + style="filter:url(#filter3610)"> + <use + xlink:href="#glyphShape-circle" + class="glyphShape-style-circle-dropshadow" + id="use52" /> + <use + xlink:href="#glyphShape-circle" + class="glyphShape-style-circle" + id="use54" /> + <use + xlink:href="#glyphShape-delete" + class="glyphShape-style-hover-delete" + id="use56" /> + </g> + <g + id="icon-delete-hover-active" + transform="translate(224)" + class="active-grey" + style="filter:url(#filter3616)"> + <use + xlink:href="#glyphShape-circle" + class="glyphShape-style-circle-dropshadow" + id="use59" /> + <use + xlink:href="#glyphShape-circle" + class="glyphShape-style-circle" + id="use61" /> + <use + xlink:href="#glyphShape-delete" + class="glyphShape-style-hover-active" + id="use63" /> + </g> + <g + id="g65" + transform="translate(256)" + style="filter:url(#filter3622)"> + <use + xlink:href="#glyphShape-pin" + class="glyphShape-style-pin" + id="use67" /> + </g> + <g + id="icon-pin-hover" + transform="translate(96)" + class="default-transparent" + style="opacity:1;filter:url(#filter3628)"> + <use + xlink:href="#glyphShape-circle" + class="glyphShape-style-circle-dropshadow" + id="use31" + style="" /> + <use + xlink:href="#glyphShape-circle" + class="glyphShape-style-circle" + id="use33" + style="fill:#ffffff;fill-opacity:1" /> + <use + xlink:href="#glyphShape-pin" + class="glyphShape-style-hover-pin" + id="use35" + style="" /> + </g> + <g + id="icon-pin-hover-active" + transform="translate(128)" + class="active-grey" + style="filter:url(#filter3634)"> + <use + xlink:href="#glyphShape-circle" + class="glyphShape-style-circle-dropshadow" + id="use38" /> + <use + xlink:href="#glyphShape-circle" + class="glyphShape-style-circle" + id="use40" /> + <use + xlink:href="#glyphShape-pin" + class="glyphShape-style-hover-active" + id="use42" /> + </g> +</svg> diff --git a/src/chrome/browser/newtab/newTab.css b/src/chrome/browser/newtab/newTab.css @@ -0,0 +1,201 @@ +/* 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/. */ + +:root { + -moz-appearance: none; + font-size: 75%; + background-color: transparent; +} + +/* SCROLLBOX */ +#newtab-scrollbox:not([page-disabled]) { + background-color: rgb(43,43,43); + background-attachment: fixed; +} + +/* UNDO */ +#newtab-undo-container { + padding: 4px 3px; + border: 1px solid; + border-color: rgb(75,75,75); + background-color: rgb(50,50,50); + color: #fff; +} + +#newtab-undo-label { + margin-top: 0; + margin-bottom: 0; +} + +.newtab-undo-button { + -moz-appearance: none; + color: #fff; + cursor: pointer; + padding: 0; + margin: 0 4px; + border: 0; + background: transparent; + text-decoration: underline; + min-width: 0; +} + +.newtab-undo-button:hover { + color: rgb(219,219,219); +} + +.newtab-undo-button:-moz-focusring { + outline: 1px dotted rgb(75,75,75); +} + +.newtab-undo-button > .button-box { + padding: 0; +} + +#newtab-undo-close-button { + -moz-appearance: none; + padding: 0; + border: none; + list-style-image: url("chrome://global/skin/icons/close.png"); + -moz-image-region: rect(0, 16px, 16px, 0); + -moz-user-focus: normal; +} + +#newtab-undo-close-button:hover { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +#newtab-undo-close-button:hover:active { + -moz-image-region: rect(0, 48px, 16px, 32px); +} + +#newtab-undo-close-button > .toolbarbutton-text { + display: none; +} + +#newtab-undo-close-button:-moz-focusring { + outline: 1px dotted; +} + +/* TOGGLE */ +#newtab-toggle { + background-color: transparent; + background-image: -moz-image-rect(url(chrome://browser/skin/newtab/controls.svg), 0, 32, 32, 0); + background-size: 32px; + border: none; + height: 28px; + width: 28px; +} + +#newtab-toggle:-moz-any(:hover, :active, [active]) { + background-image: -moz-image-rect(url(chrome://browser/skin/newtab/controls.svg), 0, 64, 32, 32); +} + +/* ROWS */ +.newtab-row { + margin-bottom: 20px; +} + +.newtab-row:last-child { + margin-bottom: 0; +} + +/* CELLS */ +.newtab-cell { + -moz-margin-end: 20px; + background-color: rgb(50,50,50); + border: 1px solid rgb(75,75,75); + transition: border-color 100ms ease-out; +} + +.newtab-cell:empty { + border: 1px dashed rgb(75,75,75); +} + +.newtab-cell:last-child { + -moz-margin-end: 0; +} + +.newtab-cell:hover:not(:empty) { + border-color: rgb(62,62,62); +} + +/* SITES */ +.newtab-site { + text-decoration: none; + transition-property: top, left, opacity, box-shadow, background-color; + box-shadow: 0 4px 6px rgba(255,255,255,.2); +} + +.newtab-site:hover { + box-shadow: 0 4px 8px rgba(255,255,255,.5); +} + +.newtab-site[dragged] { + transition-property: box-shadow, background-color; + background-color: rgb(75,75,75); + box-shadow: 0 18px 24px rgba(255,255,255,.5); +} + +/* THUMBNAILS */ +.newtab-thumbnail { + background-origin: padding-box; + background-clip: padding-box; + background-repeat: no-repeat; + background-size: cover; + opacity: 1; +} + +/* TITLES */ +.newtab-title { + padding: 0 8px; + background-color: rgb(50,50,50); + color: #fff; + line-height: 24px; +} + +/* CONTROLS */ +.newtab-control { + background-color: transparent; + background-size: 24px; + border: none; + height: 26px; + width: 24px; +} + +.newtab-control-pin, +.newtab-site[pinned] .newtab-control-pin:hover { + background-image: -moz-image-rect(url(chrome://browser/skin/newtab/controls.svg), 0, 96, 33, 64); +} + +.newtab-control-pin:hover:active, +.newtab-site[pinned] .newtab-control-pin:hover:active { + background-image: -moz-image-rect(url(chrome://browser/skin/newtab/controls.svg), 0, 160, 33, 128); +} + +.newtab-control-pin:hover, +.newtab-site[pinned] .newtab-control-pin { + background-image: -moz-image-rect(url(chrome://browser/skin/newtab/controls.svg), 0, 128, 33, 96); +} + +.newtab-control-block { + background-image: -moz-image-rect(url(chrome://browser/skin/newtab/controls.svg), 0, 192, 33, 160); +} + +.newtab-control-block:hover { + background-image: -moz-image-rect(url(chrome://browser/skin/newtab/controls.svg), 0, 224, 33, 192); +} + +.newtab-control-block:hover:active { + background-image: -moz-image-rect(url(chrome://browser/skin/newtab/controls.svg), 0, 256, 33, 224); +} + +/* MARGINS */ +#newtab-margin-top, +#newtab-margin-bottom { + min-height: 30px; +} + +.newtab-side-margin { + min-width: 50px; +} diff --git a/src/chrome/browser/newtab/noise.png b/src/chrome/browser/newtab/noise.png Binary files differ. diff --git a/src/chrome/browser/notification-16.png b/src/chrome/browser/notification-16.png Binary files differ. diff --git a/src/chrome/browser/notification-64.png b/src/chrome/browser/notification-64.png Binary files differ. diff --git a/src/chrome/browser/notification-pluginAlert.png b/src/chrome/browser/notification-pluginAlert.png Binary files differ. diff --git a/src/chrome/browser/notification-pluginBlocked.png b/src/chrome/browser/notification-pluginBlocked.png Binary files differ. diff --git a/src/chrome/browser/notification-pluginNormal.png b/src/chrome/browser/notification-pluginNormal.png Binary files differ. diff --git a/src/chrome/browser/page-livemarks.png b/src/chrome/browser/page-livemarks.png Binary files differ. diff --git a/src/chrome/browser/pageInfo.css b/src/chrome/browser/pageInfo.css @@ -0,0 +1,252 @@ +/* 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 "chrome://global/skin/"; + +/* View buttons */ +#viewGroup { + -moz-padding-start: 10px; +} + +#viewGroup > radio { + list-style-image: url("chrome://browser/skin/pageInfo.png"); + -moz-box-orient: vertical; + -moz-box-align: center; + -moz-appearance: none; + padding: 5px 3px 1px 3px; + margin: 0 1px; + min-width: 4.5em; +} + +#viewGroup > radio:hover { + background-color: rgb(75,75,75); + color: #fff; +} + +#viewGroup > radio[selected="true"] { + background-color: rgb(110,110,110); + color: #fff; +} + +#topBar { + border-bottom: 1px solid rgb(75,75,75); + -moz-padding-start: 10px; + background-color: rgb(43,43,43); + color: #fff; +} + +#generalTab { + -moz-image-region: rect(0px, 32px, 32px, 0px) +} + +#generalTab:hover, #generalTab[selected="true"] { + -moz-image-region: rect(32px, 32px, 64px, 0px) +} + +#mediaTab { + -moz-image-region: rect(0px, 64px, 32px, 32px) +} + +#mediaTab:hover, #mediaTab[selected="true"] { + -moz-image-region: rect(32px, 64px, 64px, 32px) +} + +#feedTab { + -moz-image-region: rect(0px, 96px, 32px, 64px) +} + +#feedTab:hover, #feedTab[selected="true"] { + -moz-image-region: rect(32px, 96px, 64px, 64px) +} + +#permTab { + -moz-image-region: rect(0px, 128px, 32px, 96px) +} + +#permTab:hover, #permTab[selected="true"] { + -moz-image-region: rect(32px, 128px, 64px, 96px) +} + +#securityTab { + -moz-image-region: rect(0px, 160px, 32px, 128px) +} + +#securityTab:hover, #securityTab[selected="true"] { + -moz-image-region: rect(32px, 160px, 64px, 128px) +} + +deck { + padding: 10px 10px 10px 10px; +} + +/* Misc */ +tree { + margin: .5em; +} + +.gridSeparator { + width: .5em; +} + +textbox { + background: transparent !important; + border: none; + padding: 0px; + margin-top: 1px; + -moz-appearance: none; +} + +textbox.header { + -moz-margin-start: 0; +} + +.iframe { + margin: .5em; + background: white; + overflow: auto; +} + +.fixedsize { + height: 8.5em; +} + +textbox[disabled] { + font-style: italic; +} + +/* General Tab */ +groupbox.collapsable caption .caption-icon { + width: 9px; + height: 9px; + background-repeat: no-repeat; + background-position: center; + -moz-margin-start: 2px; + -moz-margin-end: 2px; + background-image: url("chrome://global/skin/tree/twisty-open.png"); +} + +groupbox.collapsable[closed="true"] { + border: none; + margin-bottom: 9px; + -moz-appearance: none; +} + +groupbox.collapsable[closed="true"] caption .caption-icon { + background-image: url("chrome://global/skin/tree/twisty-clsd.png"); +} + +groupbox tree { + margin: 0 3px; + border: none; +} + +#securityBox description { + -moz-margin-start: 10px; +} + +#general-security-identity { + white-space: pre-wrap; + line-height: 2em; +} + +/* Media Tab */ +#imagetree { + min-height: 10em; + margin-bottom: 0; +} + +#mediaSplitter { + border-style: none; + background: none; + height: .8em; +} + +#mediaGrid { + min-height: 9em; +} + +#mediaLabelColumn { + min-width: 10em; +} + +#thepreviewimage { + margin: 1em; +} + +treechildren::-moz-tree-cell-text(broken) { + font-style: italic; + color: graytext; +} + +/* Feeds Tab */ +#feedtree { + margin-bottom: 0px; +} + +#feedListbox richlistitem { + padding-top: 6px; + padding-bottom: 6px; + -moz-padding-start: 7px; + -moz-padding-end: 7px; + min-height: 25px; + border-bottom: 1px dotted rgb(75,75,75); +} + +#feedListbox richlistitem[selected="true"] { + background-color: rgb(110,110,110); + color: #fff; +} + +#feedListbox { + border: 1px solid rgb(75,75,75); +} + +.feedTitle { + font-weight: bold; +} + +/* Permissions Tab */ +#permList { + margin-top: .5em; + overflow: auto; + border: 1px solid rgb(75,75,75); + background-color: rgb(43,43,43); + color: #fff; +} + +.permission { + padding-top: 6px; + padding-bottom: 6px; + -moz-padding-start: 7px; + -moz-padding-end: 7px; + min-height: 25px; + border-bottom: 1px dotted rgb(75,75,75); +} + +.permissionLabel { + font-weight: bold; + color: #fff; +} + +.permission:hover { + background-color: rgb(75,75,75); +} + +/* Security Tab */ +#securityPanel .caption-icon { + display: none; +} + +#securityPanel .header { + font-size: 120%; +} + +#securityPanel .fieldLabel { + margin: 2px 10px 3px 10px; +} + +#securityPanel .fieldValue { + font-weight: bold; + margin: 2px 10px 0px 10px; +} diff --git a/src/chrome/browser/pageInfo.png b/src/chrome/browser/pageInfo.png Binary files differ. diff --git a/src/chrome/browser/places/allBookmarks.png b/src/chrome/browser/places/allBookmarks.png Binary files differ. diff --git a/src/chrome/browser/places/bookmark.png b/src/chrome/browser/places/bookmark.png Binary files differ. diff --git a/src/chrome/browser/places/bookmarksMenu.png b/src/chrome/browser/places/bookmarksMenu.png Binary files differ. diff --git a/src/chrome/browser/places/bookmarksToolbar.png b/src/chrome/browser/places/bookmarksToolbar.png Binary files differ. diff --git a/src/chrome/browser/places/calendar.png b/src/chrome/browser/places/calendar.png Binary files differ. diff --git a/src/chrome/browser/places/downloads.png b/src/chrome/browser/places/downloads.png Binary files differ. diff --git a/src/chrome/browser/places/editBookmarkOverlay.css b/src/chrome/browser/places/editBookmarkOverlay.css @@ -0,0 +1,80 @@ +/* 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/. */ + +/**** folder menulist ****/ +.folder-icon > .menulist-label-box > .menulist-icon { + width: 16px; + height: 16px; +} + +.folder-icon > .menu-iconic-left { + display: -moz-box; +} + +.folder-icon { + list-style-image: url("chrome://global/skin/icons/folder-item.png") !important; + -moz-image-region: rect(0px, 32px, 16px, 16px) !important; +} + + +/**** expanders ****/ + +.expander-up, +.expander-down { + min-width: 0; + margin: 0; + -moz-margin-end: 4px; +} + +.expander-up > .button-box, +.expander-down > .button-box { + padding: 0; +} + +.expander-up { + list-style-image: url("chrome://global/skin/icons/collapse.png"); +} + +.expander-down { + list-style-image: url("chrome://global/skin/icons/expand.png"); +} + +#editBookmarkPanelContent { + min-width: 23em; +} + +#editBMPanel_folderTree { + margin-top: 2px; + margin-bottom: 2px; +} + +/* Hide the value column of the tag autocomplete popup + * leaving only the comment column visible. This is + * so that only the tag being edited is shown in the + * popup. + */ +#editBMPanel_tagsField #treecolAutoCompleteValue { + visibility: collapse; +} + + +/* ::::: bookmark panel dropdown icons ::::: */ + +#editBMPanel_folderMenuList[selectedIndex="0"], +#editBMPanel_toolbarFolderItem { + list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important; + -moz-image-region: auto !important; +} + +#editBMPanel_folderMenuList[selectedIndex="1"], +#editBMPanel_bmRootItem { + list-style-image: url("chrome://browser/skin/places/bookmarksMenu.png") !important; + -moz-image-region: auto !important; +} + +#editBMPanel_folderMenuList[selectedIndex="2"], +#editBMPanel_unfiledRootItem { + list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png") !important; + -moz-image-region: auto !important; +} diff --git a/src/chrome/browser/places/history.png b/src/chrome/browser/places/history.png Binary files differ. diff --git a/src/chrome/browser/places/libraryToolbar.png b/src/chrome/browser/places/libraryToolbar.png Binary files differ. diff --git a/src/chrome/browser/places/livemark-item.png b/src/chrome/browser/places/livemark-item.png Binary files differ. diff --git a/src/chrome/browser/places/organizer.css b/src/chrome/browser/places/organizer.css @@ -0,0 +1,214 @@ +/* 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/. */ + +/* 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/. */ + + + +/* 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/. */ + +/* Toolbar */ +#placesToolbar { + padding: 3px; + -moz-padding-end: 6px; +} + +#placesToolbar > toolbarbutton[disabled] > .toolbarbutton-icon { + opacity: .4; +} + +#back-button, +#forward-button { + list-style-image: url("chrome://browser/skin/Toolbar.png"); +} + + +#back-button { + -moz-image-region: rect(0, 18px, 18px, 0); +} + +#forward-button { + -moz-image-region: rect(0, 36px, 18px, 18px); + margin-left: 5px; +} + +#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, +#forward-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { + transform: scaleX(-1); +} + +/* Menu */ +#placesMenu { + -moz-margin-start: 6px; + -moz-appearance: none; + border: none; +} + +#placesMenu > menu { + -moz-padding-start: 4px; + -moz-padding-end: 1px; + padding-top: 2px; + padding-bottom: 2px; + -moz-appearance: none; + color: #fff; + border: 1px solid transparent; + border-radius: 3px; +} + +#placesMenu > menu[_moz-menuactive="true"] { + background-color: rgb(110,110,110); +} + +#placesMenu > menu:hover { + border: 1px solid rgb(50,50,50); + background-color: rgb(75,75,75); +} + +#placesMenu > menu[open="true"] { + border: 1px solid rgb(50,50,50); + background-color: rgb(110,110,110); +} + +#placesMenu > menu > .menubar-text { + -moz-padding-end: 8px; + background: url(chrome://global/skin/arrow/arrow-dn.gif) right center no-repeat; +} + +#placesMenu > menu > .menubar-text:-moz-locale-dir(rtl) { + background-position: left center; +} + +/* organize, view and maintenance buttons icons */ +#organizeButton, +#viewMenu, +#maintenanceButton { + list-style-image: url("chrome://browser/skin/places/libraryToolbar.png"); +} + +/* organize button */ +#organizeButton { + -moz-image-region: rect(0px, 16px, 16px, 0px); +} +#organizeButton:hover, +#organizeButton[open="true"] { + -moz-image-region: rect(16px, 16px, 32px, 0px); +} + +/* view button */ +#viewMenu { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} +#viewMenu:hover, +#viewMenu[open="true"] { + -moz-image-region: rect(16px, 32px, 32px, 16px); +} + +/* maintenance button */ +#maintenanceButton { + -moz-image-region: rect(0px, 48px, 16px, 32px); +} +#maintenanceButton:hover, +#maintenanceButton[open="true"] { + -moz-image-region: rect(16px, 48px, 32px, 32px); +} + +/* Root View */ +#placesView { + border-top: 1px solid rgb(75,75,75); +} + +/* Info box */ +#detailsDeck { + border-top: 1px solid rgb(75,75,75); + padding: 5px; +} + +#infoBoxExpanderLabel { + -moz-padding-start: 2px; +} + +#searchFilter { + margin: 0; +} + +/** + * Downloads pane + */ + +#clearDownloadsButton > .toolbarbutton-icon { + display: none; +} + +#clearDownloadsButton { + -moz-appearance: none; + -moz-padding-start: 9px; + -moz-padding-end: 9px; +} + + +#placesView { + border-top: none; +} + +#placesToolbox { + border-top: none; +} + +#placesToolbar { + background-color: rgb(43,43,43); +} + +#placesView > splitter { + border: 0; + -moz-border-end: 1px solid rgb(75,75,75); + min-width: 0; + width: 3px; + background-color: transparent; + -moz-margin-start: -3px; + position: relative; +} + +#placesToolbar { + color: #fff; +} + +#detailsDeck { + border-top-color: rgb(75,75,75); +} + +#searchFilter { + -moz-appearance: none; + padding: 4px; + -moz-padding-start: 6px; + background-color: rgb(50,50,50); + background-clip: padding-box; + border: 1px solid rgb(75,75,75); + border-radius: 5px; +} + +#placesToolbar > toolbarbutton { + border-radius: 3px; + margin-left: 7px; +} +#placesToolbar > toolbarbutton:not([disabled="true"]):hover { + border: 1px solid rgb(50,50,50); + background-color: rgb(75,75,75); +} + +#placesToolbar > toolbarbutton:not([disabled="true"]):hover:active, +#placesToolbar > toolbarbutton:not([disabled="true"])[open="true"] { + border: 1px solid rgb(50,50,50); + background-color: rgb(110,110,110); +} +#placesToolbar > toolbarbutton > .toolbarbutton-icon { + margin-right: 4px; +} +#back-button, +#forward-button { + margin-right: 0; +} diff --git a/src/chrome/browser/places/places.css b/src/chrome/browser/places/places.css @@ -0,0 +1,159 @@ +/* Sidebars */ +.sidebar-placesTree { + -moz-appearance: none; + border: 0; + margin: 0; + border-top: 1px solid ThreeDShadow; +} + +.sidebar-placesTreechildren::-moz-tree-cell(leaf) , +.sidebar-placesTreechildren::-moz-tree-image(leaf) { + cursor: pointer; +} + +.sidebar-placesTreechildren::-moz-tree-cell-text(leaf, hover) { + cursor: pointer; + text-decoration: underline; +} + +.sidebar-placesTreechildren::-moz-tree-cell(separator) { + cursor: default; +} + +/* Trees */ +treechildren::-moz-tree-image(title) { + list-style-image: url("chrome://global/skin/icons/folder-item.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); + padding-right: 2px; + margin: 0px 2px; + width: 16px; + height: 16px; +} + +treechildren::-moz-tree-image(title, livemarkItem) { + list-style-image: url("chrome://browser/skin/places/livemark-item.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); +} + +treechildren::-moz-tree-image(title, livemarkItem, visited) { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +treechildren::-moz-tree-image(title, separator) { + list-style-image: none; + width: 0; + height: 0; +} + +treechildren::-moz-tree-image(title, container) { + list-style-image: url("chrome://global/skin/icons/folder-item.png"); + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +treechildren::-moz-tree-image(title, open) { + -moz-image-region: rect(16px, 32px, 32px, 16px); +} + +treechildren::-moz-tree-image(title, container, livemark) { + list-style-image: url("chrome://browser/skin/livemark-folder.png"); + -moz-image-region: auto; +} + +treechildren::-moz-tree-image(container, OrganizerQuery_AllBookmarks) { + list-style-image: url("chrome://browser/skin/places/allBookmarks.png"); + -moz-image-region: auto; +} + +treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksToolbar) { + list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png"); + -moz-image-region: auto; +} + +treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksMenu) { + list-style-image: url("chrome://browser/skin/places/bookmarksMenu.png"); + -moz-image-region: auto; +} + +treechildren::-moz-tree-image(container, OrganizerQuery_UnfiledBookmarks) { + list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png"); + -moz-image-region: auto; +} + +/* query-nodes should be styled even if they're not expandable */ +treechildren::-moz-tree-image(title, query) { + list-style-image: url("chrome://browser/skin/places/query.png"); + -moz-image-region: auto; +} + +treechildren::-moz-tree-image(title, query, tagContainer), +treechildren::-moz-tree-image(query, OrganizerQuery_Tags) { + list-style-image: url("chrome://browser/skin/places/tag.png"); + -moz-image-region: auto; +} + +treechildren::-moz-tree-image(query, OrganizerQuery_Downloads) { + list-style-image: url("chrome://browser/skin/places/downloads.png"); + -moz-image-region: auto; +} + +/* calendar icon for folders grouping items by date */ +treechildren::-moz-tree-image(title, query, dayContainer) { + list-style-image: url("chrome://browser/skin/places/calendar.png"); + -moz-image-region: auto; +} + +treechildren::-moz-tree-image(title, query, hostContainer) { + list-style-image: url("chrome://global/skin/icons/folder-item.png"); + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +treechildren::-moz-tree-image(title, query, hostContainer, open) { + list-style-image: url("chrome://global/skin/icons/folder-item.png"); + -moz-image-region: rect(16px, 32px, 32px, 16px); +} + +treechildren::-moz-tree-image(title, query, OrganizerQuery_History) { + list-style-image: url("chrome://browser/skin/places/history.png"); +} + +/* We want some queries to look like ordinary folders. This must come + after the (title, query) selector, or it would get overridden. */ +treechildren::-moz-tree-image(title, query, folder) { + list-style-image: url("chrome://global/skin/icons/folder-item.png"); + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +treechildren::-moz-tree-image(title, query, folder, open) { + -moz-image-region: rect(16px, 32px, 32px, 16px); +} + +treechildren::-moz-tree-image(cutting) { + opacity: 0.5; +} + +treechildren::-moz-tree-cell-text(cutting) { + opacity: 0.7; +} + +/*added by Louis*/ +treechildren::-moz-tree-row(selected, focus) { + background-color: rgb(110,110,110); + border: none; +} +treechildren::-moz-tree-cell-text(selected, focus) { + color: #fff; +} + +/* Browser Sidebars */ + +/* Default button vert. margins are 1px/2px, and this can cause misalignment */ +#viewButton { + margin-top: 2px; + margin-bottom: 2px; +} + +#viewButton > .button-box > .button-menu-dropmarker { + height: auto; + width: auto; + -moz-margin-end: -3px; +} +\ No newline at end of file diff --git a/src/chrome/browser/places/query.png b/src/chrome/browser/places/query.png Binary files differ. diff --git a/src/chrome/browser/places/starred48.png b/src/chrome/browser/places/starred48.png Binary files differ. diff --git a/src/chrome/browser/places/tag.png b/src/chrome/browser/places/tag.png Binary files differ. diff --git a/src/chrome/browser/places/toolbarDropMarker.png b/src/chrome/browser/places/toolbarDropMarker.png Binary files differ. diff --git a/src/chrome/browser/places/unsortedBookmarks.png b/src/chrome/browser/places/unsortedBookmarks.png Binary files differ. diff --git a/src/chrome/browser/places/unstarred48.png b/src/chrome/browser/places/unstarred48.png Binary files differ. diff --git a/src/chrome/browser/pluginInstall-16.png b/src/chrome/browser/pluginInstall-16.png Binary files differ. diff --git a/src/chrome/browser/pluginInstall-64.png b/src/chrome/browser/pluginInstall-64.png Binary files differ. diff --git a/src/chrome/browser/pointerLock-16.png b/src/chrome/browser/pointerLock-16.png Binary files differ. diff --git a/src/chrome/browser/pointerLock-64.png b/src/chrome/browser/pointerLock-64.png Binary files differ. diff --git a/src/chrome/browser/preferences/Options-sync.png b/src/chrome/browser/preferences/Options-sync.png Binary files differ. diff --git a/src/chrome/browser/preferences/Options.png b/src/chrome/browser/preferences/Options.png Binary files differ. diff --git a/src/chrome/browser/preferences/aboutPermissions.css b/src/chrome/browser/preferences/aboutPermissions.css @@ -0,0 +1,114 @@ +/* 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://global/skin/inContentUI.css"); + + +/* sites box */ + +#sites-box { + padding: 10px; + width: 25em; +} + +#sites-filter { + margin: 0; +} + +#sites-list { + -moz-appearance: none; + border: 1px solid rgba(0, 0, 0, 0.32); + background-color: rgba(255, 255, 255, 0.4); + margin: 5px 0 0 0; +} + +.site { + padding: 4px; + border-bottom: 1px solid ThreeDLightShadow; +} + +.site-favicon { + height: 16px; + width: 16px; + -moz-margin-end: 4px; + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); +} + +#all-sites-item > .site-container > .site-favicon { + list-style-image: none; +} + +/* permissions box */ + +#permissions-box { + padding-top: 10px; + overflow-y: auto; +} + +#site-description { + font-size: 125%; + -moz-margin-start: 6px; /* to match button margin */ +} + +#site-label { + font-weight: bold; + margin-top: 0; + margin-bottom: 0; +} + +#defaults-description { + font-size: 125%; + font-weight: bold; + -moz-margin-start: 6px; +} + +.pref-item { + margin-bottom: 10px; +} + +.pref-icon { + width: 36px; + height: 36px; + -moz-margin-end: 10px; +} + +.pref-icon[type="password"] { + list-style-image: url(chrome://mozapps/skin/passwordmgr/key-64.png); +} +.pref-icon[type="cookie"] { + list-style-image: url(chrome://global/skin/icons/question-64.png); +} +.pref-icon[type="geo"] { + list-style-image: url(chrome://browser/skin/Geolocation-64.png); +} +.pref-icon[type="indexedDB"] { + list-style-image: url(chrome://global/skin/icons/question-64.png); +} +.pref-icon[type="install"] { + list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric.png); +} +.pref-icon[type="popup"] { + list-style-image: url(chrome://global/skin/icons/question-64.png); +} +.pref-icon[type="image"] { + list-style-image: url(chrome://global/skin/icons/question-64.png); +} +.pref-icon[type="plugins"] { + list-style-image: url(chrome://mozapps/skin/plugins/pluginGeneric.png); +} +.pref-icon[type="fullscreen"] { + list-style-image: url(chrome://global/skin/icons/question-64.png); +} + +.pref-title { + font-size: 125%; + margin-bottom: 0; + font-weight: bold; +} + +.pref-menulist { + margin-left: 6px; + margin-right: 6px; + min-width: 10em; /* native menulists ellipsize their longest entries by default on many themes */ +} diff --git a/src/chrome/browser/preferences/alwaysAsk.png b/src/chrome/browser/preferences/alwaysAsk.png Binary files differ. diff --git a/src/chrome/browser/preferences/application.png b/src/chrome/browser/preferences/application.png Binary files differ. diff --git a/src/chrome/browser/preferences/applications.css b/src/chrome/browser/preferences/applications.css @@ -0,0 +1,64 @@ +/* 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/. */ + +/** + * Line up the actions menu with action labels above and below it. + * Equalize the distance from the left side of the action box to the left side + * of the icon for both the menu and the non-menu versions of the action box. + * Also make sure the labels are the same distance away from the icons. + */ +.actionsMenu { + margin-top: 0; + margin-bottom: 0; + -moz-margin-start: -2px; + -moz-margin-end: 0; +} + +.typeIcon, +.actionIcon { + -moz-margin-start: 3px; + -moz-margin-end: 3px; +} + +#handlersView > richlistitem label { + -moz-margin-start: 1px; + margin-top: 2px; +} + +#handlersView > richlistitem { + min-height: 22px; +} + +richlistitem[appHandlerIcon="ask"], +menuitem[appHandlerIcon="ask"] { + list-style-image: url("chrome://browser/skin/preferences/alwaysAsk.png"); +} + +richlistitem[appHandlerIcon="save"], +menuitem[appHandlerIcon="save"] { + list-style-image: url("chrome://browser/skin/preferences/application.png"); +} + +richlistitem[appHandlerIcon="feed"], +menuitem[appHandlerIcon="feed"] { + list-style-image: url("chrome://browser/skin/page-livemarks.png"); +} + +richlistitem[appHandlerIcon="plugin"], +menuitem[appHandlerIcon="plugin"] { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png"); +} + +.actionsMenu .menulist-icon { + -moz-margin-end: 3px; +} + +.actionsMenu > menupopup > menuitem > .menu-iconic-left { + -moz-padding-start: 0px; + -moz-padding-end: 2px; +} + +.actionsMenu > menupopup > menuitem { + -moz-padding-start: 4px; +} diff --git a/src/chrome/browser/preferences/in-content/preferences.css b/src/chrome/browser/preferences/in-content/preferences.css @@ -0,0 +1,193 @@ +/* - 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://global/skin/inContentUI.css"); + +@namespace html "http://www.w3.org/1999/xhtml"; + +#header { + margin-bottom: 18px; +} + +caption { + font-size: 1.667rem; +} + +.main-content { + max-width: 800px; +} + +prefpane > .content-box { + overflow: auto; +} + +/* Category List */ + +#categories { + -moz-appearance: none; + border: none; + -moz-margin-end: -1px; + background-color: transparent; + position: relative; + margin-top: 31px; +} + +.category { + -moz-appearance: none; + background-color: transparent; + color: #252F3B; + padding: 10px 4px; + border-width: 1px; + border-style: solid; + border-color: transparent; + -moz-padding-end: 8px; + -moz-box-align: center; + overflow: hidden; + min-height: 0; + height: 52px; +} + +.category:-moz-locale-dir(ltr) { + border-top-left-radius: 5px; + border-bottom-left-radius: 5px; +} + +.category:-moz-locale-dir(rtl) { + border-top-right-radius: 5px; + border-bottom-right-radius: 5px; +} + +.category[selected] { + background-color: rgba(255, 255, 255, 0.4); + color: #252F3B; + border-color: #C3CEDF; + -moz-border-end-color: #E2E9F2; +} + +.category-name { + font-size: 1.5rem; + -moz-padding-end: 24px; +} + +/* Maximize the size of the viewport when the window is small */ +@media (max-width: 800px) { + .category-name { + display: none; + } +} + +.category-icon { + width: 32px; + height: 32px; + margin: 0 6px; + -moz-margin-start: 6px; + -moz-margin-end: 5px; + list-style-image: url("chrome://browser/skin/preferences/Options.png"); +} + +#category-general > .category-icon { + -moz-image-region: rect(0, 32px, 32px, 0); +} + +#category-content > .category-icon { + -moz-image-region: rect(0, 96px, 32px, 64px) +} + +#category-application > .category-icon { + -moz-image-region: rect(0, 128px, 32px, 96px) +} + +#category-privacy > .category-icon { + -moz-image-region: rect(0, 160px, 32px, 128px) +} + +#category-security > .category-icon { + -moz-image-region: rect(0, 192px, 32px, 160px) +} + +#category-advanced > .category-icon { + -moz-image-region: rect(0, 224px, 32px, 192px) +} + +#category-sync > .category-icon { + list-style-image: url("chrome://browser/skin/preferences/Options-sync.png"); +} + +/* Applications Pane Styles */ + +#applications-content { + padding: 15px; +} + +#handlersView { + -moz-appearance: none; + border: 1px solid rgba(31,64,100,0.4); + overflow-y: auto; +} + +/* XXX This style is for bug 740213 and should be removed once that + bug has a solution. */ +description > html|a { + cursor: pointer; +} + +/* XXX Styles Below can be removed once bug 660726 lands */ +.nav-button { + list-style-image: url(chrome://mozapps/skin/extensions/navigation.png); +} + +#forward-btn { + -moz-border-start: none; +} + +#back-btn:-moz-locale-dir(ltr), +#forward-btn:-moz-locale-dir(rtl) { + -moz-image-region: rect(0, 18px, 18px, 0); + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +#back-btn:-moz-locale-dir(rtl), +#forward-btn:-moz-locale-dir(ltr) { + -moz-image-region: rect(0, 36px, 18px, 18px); + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.header-button[disabled="true"] { + opacity: 0.8; +} + +.header-button { + -moz-appearance: none; + padding: 1px 3px; + color: #444; + text-shadow: 0 0 3px white; + background: linear-gradient( + rgba(251,252,253,0.95), + rgba(246,247,248,0) 49%, + rgba(211,212,213,0.45) 51%, + rgba(225,226,229, 0.3)); + background-clip: padding-box; + border-radius: 2.5px; + border: 1px solid rgba(31,64,100,0.4); + border-top-color: rgba(31,64,100,0.3); + box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset, + 0 0 2px 1px rgba(255, 255, 255, 0.25) inset; +} + +.header-button[disabled="true"] > .toolbarbutton-icon { + opacity: 0.4; +} + +.header-button:not([disabled="true"]):active:hover, +.header-button[open="true"] { + background-color: rgba(61, 76, 92, 0.2); + border-color: rgba(39, 53, 68, 0.5); + box-shadow: 0 0 3px 1px rgba(39, 53, 68, 0.2) inset; +} + +.header-button > .toolbarbutton-text { + display: none; +} diff --git a/src/chrome/browser/preferences/mail.png b/src/chrome/browser/preferences/mail.png Binary files differ. diff --git a/src/chrome/browser/preferences/preferences.css b/src/chrome/browser/preferences/preferences.css @@ -0,0 +1,137 @@ +/* +# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# 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/. +*/ + +/* Global Styles */ +#BrowserPreferences radio[pane] { + list-style-image: url("chrome://browser/skin/preferences/Options.png"); + padding: 5px 3px 1px; +} + +radio[pane=paneMain] { + -moz-image-region: rect(0, 32px, 32px, 0); +} + +radio[pane=paneTabs] { + -moz-image-region: rect(0, 64px, 32px, 32px); +} + +radio[pane=paneContent] { + -moz-image-region: rect(0, 96px, 32px, 64px); +} + +radio[pane=paneApplications] { + -moz-image-region: rect(0, 128px, 32px, 96px); +} + +radio[pane=panePrivacy] { + -moz-image-region: rect(0, 160px, 32px, 128px); +} + +radio[pane=paneSecurity] { + -moz-image-region: rect(0, 192px, 32px, 160px); +} + +radio[pane=paneAdvanced] { + -moz-image-region: rect(0, 224px, 32px, 192px); +} + +radio[pane=paneSync] { + list-style-image: url("chrome://browser/skin/preferences/Options-sync.png") !important; +} + +/* Applications Pane */ +#BrowserPreferences[animated="true"] #handlersView { + height: 25em; +} + +#BrowserPreferences[animated="false"] #handlersView { + -moz-box-flex: 1; +} + +/* Privacy Pane */ + +/* styles for the link elements copied from .text-link in global.css */ +.inline-link { + color: -moz-nativehyperlinktext; + text-decoration: none; +} + +.inline-link:hover { + text-decoration: underline; +} + +/* Modeless Window Dialogs */ +.windowDialog, +.windowDialog prefpane { + padding: 0; +} + +.contentPane { + margin: 9px 8px 5px; +} + +.actionButtons { + margin: 0 3px 6px !important; +} + +/* Cookies Manager */ +#cookiesChildren::-moz-tree-image(domainCol) { + width: 16px; + height: 16px; + margin: 0 2px; + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png") !important; +} + +#cookiesChildren::-moz-tree-image(domainCol, container) { + list-style-image: url("chrome://global/skin/icons/folder-item.png") !important; + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +#cookiesChildren::-moz-tree-image(domainCol, container, open) { + -moz-image-region: rect(16px, 32px, 32px, 16px); +} + +#cookieInfoBox { + border: 1px solid ThreeDShadow; + border-radius: 0; + margin: 4px; + padding: 0; +} + +/* Advanced Pane */ + +/* Adding padding-bottom prevents the bottom of the tabpanel from being cutoff + when browser.preferences.animateFadeIn = true */ +#advancedPrefs { + padding-bottom: 8px; +} + +/* bottom-most box containing a groupbox in a prefpane. Prevents the bottom + of the groupbox from being cutoff */ +.bottomBox { + padding-bottom: 4px; +} + +/* Sync Pane */ + +#syncDesc { + padding: 0 8em; +} + +.syncGroupBox { + padding: 10px; +} + +#accountCaptionImage { + list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); +} + +#syncAddDeviceLabel { + margin-top: 1em; + margin-bottom: 1em; +} + diff --git a/src/chrome/browser/preferences/saveFile.png b/src/chrome/browser/preferences/saveFile.png Binary files differ. diff --git a/src/chrome/browser/privatebrowsing-dark.png b/src/chrome/browser/privatebrowsing-dark.png Binary files differ. diff --git a/src/chrome/browser/privatebrowsing-light.png b/src/chrome/browser/privatebrowsing-light.png Binary files differ. diff --git a/src/chrome/browser/reload-stop-go.png b/src/chrome/browser/reload-stop-go.png Binary files differ. diff --git a/src/chrome/browser/sanitizeDialog.css b/src/chrome/browser/sanitizeDialog.css @@ -0,0 +1,93 @@ +/* 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/. */ + +#sanitizeDurationChoice { + -moz-margin-end: 0; +} + +/* Align the duration label with the warning box and item list */ +#sanitizeDurationLabel { + -moz-margin-start: 3px; +} + + +/* Hide the duration dropdown suffix label if it's empty. Otherwise it + takes up a little space, causing the end of the dropdown to not be aligned + with the warning box. */ +#sanitizeDurationSuffixLabel[value=""] { + display: none; +} + + +/* Places tree */ +#placesTreechildren::-moz-tree-row(selected), +#placesTreechildren::-moz-tree-row(grippyRow) { + background: #999; +} + +#placesTreechildren::-moz-tree-cell-text(selected) { + color: #111; +} + + +/* Sanitize everything warning box */ +#sanitizeEverythingWarningBox { + background-color: Window; + border: 1px solid ThreeDDarkShadow; + border-radius: 5px; + padding: 16px; +} + +#sanitizeEverythingWarningIcon { + list-style-image: url("chrome://global/skin/icons/warning-large.png"); + padding: 0; + margin: 0; +} + +#sanitizeEverythingWarningDescBox { + padding: 0 16px; + margin: 0; +} + + +/* Progressive disclosure button */ +#detailsExpanderWrapper { + padding: 0; + margin: 6px 0; +} + +.expander-up, +.expander-down { + min-width: 0; + margin: 0; +} + +.expander-up > .button-box, +.expander-down > .button-box { + padding: 0; +} + +.expander-up { + list-style-image: url("chrome://global/skin/icons/collapse.png"); +} + +.expander-down { + list-style-image: url("chrome://global/skin/icons/expand.png"); +} + + +/* Make the item list the same width as the warning box */ +#itemList { + -moz-margin-start: 0; + -moz-margin-end: 0; +} + + +/* Align the last dialog button with the end of the warning box */ +.prefWindow-dlgbuttons { + -moz-margin-end: 0; +} +.dialog-button[dlgtype="cancel"] { + -moz-margin-end: 0; +} diff --git a/src/chrome/browser/searchbar-dropdown-arrow.png b/src/chrome/browser/searchbar-dropdown-arrow.png Binary files differ. diff --git a/src/chrome/browser/searchbar.css b/src/chrome/browser/searchbar.css @@ -0,0 +1,81 @@ +/* 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/. */ + +.searchbar-textbox { + width: 6em; + min-width: 6em; +} + +.autocomplete-textbox-container { + -moz-box-align: stretch; +} + +.textbox-input-box { + margin: 0; +} + +/* ::::: searchbar-engine-button ::::: */ + +.searchbar-engine-image { + height: 16px; + width: 16px; + list-style-image: url("chrome://global/skin/icons/folder-item.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); + -moz-margin-start: 2px; +} + +.searchbar-engine-button { + -moz-appearance: none; + min-width: 0; + margin: 0; + padding: 0; + -moz-padding-end: 2px; + -moz-box-align: center; + background: none; + border: none; +} + +.searchbar-engine-button > .button-box { + -moz-appearance: none; + padding: 0; + border: 0; +} + +.searchbar-dropmarker-image { + list-style-image: url("chrome://browser/skin/searchbar-dropdown-arrow.png"); + -moz-image-region: rect(0, 13px, 11px, 0); +} + +.searchbar-engine-button[open="true"] > .searchbar-dropmarker-image { + -moz-image-region: rect(0, 26px, 11px, 13px); +} + + +/* ::::: search-go-button ::::: */ + +.search-go-container { + -moz-box-align: center; +} + +.search-go-button { + padding: 1px; + list-style-image: url("chrome://global/skin/icons/Search-glass.png"); + -moz-image-region: rect(0px 16px 16px 0px); +} + +.search-go-button:-moz-locale-dir(rtl) { + transform: scaleX(-1); +} + +.search-go-button:hover { + -moz-image-region: rect(0px 32px 16px 16px); +} + +.search-go-button:hover:active { + -moz-image-region: rect(0px, 48px, 16px, 32px); +} + +.searchbar-engine-menuitem[selected="true"] > .menu-iconic-text { + font-weight: bold; +} diff --git a/src/chrome/browser/setDesktopBackground.css b/src/chrome/browser/setDesktopBackground.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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +html|canvas#screen { + margin: 12px 11px 32px; +} + +#monitor { + list-style-image: url("chrome://browser/skin/monitor.png"); +} + +#monitor[aspectratio="16:10"] { + list-style-image: url("chrome://browser/skin/monitor_16-10.png"); +} diff --git a/src/chrome/browser/slowStartup-16.png b/src/chrome/browser/slowStartup-16.png Binary files differ. diff --git a/src/chrome/browser/social/chat-icons.png b/src/chrome/browser/social/chat-icons.png Binary files differ. diff --git a/src/chrome/browser/social/services-16.png b/src/chrome/browser/social/services-16.png Binary files differ. diff --git a/src/chrome/browser/social/services-64.png b/src/chrome/browser/social/services-64.png Binary files differ. diff --git a/src/chrome/browser/social/share-button-active.png b/src/chrome/browser/social/share-button-active.png Binary files differ. diff --git a/src/chrome/browser/social/share-button.png b/src/chrome/browser/social/share-button.png Binary files differ. diff --git a/src/chrome/browser/sync-128.png b/src/chrome/browser/sync-128.png Binary files differ. diff --git a/src/chrome/browser/sync-16.png b/src/chrome/browser/sync-16.png Binary files differ. diff --git a/src/chrome/browser/sync-32.png b/src/chrome/browser/sync-32.png Binary files differ. diff --git a/src/chrome/browser/sync-bg.png b/src/chrome/browser/sync-bg.png Binary files differ. diff --git a/src/chrome/browser/sync-desktopIcon.png b/src/chrome/browser/sync-desktopIcon.png Binary files differ. diff --git a/src/chrome/browser/sync-mobileIcon.png b/src/chrome/browser/sync-mobileIcon.png Binary files differ. diff --git a/src/chrome/browser/sync-notification-24.png b/src/chrome/browser/sync-notification-24.png Binary files differ. diff --git a/src/chrome/browser/sync-throbber.png b/src/chrome/browser/sync-throbber.png Binary files differ. diff --git a/src/chrome/browser/syncCommon.css b/src/chrome/browser/syncCommon.css @@ -0,0 +1,49 @@ +/* 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/. */ + +/* The following are used by both sync/setup.xul and sync/genericChange.xul */ +.status { + color: #fff; +} + +.statusIcon { + -moz-margin-start: 4px; + max-height: 16px; + max-width: 16px; +} + +.statusIcon[status="active"] { + list-style-image: url("chrome://global/skin/icons/loading_16.png"); +} + +.statusIcon[status="error"] { + list-style-image: url("chrome://global/skin/icons/error-16.png"); +} + +.statusIcon[status="success"] { + list-style-image: url("chrome://global/skin/icons/information-16.png"); +} + +/* .data is only used by sync/genericChange.xul, but it seems unnecessary to have + a separate stylesheet for it. */ +.data { + font-size: 90%; + font-weight: bold; +} + +dialog#change-dialog { + width: 40em; +} + +image#syncIcon { + list-style-image: url("chrome://browser/skin/sync-32.png"); +} + +#introText { + margin-top: 2px; +} + +#feedback { + height: 2em; +} diff --git a/src/chrome/browser/syncProgress.css b/src/chrome/browser/syncProgress.css @@ -0,0 +1,46 @@ +/* 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://global/skin/inContentUI.css); + +:root { + height: 100%; + width: 100%; + padding: 0; +} + +body { + margin: 0; + padding: 0 2em; +} + +#floatingBox { + margin: 4em auto; + max-width: 40em; + min-width: 23em; + padding: 1em 1.5em; + position: relative; + text-align: center; +} + +#successLogo { + margin: 1em 2em; +} + +#loadingText { + margin: 2em 6em; +} + +#progressBar { + margin: 2em 10em; +} + +#uploadProgressBar{ + width: 100%; +} + +#bottomRow { + margin-top: 2em; + padding: 0; + text-align: end; +} diff --git a/src/chrome/browser/syncQuota.css b/src/chrome/browser/syncQuota.css @@ -0,0 +1,26 @@ +/* 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/. */ + +#quotaDialog { + width: 33em; + height: 25em; +} + +treechildren::-moz-tree-checkbox { + list-style-image: none; +} +treechildren::-moz-tree-checkbox(checked) { + list-style-image: url("chrome://global/skin/checkbox/cbox-check.gif"); +} +treechildren::-moz-tree-checkbox(disabled) { + list-style-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif"); +} + +#treeCaption { + height: 4em; +} + +.captionWarning { + font-weight: bold; +} diff --git a/src/chrome/browser/syncSetup.css b/src/chrome/browser/syncSetup.css @@ -0,0 +1,133 @@ +/* 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/. */ + +wizard { + -moz-appearance: none; + width: 55em; + height: 45em; + padding: 0; + background-color: rgb(43,43,43); + color: #fff; +} + +.wizard-page-box { + -moz-appearance: none; + padding-left: 0; + padding-right: 0; + margin: 0; +} + +wizardpage { + -moz-box-pack: center; + -moz-box-align: center; + margin: 0; + padding: 0 6em; + background-color: rgb(43,43,43); +} + +.wizard-header { + -moz-appearance: none; + border: none; + padding: 2em 0 1em 0; + text-align: center; +} +.wizard-header-label { + font-size: 24pt; + font-weight: normal; +} + +.wizard-buttons { + background-color: rgba(0,0,0,0.1); + padding: 1em; +} + +.wizard-buttons-separator { + visibility: collapse; +} + +.wizard-header-icon { + visibility: collapse; +} + +.accountChoiceButton { + font: menu; +} + +.confirm { + border: 1px solid rgb(75,75,75); + padding: 1em; + border-radius: 5px; +} + +/* Override the text-link style from global.css */ +description > .text-link, +description > .text-link:focus { + margin: 0px; + padding: 0px; + border: 0px; +} + + +.success, +.error { + padding: 2px; + border-radius: 2px; +} + +.error { + background-color: #FF0000 !important; + color: #FFFFFF !important; +} + +.success { + background-color: #00FF00 !important; +} + +.warning { + font-weight: bold; + font-size: 100%; + color: red; +} + +.mainDesc { + font-weight: bold; + font-size: 100%; +} + +.normal { + font-size: 100%; +} + +.inputColumn { + -moz-margin-end: 2px +} + +.pin { + font-size: 18pt; + width: 4em; + text-align: center; +} + +#passphraseHelpSpacer { + width: 0.5em; +} + +#pairDeviceThrobber > image, +#login-throbber > image { + list-style-image: url("chrome://global/skin/icons/loading_16.png"); +} + +#captchaFeedback { + visibility: hidden; +} + +#successPageIcon { + /* TODO replace this with a 128px version (bug 591122) */ + list-style-image: url("chrome://browser/skin/sync-32.png"); +} + +#tosDesc { + margin-left: -7px; + margin-bottom: 3px; +} +\ No newline at end of file diff --git a/src/chrome/browser/tabbrowser/alltabs-inverted.png b/src/chrome/browser/tabbrowser/alltabs-inverted.png Binary files differ. diff --git a/src/chrome/browser/tabbrowser/alltabs.png b/src/chrome/browser/tabbrowser/alltabs.png Binary files differ. diff --git a/src/chrome/browser/tabbrowser/connecting.png b/src/chrome/browser/tabbrowser/connecting.png Binary files differ. diff --git a/src/chrome/browser/tabbrowser/loading.png b/src/chrome/browser/tabbrowser/loading.png Binary files differ. diff --git a/src/chrome/browser/tabbrowser/newtab-inverted.png b/src/chrome/browser/tabbrowser/newtab-inverted.png Binary files differ. diff --git a/src/chrome/browser/tabbrowser/newtab.png b/src/chrome/browser/tabbrowser/newtab.png Binary files differ. diff --git a/src/chrome/browser/tabbrowser/tab-arrow-left-inverted.png b/src/chrome/browser/tabbrowser/tab-arrow-left-inverted.png Binary files differ. diff --git a/src/chrome/browser/tabbrowser/tab-arrow-left.png b/src/chrome/browser/tabbrowser/tab-arrow-left.png Binary files differ. diff --git a/src/chrome/browser/tabbrowser/tab-overflow-border.png b/src/chrome/browser/tabbrowser/tab-overflow-border.png Binary files differ. diff --git a/src/chrome/browser/tabbrowser/tab-overflow-indicator.png b/src/chrome/browser/tabbrowser/tab-overflow-indicator.png Binary files differ. diff --git a/src/chrome/browser/tabbrowser/tab.png b/src/chrome/browser/tabbrowser/tab.png Binary files differ. diff --git a/src/chrome/browser/tabbrowser/tabDragIndicator.png b/src/chrome/browser/tabbrowser/tabDragIndicator.png Binary files differ. diff --git a/src/chrome/browser/tabview/close.png b/src/chrome/browser/tabview/close.png Binary files differ. diff --git a/src/chrome/browser/tabview/edit-light.png b/src/chrome/browser/tabview/edit-light.png Binary files differ. diff --git a/src/chrome/browser/tabview/grain.png b/src/chrome/browser/tabview/grain.png Binary files differ. diff --git a/src/chrome/browser/tabview/search.png b/src/chrome/browser/tabview/search.png Binary files differ. diff --git a/src/chrome/browser/tabview/stack-expander.png b/src/chrome/browser/tabview/stack-expander.png Binary files differ. diff --git a/src/chrome/browser/tabview/tabview-inverted.png b/src/chrome/browser/tabview/tabview-inverted.png Binary files differ. diff --git a/src/chrome/browser/tabview/tabview.css b/src/chrome/browser/tabview/tabview.css @@ -0,0 +1,671 @@ +body { + font: message-box; + color: rgba(0, 0, 0, 0.6); + font-size: 13px; +} + +#bg:not(:-moz-system-metric(windows-compositor)) { + background: #F7F7F7; +} + +/* Tabs +----------------------------------*/ + +.tab { + margin: 4px; + padding-top: 4px; + -moz-padding-end: 6px; + padding-bottom: 6px; + -moz-padding-start: 4px; + background-color: #FFFFFF; + border-radius: 0.4em; + cursor: pointer; +} + +html[dir=rtl] .tab { + box-shadow: + 0 1px 0 #FFFFFF inset, + 0 -1px 1px rgba(255, 255, 255, 0.8) inset, + 1px 0 1px rgba(255, 255, 255, 0.8) inset, + -1px 0 1px rgba(255, 255, 255, 0.8) inset, + 0 1px 1.5px rgba(4, 38, 60, 0.4); +} + +.tab canvas, +.cached-thumb { + border: 1px solid rgba(73, 99, 119, 0.3); +} + +.thumb { + box-shadow: 1px 2px 0 rgba(0, 0, 0, 0.1); + background-color: white; +} + +html[dir=rtl] .thumb { + box-shadow: -1px 2px 0 rgba(0, 0, 0, 0.1); +} + +.favicon { + background-color: #FFFFFF; + padding-top: 4px; + -moz-padding-end: 6px; + padding-bottom: 6px; + -moz-padding-start: 4px; + top: 4px; + left: 4px; + -moz-border-end: 1px solid rgba(73, 99, 119, 0.3); + border-bottom: 1px solid rgba(73, 99, 119, 0.3); + height: 17px; + width: 17px; +} + +html[dir=ltr] .favicon { + border-bottom-right-radius: 0.4em; +} + +html[dir=rtl] .favicon { + border-bottom-left-radius: 0.4em; + left: auto; + right: 2px; +} + +.favicon img { + border: none; + width: 16px; + height: 16px; +} + +.close { + top: 6px; + right: 6px; + width: 16px; + height: 16px; + background-image: -moz-image-rect(url("chrome://browser/skin/tabview/close.png"), 0, 16, 16, 0); + background-repeat: no-repeat; +} + +.close:hover { + background-image: -moz-image-rect(url("chrome://browser/skin/tabview/close.png"), 0, 32, 16, 16); +} + +.close:hover:active { + background-image: -moz-image-rect(url("chrome://browser/skin/tabview/close.png"), 0, 48, 16, 32); +} + +html[dir=rtl] .close { + right: auto; + left: 6px; +} + +.expander { + bottom: 6px; + right: 6px; + width: 16px; + height: 16px; + background: url(chrome://global/skin/icons/resizer.png) no-repeat; + transition-property: opacity; + transition-duration: 0.5s; + transition-timing-function: ease-out; + opacity: 0.2; +} + +html[dir=rtl] .expander { + right: auto; + left: 6px; + transform: scaleX(-1); +} + +.expander:hover, +.appTabIcon:hover { + transition-property: opacity; + transition-duration: 0.5s; + transition-timing-function: ease-out; + opacity: 1.0; +} + +.favicon img:hover, +.close img:hover, +.expander img:hover { + opacity: 1; + border: none; +} + +.tab-title { + bottom: -20px; + text-align: center; + width: 94.5%; + text-shadow: 0 1px rgba(255, 255, 255, 0.6); +} + +.stacked { + padding: 0; +} + +.stacked .thumb { + box-shadow: rgba(0,0,0,.2) 1px 1px 4px; +} + +html[dir=rtl] .stacked .thumb { + box-shadow: rgba(0,0,0,.2) -1px 1px 4px; +} + +.stack-trayed .tab-title { + text-shadow: rgba(0,0,0,1) 1px 1px 1.5px; + color: #EEE; + font-size: 11px; +} + +html[dir=rtl] .stack-trayed .tab-title { + text-shadow: rgba(0,0,0,1) -1px 1px 1.5px; +} + +.stack-trayed .thumb { + box-shadow: none !important; +} + +.tab.focus { + box-shadow: + 0 1px 0 #FFFFFF inset, + 0 -1px 1px #FFFFFF inset, + 1px 0 1px #FFFFFF inset, + -1px 0 1px #FFFFFF inset, + 0 0 5.5px #888888; +} + +html[dir=rtl] .tab.focus { + box-shadow: + 0 1px 0 #FFFFFF inset, + 0 -1px 1px #FFFFFF inset, + -1px 0 1px #FFFFFF inset, + 1px 0 1px #FFFFFF inset, + 0 0 5.5px #888888; +} + +/* Tab: Zooming +----------------------------------*/ + +.front .tab-title, +.front .close, +.front .favicon, +.front .expander, +.front .thumb-shadow { + display: none; +} + +.front .thumb { + box-shadow: none !important; +} + +.front.focus { + box-shadow: none !important; +} + +/* Tab GroupItem +----------------------------------*/ + +.groupItem { + cursor: pointer; + background-color: rgb(245,245,245); + border-radius: 0.4em; + box-shadow: + 0 1px 0 #FFFFFF inset, + 0 -1px 1px rgba(255, 255, 255, 0.8) inset, + 1px 0 1px rgba(255, 255, 255, 0.8) inset, + -1px 0 1px rgba(255, 255, 255, 0.8) inset, + 0 1px 3px rgba(4, 38, 60, 0.6); +} + +html[dir=rtl] .groupItem { + box-shadow: + 0 1px 0 #FFFFFF inset, + 0 -1px 1px rgba(255, 255, 255, 0.8) inset, + -1px 0 1px rgba(255, 255, 255, 0.8) inset, + 1px 0 1px rgba(255, 255, 255, 0.8) inset, + 0 1px 3px rgba(4, 38, 60, 0.6); +} + +.groupItem.activeGroupItem { + box-shadow: + rgba(0,0,0,0.8) 2px 2px 8px; +} + +html[dir=rtl] .groupItem.activeGroupItem { + box-shadow: + rgba(0,0,0,0.8) -2px 2px 8px; +} + +.groupItem .close { + z-index: 10; + top: 0px; + right: 0px; + width: 22px; + height: 22px; + background-position: bottom left; +} + +html[dir=rtl] .groupItem .close { + right: auto; + left: 0px; + background-position: bottom right; +} + +.dragRegion { + background: rgba(224, 234, 245, 0.4); +} + +.overlay { + background-color: rgba(0,0,0,.7) !important; + box-shadow: 3px 3px 5.5px rgba(0,0,0,.5); + border-radius: 0.4em; +} + +html[dir=rtl] .overlay { + box-shadow: -3px 3px 5.5px rgba(0,0,0,.5); +} + +.appTabTrayContainer { + top: 34px; + right: 1px; + -moz-border-start: 1px solid #E1E1E1; + padding: 0 5px; + overflow: -moz-hidden-unscrollable; + text-align: start; + line-height: 0; +} + +html[dir=rtl] .appTabTrayContainer { + right: auto; + left: 1px; +} + +.appTabTray { + display: inline-block; + -moz-column-width: 16px; + -moz-column-gap: 5px; +} + +.appTabTrayContainerTruncated { + padding-bottom: 7px; +} + +.appTabTrayContainerTruncated:after { + content: "…"; + position: absolute; + bottom: 2px; + left: 0; + display: block; + width: 100%; + height: 15px; + line-height: 15px; + text-align: center; + font-size: 15px; +} + +.appTabIcon { + width: 16px; + height: 16px; + cursor: pointer; + opacity: 0.8; + padding-bottom: 3px; + display: block; +} + +.undo { + background-color: #A0A0A0; + padding-top: 3px; + padding-bottom: 3px; + -moz-padding-start: 5px; + -moz-padding-end: 20px; + width: 135px; + line-height: 25px; + box-shadow: 0px 1px 0px rgba(255,255,255,.5), 0px -1px 0px rgba(0,0,0,.24); + text-shadow: 0px -1px 0px rgba(255,255,255,.2); + color: rgba( 0,0,0, .8); + border-radius: 0.4em; + text-align: center; + border: none; + cursor: pointer; +} + +.undo:hover { + background-color: #949494; +} + +.undo .close { + top: 7px; + right: 7px; + opacity: 0.5; +} + +html[dir=rtl] .undo .close { + right: auto; + left: 7px; +} + +.undo .close:hover{ + opacity: 1.0; +} + +/* Trenches +----------------------------------*/ + +.guideTrench { + opacity: 0.9; + border: 1px dashed rgba(0,0,0,.12); + border-bottom: none; + -moz-border-end: none; + box-shadow: 1px 1px 0 rgba(255,255,255,.15); +} + +html[dir=rtl] .guideTrench { + box-shadow: -1px 1px 0 rgba(255,255,255,.15); +} + +.visibleTrench { + opacity: 0.05; +} + +.activeVisibleTrench { + opacity: 0; +} + +.activeVisibleTrench.activeTrench { + opacity: 0.45; +} + +.visibleTrench.border, +.activeVisibleTrench.border { + background-color: red; +} + +.visibleTrench.guide, +.activeVisibleTrench.guide { + background-color: blue; +} + +/* Other +----------------------------------*/ + +.active { + box-shadow: 5px 5px 3px rgba(0,0,0,.5); +} + +html[dir=rtl] .active { + box-shadow: -5px 5px 3px rgba(0,0,0,.5); +} + +.acceptsDrop { + box-shadow: 2px 2px 7px -1px rgba(0,0,0,.6); +} + +html[dir=rtl] .acceptsDrop { + box-shadow: -2px 2px 7px -1px rgba(0,0,0,.6); +} + +.titlebar { + cursor: move; + font-size: 12px; + height: 18px; +} + +input.name { + background: transparent; + border: 1px solid transparent; + color: #999; + margin-top: 3px; + -moz-margin-end: 0; + margin-bottom: 0; + -moz-margin-start: 3px; + padding: 1px; +} + +html[dir=rtl] input.name { + background-position: right top; +} + +.title-container:hover input.name, +.title-container input.name:focus { + border: 1px solid #ddd; +} + +.title-container:hover input.name-locked { + border: 1px solid transparent !important; + cursor: default; +} + +input.name:focus { + color: #555; +} + +input.name::-moz-placeholder { + opacity: 1.0; + font-style: italic !important; + color: transparent; + background-image: url(chrome://browser/skin/tabview/edit-light.png); + background-repeat: no-repeat; +} + +.title-container:hover input.name::-moz-placeholder { + color: #CCC; + background-image: none; +} + +input.name:focus::-moz-placeholder { + background-image: none; +} + +.title-shield { + margin-top: 3px; + -moz-margin-end: 0; + margin-bottom: 0; + -moz-margin-start: 3px; + padding: 1px; + left: 0; + top: 0; + height: 100%; + width: -moz-available; + cursor: text; +} + +html[dir=rtl] .title-shield { + left: auto; + right: 0; +} + +.transparentBorder { + border: 1px solid transparent !important; +} + +.stackExpander { + cursor: pointer; + bottom: 8px; + background-image: -moz-image-rect(url(chrome://browser/skin/tabview/stack-expander.png), 0, 48, 24, 24); + width: 24px; + height: 24px; +} + +.stackExpander:hover { + background-image: -moz-image-rect(url(chrome://browser/skin/tabview/stack-expander.png), 0, 24, 24, 0); +} + +/* Resizable +----------------------------------*/ +.resizer { + background-image: url(chrome://global/skin/icons/resizer.png); + width: 16px; + height: 16px; + bottom: 0px; + right: 0px; + opacity: .2; +} + +html[dir=rtl] .resizer { + right: auto; + left: 0; + transform: scaleX(-1); +} + +.iq-resizable-handle { + font-size: 0.1px; +} + +.iq-resizable-se { + cursor: se-resize; + width: 12px; + height: 12px; + padding-right: 3px; + padding-bottom: 3px; + right: -2px; + bottom: -2px; +} + +html[dir=rtl] .iq-resizable-se { + cursor: sw-resize; + right: auto; + left: 1px; +} + +/* Exit button ++----------------------------------*/ +#exit-button { + width: 18px; + height: 18px; + -moz-margin-end: 4px; + margin-top: 2px; + background-image: -moz-image-rect(url(chrome://browser/skin/tabview/tabview.png), 0, 90, 18, 72); + background-attachment: scroll; + background-repeat: no-repeat; + border: none; +} + +#exit-button[groups="0"] { + background-image: -moz-image-rect(url(chrome://browser/skin/tabview/tabview.png), 0, 18, 18, 0); +} + +#exit-button[groups="1"] { + background-image: -moz-image-rect(url(chrome://browser/skin/tabview/tabview.png), 0, 36, 18, 18); +} + +#exit-button[groups="2"] { + background-image: -moz-image-rect(url(chrome://browser/skin/tabview/tabview.png), 0, 54, 18, 36); +} + +#exit-button[groups="3"] { + background-image: -moz-image-rect(url(chrome://browser/skin/tabview/tabview.png), 0, 72, 18, 54); +} + +/* Search +----------------------------------*/ +#searchshade{ + background-color: rgba(0,0,0,.42); + width: 100%; + height: 100%; +} + +#search{ + width: 100%; + height: 100%; +} + +#searchbox{ + width: 270px; + max-width: -moz-available; + -moz-margin-start: 20px; + height: 30px; + box-shadow: 0px 1px 0px rgba(255,255,255,.5), 0px -1px 0px rgba(0,0,0,1), 0px 0px 9px rgba(0,0,0,.8); + color: white; + border: none; + background-color: #272727; + border-radius: 0.4em; + -moz-padding-start: 5px; + -moz-padding-end: 5px; + font-size: 14px; +} + +#actions{ + top: -3px; + padding-top: 3px; + width: 29px; + border: none; + text-align: center; + background-color: #F0F0F0; + border-radius: 0.4em; + box-shadow: + 0 1px 0 #FFFFFF inset, + 0 -1px 1px rgba(255, 255, 255, 0.8) inset, + 1px 0 1px rgba(255, 255, 255, 0.8) inset, + -1px 0 1px rgba(255, 255, 255, 0.8) inset, + 0 1px 3px rgba(4, 38, 60, 0.6); +} + +html[dir=rtl] #actions { + box-shadow: + 0 1px 0 #FFFFFF inset, + 0 -1px 1px rgba(255, 255, 255, 0.8) inset, + -1px 0 1px rgba(255, 255, 255, 0.8) inset, + 1px 0 1px rgba(255, 255, 255, 0.8) inset, + 0 1px 3px rgba(4, 38, 60, 0.6); +} + +#actions #searchbutton{ + background: transparent url(chrome://browser/skin/tabview/search.png) no-repeat; + border: none; + width: 20px; + height: 20px; + margin-top: 3px; + -moz-margin-end: 1px; +} + +.notMainMatch{ + opacity: .70; +} + +#otherresults { + left: 0px; + bottom: 0px; + width: 100%; + height: 30px; + background-color: rgba(0,0,0,.3); + box-shadow: 0px -1px 0px rgba(255,255,255,.1), inset 0px 2px 5px rgba(0,0,0,.3); +} + +html[dir=rtl] #otherresults { + left: auto; + right: 0; +} + +#otherresults .label { + color: #999; + line-height: 30px; + -moz-margin-start: 5px; + -moz-margin-end: 5px; +} + +.inlineMatch { + background-color: #EBEBEB; + border-radius: 0.4em; + box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); + border: 1px solid rgba(255, 255, 255, 0.5); + -moz-padding-start: 3px; + -moz-padding-end: 3px; + height: 20px; + -moz-margin-end: 5px; + cursor: pointer; +} + +.inlineMatch:hover { + opacity: 1.0; +} + +.inlineMatch > img { + -moz-margin-end: 5px; + position: relative; + top: 2px; + width: 16px; + height: 16px; +} + +.inlineMatch > span { + max-width: 200px; + height: 15px; +} diff --git a/src/chrome/browser/tabview/tabview.png b/src/chrome/browser/tabview/tabview.png Binary files differ. diff --git a/src/chrome/browser/toolbarbutton-dropdown-arrow-inverted.png b/src/chrome/browser/toolbarbutton-dropdown-arrow-inverted.png Binary files differ. diff --git a/src/chrome/browser/toolbarbutton-dropdown-arrow.png b/src/chrome/browser/toolbarbutton-dropdown-arrow.png Binary files differ. diff --git a/src/chrome/browser/urlbar-arrow.png b/src/chrome/browser/urlbar-arrow.png Binary files differ. diff --git a/src/chrome/browser/urlbar-history-dropmarker.png b/src/chrome/browser/urlbar-history-dropmarker.png Binary files differ. diff --git a/src/chrome/browser/urlbar-popup-blocked.png b/src/chrome/browser/urlbar-popup-blocked.png Binary files differ. diff --git a/src/chrome/browser/webRTC-shareDevice-16.png b/src/chrome/browser/webRTC-shareDevice-16.png Binary files differ. diff --git a/src/chrome/browser/webRTC-shareDevice-64.png b/src/chrome/browser/webRTC-shareDevice-64.png Binary files differ. diff --git a/src/chrome/browser/webRTC-sharingDevice-16.png b/src/chrome/browser/webRTC-sharingDevice-16.png Binary files differ. diff --git a/src/chrome/global/Filepicker.png b/src/chrome/global/Filepicker.png Binary files differ. diff --git a/src/chrome/global/about.css b/src/chrome/global/about.css @@ -0,0 +1,66 @@ +html { + background: rgb(23,23,23); + padding: 0 1em; + font: message-box; +} + +body { + color: #fff; + position: relative; + min-width: 330px; + max-width: 50em; + margin: 4em auto; + border: 1px solid rgb(50,50,50); + border-radius: 10px; + padding: 3em; + -moz-padding-start: 30px; + background: rgb(43,43,43); +} + +.aboutPageWideContainer { + max-width: 80%; +} + +#aboutLogoContainer { + border: 1px solid rgb(50,50,50); + width: 300px; + margin-bottom: 2em; +} + +img { + border: 0; +} + +#version { + font-weight: bold; + color: #909090; + margin: -24px 0 9px 17px; +} + +ul { + margin: 0; + -moz-margin-start: 1.5em; + padding: 0; + list-style: square; +} + +ul > li { + margin-top: .5em; +} + +th, td { + padding: 0 5px; +} + +a { + color: #fff; +} + +a:hover { + color: rgb(219,219,219); +} + +.columns { + -moz-column-width: 20em; + -moz-column-gap: 3em; +} diff --git a/src/chrome/global/aboutCache.css b/src/chrome/global/aboutCache.css @@ -0,0 +1,66 @@ +/* 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/. */ + +h2 { + margin-top: 2em; +} + +table { + table-layout: fixed; + width: 100%; + margin-bottom: 1em; + padding: 0.5em 0; + border-radius: 10px; +} + +#disk, +#memory, +#offline { + background-color: rgba(0, 0, 0, .1); +} + +th { + width: 14em; + white-space: nowrap; + text-align: end; +} + +td { + font-family: -moz-fixed; + word-wrap: break-word; +} + +#col-key { + width: 60%; +} + +#col-dataSize, +#col-fetchCount, +#col-lastModified, +#col-expires { + width: 13%; +} + +#entries > tbody > tr:nth-child(odd) { + background-color: rgba(0, 0, 0, .03); +} + +#entries > tbody > tr:nth-child(even) { + background-color: rgba(0, 0, 0, .06); +} + +#entries > tbody > tr > td { + padding: .5em 0; + text-align: center; +} + +#entries > thead > tr > th { + text-align: center; + white-space: normal; +} + +#entries > thead > tr > th:first-child, +#entries > tbody > tr > td:first-child { + text-align: start; +} diff --git a/src/chrome/global/aboutCacheEntry.css b/src/chrome/global/aboutCacheEntry.css @@ -0,0 +1,29 @@ +/* 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/. */ + +body { + display: table; +} + +table { + table-layout: fixed; + width: 100%; +} + +th { + width: 12em; + word-wrap: break-word; + vertical-align: top; + text-align: end; +} + +td { + display: block; + font-family: -moz-fixed; + white-space: pre-wrap; +} + +#td-key { + word-wrap: break-word; +} diff --git a/src/chrome/global/aboutMemory.css b/src/chrome/global/aboutMemory.css @@ -0,0 +1,149 @@ +/* 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/. */ + +/* + * This file is used for both about:memory and about:compartments. + * + * The version used for mobile is located at + * mobile/android/themes/core/aboutMemory.css. + * Desktop-specific stuff is at the bottom of this file. + */ + +@import url("chrome://global/content/aboutMemory.css"); + +html { + background: rgb(23,23,23); + font: message-box; +} + +body { + padding: 0 2em; + margin: 0; + min-width: 45em; + margin: auto; +} + +div.ancillary { + margin: 0.5em 0; + -moz-user-select: none; +} + +div.section { + padding: 2em; + margin: 1em 0em; + border: 1px solid rgb(50,50,50); + border-radius: 10px; + background: rgb(43,43,43); + color: #fff; +} + +div.opsRow { + padding: 0.5em; + margin-right: 0.5em; + margin-top: 0.5em; + border: 1px solid rgb(50,50,50); + border-radius: 10px; + background: rgb(43,43,43); + display: inline-block; + color: #fff; +} + +div.opsRowLabel { + display: block; + margin-bottom: 0.2em; + font-weight: bold; +} + +.opsRowLabel label { + margin-left: 1em; + font-weight: normal; +} + +div.non-verbose pre.entries { + overflow-x: hidden; + text-overflow: ellipsis; +} + +h1 { + padding: 0; + margin: 0; +} + +h2 { + background: #ddd; + padding-left: .1em; +} + +.accuracyWarning { + color: #d22; +} + +.badInputWarning { + color: #f00; +} + +.treeline { + color: #888; +} + +.mrValue { + font-weight: bold; + color: #400; +} + +.mrPerc { +} + +.mrSep { +} + +.mrName { + color: #004; +} + +.mrNote { + color: #604; +} + +.hasKids { + cursor: pointer; +} + +.hasKids:hover { + text-decoration: underline; +} + +.noselect { + -moz-user-select: none; /* no need to include this when cutting+pasting */ +} + +.option { + font-size: 80%; + -moz-user-select: none; /* no need to include this when cutting+pasting */ +} + +.legend { + font-size: 80%; + -moz-user-select: none; /* no need to include this when cutting+pasting */ +} + +.debug { + font-size: 80%; +} + +.hidden { + display: none; +} + +.invalid { + color: #fff; + background-color: #f00; +} + +/* Desktop-specific parts go here. */ + +.hasKids:hover { + text-decoration: underline; +} + diff --git a/src/chrome/global/aboutSupport.css b/src/chrome/global/aboutSupport.css @@ -0,0 +1,105 @@ +/* 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/. */ + +html { + background-color: rgb(43,43,43); + color: #fff; + font: message-box; +} + +body { + width: 90%; + margin-left: 5%; + margin-right: 5%; +} + +.page-subtitle { + margin-bottom: 3em; +} + +.major-section { + margin-top: 2em; + margin-bottom: 1em; + font-size: large; + text-align: start; + font-weight: bold; +} + +table { + background-color: rgb(75,75,75); + color: #fff; + font: message-box; + text-align: start; + width: 100%; + border: 1px solid rgb(50,50,50); + border-spacing: 0px; +} + +th, td { + border: 1px dotted rgb(50,50,50); + padding: 3px; +} + +thead th { + text-align: center; +} + +th { + text-align: start; + background-color: rgb(110,110,110); + color: #fff; +} + +th.column { + white-space: nowrap; + width: 0px; +} + +td { + text-align: start; + border-top: 1px dotted rgb(50,50,50); +} + +.prefs-table { + width: 100%; + table-layout: fixed; +} + +.pref-name { + width: 70%; + white-space: nowrap; + overflow: hidden; +} + +.pref-value { + width: 30%; + white-space: nowrap; + overflow: hidden; +} + +#reset-box { + background-color: rgb(75,75,75); + border: 1px solid rgb(50,50,50); + color: #fff; + float: right; + margin-top: 2em; + margin-bottom: 20px; + -moz-margin-start: 20px; + -moz-margin-end: 0; + padding: 16px; + width: 30%; +} + +#reset-box:-moz-dir(rtl) { + float: left; +} + +#reset-box > h3 { + margin-top: 0; +} + +#reset-box > button { + display: block; + margin: auto; +} diff --git a/src/chrome/global/alerts/alert.css b/src/chrome/global/alerts/alert.css @@ -0,0 +1,92 @@ +/* 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/. */ + +/* ===== alert.css ===================================================== + == Styles specific to the alerts dialog. + ======================================================================= */ + +@import url("chrome://global/skin/"); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +.alertBox { + border: 1px solid rgb(75,75,75); + border-radius: 3px; + background-color: rgb(43,43,43); +} + +.alertImageBox { + padding: 8px 0; + width: 64px; +} + +.alertTextBox { + padding: 8px; + -moz-padding-start: 16px; + width: 255px; +} + +.alertTitle { + font-weight: bold; + font-size: 110%; +} + +#alertImage { + max-width: 48px; + max-height: 48px; + list-style-image: url(chrome://global/skin/alerts/notification-48.png); +} + +#alertNotification[clickable="true"] { + cursor: pointer; +} + +label { + cursor: inherit; +} + +.alertText[clickable="true"] { + color: #fff; + text-decoration: underline; +} + +.alertText[clickable="true"]:hover:active { + color: rgb(219,219,219); +} + +@keyframes alert-animation { + from { + opacity: 0; + } + 6.25% { + opacity: 1; + } + 93.75% { + opacity: 1; + } + to { + opacity: 0; + } +} + +.alertCloseButton { + list-style-image: url("chrome://global/skin/icons/close.png"); + -moz-appearance: none; + -moz-image-region: rect(0, 16px, 16px, 0); + padding: 4px 2px; + border: none !important; +} + +.alertCloseButton > .toolbarbutton-text { + display: none; +} + +.alertCloseButton:hover { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +.alertCloseButton:hover:active { + -moz-image-region: rect(0, 48px, 16px, 32px); +} + diff --git a/src/chrome/global/alerts/notification-48.png b/src/chrome/global/alerts/notification-48.png Binary files differ. diff --git a/src/chrome/global/appPicker.css b/src/chrome/global/appPicker.css @@ -0,0 +1,23 @@ +/* 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/. */ + + +#app-picker { + width: 320px; +} + +#content-description { + font-weight: bold; +} + +#content-icon, +.listcell-icon { + margin: 5px; + width: 32px; + height: 32px; +} + +.listcell-label { + padding: 5px; +} diff --git a/src/chrome/global/arrow.css b/src/chrome/global/arrow.css @@ -0,0 +1,46 @@ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +.up { + min-width: 0px; + list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); +} +.up:hover { + list-style-image: url("chrome://global/skin/arrow/arrow-up-hov.gif"); +} +.up[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-up-dis.gif"); +} + +.down { + min-width: 0px; + list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); +} +.down:hover { + list-style-image: url("chrome://global/skin/arrow/arrow-dn-hov.gif"); +} +.down[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif"); +} + +.left { + min-width: 0px; + list-style-image: url("chrome://global/skin/arrow/arrow-lft.gif"); +} +.left:hover { + list-style-image: url("chrome://global/skin/arrow/arrow-lft-hov.gif"); +} +.left[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif"); +} + +.right { + min-width: 0px; + list-style-image: url("chrome://global/skin/arrow/arrow-rit.gif"); +} +.right:hover { + list-style-image: url("chrome://global/skin/arrow/arrow-rit-hov.gif"); +} +.right[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif"); +} diff --git a/src/chrome/global/arrow/arrow-dn-dis.gif b/src/chrome/global/arrow/arrow-dn-dis.gif Binary files differ. diff --git a/src/chrome/global/arrow/arrow-dn-hov.gif b/src/chrome/global/arrow/arrow-dn-hov.gif Binary files differ. diff --git a/src/chrome/global/arrow/arrow-dn-sharp.gif b/src/chrome/global/arrow/arrow-dn-sharp.gif Binary files differ. diff --git a/src/chrome/global/arrow/arrow-dn.gif b/src/chrome/global/arrow/arrow-dn.gif Binary files differ. diff --git a/src/chrome/global/arrow/arrow-down.png b/src/chrome/global/arrow/arrow-down.png Binary files differ. diff --git a/src/chrome/global/arrow/arrow-lft-dis.gif b/src/chrome/global/arrow/arrow-lft-dis.gif Binary files differ. diff --git a/src/chrome/global/arrow/arrow-lft-hov.gif b/src/chrome/global/arrow/arrow-lft-hov.gif Binary files differ. diff --git a/src/chrome/global/arrow/arrow-lft-sharp-end.gif b/src/chrome/global/arrow/arrow-lft-sharp-end.gif Binary files differ. diff --git a/src/chrome/global/arrow/arrow-lft-sharp.gif b/src/chrome/global/arrow/arrow-lft-sharp.gif Binary files differ. diff --git a/src/chrome/global/arrow/arrow-lft.gif b/src/chrome/global/arrow/arrow-lft.gif Binary files differ. diff --git a/src/chrome/global/arrow/arrow-rit-dis.gif b/src/chrome/global/arrow/arrow-rit-dis.gif Binary files differ. diff --git a/src/chrome/global/arrow/arrow-rit-hov.gif b/src/chrome/global/arrow/arrow-rit-hov.gif Binary files differ. diff --git a/src/chrome/global/arrow/arrow-rit-sharp-end.gif b/src/chrome/global/arrow/arrow-rit-sharp-end.gif Binary files differ. diff --git a/src/chrome/global/arrow/arrow-rit-sharp.gif b/src/chrome/global/arrow/arrow-rit-sharp.gif Binary files differ. diff --git a/src/chrome/global/arrow/arrow-rit.gif b/src/chrome/global/arrow/arrow-rit.gif Binary files differ. diff --git a/src/chrome/global/arrow/arrow-up-dis.gif b/src/chrome/global/arrow/arrow-up-dis.gif Binary files differ. diff --git a/src/chrome/global/arrow/arrow-up-hov.gif b/src/chrome/global/arrow/arrow-up-hov.gif Binary files differ. diff --git a/src/chrome/global/arrow/arrow-up-sharp.gif b/src/chrome/global/arrow/arrow-up-sharp.gif Binary files differ. diff --git a/src/chrome/global/arrow/arrow-up.gif b/src/chrome/global/arrow/arrow-up.gif Binary files differ. diff --git a/src/chrome/global/arrow/panelarrow-horizontal-themed.svg b/src/chrome/global/arrow/panelarrow-horizontal-themed.svg @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- 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/. --> +<svg xmlns="http://www.w3.org/2000/svg" width="10" height="20"> + <path d="M 10,0 L 0,10 10,20 z" fill="rgb(75,75,75)"/> + <path d="M 10,1 L 1,10 10,19 z" fill="rgb(50,50,50)"/> +</svg> diff --git a/src/chrome/global/arrow/panelarrow-horizontal-white.png b/src/chrome/global/arrow/panelarrow-horizontal-white.png Binary files differ. diff --git a/src/chrome/global/arrow/panelarrow-horizontal.svg b/src/chrome/global/arrow/panelarrow-horizontal.svg @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- 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/. --> +<svg xmlns="http://www.w3.org/2000/svg" width="10" height="20"> + <path d="M 10,0 L 0,10 10,20 z" fill="rgb(75,75,75)"/> + <path d="M 10,1 L 1,10 10,19 z" fill="rgb(50,50,50)"/> +</svg> diff --git a/src/chrome/global/arrow/panelarrow-vertical-themed.svg b/src/chrome/global/arrow/panelarrow-vertical-themed.svg @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- 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/. --> +<svg xmlns="http://www.w3.org/2000/svg" width="20" height="10"> + <path d="M 0,10 L 10,0 20,10 z" fill="rgb(75,75,75)"/> + <path d="M 1,10 L 10,1 19,10 z" fill="rgb(50,50,50)"/> +</svg> diff --git a/src/chrome/global/arrow/panelarrow-vertical-white.png b/src/chrome/global/arrow/panelarrow-vertical-white.png Binary files differ. diff --git a/src/chrome/global/arrow/panelarrow-vertical.svg b/src/chrome/global/arrow/panelarrow-vertical.svg @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- 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/. --> +<svg xmlns="http://www.w3.org/2000/svg" width="20" height="10"> + <path d="M 0,10 L 10,0 20,10 z" fill="rgb(75,75,75)"/> + <path d="M 1,10 L 10,1 19,10 z" fill="rgb(50,50,50)"/> +</svg> diff --git a/src/chrome/global/autocomplete.css b/src/chrome/global/autocomplete.css @@ -0,0 +1,191 @@ +/* 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/. */ + +/* 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/. */ + +/* ===== autocomplete.css ================================================= + == Styles used by the autocomplete widget. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +/* ::::: autocomplete ::::: */ + +/* .padded is used by autocomplete widgets that don't have an icon. Gross. -dwh */ +textbox:not(.padded) { + cursor: default; + padding: 0; +} + +textbox[nomatch="true"][highlightnonmatches="true"] { + color: red; +} + +.autocomplete-textbox-container { + -moz-box-align: center; +} + +textbox:not(.padded) .textbox-input-box { + margin: 0 3px; +} + +.textbox-input-box { + -moz-box-align: center; +} + +/* ::::: autocomplete popups ::::: */ + +panel[type="autocomplete"], +panel[type="autocomplete-richlistbox"], +.autocomplete-history-popup { + -moz-appearance: none; + border-width: 1px; + -moz-border-top-colors: rgb(50,50,50); + -moz-border-right-colors: rgb(50,50,50); + -moz-border-bottom-colors: rgb(50,50,50); + -moz-border-left-colors: rgb(50,50,50); + padding: 0; + background-color: rgb(75,75,75); +} + +.autocomplete-history-popup { + max-height: 180px; +} + +/* ::::: tree ::::: */ + +.autocomplete-tree { + -moz-appearance: none !important; + border: none !important; + background-color: transparent !important; +} + +.autocomplete-treecol { + -moz-appearance: none !important; + margin: 0 !important; + border: none !important; + padding: 0 !important; +} + +/* GTK calculates space for a sort arrow */ +.autocomplete-treecol > .treecol-sortdirection { + -moz-appearance: none !important; +} + +.autocomplete-treebody::-moz-tree-cell-text { + -moz-padding-start: 8px; +} + +treechildren.autocomplete-treebody::-moz-tree-row(selected) { + background-color: rgb(110,110,110); +} + +treechildren.autocomplete-treebody::-moz-tree-cell-text(selected) { + color: #fff !important; +} + +.autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue) { + max-width: 16px; + height: 16px; +} + +/* ::::: richlistbox autocomplete ::::: */ + +.autocomplete-richlistbox { + -moz-appearance: none; + margin: 0; +} + +.autocomplete-richlistitem { + padding: 1px; +} + +.autocomplete-richlistitem[selected="true"] { + color: rgb(0,0,0); + background-color: rgb(110,110,110); +} + +.ac-title-box { + margin-top: 4px; +} + +.ac-url-box { + margin: 1px 0 4px; +} + +.ac-site-icon { + width: 16px; + height: 16px; + margin: 0 5px -2px; +} + +.ac-type-icon { + width: 16px; + height: 16px; + -moz-margin-start: 6px; + -moz-margin-end: 4px; + margin-bottom: -1px; +} + +.ac-url-box > .ac-site-icon, +.ac-url-box > .ac-type-icon { + /* Otherwise the spacer is big enough to stretch its container */ + height: auto; +} + +.ac-extra > .ac-result-type-tag { + margin: 0 4px; +} + +.ac-extra > .ac-comment { + padding-right: 4px; +} + +.ac-ellipsis-after { + margin: 0 !important; + padding: 0; + min-width: 1em; +} + +.ac-normal-text { + margin: 0 !important; + padding: 0; +} + +.ac-normal-text > html|span { + margin: 0 !important; + padding: 0; +} + +html|span.ac-emphasize-text { + box-shadow: inset 0 0 1px 1px rgba(208,208,208,0.5); + background-color: rgba(208,208,208,0.3); + border-radius: 2px; + text-shadow: 0 0 currentColor; +} + +@media (-moz-windows-default-theme) { + html|span.ac-emphasize-text { + box-shadow: inset 0 0 1px 1px rgba(0,0,0,0.1); + background-color: rgba(0,0,0,0.05); + } +} + +.ac-title, .ac-url { + overflow: hidden; +} + +/* ::::: textboxes inside toolbarpaletteitems ::::: */ + +toolbarpaletteitem > toolbaritem > textbox > hbox > hbox > html|*.textbox-input { + visibility: hidden; +} + +toolbarpaletteitem > toolbaritem > * > textbox > hbox > hbox > html|*.textbox-input { + visibility: hidden; +} + diff --git a/src/chrome/global/button.css b/src/chrome/global/button.css @@ -0,0 +1,151 @@ +/* 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/. */ + +/* ===== button.css ===================================================== + == Styles used by the XUL button element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* :::::::::: button :::::::::: */ + +button { + -moz-appearance: none; + margin: 1px 5px 2px 5px; + min-width: 6.3em; + border: 1px solid; + border-radius: 3px; + -moz-border-top-colors: rgb(75,75,75); + -moz-border-right-colors: rgb(75,75,75); + -moz-border-bottom-colors: rgb(75,75,75); + -moz-border-left-colors: rgb(75,75,75); + background-color: rgb(50,50,50); + color: #fff; + text-shadow: none; +} + +.button-box { + border: 1px solid transparent; + padding-top: 1px; + padding-bottom: 2px; + -moz-padding-start: 3px; + -moz-padding-end: 4px; +} + +.button-text { + margin: 0 !important; + text-align: center; +} + +/* .......... focused state .......... */ + +button:focus { + -moz-border-top-colors: rgb(110,110,110); + -moz-border-right-colors: rgb(110,110,110); + -moz-border-bottom-colors: rgb(110,110,110); + -moz-border-left-colors: rgb(110,110,110); +} + +button:-moz-focusring > .button-box { + border: 1px dotted rgb(110,110,110); +} + +/* .......... default state .......... */ + +button[default="true"] { + -moz-border-top-colors: rgb(75,75,75); + -moz-border-right-colors: rgb(75,75,75); + -moz-border-bottom-colors: rgb(75,75,75); + -moz-border-left-colors: rgb(75,75,75); +} + +/* .......... active/open/checked state .......... */ + +button:hover:active, +button[open="true"], +button[checked="true"] { + -moz-border-top-colors: rgb(75,75,75); + -moz-border-right-colors: rgb(75,75,75); + -moz-border-bottom-colors: rgb(75,75,75); + -moz-border-left-colors: rgb(75,75,75); + background-color: rgb(23,23,23); + color: #fff; +} + +button:hover:not(:active):not([disabled=true]) { + background-color: rgb(75,75,75); +} + +button:hover:active > .button-box:-moz-system-metric(windows-classic), +button[open="true"] > .button-box:-moz-system-metric(windows-classic), +button[checked="true"] > .button-box:-moz-system-metric(windows-classic) { + padding-top: 2px; + padding-bottom: 1px; + -moz-padding-start: 4px; + -moz-padding-end: 3px; +} + +/* .......... disabled state .......... */ + +button[disabled="true"] { + -moz-border-top-colors: rgb(75,75,75) !important; + -moz-border-right-colors: rgb(75,75,75) !important; + -moz-border-bottom-colors: rgb(75,75,75) !important; + -moz-border-left-colors: rgb(75,75,75) !important; + background-color: rgb(62,62,62); + color: GrayText; +} + +button[disabled="true"] > .button-box { + padding-top: 1px !important; + padding-bottom: 2px !important; + -moz-padding-start: 3px !important; + -moz-padding-end: 4px !important; +} + +/* ::::: menu/menu-button buttons ::::: */ + +button[type="menu-button"] { + margin: 0; + border: none; +} + +.button-menu-dropmarker, +.button-menubutton-dropmarker { + -moz-appearance: none !important; + margin: 1px; + background-color: transparent; + border: none; + width: 11px; + height: 11px; +} + +.button-menubutton-dropmarker[open="true"] { + margin-top: 2px; + margin-bottom: 0px; + -moz-margin-start: 2px; + -moz-margin-end: 0px; +} + +/* ::::: plain buttons ::::: */ + +button.plain { + border: 0px !important; + margin: 0px !important; + padding: 0px !important; +} + +button[type="disclosure"] { + border: 0px !important; + margin: 0px !important; + padding: 0px !important; + -moz-appearance: none; + list-style-image: url("chrome://global/skin/tree/twisty-clsd.png"); + min-width: 0px !important; + background-color: transparent; +} + +button[type="disclosure"][open="true"] { + list-style-image: url("chrome://global/skin/tree/twisty-open.png"); +} diff --git a/src/chrome/global/checkbox.css b/src/chrome/global/checkbox.css @@ -0,0 +1,81 @@ +/* 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/. */ + +/* ===== checkbox.css =================================================== + == Styles used by the XUL checkbox element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: checkbox ::::: */ + +checkbox { + -moz-appearance: none; + -moz-box-align: center; + margin: 2px 4px; + padding-top: 1px; + padding-bottom: 1px; + -moz-padding-start: 4px; + -moz-padding-end: 2px; +} + +.checkbox-label-box { + -moz-margin-start: 2px; + border: 1px solid transparent; + padding: 0px 1px; +} + +.checkbox-icon { + -moz-margin-end: 2px; +} + +.checkbox-label { + margin: 0 !important; +} + +/* ..... focused state ..... */ + +checkbox:-moz-focusring > .checkbox-label-box { + border: 1px dotted ThreeDDarkShadow; +} + +/* ..... disabled state ..... */ + +checkbox[disabled="true"] > .checkbox-check { + background-color: rgb(62,62,62); +} + +checkbox[disabled="true"] { + color: GrayText; +} + +/* ::::: checkmark image ::::: */ + +.checkbox-check { + -moz-appearance: none; + -moz-box-align: center; + border: 1px solid; + -moz-border-top-colors: rgb(75,75,75); + -moz-border-right-colors: rgb(75,75,75); + -moz-border-bottom-colors: rgb(75,75,75); + -moz-border-left-colors: rgb(75,75,75); + min-width: 13px; + min-height: 13px; + background: rgb(50,50,50) no-repeat 50% 50%; +} + +checkbox:hover:active > .checkbox-check { + background-color: rgb(110,110,110); +} + +/* ..... checked state ..... */ + +checkbox[checked="true"] > .checkbox-check { + background-image: url("chrome://global/skin/checkbox/cbox-check.gif"); +} + +checkbox[checked="true"][disabled="true"] > .checkbox-check { + background-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif") !important +} + diff --git a/src/chrome/global/checkbox/cbox-check-dis.gif b/src/chrome/global/checkbox/cbox-check-dis.gif Binary files differ. diff --git a/src/chrome/global/checkbox/cbox-check.gif b/src/chrome/global/checkbox/cbox-check.gif Binary files differ. diff --git a/src/chrome/global/colorpicker.css b/src/chrome/global/colorpicker.css @@ -0,0 +1,48 @@ +/* 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/. */ + +/* ===== colorpicker.css ================================================ + == Styles used by the XUL colorpicker element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: colorpicker button ::::: */ + +/* colorpicker button */ + +colorpicker[type="button"] { + -moz-appearance: button; + width: 38px; + height: 24px; + padding: 3px; +} + +.colorpicker-button-colorbox { + border: 1px solid #000000; +} + +/* ::::: colorpicker tiles ::::: */ + +.colorpickertile { + width: 20px; + height: 20px; + margin: 1px; + border-left: 1px solid ThreeDShadow; + border-top: 1px solid ThreeDShadow; + border-right: 1px solid ThreeDHighlight; + border-bottom: 1px solid ThreeDHighlight; +} + +.colorpickertile[selected="true"] { + border: 2px outset #C0C0C0; +} + +.colorpickertile[hover="true"] { + border: 2px dotted #FFFFFF; +} + +.cp-light[hover="true"] { + border: 2px dotted #909090; +} diff --git a/src/chrome/global/commonDialog.css b/src/chrome/global/commonDialog.css @@ -0,0 +1,4 @@ +#filler { + -moz-margin-start: -8px; + -moz-margin-end: -10px; +} diff --git a/src/chrome/global/config.css b/src/chrome/global/config.css @@ -0,0 +1,76 @@ + +@import url("chrome://global/skin/"); +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + + +#warningScreen +{ + background-color: rgb(23,23,23); +} + +#warningBox +{ + background-color: rgb(43,43,43); + color: #fff; + border: 1px solid rgb(50,50,50); + border-radius: 10px; + padding: 3em; + -moz-padding-start: 30px; + margin-left: 1em; + margin-right: 1em; +} + +#warningInnerBox +{ + max-width: 50em; +} + +#warningTitle +{ + margin: 0 0 .6em 0; + font-size: 160%; + border-bottom: 1px solid rgb(50,50,50); +} + +#warningText +{ + font-size: 110%; + margin-left: 0; +} + +#warningButton +{ + margin-top: 0.6em; +} + +#showWarningNextTime +{ + margin-top: 0.6em; +} + +#exclam +{ + list-style-image: url("chrome://global/skin/icons/warning-large.png"); + -moz-margin-end: 3em; +} + +#configTreeBody::-moz-tree-cell-text(user) +{ + font-weight: bold; +} + +#configTreeBody::-moz-tree-cell-text(locked) +{ + font-style: italic; +} + +#configTree +{ + margin-top: 5px; + margin-bottom: 5px; +} + +#filterRow +{ + margin-top: 5px; +} diff --git a/src/chrome/global/console/console-error-caret.gif b/src/chrome/global/console/console-error-caret.gif Binary files differ. diff --git a/src/chrome/global/console/console-error-dash.gif b/src/chrome/global/console/console-error-dash.gif Binary files differ. diff --git a/src/chrome/global/console/console-toolbar.png b/src/chrome/global/console/console-toolbar.png Binary files differ. diff --git a/src/chrome/global/console/console.css b/src/chrome/global/console/console.css @@ -0,0 +1,220 @@ +/* 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/. */ + +/* 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/. */ + +/* ===== console.css ==================================================== + == Styles used by the Error Console window. + ====================================================================== */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +.console-box { + background-color: -moz-Field; + color: -moz-FieldText; +} + +/* ::::: console rows ::::: */ + +.console-row { + border-bottom: 1px solid ThreeDLightShadow; + padding: 4px 0px; +} + +.console-row-icon { + padding: 4px; + -moz-padding-start: 5px; + -moz-box-align: start !important; +} + +.console-row-msg > label:first-child, +.console-row-file > label:first-child { + display: none; +} + +.console-time { + font-weight: normal !important; +} + +.console-icon { + list-style-image: inherit; +} + +.console-error-msg { + margin-bottom: 2px; +} + +/* ..... error rows ..... */ + +.console-row-code { + padding-top: 3px; + padding-bottom: 3px; + -moz-padding-start: 3px; + -moz-padding-end: 0px; + color: #0000BB; + font-size: larger; +} + +.console-dots, +.console-caret { + height: 9px; +} + +.console-dots { + background: url("chrome://global/skin/console/console-error-dash.gif") repeat-x top; +} + +.console-caret { + width: 7px; + background: url("chrome://global/skin/console/console-error-caret.gif") no-repeat top; +} + +/* ..... message rows ..... */ + +.console-row[type="message"] { + font-family: monospace; +} + +/* ..... selected state ..... */ + +.console-row[selected="true"] { + background-image: url("chrome://global/skin/console/itemSelected.png"); +} + +.console-row-code[selected="true"], +.console-row-content[selected="true"] > .console-row-file > .console-error-source > .text-link { + color: inherit !important; +} + +/* ::::: icons ::::: */ + +.console-row[type="error"], +.console-row[type="exception"] { + list-style-image: url("chrome://global/skin/icons/error-16.png"); +} + +.console-row[type="error"] .console-row-msg, +.console-row[type="exception"] .console-row-msg { + font-weight: bold; +} + +.console-row[type="warning"] { + list-style-image: url("chrome://global/skin/icons/warning-16.png"); +} + +.console-row[type="message"] { + list-style-image: url("chrome://global/skin/icons/question-16.png"); +} + +/* ::::: toolbars ::::: */ + +#TextboxEval { + margin: 2px !important; +} + +#ButtonEval { + margin-top: 2px !important; + margin-bottom: 2px !important; + -moz-margin-start: 0px !important; + -moz-margin-end: 2px !important; +} + +toolbarseparator { + min-height: 1em; +} + +/* Toolbar icons */ + +#ToolbarMode toolbarbutton { + min-width: 57px; + padding: 4px !important; +} + +toolbar#ToolbarMode toolbarbutton:active, +toolbar#ToolbarMode toolbarbutton[checked="true"] { + -moz-padding-start: 5px !important; + -moz-padding-end: 3px !important; +} + + +toolbar#ToolbarMode toolbarbutton { + list-style-image: url("chrome://global/skin/console/console-toolbar.png"); + -moz-box-orient: horizontal; + padding: 4px !important; +} + +#Console\:modeAll { + -moz-image-region: rect(0px 24px 24px 0px); +} + +#Console\:modeAll { + -moz-image-region: rect(0px 24px 24px 0px); +} + +#Console\:modeAll:hover, +#Console\:modeAll[checked="true"] { + -moz-image-region: rect(24px 24px 48px 0px); +} + +#Console\:modeErrors { + -moz-image-region: rect(0px 96px 24px 72px); +} + +#Console\:modeErrors:hover, +#Console\:modeErrors[checked="true"] { + -moz-image-region: rect(24px 96px 48px 72px); +} + +#Console\:modeWarnings { + -moz-image-region: rect(0px 72px 24px 48px); +} + +#Console\:modeWarnings:hover, +#Console\:modeWarnings[checked="true"] { + -moz-image-region: rect(24px 72px 48px 48px); +} + +#Console\:modeMessages { + -moz-image-region: rect(0px 48px 24px 24px); +} + +#Console\:modeMessages:hover, +#Console\:modeMessages[checked="true"] { + -moz-image-region: rect(24px 48px 48px 24px); +} + +#Console\:clear { + -moz-image-region: rect(0px 120px 24px 96px); +} + +#Console\:clear:hover, +#Console\:clear[checked="true"] { + -moz-image-region: rect(24px 120px 48px 96px); +} + +toolbar#ToolbarMode .toolbarbutton-icon { + padding: 2px 0 !important; +} + +toolbar#ToolbarMode .toolbarbutton-text { + -moz-padding-end: 4px; +} + + +/* ::::: Fix Error Console toolbar button text spacing ::::: */ + +.toolbarbutton-text { + -moz-padding-start: 0px; + -moz-padding-end: 5px; +} + +#ToolbarMode { + -moz-appearance: -moz-win-browsertabbar-toolbox; +} + +#ToolbarEval { + -moz-appearance: toolbox; +} diff --git a/src/chrome/global/console/itemSelected.png b/src/chrome/global/console/itemSelected.png Binary files differ. diff --git a/src/chrome/global/customizeToolbar.css b/src/chrome/global/customizeToolbar.css @@ -0,0 +1,26 @@ +/* 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/. */ + +window, +dialog { + padding: 6px; +} + +#instructions { + font-weight: bold; + font-size: larger; +} + +#palette-box { + -moz-appearance: none; + margin: 0 0 10px; + background-color: rgb(50,50,50); + color: #fff; + border: 1px solid rgb(75,75,75); +} + +#palette-box > toolbarpaletteitem { + padding: 8px 2px; + margin: 0 8px; +} diff --git a/src/chrome/global/datetimepicker.css b/src/chrome/global/datetimepicker.css @@ -0,0 +1,139 @@ +/* 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/. */ + +/* ===== datetimepicker.css ============================================= + == Styles used by the XUL datepicker and timepicker elements. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +datepicker, timepicker { + margin: 2px 4px; + padding: 0; + border: none; + background: none; + cursor: default; +} + +.datetimepicker-input-box { + -moz-appearance: none; + cursor: text; + -moz-margin-end: 2px; + border: 1px solid rgb(50,50,50); + padding: 2px 0 3px 0; + -moz-padding-start: 4px; + -moz-padding-end: 2px; + background-color: rgb(75,75,75); + color: #fff; +} + +.datetimepicker-input-subbox { + width: 1.6em; +} + +html|*.datetimepicker-input { + text-align: end; +} + +.datetimepicker-separator { + margin: 0 !important; +} + +.datetimepicker-year { + width: 3.2em; +} + +datepicker[readonly="true"], +timepicker[readonly="true"] { + background-color: rgb(50,50,50); + color: rgb(219,219,219); +} + +datepicker[disabled="true"], +timepicker[disabled="true"] { + cursor: default; + background-color: rgb(50,50,50); + color: rgb(200,200,200); +} + +.datepicker-mainbox { + margin: 2px 4px; + border: 1px solid rgb(50,50,50); + background-color: rgb(75,75,75); + color: #fff; +} + +.datepicker-popupgrid > .datepicker-mainbox { + margin: 0; + border: none; +} + +.datepicker-gridlabel, .datepicker-weeklabel { + text-align: center; +} + +.datepicker-gridlabel[today="true"] { + background-color: darkgrey; + color: white; +} + +.datepicker-gridlabel[selected="true"] { + background-color: rgb(110,110,110); + color: #fff; +} + +.datepicker-button { + -moz-appearance: none; + min-width: 8px; + padding: 0px; +} + +.datepicker-previous { + list-style-image: url("chrome://global/skin/arrow/arrow-lft.gif"); +} + +.datepicker-next { + list-style-image: url("chrome://global/skin/arrow/arrow-rit.gif"); +} + +.datepicker-previous:hover { + list-style-image: url("chrome://global/skin/arrow/arrow-lft-hov.gif"); +} + +.datepicker-next:hover { + list-style-image: url("chrome://global/skin/arrow/arrow-rit-hov.gif"); +} + +.datepicker-previous[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif"); +} + +.datepicker-next[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif"); +} + +.datepicker-previous:-moz-locale-dir(rtl) { + list-style-image: url("chrome://global/skin/arrow/arrow-rit.gif"); +} + +.datepicker-next:-moz-locale-dir(rtl) { + list-style-image: url("chrome://global/skin/arrow/arrow-lft.gif"); +} + +.datepicker-previous:-moz-locale-dir(rtl) { + list-style-image: url("chrome://global/skin/arrow/arrow-rit-hov.gif"); +} + +.datepicker-next:-moz-locale-dir(rtl):hover { + list-style-image: url("chrome://global/skin/arrow/arrow-lft-hov.gif"); +} + +.datepicker-previous[disabled="true"]:-moz-locale-dir(rtl) { + list-style-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif"); +} + +.datepicker-next[disabled="true"]:-moz-locale-dir(rtl) { + list-style-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif"); +} diff --git a/src/chrome/global/dialog.css b/src/chrome/global/dialog.css @@ -0,0 +1,70 @@ +/* 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/. */ + +/* ===== dialog.css ===================================================== + == Styles used by the XUL dialog element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: dialog ::::: */ + +dialog { + padding-top: 8px; + padding-bottom: 10px; + -moz-padding-start: 8px; + -moz-padding-end: 10px; +} + +/* ::::: dialog buttons ::::: */ + +.dialog-button { + font: menu; + margin-top: 6px; +} + +/* ::::: dialog header ::::: */ + +dialogheader { + margin: 0px 5px 5px 5px; + border: 1px solid rgb(50,50,50); + padding: 5px 8px; + background-color: rgb(110,110,110); + color: #fff; +} + +.dialogheader-title { + margin: 0px !important; + font-size: larger; + font-weight: bold; +} + +/* ::::: large dialog header ::::: */ + +.header-large { + -moz-box-orient: vertical; + margin-top: -8px; + margin-bottom: 0; + -moz-margin-start: -8px; + -moz-margin-end: -10px; + border-left: none; + border-right: none; + border-top: none; + border-bottom-color: rgb(50,50,50); + padding-top: 12px; + padding-bottom: 12px; + -moz-padding-start: 25px; + -moz-padding-end: 5px; + background-color: rgb(43,43,43); + color: #fff; +} + +.header-large > .dialogheader-title { + font: inherit; + font-weight: bold; +} + +.header-large > .dialogheader-description { + -moz-margin-start: 12px !important; +} diff --git a/src/chrome/global/dirListing/dirListing.css b/src/chrome/global/dirListing/dirListing.css @@ -0,0 +1,106 @@ +/* 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/. */ + +:root { + background-color: rgb(23,23,23); + color: #fff; + font: message-box; + padding-left: 2em; + padding-right: 2em; +} + +body { + border: 1px solid rgb(50,50,50); + border-radius: 10px; + padding: 3em; + min-width: 30em; + max-width: 65em; + margin: 4em auto; + background-color: rgb(43,43,43); + color: #fff; +} + +h1 { + font-size: 160%; + margin: 0 0 .6em; + border-bottom: 1px solid rgb(50,50,50); + font-weight: normal; +} + +a { + text-decoration: none; + color: #fff; +} + +a:hover { + text-decoration: underline; +} + +p { + font-size: 110%; +} + +#UI_goUp { + margin-top: 0; + float: left; +} + +#UI_goUp:-moz-dir(rtl) { + float: right; +} + +#UI_showHidden { + margin-top: 0; + float: right; +} + +#UI_showHidden:-moz-dir(rtl) { + float: left; +} + +table { + clear: both; + width: 90%; + margin: 0 auto; +} + +thead { + font-size: 130%; +} + +/* last modified */ +th:last-child { + text-align: center; +} + +th:hover > a { + text-decoration: underline; +} + +tbody > tr:hover { + outline: 1px solid rgb(75,75,75); + -moz-outline-radius: .3em; +} + +/* let 'Size' and 'Last Modified' take only as much space as they need and 'Name' all the rest */ +td:not(:first-child) { + width: 0; +} + +.up { + padding: 0 .5em; + -moz-margin-start: 20px; +} + +.up::before { + -moz-margin-end: 4px; + -moz-margin-start: -20px; + vertical-align: middle; + content: url(chrome://global/skin/dirListing/up.png); +} + +.dir::before { + content: url(chrome://global/skin/dirListing/folder.png); +} + diff --git a/src/chrome/global/dirListing/folder.png b/src/chrome/global/dirListing/folder.png Binary files differ. diff --git a/src/chrome/global/dirListing/local.png b/src/chrome/global/dirListing/local.png Binary files differ. diff --git a/src/chrome/global/dirListing/remote.png b/src/chrome/global/dirListing/remote.png Binary files differ. diff --git a/src/chrome/global/dirListing/up.png b/src/chrome/global/dirListing/up.png Binary files differ. diff --git a/src/chrome/global/dropmarker.css b/src/chrome/global/dropmarker.css @@ -0,0 +1,28 @@ +dropmarker { + -moz-appearance: none; + width: 16px; + height: 16px; + -moz-box-align: center; + -moz-box-pack: center; + border: 1px solid; + -moz-border-top-colors: rgb(75,75,75); + -moz-border-right-colors: rgb(75,75,75); + -moz-border-bottom-colors: rgb(75,75,75); + -moz-border-left-colors: rgb(75,75,75); + background-color: rgb(50,50,50); + padding: 1px; + list-style-image: url("chrome://global/skin/arrow/arrow-dn-sharp.gif"); + -moz-image-region: auto; +} + +dropmarker:hover:active:not([disabled="true"]) { + background-color: rgb(110,110,110); + padding-top: 2px; + padding-bottom: 0px; + -moz-padding-start: 2px; + -moz-padding-end: 0px; +} + +dropmarker[disabled="true"] { + background-color: rgb(62,62,62); +} diff --git a/src/chrome/global/expander.css b/src/chrome/global/expander.css @@ -0,0 +1,14 @@ +/* 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/. */ + +.expanderButton { + cursor: pointer !important; +} + +.settingsContainer { + padding-top: 3px; + padding-bottom: 5px; + -moz-padding-start: 20px; + -moz-padding-end: 5px; +} diff --git a/src/chrome/global/filefield.css b/src/chrome/global/filefield.css @@ -0,0 +1,41 @@ +/* +# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# 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/. +*/ + +/* File Field Widget */ +filefield { + margin: 2px 4px; + -moz-appearance: none; + background-color: rgb(75,75,75); + color: #fff; + border-color: rgb(50,50,50); +} + +.fileFieldContentBox { + background-color: rgb(75,75,75); + color: #fff; +} + +.fileFieldIcon[disabled="true"] { + opacity: 0.4; +} + +.fileFieldIcon { + width: 16px; + height: 16px; + margin-top: 1px; + margin-bottom: 1px; + -moz-margin-start: 1px; + -moz-margin-end: 4px; +} + +.fileFieldLabel { + -moz-appearance: none; + background-color: transparent; + color: #fff; + border: none; + margin: 0px; +} diff --git a/src/chrome/global/filepicker.css b/src/chrome/global/filepicker.css @@ -0,0 +1,77 @@ +/* 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/. */ + +/* ===== filepicker.css ================================================= + == Styles used by the File Picker dialog. + ======================================================================= */ + +@import url("chrome://global/skin/"); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: column widths ::::: */ + +#FilenameColumn, +#ContentLengthColumn, +#LastModifiedDateColumn { + width: 100px; +} + +/* ::::: file/directory items ::::: */ + +treechildren::-moz-tree-image(treecolAutoCompleteValue, directory), +treechildren::-moz-tree-image(FilenameColumn, directory) { + list-style-image: url("chrome://global/skin/icons/folder-item.png"); + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +treechildren::-moz-tree-image(treecolAutoCompleteValue, file), +treechildren::-moz-tree-image(FilenameColumn, file) { + list-style-image: url("chrome://global/skin/icons/folder-item.png"); + -moz-image-region: rect(16px, 16px, 32px, 0px); +} + +/* ::::: button items ::::: */ + +/* up-button */ + +.up-button { + list-style-image: url("chrome://global/skin/Filepicker.png"); + -moz-image-region: rect(0px 24px 24px 0px); + max-width: 36px; +} + +.up-button:hover { + list-style-image: url("chrome://global/skin/Filepicker.png"); + -moz-image-region: rect(24px 24px 48px 0px); + max-width: 36px; +} + +/* home-button */ + +.home-button { + list-style-image: url("chrome://global/skin/Filepicker.png"); + -moz-image-region: rect(0px 48px 24px 24px); + max-width: 36px; +} + +.home-button:hover { + list-style-image: url("chrome://global/skin/Filepicker.png"); + -moz-image-region: rect(24px 48px 48px 24px); + max-width: 36px; +} + +/* new-dir-button */ + +.new-dir-button { + list-style-image: url("chrome://global/skin/Filepicker.png"); + -moz-image-region: rect(0px 72px 24px 48px); + max-width: 36px; +} + +.new-dir-button:hover { + list-style-image: url("chrome://global/skin/Filepicker.png"); + -moz-image-region: rect(24px 72px 48px 48px); + max-width: 36px; +} diff --git a/src/chrome/global/findBar.css b/src/chrome/global/findBar.css @@ -0,0 +1,160 @@ +/* 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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +findbar { + padding: 4px 2px; + box-shadow: 0 1px 1px rgba(0,0,0,.1) inset; + background-image: linear-gradient(rgba(0,0,0,.15) 1px, rgba(255,255,255,.15) 1px); + background-size: 100% 2px; + background-repeat: no-repeat; + min-width: 1px; + transition-property: margin-bottom, opacity, visibility; + transition-duration: 150ms, 150ms, 0s; + transition-timing-function: ease-in-out, ease-in-out, linear; +} + +findbar[hidden] { + /* Override display:none to make the transition work. */ + display: -moz-box; + visibility: collapse; + margin-bottom: -1em; + opacity: 0; + transition-delay: 0s, 0s, 150ms; +} + +.findbar-container { + -moz-padding-start: 0px; + padding-top: 0px; + padding-bottom: 0px; +} + +.findbar-closebutton { + border: none; + padding: 0; + margin: 0 4px; + list-style-image: url("chrome://global/skin/icons/close.png"); + -moz-appearance: none; + -moz-image-region: rect(0, 16px, 16px, 0); + /* make sure the closebutton is displayed as the first element in the bar: */ + -moz-box-ordinal-group: 0; +} + +.findbar-closebutton:hover { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +.findbar-closebutton:hover:active { + -moz-image-region: rect(0, 48px, 16px, 32px); +} + +/* Search field */ + +.findbar-textbox { + -moz-appearance: none; + border: 1px solid rgba(0,0,0,.2); + border-radius: 3px 0 0 3px; + margin: 0; + padding: 4px 6px; + width: 14em; +} + +.findbar-textbox:-moz-locale-dir(rtl) { + border-radius: 0 2px 2px 0; +} + +.findbar-textbox[focused="true"] { + border-color: rgba(0,0,0,.5); +} + +.findbar-textbox[status="notfound"] { + background-color: #f66; + color: white; +} + +.findbar-textbox[flash="true"] { + background-color: yellow; + color: black; +} + +.findbar-textbox.minimal { + border-radius: 2px; +} + +/* Buttons */ + +.findbar-find-previous, +.findbar-find-next { + -moz-appearance: none; + background: rgb(50,50,50); + border: 1px solid rgb(75,75,75); + list-style-image: url("chrome://global/skin/icons/find-arrows.png"); + padding: 2px 6px; + -moz-margin-start: 0; + margin-left: 3px; + border-radius: 3px; +} + +.findbar-find-previous:not([disabled]):active, +.findbar-find-next:not([disabled]):active { + background: rgb(110,110,110); +} + +.findbar-find-previous { + -moz-image-region: rect(0, 10px, 9px, 0); +} + +.findbar-find-next { + -moz-image-region: rect(0, 20px, 9px, 10px); + -moz-padding-end: 6px; +} + +.findbar-find-previous > .toolbarbutton-icon, +.findbar-find-next > .toolbarbutton-icon { + margin: 0; +} + +.findbar-find-previous > .toolbarbutton-text, +.findbar-find-next > .toolbarbutton-text { + margin: 0; + padding: 0; + width: 0; +} + +.findbar-find-previous[disabled="true"] > .toolbarbutton-icon, +.findbar-find-next[disabled="true"] > .toolbarbutton-icon { + opacity: .5; +} + +.findbar-find-next:-moz-locale-dir(ltr) { + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} + +.findbar-find-next:-moz-locale-dir(rtl) { + border-top-left-radius: 3px; + border-bottom-left-radius: 3px; +} + +.findbar-highlight, +.findbar-case-sensitive { + -moz-margin-start: 5px; + border-radius: 5px; +} + +.findbar-highlight > .toolbarbutton-icon, +.findbar-case-sensitive > .toolbarbutton-icon { + display: none; +} + +.findbar-find-status { + color: GrayText; + margin: 0 !important; + -moz-margin-start: 12px !important; +} + +.find-status-icon[status="pending"] { + list-style-image: url("chrome://global/skin/icons/loading_16.png"); +} diff --git a/src/chrome/global/global.css b/src/chrome/global/global.css @@ -0,0 +1,312 @@ +/* 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/. */ + +/* ===== global.css ===================================================== + == Styles that apply everywhere. + ======================================================================= */ + +/* all localizable skin settings shall live here */ +@import url("chrome://global/locale/intl.css"); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: XBL bindings ::::: */ + +radio { + -moz-binding: url("chrome://global/skin/globalBindings.xml#radio"); +} + +menulist > menupopup, +.menulist-menupopup { + -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars"); +} + +.menulist-compact { + -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact"); +} + +/* ::::: root elements ::::: */ + +window, +page, +dialog, +wizard, +prefwindow { + -moz-appearance: none; + background-color: rgb(43,43,43); + color: #fff; + font: message-box; +} + +/* deprecated */ +window.dialog { + padding-top: 8px; + padding-bottom: 10px; + -moz-padding-start: 8px; + -moz-padding-end: 10px; +} + +/* ::::: alert icons :::::*/ + +.message-icon, +.alert-icon, +.error-icon, +.question-icon { + width: 32px; + height: 32px; +} + +.message-icon { + list-style-image: url("chrome://global/skin/icons/information-32.png"); +} + +.alert-icon { + list-style-image: url("chrome://global/skin/icons/Warning.png"); +} + +.error-icon { + list-style-image: url("chrome://global/skin/icons/Error.png"); +} + +.question-icon { + list-style-image: url("chrome://global/skin/icons/Question.png"); +} + +/* ::::: iframe ::::: */ + +iframe { + border: none; + width: 100px; + height: 100px; + min-width: 10px; + min-height: 10px; +} + +/* ::::: statusbar ::::: */ + +statusbar { + -moz-appearance: statusbar; + border-top: 1px solid rgb(50,50,50); + border-left: 1px solid rgb(50,50,50); + border-right: 1px solid rgb(50,50,50); + border-bottom: 1px solid rgb(50,50,50); + background-color: #F7F7F7; + min-height: 22px; +} + +statusbarpanel { + -moz-appearance: statusbarpanel; + -moz-box-align: center; + -moz-box-pack: center; + border-left: 1px solid rgb(50,50,50); + border-top: 1px solid rgb(50,50,50); + border-right: 1px solid rgb(50,50,50); + border-bottom: 1px solid rgb(50,50,50); + padding: 0 4px; +} + +statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme { + -moz-appearance: none; + border-top-style: none; + border-bottom-style: none; + -moz-border-start-style: none; +} + +.statusbar-resizerpanel { + -moz-box-align: end; + -moz-box-pack: end; + -moz-appearance: resizerpanel; + padding: 0; + border: none; +} + +.statusbarpanel-iconic, +.statusbarpanel-iconic-text, +.statusbarpanel-menu-iconic { + padding: 0 1px; +} + +/* XXXBlake yeah, shoot me -- these don't belong here. I'll move them later. */ + +sidebarheader { + height: 25px; + background-color: rgb(43,43,43); + -moz-appearance: toolbox; + border-bottom: 1px solid rgb(50,50,50); + border-top: 1px solid rgb(50,50,50); +} + +sidebarheader > label { + -moz-padding-start: 4px; +} + +.toolbar-focustarget { + -moz-user-focus: ignore !important; +} + +toolbar[mode="text"] .toolbarbutton-text { + padding: 0 !important; + margin: 3px 5px !important; +} + +/* ::::: miscellaneous formatting ::::: */ + +:root:-moz-lwtheme, +[lwthemefooter="true"] { + -moz-appearance: none; +} + +:root:-moz-lwtheme-darktext { + text-shadow: 1px 1px 1.5px white; +} + +:root:-moz-lwtheme-brighttext { + text-shadow: 1px 1px 1.5px black; +} + +statusbar:-moz-lwtheme, +sidebarheader:-moz-lwtheme { + -moz-appearance: none; + background: none; + border-style: none; +} + +.inset { + border: 1px solid rgb(50,50,50); + border-right-color: rgb(50,50,50); + border-bottom-color: rgb(50,50,50); + margin: 0 5px 5px; +} + +.outset { + border: 1px solid rgb(50,50,50); + border-left-color: rgb(50,50,50); + border-top-color: rgb(50,50,50); +} + +/* separators */ +separator:not([orient="vertical"]) { + height: 1.5em; +} +separator[orient="vertical"] { + width: 1.5em; +} + +separator.thin:not([orient="vertical"]) { + height: 0.5em; +} +separator.thin[orient="vertical"] { + width: 0.5em; +} + +separator.groove:not([orient="vertical"]) { + border-top: 1px solid rgb(50,50,50); + height: 0; + margin-top: 0.4em; + margin-bottom: 0.4em; +} +separator.groove[orient="vertical"] { + border-left: 1px solid rgb(50,50,50); + width: 0; + margin-left: 0.4em; + margin-right: 0.4em; +} + +.small-margin { + margin: 1px 2px; +} + +.plain { + -moz-appearance: none; + margin: 0 !important; + border: none; + padding: 0; +} + +description, +label { + cursor: default; + margin-top: 1px; + margin-bottom: 2px; + -moz-margin-start: 6px; + -moz-margin-end: 5px; +} + +description { + margin-bottom: 4px; +} + +label[disabled="true"] { + color: GrayText; +} + +label[disabled="true"]:-moz-system-metric(windows-classic) { + color: ThreeDShadow; + text-shadow: 1px 1px ThreeDHighlight; +} + +.tooltip-label { + margin: 0; +} + +.header { + font-weight: bold; +} + +.monospace { + font-family: monospace; +} + +.indent { + -moz-margin-start: 23px; +} + +.box-padded { + padding: 5px; +} + +.spaced { + margin: 3px 5px 4px; +} + +.wizard-box { + padding: 20px 44px 10px; +} + +.text-link { + color: #fff; + text-decoration: underline; + border: 1px solid transparent; + cursor: pointer; +} + +.text-link:hover { + color: rgb(219,219,219); +} + +.text-link:-moz-focusring { + border: 1px dotted rgb(75,75,75); +} + +/* :::::: autoscroll popup ::::: */ + +.autoscroller { + height: 28px; + width: 28px; + border: none; + margin: -14px; + padding: 0; + background-image: url("chrome://global/skin/icons/autoscroll.png"); + background-color: transparent; + background-position: right top; + -moz-appearance: none; +} + +.autoscroller[scrolldir="NS"] { + background-position: right center; +} + +.autoscroller[scrolldir="EW"] { + background-position: right bottom; +} diff --git a/src/chrome/global/globalBindings.xml b/src/chrome/global/globalBindings.xml @@ -0,0 +1,62 @@ +<?xml version="1.0"?> + +<bindings id="globalBindings" + xmlns="http://www.mozilla.org/xbl" + xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:xbl="http://www.mozilla.org/xbl"> + + <binding id="radio" + extends="chrome://global/content/bindings/radio.xml#radio"> + <content> + <xul:hbox class="radio-check-box1" xbl:inherits="selected,checked,disabled"> + <xul:hbox class="radio-check-box2" flex="1"> + <xul:image class="radio-check" xbl:inherits="selected,checked,disabled"/> + </xul:hbox> + </xul:hbox> + <xul:hbox class="radio-label-box" align="center" flex="1"> + <xul:image class="radio-icon" xbl:inherits="src"/> + <xul:label class="radio-label" xbl:inherits="xbl:text=label,accesskey,crop" flex="1"/> + </xul:hbox> + </content> + </binding> + + <binding id="radio-with-spacing" + extends="chrome://global/skin/globalBindings.xml#radio"> + <content> + <xul:hbox class="radio-spacer-box"> + <xul:hbox class="radio-check-box1" xbl:inherits="selected,checked,disabled"> + <xul:hbox class="radio-check-box2" flex="1"> + <xul:image class="radio-check" xbl:inherits="selected,checked,disabled"/> + </xul:hbox> + </xul:hbox> + </xul:hbox> + <xul:hbox class="radio-label-center-box" flex="1"> + <xul:hbox class="radio-label-box" flex="1"> + <xul:image class="radio-icon" xbl:inherits="src"/> + <xul:label class="radio-label" xbl:inherits="xbl:text=label,accesskey,crop" flex="1"/> + </xul:hbox> + </xul:hbox> + </content> + </binding> + + <binding id="toolbarpaletteitem-spacer" + extends="chrome://global/content/bindings/toolbar.xml#toolbarpaletteitem"> + <content> + <xul:spacer class="spacer-left"/> + <children/> + <xul:spacer class="spacer-right"/> + </content> + </binding> + + <binding id="menulist-compact" display="xul:menu" + extends="chrome://global/content/bindings/menulist.xml#menulist"> + <content sizetopopup="false"> + <xul:hbox class="menulist-label-box" flex="1"> + <xul:image class="menulist-icon" xbl:inherits="src"/> + <xul:label class="menulist-label" xbl:inherits="value=label,crop,accesskey" crop="right" flex="1"/> + </xul:hbox> + <children includes="menupopup"/> + </content> + </binding> + +</bindings> diff --git a/src/chrome/global/groupbox.css b/src/chrome/global/groupbox.css @@ -0,0 +1,40 @@ +/* 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/. */ + +/* ===== groupbox.css ================================================== + == Styles used by the XUL groupbox and related elements. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: groupbox ::::: */ + +groupbox { + -moz-appearance: none; + border: 1px solid rgb(75,75,75); + border-radius: 3px; + margin: 3px; + padding: 3px 3px 6px; +} + +.groupbox-body { + padding: inherit; +} + +caption { + margin: 0 6px; + background-color: rgb(43,43,43); + color: #FFFFFF !important; +} + +tabpanels caption { + -moz-appearance: none; + background-color: rgb(43,43,43); + color: #FFFFFF !important; +} + +/* !important is needed to override label in global.css */ +.caption-text { + margin: 0 2px !important; +} diff --git a/src/chrome/global/icons/Close.gif b/src/chrome/global/icons/Close.gif Binary files differ. diff --git a/src/chrome/global/icons/Error.png b/src/chrome/global/icons/Error.png Binary files differ. diff --git a/src/chrome/global/icons/Landscape.png b/src/chrome/global/icons/Landscape.png Binary files differ. diff --git a/src/chrome/global/icons/Minimize.gif b/src/chrome/global/icons/Minimize.gif Binary files differ. diff --git a/src/chrome/global/icons/Portrait.png b/src/chrome/global/icons/Portrait.png Binary files differ. diff --git a/src/chrome/global/icons/Print-preview.png b/src/chrome/global/icons/Print-preview.png Binary files differ. diff --git a/src/chrome/global/icons/Question.png b/src/chrome/global/icons/Question.png Binary files differ. diff --git a/src/chrome/global/icons/Restore.gif b/src/chrome/global/icons/Restore.gif Binary files differ. diff --git a/src/chrome/global/icons/Search-close.png b/src/chrome/global/icons/Search-close.png Binary files differ. diff --git a/src/chrome/global/icons/Search-glass.png b/src/chrome/global/icons/Search-glass.png Binary files differ. diff --git a/src/chrome/global/icons/Warning.png b/src/chrome/global/icons/Warning.png Binary files differ. diff --git a/src/chrome/global/icons/autoscroll.png b/src/chrome/global/icons/autoscroll.png Binary files differ. diff --git a/src/chrome/global/icons/blacklist_favicon.png b/src/chrome/global/icons/blacklist_favicon.png Binary files differ. diff --git a/src/chrome/global/icons/blacklist_large.png b/src/chrome/global/icons/blacklist_large.png Binary files differ. diff --git a/src/chrome/global/icons/close-bright.png b/src/chrome/global/icons/close-bright.png Binary files differ. diff --git a/src/chrome/global/icons/close.png b/src/chrome/global/icons/close.png Binary files differ. diff --git a/src/chrome/global/icons/collapse.png b/src/chrome/global/icons/collapse.png Binary files differ. diff --git a/src/chrome/global/icons/error-16.png b/src/chrome/global/icons/error-16.png Binary files differ. diff --git a/src/chrome/global/icons/error-24.png b/src/chrome/global/icons/error-24.png Binary files differ. diff --git a/src/chrome/global/icons/error-48.png b/src/chrome/global/icons/error-48.png Binary files differ. diff --git a/src/chrome/global/icons/error-64.png b/src/chrome/global/icons/error-64.png Binary files differ. diff --git a/src/chrome/global/icons/expand.png b/src/chrome/global/icons/expand.png Binary files differ. diff --git a/src/chrome/global/icons/find-arrows.png b/src/chrome/global/icons/find-arrows.png Binary files differ. diff --git a/src/chrome/global/icons/find.png b/src/chrome/global/icons/find.png Binary files differ. diff --git a/src/chrome/global/icons/folder-item.png b/src/chrome/global/icons/folder-item.png Binary files differ. diff --git a/src/chrome/global/icons/information-16.png b/src/chrome/global/icons/information-16.png Binary files differ. diff --git a/src/chrome/global/icons/information-24.png b/src/chrome/global/icons/information-24.png Binary files differ. diff --git a/src/chrome/global/icons/information-32.png b/src/chrome/global/icons/information-32.png Binary files differ. diff --git a/src/chrome/global/icons/information-48.png b/src/chrome/global/icons/information-48.png Binary files differ. diff --git a/src/chrome/global/icons/information-64.png b/src/chrome/global/icons/information-64.png Binary files differ. diff --git a/src/chrome/global/icons/loading_16.png b/src/chrome/global/icons/loading_16.png Binary files differ. diff --git a/src/chrome/global/icons/notloading_16.png b/src/chrome/global/icons/notloading_16.png Binary files differ. diff --git a/src/chrome/global/icons/question-16.png b/src/chrome/global/icons/question-16.png Binary files differ. diff --git a/src/chrome/global/icons/question-24.png b/src/chrome/global/icons/question-24.png Binary files differ. diff --git a/src/chrome/global/icons/question-48.png b/src/chrome/global/icons/question-48.png Binary files differ. diff --git a/src/chrome/global/icons/question-64.png b/src/chrome/global/icons/question-64.png Binary files differ. diff --git a/src/chrome/global/icons/resizer-rtl.png b/src/chrome/global/icons/resizer-rtl.png Binary files differ. diff --git a/src/chrome/global/icons/resizer.png b/src/chrome/global/icons/resizer.png Binary files differ. diff --git a/src/chrome/global/icons/sslWarning.png b/src/chrome/global/icons/sslWarning.png Binary files differ. diff --git a/src/chrome/global/icons/tabprompts-bgtexture.png b/src/chrome/global/icons/tabprompts-bgtexture.png Binary files differ. diff --git a/src/chrome/global/icons/warning-16.png b/src/chrome/global/icons/warning-16.png Binary files differ. diff --git a/src/chrome/global/icons/warning-24.png b/src/chrome/global/icons/warning-24.png Binary files differ. diff --git a/src/chrome/global/icons/warning-64.png b/src/chrome/global/icons/warning-64.png Binary files differ. diff --git a/src/chrome/global/icons/warning-large.png b/src/chrome/global/icons/warning-large.png Binary files differ. diff --git a/src/chrome/global/icons/windowControls.png b/src/chrome/global/icons/windowControls.png Binary files differ. diff --git a/src/chrome/global/icons/wrap.png b/src/chrome/global/icons/wrap.png Binary files differ. diff --git a/src/chrome/global/inContentUI.css b/src/chrome/global/inContentUI.css @@ -0,0 +1,147 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is In-Content UI. + * + * The Initial Developer of the Original Code is + * the Mozilla Foundation. + * Portions created by the Initial Developer are Copyright (C) 2011 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Blair McBride <bmcbride@mozilla.com> + * Philipp von Weitershausen <philipp@weitershausen.de> + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +/* + * The default namespace for this file is XUL. Be sure to prefix rules that + * are applicable to both XUL and HTML with '*|'. + */ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +/* Page background */ +*|*:root { + -moz-appearance: none; + padding: 18px; + background-repeat: repeat; + color: #fff; + background-color: rgb(43,43,43); +} + +html|html { + font: message-box; +} + +@media (-moz-windows-default-theme) { +} + +@media (-moz-windows-compositor) { +} + +/* Content */ +*|*.main-content { + /* Needed to allow the radius to clip the inner content, see bug 595656 */ + /* Disabled because of bug 623615 + overflow: hidden; + */ + background-color: rgb(43,43,43); + border: 1px solid rgb(75,75,75); + color: #fff; + border-radius: 5px; +} + + /* Buttons */ + *|button, + menulist, + colorpicker[type="button"] { + -moz-appearance: none; + color: #fff; + padding: 0 5px; + background: -moz-linear-gradient(rgba(50,50,50, 0.95), rgba(75,75,75, 0) 49%, + rgba(23,23,23, 0.45) 51%, rgba(43,43,43, 0.3)); + background-clip: padding-box; + border-radius: 3px; + border: 1px solid rgb(50,50,50); + } + + menulist { + -moz-padding-end: 0; + } + + colorpicker[type="button"]:-moz-focusring:not([open="true"]) > .colorpicker-button-colorbox { + outline: 1px dotted ThreeDDarkShadow; + } + + html|button[disabled], + button[disabled="true"], + menulist[disabled="true"], + colorpicker[type="button"][disabled="true"] { + -moz-border-top-colors: rgba(31, 64, 100, 0.3) !important; + -moz-border-right-colors: rgba(31, 64, 100, 0.4) !important; + -moz-border-bottom-colors: rgba(31, 64, 100, 0.4) !important; + -moz-border-left-colors: rgba(31, 64, 100, 0.4) !important; + opacity: 0.8; + color: #505050; + } + + html|button:not([disabled]):active:hover, + button:not([disabled="true"]):active:hover, + menulist[open="true"]:not([disabled="true"]), + colorpicker[type="button"][open="true"]:not([disabled="true"]) { + background-color: rgb(110,110,110); + border-color: rgba(39, 53, 68, 0.5); + box-shadow: 0 0 3px 1px rgba(39, 53, 68, 0.2) inset; + } + + html|button:not([disabled]):hover, + button:not([disabled="true"]):hover { + background-color: rgb(75,75,75); + } + + button > .button-box { + padding: 1px !important; + } + + spinbuttons > .spinbuttons-box > .spinbuttons-button { + border-radius: 0; + padding: 0 4px; + } + + spinbuttons > .spinbuttons-box > .spinbuttons-up { + list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); + border-bottom-width: 0; + } + + spinbuttons > .spinbuttons-box > .spinbuttons-down { + list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); + } + +colorpicker[type="button"] { + margin: 1px 5px 2px 5px; + padding: 3px; + height: 25px; +} diff --git a/src/chrome/global/linkTree.css b/src/chrome/global/linkTree.css @@ -0,0 +1,28 @@ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/** + * All the properties in this rule are important to avoid having to create + * a special type of tree. This stylesheet can be loaded into a document with + * a single tree that is a link tree. Hardly elegant but it's efficient. + */ +treeitem[selected="true"] > treerow + { + background : transparent !important; + border : none !important; + color : -moz-FieldText !important; + } + +treecell:hover + { + text-decoration : underline !important; + color : #000080 !important; + cursor : pointer; + } + +treecell:hover:active + { + text-decoration : underline !important; + color : red !important; + } + + diff --git a/src/chrome/global/listbox.css b/src/chrome/global/listbox.css @@ -0,0 +1,143 @@ +/* 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/. */ + +/* ===== listbox.css ======================================================= + == Styles used by XUL listbox-related elements. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: listbox ::::: */ + +listbox { + -moz-appearance: listbox; + margin: 2px 4px; + border: 2px solid; + -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow; + -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow; + -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow; + -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow; + background-color: -moz-Field; + color: -moz-FieldText; +} + +listbox[disabled="true"] { + color: GrayText; +} + +/* ::::: listitem ::::: */ + +listitem { + border: 1px solid transparent; +} + +listbox:focus > listitem[selected="true"][current="true"] { + outline: 1px dotted #F3D982; +} + +listbox:focus > listitem[current="true"] { + outline: 1px dotted Highlight; + outline-offset: -1px; +} + +listitem[selected="true"] { + background-color: -moz-cellhighlight; + color: -moz-cellhighlighttext; +} + +listbox:focus > listitem[selected="true"] { + background-color: Highlight; + color: HighlightText; +} + +/* ::::: listheader ::::: */ + +listheader { + -moz-appearance: treeheadercell; + -moz-box-align: center; + border: 2px solid; + -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow; + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow; + background-color: -moz-Dialog; + color: -moz-DialogText; + padding: 0 4px; +} + +listheader[sortable="true"]:hover:active { + border-top: 2px solid; + border-right: 1px solid; + border-bottom: 1px solid; + border-left: 2px solid; + -moz-border-top-colors: ThreeDShadow -moz-Dialog; + -moz-border-right-colors: ThreeDShadow; + -moz-border-bottom-colors: ThreeDShadow; + -moz-border-left-colors: ThreeDShadow -moz-Dialog; + padding-top: 1px; + padding-bottom: 0px; + -moz-padding-start: 5px; + -moz-padding-end: 4px; +} + +.listheader-icon { + -moz-margin-end: 2px; +} + +.listheader-label { + margin: 0px !important; +} + +/* ..... sort direction icon ..... */ + +.listheader-sortdirection { + list-style-image: none; +} + +.listheader-sortdirection[sortDirection="ascending"] { + list-style-image: url("chrome://global/skin/tree/sort-asc.png"); +} + +.listheader-sortdirection[sortDirection="ascending"]:-moz-system-metric(windows-classic) { + list-style-image: url("chrome://global/skin/tree/sort-asc-classic.png"); +} + +.listheader-sortdirection[sortDirection="descending"] { + list-style-image: url("chrome://global/skin/tree/sort-dsc.png"); +} + +.listheader-sortdirection[sortDirection="descending"]:-moz-system-metric(windows-classic) { + list-style-image: url("chrome://global/skin/tree/sort-dsc-classic.png"); +} + +/* ::::: listcell ::::: */ + +.listcell-label { + margin: 0px !important; + padding-top: 0px; + padding-bottom: 1px; + -moz-padding-start: 4px; + -moz-padding-end: 0px; + white-space: nowrap; +} + +.listcell-icon { + -moz-margin-end: 2px; +} + +.listcell-label[disabled="true"] { + color: GrayText; +} + +/* ::::: listcell checkbox ::::: */ + +.listcell-check { + -moz-appearance: checkbox; + -moz-box-align: center; + margin: 0px 2px; + border: 1px solid -moz-DialogText; + min-width: 13px; + min-height: 13px; + background: -moz-Field no-repeat 50% 50%; +} diff --git a/src/chrome/global/media/TopLevelImageDocument.css b/src/chrome/global/media/TopLevelImageDocument.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/. */ + +@media not print { + /* N.B.: Remember to update ImageDocument.css in the tree or reftests may fail! */ + + body { + color: #eee; + /* background: #222 url("chrome://global/skin/media/imagedoc-darknoise.png"); */ + background: #2E3B41; + } + + img.decoded { + /* background: hsl(0,0%,90%) url("chrome://global/skin/media/imagedoc-lightnoise.png"); */ + /* color: #222; */ + } +} diff --git a/src/chrome/global/media/TopLevelVideoDocument.css b/src/chrome/global/media/TopLevelVideoDocument.css @@ -0,0 +1,11 @@ +/* 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/. */ + +body { + background: #333 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYBAMAAACDuy0HAAAAG1BMVEX+/v4BAQH///8KCgoDAwN/f3/19fWAgID8/PzhDwT2AAAACXRSTlMFBQUFBQUFBQWHDtP9AAALwklEQVR4Xg3KOWOyWhAA0Bn2ci57eXEvQY1JCZp8sQTjVoJLTAkaE0swbj/7ve4UB37FLW4q86Lwwlh86J/ASAkpWaj+Krbb31HzH0Kjc2tIl7SADaWbpZBPE5dds6jJNyNdjAyKWqdroIixWRQIY6E/kOY7hIciL/ZfrAO3XP/06AuUJ3mSd/z95OB9vIal0DPlaZWHP7RE6DIXjmKqKkuGr+xNZylOnj1GSlUKvnxZDBOIzTfMe0fJgJ7c/GIIOdUuKxYyBFUOzvY6AC5AXx8R+o5O4S0j0wqBND3ErIYm/XHFbQjtH1MXD5dUbp19OFdjkDlys+HSwrBgHRvL9wVN/pi8ViOIwcv/D1GRW6UuDvJLLQA5lCI17iUdsKYpOuYfMATGnpn/Zs3W6gov51G+/Vs9Ay//we5kh8uwvEPum6o5HkDMDb3ZWunwtq+UzENU8NphDdbvNtKM3knx5gi6UMSQl+eGs+27mraDtxeWdH+T62Us/GylEtr7Ct8jlbeXKvAf5onx8D2uVt1J/GblV+XQyKUInOUG44fqjcszK266yHWAAYG9ekhvy4l4Maa44jYVyV2RFEuS54e2HcswtmNdqR/+V4P0O9e4XnpWgxVSQkNXpYMCxJ4Vel0lmi56jnYIIJAQMndF+zTEiyuj92r3ijJT1O0alPQnLWJvJLR7Xx7Xg9fm9QOqFu8o29m3QQqFwZN4bki/RoprNtMKKtEET9iMsJyKpkiguAorn2yzkv0wG3M1EEVDJP5VN7muLjYCglzdGQ7boYGgRmorzhRDq83gglgylC+hBLEyy6ZQWNwCmmqt6PvExAqGEA9V2XIT4/fS+I2cx1n5td85kOCjHfPWTg72FJ/+vKOyggt+rytFbEDJWL+mPwpgw6HtFLIHmq4o2m1nZ9saKwiKEOTVZtWlnqHODPu949VfKD+zzpfynd/ZZU5IWZ0dgnqRHC4uOBpBsT8N7YbFJzADiW2eo/T979OKFxY8zk/+HR/NNEkzgSBsmA35Sayz1m/ubxgmYQOmffyRh9gdx42mUVX512oqWkfxAzyuSCxx1cywx3jIXuXJEEbssymo0xMy7SskJW9C5IPYroPwQunt7f5FEPPXJLWRbGHcL4Q3sx3TLAN6W672r/I5CKkL6zSwwk0AI8+iBCSv1Y7QQP5RSoLE227uy8vn22Y6dhLBgEsRh18cTGjIv3y+60Kmt3YAZQX8qf3bJDUc/5pdjti+KwAZ9GzzQzd23d1JBAnSvWkWB8YfsIGlspHitNiMPYPFfR+OecRuPyxgfoP9/HkR3cR27IohiaDXCk/3VNP6lIxP9TBnsMeAAUZloq6P8KURLBsNFuiA3LsN/d9qpCeKKIBgSzsN5k+rdh3uh0VbvMuOIomJD1fBOiCqIsvklS5bOQhMaahJC+Rc+6lz+Uvxmq05Py+LoGIQlLKvlcaHsFG9Ui66H/qdHz67sPRGho+ruC92QgN5JEMmLsZREEiJu78FJbyzT8FsdK90XoEcezn2R5iLUzZhczJmf1yNY3gJNJUQvbpTznTAbnV5J8iL4q2OWuhJEndWVTyEr8M5VGTWtvOmUo1DsnOsqXE5ZzKE8K4/8cl8+c1XArp1RUKz+iKP96j2FcUmA+v0HnEr0iUdSrRK5duAj1FQamvpiaXR2JddD6g8n4SyFx/fjT4LkC+ghJckj1e1wP+DrHrpIiMaPH5F1rcaRvwZWfEn6fx+/C7PdXABGLNKjr1USZ5XyHjsafXMEoXtguAfjykMioMMHISXVAc9yQY5o5Qg8MM0nhWCA2HoiEgBc1EH+warLjxH3Ln68M/ciFqI1bG0mBOxiNreOuShEf/9pIzhm1Bh2cbYVxn2IYQ7eljYpab/5EdPF2PSmcy+62j6e2HBPNbe+8JVMuRQBrWdL9uBh4bYbQaQJ07FyfcpCuvSuxUyYjP6avvw9gTcAj0uTVohSwOHDDaHTs8nyachMBcWoVDWp3/lWgqeCLMneAUhSuhD2RJpufLOSi7emxOVhYsOGomV2JCEKjWu7kuqwueyFEmDgVhR0l4oHn8W87UZuxb8id54SxHWiSnPKnMyAhzdhi2wN/AoH3OYwLajuybB8h/QeJJiX1gIt+dfij+gr0CJRXQ2Y04Q6q8xHzfWm9FIgchiW0+X86tIotIGzRG1gENaKokQkLn+FXZ2x3KUcp7d/NUsmOmFCG/i03YB8pi0eiNS4LUIfA06AKvfQmP/VAXS1AP2kzJ+9LAaTafvFyO7bz8U9OCpld2q1eHGts+ZFrt04AmIlubOPP7Xayfi/r0tiX2aaPT9Dz4+TVPBoXsjHDzWfrmawOsZfmBT/k2+c6sz/hvD5wjrjT7XgRlnEzPuZermi1jqfUrE3q7VdFfJu5oT9Ad+VUh1fIwIFhBy8TmMuhIeX2XpmogmvS1C3ZuwiyR87ZSrj0Jv1DpEAYkbcL3RpjZXmZpPV4mXH8z8Nh8CS+R+PpcTnkhyr5UJaSiz0wjK22Ewl+zS+pTug0PQ0CSnJQ5LfdR77vVZufgjkQ/ydf4V5zpEaNq+JZmrQK6WdZBacmMHL9RmLnPUs0/MYwYFzoyrXYQMTHGAUJOfumR5r79MZO28DIEXQVT5wGw99TY1T0GOCC/BzWv8READwICd0LjUNKnE6ORVa0lOnqhoO0v33lwWcwF0ynTgTpFxy+0OKdphNDWJlH8ubKoG6WJXtKxAwbsilpBJB+GBwimvTsCrv1R7LSX9ExkAw44ZEcxU3L50OHnKAyKZNe1fih+hVqItRGCDf7shuvme+lTWteX5oYuc58NrCaqjYIrIV0PFyQeh2ZzZEqNS60LuhnP5wweMkkaU93pDA/RWPNeGpPCBgiUeDvV0L1NfdRP/Hn5i7rUK7kftlIWeIUIYbtzzFl9nlIeaNfoX+x/qyWzIABLTZDbeq/hDZpxg2gkh+ICfSU8OUpJ8yWY17uQ5EGa+GGWFmnrBd9vX3KOteYkJaMpPwJ4TjzDjbhkOMKmWKClzVJ2g81YGFl/c0xPIKncgJGdUKvZoUUJu0gYaIAh6E0xNeQ15qpJXzNITgf4W+w/oUaKOM54EMUi1j5yvOCsEe8JYpwVGj53lNiPMY9Rltgd4icp82fvN69zkSBUI40nJSRTeHz7h1IX42Cr0klWjxjO05MSX1IaTeDmTRGEeKvAvtaaBaLQnjftGJz+4cjFyy6/iCjLGF2/gW+jQhEUxbEBPyQzXi+Bb4kc9wK4jIwNLWbwQAOtYKRLaipDH+X4TPPOG8DCNY4IC9yBk1qcibjhUgRnDcf35pl9d5otbvQjOIXlEu5dVtm5LRaK5KWcD/PX6LaGd25CuNHG/vgeIB1kcpCme+J8idlcjfBALAJSggznsGHGOAJgdGduMnZg+bAaeGASGV9bh/X2wPsVTmBLxmTTQsBGFkEOkZJTsGAm+HrtMDbWwvTXOutX1u7BxIq9Xib6DkFMbUitNdrYsULkahsAhBEh9FjdzL9BNARxTSr7T3u1rE+IWUmCIpwTZHZCu5l9THCuCcOhZqfekuQxjQ7EoyGUJAwCv/q1JOuJeCc/3lknb76zAquO/DAQhK/62cP8X2s3+IBLIhvL8RHopoHpIArJysYTTmMMeubPXh8W760AvMVH67jqgg06+/ne5MZ631z6yROhloh3dPQirZoEpr80wgt/cEbhbAQTmRLtGh8lxCwDBBb5OeJ4aEq25XBNMT2rzWedW2zIzj+CCDKlnlyJBzT81qBWp69h7vlb3TmEV+DNm2rqj1iT7BQuwVVsuPkwq1e5P8tgNjVbIlMzwXeM11kZqjx3KKFOJzc3CAyFVhi8fxVZ5FvhdAM5mM6kS6OgKu16MFglq3/b/QVIwdw7HUCyeW04JPjC5dO+GC9OfqfB4VX+wwuift+ths2Ss3i6nkOE+JFyD+wKFL+WMX6nwwDva0S1/O8Mlnida69Ph96fuFvCoRMvXnCfsLPPmC/hA5RnMNE4fDK0pVOQ4BHLaErzv/wD99ABmjNZk0AAAAABJRU5ErkJggg==); +} + +video { + box-shadow: 0 0 15px #000; +} diff --git a/src/chrome/global/media/clicktoplay-bgtexture.png b/src/chrome/global/media/clicktoplay-bgtexture.png Binary files differ. diff --git a/src/chrome/global/media/error.png b/src/chrome/global/media/error.png Binary files differ. diff --git a/src/chrome/global/media/fullscreenButton.png b/src/chrome/global/media/fullscreenButton.png Binary files differ. diff --git a/src/chrome/global/media/imagedoc-darknoise.png b/src/chrome/global/media/imagedoc-darknoise.png Binary files differ. diff --git a/src/chrome/global/media/imagedoc-lightnoise.png b/src/chrome/global/media/imagedoc-lightnoise.png Binary files differ. diff --git a/src/chrome/global/media/muteButton.png b/src/chrome/global/media/muteButton.png Binary files differ. diff --git a/src/chrome/global/media/noAudio.png b/src/chrome/global/media/noAudio.png Binary files differ. diff --git a/src/chrome/global/media/pauseButton.png b/src/chrome/global/media/pauseButton.png Binary files differ. diff --git a/src/chrome/global/media/playButton.png b/src/chrome/global/media/playButton.png Binary files differ. diff --git a/src/chrome/global/media/scrubberThumb.png b/src/chrome/global/media/scrubberThumb.png Binary files differ. diff --git a/src/chrome/global/media/scrubberThumbWide.png b/src/chrome/global/media/scrubberThumbWide.png Binary files differ. diff --git a/src/chrome/global/media/stalled.png b/src/chrome/global/media/stalled.png Binary files differ. diff --git a/src/chrome/global/media/throbber.png b/src/chrome/global/media/throbber.png Binary files differ. diff --git a/src/chrome/global/media/unmuteButton.png b/src/chrome/global/media/unmuteButton.png Binary files differ. diff --git a/src/chrome/global/media/videoClickToPlayButton.svg b/src/chrome/global/media/videoClickToPlayButton.svg @@ -0,0 +1,103 @@ +<!-- 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/. --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + version="1.1" + id="videoPlayButtonOverlay" + preserveAspectRatio="xMinYMin meet" + viewBox="0 0 64 64"> + <defs> + <linearGradient id="whiteGradientStops"> + <stop id="whiteGradientStop01" style="stop-color:#ffffff;stop-opacity:.95" offset="0" /> + <stop id="whiteGradientStop02" style="stop-color:#ffffff;stop-opacity:.75" offset=".45" /> + <stop id="whiteGradientStop03" style="stop-color:#ffffff;stop-opacity:.72" offset=".55" /> + <stop id="whiteGradientStop04" style="stop-color:#ffffff;stop-opacity:.65" offset="1" /> + </linearGradient> + <linearGradient + x1="32" + y1="0" + x2="32" + y2="62" + id="whiteGradient" + xlink:href="#whiteGradientStops" + gradientUnits="userSpaceOnUse" /> + <linearGradient id="arrowGradientStops"> + <stop id="arrowGradientStop01" style="stop-color:#333333;stop-opacity:.5" offset="0" /> + <stop id="arrowGradientStop02" style="stop-color:#666666;stop-opacity:.5" offset="1" /> + </linearGradient> + <linearGradient + x1="32" + y1="16" + x2="32" + y2="48" + id="arrowGradient" + xlink:href="#arrowGradientStops" + gradientUnits="userSpaceOnUse" /> + <filter + x="-0.15" + y="-0.15" + width="1.25" + height="1.25" + color-interpolation-filters="sRGB" + id="dropShadow"> + <feGaussianBlur + result="blur" + stdDeviation="2" + in="SourceAlpha" + id="dropShadowBlur" /> + <feColorMatrix + values="1 0 0 0 0 + 0 1 0 0 0 + 0 0 1 0 0 + 0 0 0 .5 0" + type="matrix" + result="bluralpha" + id="dropShadowColor" /> + <feOffset + result="offsetBlur" + dy="1" + dx="0" + in="bluralpha" + id="dropShadowOffset" /> + <feMerge> + <feMergeNode + in="offsetBlur" /> + <feMergeNode + in="SourceGraphic" /> + </feMerge> + </filter> + <mask id="dropShadowMask"> + <path + d="M47.285,30.991L23.75,17.24c-0.357-0.208-0.692-0.278-0.969-0.221 C22.32,17.115,22,17.555,22,18.252v27.499c0,1.112,0.797,1.568,1.75,1.011l23.535-13.748C48.238,32.458,48.238,31.547,47.285,30.991 z M0,0v64h64V0H0z M32,60C16.536,60,4,47.464,4,32S16.536,4,32,4s28,12.536,28,28S47.464,60,32,60z" + id="dropShadowMaskPath" + style="fill:#ffffff;fill-opacity:1;stroke:none" /> + </mask> + </defs> + <path + d="M32,4C16.536,4,4,16.536,4,32s12.536,28,28,28s28-12.536,28-28S47.464,4,32,4z M47.285,33.014 L23.75,46.762C22.797,47.319,22,46.863,22,45.751v-27.5c0-0.697,0.32-1.137,0.781-1.232c0.277-0.058,0.612,0.012,0.969,0.221 l23.535,13.751C48.238,31.546,48.238,32.458,47.285,33.014z" + mask="url(#dropShadowMask)" + id="playButtonShadow" + style="fill:black;fill-opacity:1;stroke:none;filter:url(#dropShadow)" /> + <path + d="M22.781,17.019C22.32,17.114,22,17.555,22,18.251v27.5c0,1.112,0.797,1.568,1.75,1.011 l23.535-13.748c0.953-0.556,0.953-1.467,0-2.023L23.75,17.24C23.393,17.031,23.058,16.961,22.781,17.019z" + id="playButtonArrow" + style="fill:url(#arrowGradient);fill-opacity:1;stroke:none" /> + <path + d="M32,4C16.536,4,4,16.536,4,32s12.536,28,28,28s28-12.536,28-28S47.464,4,32,4z M47.285,33.014 L23.75,46.762C22.797,47.319,22,46.863,22,45.751v-27.5c0-0.697,0.32-1.137,0.781-1.232c0.277-0.058,0.612,0.012,0.969,0.221 l23.535,13.751C48.238,31.546,48.238,32.458,47.285,33.014z" + id="playButton" + style="fill:url(#whiteGradient);fill-opacity:1;stroke:none" /> + <path + d="M32,4C16.536,4,4,16.536,4,32s12.536,28,28,28s28-12.536,28-28S47.464,4,32,4z M32,59C17.112,59,5,46.888,5,32S17.112,5,32,5s27,12.112,27,27S46.888,59,32,59z M47.789,30.127l-23.534-13.75 C23.826,16.126,23.396,16,22.976,16c-0.135,0-0.27,0.014-0.398,0.041C21.62,16.238,21,17.106,21,18.251v27.5 C21,47.075,21.812,48,22.977,48c0.423,0,0.854-0.126,1.279-0.375L47.79,33.877c0.769-0.449,1.21-1.132,1.21-1.875 S48.559,30.576,47.789,30.127z M47.285,33.014L23.75,46.762C23.474,46.924,23.211,47,22.977,47C22.402,47,22,46.541,22,45.751v-27.5 c0-0.697,0.32-1.137,0.781-1.232L22.976,17c0.233,0,0.498,0.079,0.775,0.24l23.535,13.751 C48.238,31.546,48.238,32.458,47.285,33.014z" + id="playButtonEdgeHighlights" + style="fill:white;fill-opacity:.3;stroke:none" /> + <path + d="M32,4C16.536,4,4,16.536,4,32c0,0.167,0.01,0.333,0.013,0.5 C4.28,17.268,16.704,5,32,5c15.296,0,27.72,12.268,27.987,27.5C59.99,32.333,60,32.167,60,32C60,16.536,47.464,4,32,4z M47.285,33.014L23.75,46.762C22.797,47.319,22,46.863,22,45.751v1c0,1.112,0.797,1.568,1.75,1.011l23.535-13.748 c0.697-0.406,0.879-1.003,0.556-1.512C47.723,32.688,47.541,32.864,47.285,33.014z" + id="playButtonTopEdgeHighlights" + style="fill:white;fill-opacity:.8;stroke:none" /> +</svg> diff --git a/src/chrome/global/media/videocontrols.css b/src/chrome/global/media/videocontrols.css @@ -0,0 +1,315 @@ +/* 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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +.controlBar { + height: 28px; + background-color: rgba(35,31,32,.74); +} + +.playButton, +.muteButton, +.fullscreenButton { + background-color: transparent; + background-repeat: no-repeat; + background-position: center; + -moz-appearance: none; /* Remove the native button appearance and styling */ + margin: 0; + padding: 0; + min-height: 28px; + min-width: 28px; + border: none; + opacity: 0.7; +} + +.playButton:hover, +.muteButton:hover, +.fullscreenButton:hover { + opacity: 1; +} + +.playButton:hover:active, +.muteButton:hover:active, +.fullscreenButton:hover:active { + opacity: 0.4; +} + +.playButton { + background-image: url(chrome://global/skin/media/pauseButton.png); + margin-right: -22px; /* 1/2 of scrubber thumb width, for overhang. */ + position: relative; /* Trick to work around negative margin interfering with clicking on the button. */ +} + +.playButton[paused] { + background-image: url(chrome://global/skin/media/playButton.png); +} + +.muteButton { + background-image: url(chrome://global/skin/media/muteButton.png); + min-width: 33px; +} +.muteButton[muted] { + background-image: url(chrome://global/skin/media/unmuteButton.png); +} + +.muteButton[noAudio] { + background-image: url(chrome://global/skin/media/noAudio.png); +} + +.fullscreenButton { + background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 0, 16, 16, 0); +} + +.fullscreenButton[fullscreened] { + background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 0, 32, 16, 16); +} + +.volumeStack { + width: 28px; + height: 70px; + background-color: rgba(35,31,32,.74); + /* use negative margin to place stack over the mute button to its left. */ + margin: -70px 3px 28px -31px; + overflow: hidden; /* crop it when sliding down, don't grow the control bar */ + position: relative; /* Trick to work around negative margin interfering with dragging the thumb. */ + padding-top: 6px; +} + +.volumeControl { + min-height: 64px; +} + +/* .scale-thumb is an element inside the <scale> implementation. */ +.volumeControl .scale-thumb { + /* Override the default thumb appearance with a custom image. */ + -moz-appearance: none; + background: url(chrome://global/skin/media/volumeThumb.png) no-repeat center; + border: none; + min-width: 20px; + min-height: 10px; +} + +.volumeBackgroundBar { + /* margin left/right: make bar 8px wide (control width = 28, minus 2 * 10 margin) */ + margin: 0 10px; + background-color: rgba(255,255,255,.75); + border-radius: 2.5px; +} + +.durationBox { + -moz-box-pack: center; +} + +.durationLabel { + margin-left: -22px; /* 1/2 of scrubber thumb width, for overhang. */ + padding-left: 8px; /* don't bump into the scrubber bar */ + padding-top: 0; /* center vertically with scrubber bar */ + color: rgba(255,255,255,.75); + font-size: 11px; + font-family: Arial, sans-serif; +} + +.positionLabel { + display: none; +} + +.backgroundBar { + /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */ + /* margin left/right: 1/2 of scrubber thumb width, for overhang. */ + margin: 10px 22px; + background-color: rgba(255,255,255,.5); + border-radius: 2.5px; +} + +.bufferBar, +.progressBar { + /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */ + /* margin left/right: 1/2 of scrubber thumb width, for overhang. */ + margin: 10px 22px; + -moz-appearance: none; + border: none; + background-color: transparent; + min-width: 0; + min-height: 0; +} + +/* .progress-bar is an element inside the <progressmeter> implementation. */ +.bufferBar .progress-bar { + /* + * Note that this is drawn on top of the .backgroundBar. So although this + * has the same background-color specified, the semitransparent + * compositing gives it a different visual appearance. + */ + background-color: rgba(255,255,255,.5); + border-radius: 2.5px; + -moz-appearance: none; +} + +.progressBar .progress-bar { + background-color: white; + border-radius: 2.5px; + -moz-appearance: none; +} + +/* .scale-slider is an element inside the <scale> implementation. */ +.scrubber .scale-slider, +.volumeControl .scale-slider { + /* Hide the default horizontal bar. */ + -moz-appearance: none; + background: none; + margin: 0; +} + +.scrubber .scale-slider { + /* abs(margin-top) + margin-bottom + bar height == timeThumb height */ + margin-top: -10px; + margin-bottom: 10px; +} + +/* .scale-thumb is an element inside the <scale> implementation. */ +.scrubber .scale-thumb { + /* Override the default thumb appearance with a custom image. */ + -moz-appearance: none; + background: transparent; + border: none; +} + +.timeThumb { + background: url(chrome://global/skin/media/scrubberThumb.png) no-repeat center; + min-width: 45px; + min-height: 28px; + -moz-box-pack: center; +} + +.timeThumb[showhours="true"] { + background-image: url(chrome://global/skin/media/scrubberThumbWide.png); +} + +.timeLabel { + color: rgba(255,255,255,.75); + font-size: 10px; + font-family: Arial, sans-serif; + text-shadow: rgba(0,0,0,.3) 0 1px; + padding-top: 5px; +} + +.statusOverlay { + -moz-box-align: center; + -moz-box-pack: center; + background-color: rgba(0,0,0,.55); +} + +.statusIcon { + margin-bottom: 28px; /* same height as .controlBar, to keep icon centered above it */ + width: 36px; + height: 36px; +} + +.statusIcon[type="throbber"] { + background: url(chrome://global/skin/media/throbber.png) no-repeat center; +} + +.statusIcon[type="throbber"][stalled] { + background: url(chrome://global/skin/media/stalled.png) no-repeat center; +} + +.statusIcon[type="error"] { + background: url(chrome://global/skin/media/error.png) no-repeat center; +} + +/* Overlay Play button */ +.clickToPlay { + width: 64px; + height: 64px; + -moz-box-pack: center; + -moz-box-align: center; + opacity: 0.7; + background-image: url(chrome://global/skin/media/clicktoplay-bgtexture.png), + url(chrome://global/skin/media/videoClickToPlayButton.svg); + background-repeat: repeat, no-repeat; + background-position: center, center; + background-size: auto, 64px 64px; + background-color: hsla(0,0%,10%,.5); +} +.clickToPlay:hover { + opacity: 1; +} + +/* Statistics formatting */ +html|*.statsDiv { + position: relative; +} +html|td { + height: 1em; + max-height: 1em; + padding: 0 2px; +} +html|table { + font-family: Helvetica, Arial, sans-serif; + font-size: 11px; + color: white; + text-shadow: + -1px -1px 0 #000, + 1px -1px 0 #000, + -1px 1px 0 #000, + 1px 1px 0 #000; + min-width: 100%; + background: rgba(68,68,68,.7); + table-layout: fixed; + border-collapse: collapse; + position: absolute; +} + +/* CSS Transitions */ +.clickToPlay { + transition-property: opacity, background-size; + transition-duration: 400ms, 400ms; +} +.clickToPlay[fadeout] { + background-size: auto, 192px 192px; + opacity: 0; +} +.clickToPlay[fadeout][immediate] { + transition-property: opacity, background-size; + transition-duration: 0s, 0s; +} +.controlBar:not([immediate]) { + transition-property: opacity; + transition-duration: 200ms; +} +.controlBar[fadeout] { + opacity: 0; +} +.volumeStack:not([immediate]) { + transition-property: opacity, margin-top; + transition-duration: 200ms, 200ms; +} +.volumeStack[fadeout] { + opacity: 0; + margin-top: 0; +} +.statusOverlay:not([immediate]) { + transition-property: opacity; + transition-duration: 300ms; + transition-delay: 750ms; +} +.statusOverlay[fadeout] { + opacity: 0; +} + +/* Error description formatting */ +.errorLabel { + font-family: Helvetica, Arial, sans-serif; + font-size: 11px; + color: #bbb; + text-shadow: + -1px -1px 0 #000, + 1px -1px 0 #000, + -1px 1px 0 #000, + 1px 1px 0 #000; + padding: 0 10px; + text-align: center; +} diff --git a/src/chrome/global/media/volume-empty.png b/src/chrome/global/media/volume-empty.png Binary files differ. diff --git a/src/chrome/global/media/volume-full.png b/src/chrome/global/media/volume-full.png Binary files differ. diff --git a/src/chrome/global/media/volumeThumb.png b/src/chrome/global/media/volumeThumb.png Binary files differ. diff --git a/src/chrome/global/menu.css b/src/chrome/global/menu.css @@ -0,0 +1,258 @@ +/* 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/. */ + +/* ===== menu.css ======================================================= + == Styles used by XUL menu-related elements. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: menu/menuitem ::::: */ + +menu, +menuitem, +.splitmenu-menuitem { + -moz-appearance: none; + -moz-box-align: center; + color: #FFFFFF; + font: menu; + list-style-image: none; + -moz-image-region: auto; +} + +menuitem[default="true"] { + font-weight: bold; +} + +menu[disabled="true"], +menuitem[disabled="true"], +.splitmenu-menuitem[disabled="true"], +menu[_moz-menuactive="true"][disabled="true"], +menuitem[_moz-menuactive="true"][disabled="true"], +.splitmenu-menuitem[_moz-menuactive="true"][disabled="true"] { + color: rgb(200,200,200); + text-shadow: none; +} + +@media (-moz-windows-classic) { + menu[disabled="true"], + menubar > menu[disabled="true"][_moz-menuactive="true"], + menuitem[disabled="true"], + .splitmenu-menuitem[disabled="true"] { + color: rgb(200,200,200); + text-shadow: 1px 1px #777777; + } +} + +menuitem.spell-suggestion { + font-weight: bold; +} + +/* ..... internal content .... */ + +.menu-accel, +.menu-iconic-accel, +.menu-text, +.menu-iconic-text { + margin: 0px !important; + padding: 1px 0px; + color: inherit; +} + +.menu-text { + -moz-appearance: none; + -moz-padding-start: 1.45em !important; +} + +.menu-text, +.menu-iconic-text { + font-weight: inherit; + -moz-margin-start: 2px !important; + -moz-padding-end: 2px; +} + +.menu-description { + font-style: italic; + color: GrayText; + -moz-margin-start: 1ex !important; +} + +.menu-accel, +.menu-iconic-accel { + color: inherit; + -moz-margin-start: 0.74em !important; + -moz-margin-end: 1.35em !important; +} + +.menu-iconic-left { + min-width: 1.45em; +} + +.menu-iconic-icon { + width: 16px; + height: 16px; +} + +menu.menu-iconic > .menu-iconic-left, +menuitem.menuitem-iconic > .menu-iconic-left, +.splitmenu-menuitem[iconic="true"] > .menu-iconic-left { + /*-moz-appearance: menuimage;*/ + padding-top: 2px; +} + +/* ..... menu arrow box ..... */ + +.menu-right { +margin: 0 0 0 6px; +width: 8px; +list-style-image: url("chrome://global/skin/arrow/arrow-rit-sharp.gif"); +-moz-image-region: auto; +} + +/* ::::: menu/menuitems in menubar ::::: */ + +menubar > menu { + border: 2px solid transparent; +} + +menubar > menu[_moz-menuactive="true"]:not([disabled="true"]) { + color: #fff; +} + +menubar > menu[_moz-menuactive="true"][open="true"] { + border-width: 3px 1px 1px 3px; +} + +menubar > menu:-moz-lwtheme { + -moz-appearance: none; + border-style: none; +} + +menubar > menu:-moz-lwtheme:not([disabled="true"]) { + color: inherit !important; +} + +menubar > menu:-moz-lwtheme[_moz-menuactive="true"]:not([disabled="true"]) { + background-color: rgb(110,110,110); + color: #fff !important; + text-shadow: none; +} + +menubar > menu:-moz-window-inactive { + color: rgb(173,173,173); +} + +/* ..... internal content .... */ + +.menubar-left { + color: inherit; +} + +.menubar-text { + margin: 1px 6px 2px 6px !important; + color: inherit; +} + +/* ::::: menu/menuitems in popups ::::: */ + +menupopup > menu, +menupopup > menuitem { + max-width: 42em; +} + +menu[_moz-menuactive="true"], +menuitem[_moz-menuactive="true"], +.splitmenu-menuitem[_moz-menuactive="true"] { + background-color: rgb(110,110,110) !important; + color: #fff !important; +} + +/* ::::: menu/menuitems in menulist popups ::::: */ + +.menulist-menupopup > menuitem, +menulist > menupopup > menuitem, +.menulist-menupopup > menu, +menulist > menupopup > menu { + -moz-appearance: none; + border: 1px solid transparent; + padding: 1px 5px; + max-width: none; + font: message-box; + color: #FFFFFF; +} + +.menulist-menupopup > menuitem > .menu-iconic-left, +menulist > menupopup > menuitem > .menu-iconic-left, +.menulist-menupopup > menu > .menu-iconic-left, +menulist > menupopup > menu > .menu-iconic-left { + display: none; + padding-top: 0px; +} + +.menulist-menupopup > menuitem > label, +menulist > menupopup > menuitem > label, +.menulist-menupopup > menu > label, +menulist > menupopup > menu > label { + padding-top: 0px; + padding-bottom: 0px; +} + +menulist:-moz-focusring > menupopup > menuitem[_moz-menuactive="true"] { + border: 1px dotted rgb(75,75,75); + background-color: rgb(110,110,110); + color: #fff; +} + +menuitem[checked="true"] { + list-style-image: url("chrome://global/skin/menu/menu-check.gif"); +} + +menuitem[checked="true"][disabled="true"], +menuitem[checked="true"][disabled="true"][_moz-menuactive="true"] { + list-style-image: url("chrome://global/skin/menu/menu-check-disabled.gif"); +} + +/* ::::: checkbox and radio menuitems ::::: */ + +menuitem[checked="true"][type="radio"] { + list-style-image: url("chrome://global/skin/menu/menu-radio.gif"); +} + +menuitem[checked="true"][type="radio"][disabled="true"], +menuitem[checked="true"][type="radio"][disabled="true"][_moz-menuactive="true"] { + list-style-image: url("chrome://global/skin/menu/menu-radio-disabled.gif"); +} + +/* ::::: menuseparator ::::: */ + +menuseparator { + margin: 2px 3px; + border-top: 1px solid rgb(75,75,75); +} + +menuseparator[collapsed="true"] { + margin: 0 !important; +} + +menulist > menupopup > menuseparator, +.menulist-menupopup > menuseparator { + padding: 6px 0 5px 0; + border-top: 1px solid #FFFFFF; + border-bottom: none; +} + +/* ::::: autocomplete ::::: */ + +.autocomplete-history-popup > menuitem { + max-width: none !important; + font: message-box; +} + +/* ::::: tree column picker ::::: */ + +.treecell-popupcell-menu { + -moz-margin-start: -2px; + list-style-image: url("chrome://global/skin/columnselect.gif"); + -moz-image-region: auto; +} diff --git a/src/chrome/global/menu/menu-arrow-disabled-rtl.gif b/src/chrome/global/menu/menu-arrow-disabled-rtl.gif Binary files differ. diff --git a/src/chrome/global/menu/menu-arrow-disabled.gif b/src/chrome/global/menu/menu-arrow-disabled.gif Binary files differ. diff --git a/src/chrome/global/menu/menu-arrow-hover-rtl.gif b/src/chrome/global/menu/menu-arrow-hover-rtl.gif Binary files differ. diff --git a/src/chrome/global/menu/menu-arrow-hover.gif b/src/chrome/global/menu/menu-arrow-hover.gif Binary files differ. diff --git a/src/chrome/global/menu/menu-arrow-rtl.gif b/src/chrome/global/menu/menu-arrow-rtl.gif Binary files differ. diff --git a/src/chrome/global/menu/menu-arrow.gif b/src/chrome/global/menu/menu-arrow.gif Binary files differ. diff --git a/src/chrome/global/menu/menu-check-disabled.gif b/src/chrome/global/menu/menu-check-disabled.gif Binary files differ. diff --git a/src/chrome/global/menu/menu-check-hover.gif b/src/chrome/global/menu/menu-check-hover.gif Binary files differ. diff --git a/src/chrome/global/menu/menu-check.gif b/src/chrome/global/menu/menu-check.gif Binary files differ. diff --git a/src/chrome/global/menu/menu-radio-disabled.gif b/src/chrome/global/menu/menu-radio-disabled.gif Binary files differ. diff --git a/src/chrome/global/menu/menu-radio-hover.gif b/src/chrome/global/menu/menu-radio-hover.gif Binary files differ. diff --git a/src/chrome/global/menu/menu-radio.gif b/src/chrome/global/menu/menu-radio.gif Binary files differ. diff --git a/src/chrome/global/menulist.css b/src/chrome/global/menulist.css @@ -0,0 +1,182 @@ +/* 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/. */ + +/* 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/. */ + +/* ===== menulist.css =================================================== + == Styles used by the XUL menulist element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +/* :::::::::: menulist :::::::::: */ + +menulist { + -moz-appearance: none; + margin: 2px 4px; + border: 1px solid; + -moz-border-top-colors: rgb(75,75,75); + -moz-border-right-colors: rgb(75,75,75); + -moz-border-bottom-colors: rgb(75,75,75); + -moz-border-left-colors: rgb(75,75,75); + background-color: rgb(50,50,50); + color: #fff; + text-shadow: none; +} + +.menulist-label-box { + -moz-box-align: center; + -moz-box-pack: center; + margin: 1px; + border: 1px solid transparent; + background-color: transparent; + color: inherit; +} + +.menulist-icon[src] { + margin: 0px 2px 0px 2px; +} + +.menulist-label { + margin-top: 0 !important; + -moz-margin-end: 0 !important; + margin-bottom: 0 !important; + -moz-margin-start: 1px !important; +} + +.menulist-description { + font-style: italic; + color: GrayText; + -moz-margin-start: 1ex !important; +} + +menulist:hover:not(:active):not([disabled=true]) { + background-color: rgb(75,75,75); +} + +menulist:hover:active:not([disabled=true]) { + background-color: rgb(110,110,110); +} + +/* ..... dropmarker ..... */ + +menulist > .menulist-dropmarker { + border: none; + background: transparent; + margin-right: 0 !important; +} + +menulist[disabled="true"]:hover:active > .menulist-dropmarker { + padding: 1px; +} + +menulist:hover:active > .menulist-dropmarker { + padding-top: 2px; + padding-bottom: 0px; + -moz-padding-start: 2px; + -moz-padding-end: 0px; +} + +/* ..... focused state ..... */ + +menulist:focus:not([open="true"]):not(.menulist-compact) > .menulist-label-box { + background-color: rgb(110,110,110); + color: #fff; +} + +menulist:-moz-focusring:not([open="true"]) > .menulist-label-box { + border: 1px dotted #F5DB95; +} + +/* ..... disabled state ..... */ + +menulist[disabled="true"] { + background-color: rgb(62,62,62); + color: GrayText; +} + +/* ::::: editable menulists ::::: */ + +.menulist-editable-box { + padding-top: 3px; + padding-bottom: 3px; + -moz-padding-start: 2px; + -moz-padding-end: 0px; +} + +html|*.menulist-editable-input { + margin: 0px !important; + border: none !important; + padding: 0px !important; + background: inherit; + font: inherit; +} + +/* ::::: compact menulists ::::: */ + +.menulist-compact { + -moz-appearance: none; + -moz-box-align: center; + -moz-box-pack: center; + margin: 0; + -moz-border-top-colors: rgb(75,75,75); + -moz-border-right-colors: rgb(75,75,75); + -moz-border-bottom-colors: rgb(75,75,75); + -moz-border-left-colors: rgb(75,75,75); + background-color: rgb(50,50,50); + color: #fff; + list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); +} + +.menulist-compact > .menulist-label-box > .menulist-label { + margin: 0 3px !important; + text-align: end; +} + +.menulist-compact > .menulist-label-box > .menulist-icon { + -moz-margin-start: 2px; +} + +.menulist-compact[open="true"] { + background-color: rgb(110,110,110); +} + +.menulist-compact[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif"); +} + +.menulist-compact:-moz-focusring:not([open="true"]) > .menulist-label-box { + border: 1px dotted; +} + +menulist:-moz-focusring:not([open="true"]):not(.menulist-compact) > .menulist-label-box { + border: 1px dotted rgb(75,75,75); +} + +@media (-moz-windows-default-theme) { + .menulist-label-box { + background-color: transparent !important; + color: inherit !important; + } + + .menulist-label { + margin-top: -1px !important; + margin-bottom: -1px !important; + -moz-margin-start: 0 !important; + } + + menulist:not([editable="true"]) > .menulist-dropmarker { + margin-top: -2px; + -moz-margin-start: 3px; + -moz-margin-end: -3px; + } + + .menulist-icon { + margin-top: -1px; + margin-bottom: -1px; + } +} diff --git a/src/chrome/global/netError.css b/src/chrome/global/netError.css @@ -0,0 +1,142 @@ +/* + * This defines the look-and-feel styling of the error pages. + * (see: netError.xhtml) + * + * Original styling by William Price <bugzilla@mob.rice.edu> + * Updated by: Steven Garrity <steven@silverorange.com> + * Henrik Skupin <mozilla@hskupin.info> + */ + +html { + background: rgb(23,23,23); +} + +body { + margin: 0; + padding: 0 1em; + color: #fff; + font: message-box; +} + +h1 { + margin: 0 0 .6em 0; + border-bottom: 1px solid rgb(50,50,50); + font-size: 160%; +} + +ul, ol { + margin: 0; + -moz-margin-start: 1.5em; + padding: 0; +} + +ul > li, ol > li { + margin-bottom: .5em; +} + +ul { + list-style: square; +} + +#errorPageContainer { + position: relative; + min-width: 13em; + max-width: 52em; + margin: 4em auto; + border: 1px solid rgb(50,50,50); + border-radius: 10px; + padding: 3em; + -moz-padding-start: 30px; + background: url("chrome://global/skin/icons/warning-large.png") left 0 no-repeat rgb(43,43,43); + background-origin: content-box; +} + +#errorPageContainer.certerror { + background-image: url("chrome://global/skin/icons/sslWarning.png"); +} + +body[dir="rtl"] #errorPageContainer { + background-position: right 0; +} + +#errorTitle { + -moz-margin-start: 80px; +} + +#errorLongContent { + -moz-margin-start: 80px; +} + +#errorShortDesc > p { + overflow: auto; + border-bottom: 1px solid rgb(50,50,50); + padding-bottom: 1em; + font-size: 130%; + white-space: pre-wrap; +} + +#errorLongDesc { + -moz-padding-end: 3em; + font-size: 110%; +} + +#errorLongDesc > p { +} + +#errorTryAgain { + margin-top: 2em; + -moz-margin-start: 80px; +} + +#brand { + position: absolute; + right: 0; + bottom: -1.5em; + -moz-margin-end: 10px; + opacity: .4; +} + +#brand:-moz-dir(rtl) { + right: auto; + left: 0; +} + +#brand > p { + margin: 0; +} + +#errorContainer { + display: none; +} + +#securityOverrideDiv { + padding-top: 10px; +} + +#securityOverrideContent { + background-color: rgb(43,43,43); + color: #fff; + padding: 10px; + border-radius: 10px; +} + +/* Custom styling for 'blacklist' error class */ +:root.blacklist #errorTitle, :root.blacklist #errorLongContent, +:root.blacklist #errorShortDesc, :root.blacklist #errorLongDesc, +:root.blacklist a { + background-color: #722; /* Dark red */ + color: white; +} + +:root.blacklist #errorPageContainer { + background-image: url("chrome://global/skin/icons/blacklist_large.png"); + background-color: #722; +} + +:root.blacklist { + background: #333; +} + +:root.blacklist #errorTryAgain { + display: none; +} diff --git a/src/chrome/global/notification.css b/src/chrome/global/notification.css @@ -0,0 +1,157 @@ +/* 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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +notification { + background-color: rgb(50,50,50); + color: #fff; + text-shadow: none; +} + +notification[type="info"] { + background-color: rgb(50,50,50); + color: #fff; +} + +notification[type="critical"] { + background-image: linear-gradient(rgb(212,0,0), rgb(152,0,0)); + color: white; +} + +.messageImage { + width: 16px; + height: 16px; + -moz-margin-start: 6px; + -moz-margin-end: 1px; +} + +/* Default icons for notifications */ + +.messageImage[type="info"] { + list-style-image: url("chrome://global/skin/icons/information-16.png"); +} + +.messageImage[type="warning"] { + list-style-image: url("chrome://global/skin/icons/warning-16.png"); +} + +.messageImage[type="critical"] { + list-style-image: url("chrome://global/skin/icons/error-16.png"); +} + +.messageCloseButton { + list-style-image: url("chrome://global/skin/icons/close.png"); + -moz-appearance: none; + -moz-image-region: rect(0, 16px, 16px, 0); + padding: 4px 2px; + border: none !important; +} + +.messageCloseButton:hover { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +.messageCloseButton:hover:active { + -moz-image-region: rect(0, 48px, 16px, 32px); +} + +.messageCloseButton > .toolbarbutton-icon { + -moz-margin-end: 5px; +} + +/* Popup notification */ + +.popup-notification-description { + max-width: 24em; +} + +.popup-notification-button-container { + margin-top: 17px; +} + +/* +XXX: apply styles to all themes until bug 509642 is fixed +@media (-moz-windows-default-theme) { +*/ + .popup-notification-menubutton { + -moz-appearance: none; + border-radius: 3px; + padding: 0; + } + + .popup-notification-menubutton:hover:active { + border-color: rgba(0,0,0,.5); + } + + .popup-notification-menubutton > * > * > .button-text { + color: #fff !important; + } + + .popup-notification-menubutton:not([type="menu-button"]), + .popup-notification-menubutton > .button-menubutton-button, + .popup-notification-menubutton > .button-menubutton-dropmarker { + -moz-appearance: none; + margin: 0; + border: 1px solid rgba(0,0,0,.2); + background-image: linear-gradient(rgba(75,75,75,.8), rgba(50,50,50,.8)); + } + + .popup-notification-menubutton > .button-menubutton-button { + background-color: transparent; + padding: 1px; + -moz-border-end: none; + } + + .popup-notification-menubutton:not([type="menu-button"]), + .popup-notification-menubutton > .button-menubutton-button > .button-box { + -moz-padding-start: 8px; + -moz-padding-end: 5px; + } + + .popup-notification-menubutton > .button-menubutton-dropmarker { + padding: 9px 5px 8px; + width: auto; + height: auto; + list-style-image: url("chrome://global/skin/arrow/arrow-dn-sharp.gif"); + } + + .popup-notification-menubutton:-moz-focusring > .button-menubutton-dropmarker { + outline: 1px dotted ThreeDDarkShadow; + outline-offset: -3px; + } + + .popup-notification-menubutton > .button-menubutton-button:-moz-locale-dir(ltr), + .popup-notification-menubutton > .button-menubutton-dropmarker:-moz-locale-dir(rtl) { + border-radius: 2px 0 0 2px; + } + + .popup-notification-menubutton > .button-menubutton-button:-moz-locale-dir(rtl), + .popup-notification-menubutton > .button-menubutton-dropmarker:-moz-locale-dir(ltr) { + border-radius: 0 2px 2px 0; + } + + .popup-notification-menubutton:not([type="menu-button"]):hover, + .popup-notification-menubutton > .button-menubutton-button:hover, + .popup-notification-menubutton > .button-menubutton-dropmarker:hover { + background-image: linear-gradient(rgba(62,62,62,.8), rgba(43,43,43,.8)); + } + + .popup-notification-menubutton:not([type="menu-button"]):hover:active, + .popup-notification-menubutton > .button-menubutton-button:hover:active, + .popup-notification-menubutton > .button-menubutton-dropmarker:hover:active, + .popup-notification-menubutton[open="true"] > .button-menubutton-dropmarker { + background-image: linear-gradient(rgba(50,50,50,.8), rgba(23,23,23,.8)); + } +/*}*/ + +.popup-notification-closebutton { + -moz-margin-end: -14px; + margin-top: -10px; +} + +.popup-notification-closeitem { + list-style-image: url("chrome://global/skin/icons/close.png"); + -moz-image-region: rect(0, 16px, 16px, 0); +} diff --git a/src/chrome/global/numberbox.css b/src/chrome/global/numberbox.css @@ -0,0 +1,24 @@ +/* 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/. */ + +/* ===== numberbox.css ================================================== + == Styles used by the XUL textbox type="number" element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +textbox[type="number"] { + padding: 0 !important; + cursor: default; +} + +html|*.numberbox-input { + text-align: right; +} + +.numberbox-input-box { + -moz-box-align: center; +} + diff --git a/src/chrome/global/passwordmgr.css b/src/chrome/global/passwordmgr.css @@ -0,0 +1,13 @@ +/* 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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +.contentPane { + margin: 9px 8px 5px 8px; +} + +.actionButtons { + margin: 0px 3px 6px 3px !important; +} diff --git a/src/chrome/global/popup.css b/src/chrome/global/popup.css @@ -0,0 +1,165 @@ + +/* 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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: menupopup ::::: */ + +menupopup, +panel { + border: 1px solid transparent; + -moz-border-top-colors : rgb(75,75,75); + -moz-border-left-colors : rgb(75,75,75); + -moz-border-right-colors : rgb(23,23,23); + -moz-border-bottom-colors: rgb(23,23,23); + padding: 0px; + min-width: 1px; + background: rgb(43,43,43); + color: #fff; +} + +menupopup { + -moz-appearance: none; +} + +menupopup > menu > menupopup { + /* align submenus */ + -moz-margin-start: -3px; + margin-top: -3px; +} + +panel[type="arrow"] { + -moz-appearance: none; + background: transparent; + border: none; +} + +panel[type="arrow"][side="top"], +panel[type="arrow"][side="bottom"] { + margin-left: -20px; + margin-right: -20px; +} + +panel[type="arrow"][side="left"], +panel[type="arrow"][side="right"] { + margin-top: -20px; + margin-bottom: -20px; +} + +.panel-arrowcontent { + border-radius: 4px; + padding: 10px; + color: #fff; + background: rgb(50,50,50); + background-clip: padding-box; + border: 1px solid rgb(75,75,75); + margin: 4px; +} + +.panel-arrow[side="top"], +.panel-arrow[side="bottom"] { + list-style-image: url("chrome://global/skin/arrow/panelarrow-vertical-themed.svg"); + position: relative; + margin-left: 10px; + margin-right: 10px; +} + +.panel-arrow[side="top"] { + margin-bottom: -5px; +} + +.panel-arrow[side="bottom"] { + transform: scaleY(-1); + margin-top: -5px; +} + +.panel-arrow[side="left"], +.panel-arrow[side="right"] { + list-style-image: url("chrome://global/skin/arrow/panelarrow-horizontal-themed.svg"); + position: relative; + margin-top: 10px; + margin-bottom: 10px; +} + +.panel-arrow[side="left"] { + margin-right: -5px; +} + +.panel-arrow[side="right"] { + transform: scaleX(-1); + margin-left: -5px; +} + +@media (-moz-windows-default-theme) { + .panel-arrowcontainer[panelopen] { + transition-duration: 100ms, 75ms; + transition-property: opacity, transform; + transition-timing-function: ease-out; + } + + .panel-arrowcontainer:not([panelopen]) { + opacity: 0; + } + + .panel-arrowcontainer:not([panelopen])[side="top"] { + transform: translateY(-20px); + } + + .panel-arrowcontainer:not([panelopen])[side="bottom"] { + transform: translateY(20px); + } + + .panel-arrowcontainer:not([panelopen])[side="left"] { + transform: translateX(-20px); + } + + .panel-arrowcontainer:not([panelopen])[side="right"] { + transform: translateX(20px); + } + + .panel-arrow[side="top"], + .panel-arrow[side="bottom"] { + list-style-image: url("chrome://global/skin/arrow/panelarrow-vertical.svg"); + } + + .panel-arrow[side="left"], + .panel-arrow[side="right"] { + list-style-image: url("chrome://global/skin/arrow/panelarrow-horizontal.svg"); + } +} + +/* ::::: tooltip ::::: */ + +tooltip { + -moz-appearance: none; + margin-top: 21px; + border: 1px solid rgb(75,75,75); + padding: 2px 3px; + max-width: 40em; + background-color: rgb(110,110,110); + color: #fff; + font: message-box; +} + +tooltip[titletip="true"] { + /* See bug 32157 comment 128 + * margin: -2px 0px 0px -3px; + */ + max-width: none; +} + +/* rules for popups associated with menulists */ + +menulist > menupopup { + -moz-appearance: none; + border-width: 1px; + -moz-border-top-colors: rgb(75,75,75); + -moz-border-right-colors: rgb(75,75,75); + -moz-border-bottom-colors: rgb(75,75,75); + -moz-border-left-colors: rgb(75,75,75); + padding: 0px; + min-width: 0px; + background-color: rgb(50,50,50); +} diff --git a/src/chrome/global/preferences.css b/src/chrome/global/preferences.css @@ -0,0 +1,76 @@ +/* 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/. */ + +/* ===== preferences.css ===================================================== + == Styles used by the XUL prefwindow element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: dialog ::::: */ + +prefwindow { + padding: 0px; +} + +prefpane { + padding-top: 8px; + padding-bottom: 10px; + -moz-padding-start: 8px; + -moz-padding-end: 10px; +} + +prefwindow[type="child"] { + padding-top: 8px; + padding-bottom: 10px; + -moz-padding-start: 8px; + -moz-padding-end: 10px; +} + +prefwindow[type="child"] > prefpane { + padding: 0px; +} + +.prefWindow-dlgbuttons { + padding-bottom: 10px; + -moz-padding-start: 8px; + -moz-padding-end: 10px; +} + +prefwindow[type="child"] .prefWindow-dlgbuttons { + padding: 0px; +} + +radio[pane] { + -moz-appearance: none; + margin: 0px 1px 0px 1px; + padding: 1px 3px 1px 3px; + min-width: 4.5em; +} + +.paneSelector { + border-bottom: 1px solid rgb(75,75,75); + margin: 0px; + -moz-padding-start: 10px; + background-color: rgb(43,43,43); + color: #fff; +} + +.paneButtonIcon { + width: 32px; + height: 32px; +} + +radio[pane]:hover { + background-color: rgb(75,75,75); + color: #fff; + -moz-appearance: none; +} + +radio[pane][selected="true"] { + background-color: rgb(110,110,110); + color: #fff; + -moz-appearance: none; +} + diff --git a/src/chrome/global/printPageSetup.css b/src/chrome/global/printPageSetup.css @@ -0,0 +1,7 @@ +.portrait-page { + list-style-image: url("chrome://global/skin/icons/Portrait.png"); +} + +.landscape-page { + list-style-image: url("chrome://global/skin/icons/Landscape.png"); +} diff --git a/src/chrome/global/printPreview.css b/src/chrome/global/printPreview.css @@ -0,0 +1,70 @@ +/* ..... page navigation ..... */ + +.home-arrow, +.end-arrow:-moz-locale-dir(rtl) { + list-style-image: url("chrome://global/skin/printpreview/arrow-left-end.png"); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +.home-arrow:hover, +.end-arrow:-moz-locale-dir(rtl):hover { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +.end-arrow, +.home-arrow:-moz-locale-dir(rtl) { + list-style-image: url("chrome://global/skin/printpreview/arrow-right-end.png"); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +.end-arrow:hover, +.home-arrow:-moz-locale-dir(rtl):hover { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +.previous-arrow, +.next-arrow:-moz-locale-dir(rtl) { + list-style-image: url("chrome://global/skin/printpreview/arrow-left.png"); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +.previous-arrow:hover, +.next-arrow:-moz-locale-dir(rtl):hover { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +.next-arrow, +.previous-arrow:-moz-locale-dir(rtl) { + list-style-image: url("chrome://global/skin/printpreview/arrow-right.png"); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +.next-arrow:hover, +.previous-arrow:-moz-locale-dir(rtl):hover { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +/* ...... scale in/decrement ..... */ + +.up-arrow { + list-style-image: url("chrome://global/skin/arrow/arrow-up-sharp.gif"); +} + +.down-arrow { + list-style-image: url("chrome://global/skin/arrow/arrow-dn-sharp.gif"); +} + + +/* ..... orientation ..... */ + +.toolbar-portrait-page { + list-style-image: url("chrome://global/skin/icons/Print-preview.png"); + -moz-image-region: rect(0px 16px 16px 0px); + color: #fff; +} + +.toolbar-landscape-page { + list-style-image: url("chrome://global/skin/icons/Print-preview.png"); + -moz-image-region: rect(0px 32px 16px 16px); + color: #fff; +} diff --git a/src/chrome/global/printpreview/arrow-left-end.png b/src/chrome/global/printpreview/arrow-left-end.png Binary files differ. diff --git a/src/chrome/global/printpreview/arrow-left.png b/src/chrome/global/printpreview/arrow-left.png Binary files differ. diff --git a/src/chrome/global/printpreview/arrow-right-end.png b/src/chrome/global/printpreview/arrow-right-end.png Binary files differ. diff --git a/src/chrome/global/printpreview/arrow-right.png b/src/chrome/global/printpreview/arrow-right.png Binary files differ. diff --git a/src/chrome/global/progressmeter.css b/src/chrome/global/progressmeter.css @@ -0,0 +1,44 @@ +/* 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/. */ + +/* ===== progressmeter.css ============================================== + == Styles used by the XUL progressmeter element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: progressmeter ::::: */ + +progressmeter { + -moz-appearance: none; + margin: 2px 4px; + border: 1px solid; + -moz-border-top-colors: rgb(75,75,75); + -moz-border-right-colors: rgb(75,75,75); + -moz-border-bottom-colors: rgb(75,75,75); + -moz-border-left-colors: rgb(75,75,75); + border-radius: 3px; + background-color: rgb(23,23,23); + min-width: 128px; + min-height: 15px; +} + +.progress-bar +{ + -moz-appearance: none; + min-width: 0px; + background-color: rgb(110,110,110); +} + +/* ::::: statusbar progressmeter ::::: */ + +.progressmeter-statusbar { + margin: 0; + border: 1px solid; + -moz-border-top-colors: rgb(75,75,75); + -moz-border-right-colors: rgb(75,75,75); + -moz-border-bottom-colors: rgb(75,75,75); + -moz-border-left-colors: rgb(75,75,75); + min-width: 96px; +} diff --git a/src/chrome/global/radio.css b/src/chrome/global/radio.css @@ -0,0 +1,95 @@ +/* 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/. */ + +/* ===== radio.css =================================================== + == Styles used by the XUL radio element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: radio ::::: */ + +radio { + -moz-appearance: none; + -moz-box-align: center; + margin: 2px 4px; + padding-top: 1px; + padding-bottom: 1px; + -moz-padding-start: 4px; + -moz-padding-end: 2px; +} + +.radio-label-box { + -moz-margin-start: 2px; + border: 1px solid transparent; + padding-top: 0px; + padding-bottom: 1px; + -moz-padding-start: 1px; + -moz-padding-end: 0px; +} + +.radio-icon { + -moz-margin-end: 2px; +} + +.radio-label { + margin: 0 !important; +} + +/* ..... focused state ..... */ + +radio[focused="true"] > .radio-label-box { + border: 1px dotted rgb(75,75,75); +} + +/* ..... disabled state ..... */ + +radio[disabled="true"] > .radio-check-box1 { + background-color: rgb(62,62,62); +} + +radio[disabled="true"] { + color: GrayText; +} + +/* ::::: checkmark image ::::: */ + +.radio-check-box1 { + -moz-appearance: none; + margin: 1px 0px; + border-top: 1px solid rgb(75,75,75); + border-right: 1px solid rgb(75,75,75); + border-bottom: 1px solid rgb(75,75,75); + border-left: 1px solid rgb(75,75,75); + border-radius: 50%; + width: 12px; + height: 12px; + background-color: rgb(50,50,50); +} + +.radio-check-box2 { + border-top: 1px solid rgb(75,75,75); + border-right: 1px solid rgb(75,75,75); + border-bottom: 1px solid rgb(75,75,75); + border-left: 1px solid rgb(75,75,75); + border-radius: 50%; + padding: 2px; + width: 4px; + height: 4px; + list-style-image: none; +} + +radio:hover:active > .radio-check-box1 { + background-color: rgb(110,110,110); +} + +/* ..... selected state ..... */ + +radio[selected="true"] > .radio-check-box1 > .radio-check-box2 { + list-style-image: url("chrome://global/skin/radio/radio-check.gif"); +} + +radio[selected="true"][disabled="true"] > .radio-check-box1 > .radio-check-box2 { + list-style-image: url("chrome://global/skin/radio/radio-check-dis.gif") !important +} diff --git a/src/chrome/global/radio/radio-check-dis.gif b/src/chrome/global/radio/radio-check-dis.gif Binary files differ. diff --git a/src/chrome/global/radio/radio-check.gif b/src/chrome/global/radio/radio-check.gif Binary files differ. diff --git a/src/chrome/global/resizer.css b/src/chrome/global/resizer.css @@ -0,0 +1,49 @@ +/* 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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +resizer { + -moz-appearance: none; + background: url("chrome://global/skin/icons/resizer.png") no-repeat; + background-size: 15px 15px; + cursor: se-resize; + width: 15px; + height: 15px; +} + +resizer[rtl="true"], +resizer[dir="bottomend"]:-moz-locale-dir(rtl) { + background: url("chrome://global/skin/icons/resizer-rtl.png") no-repeat; +} + +resizer[dir="left"], +resizer[dir="bottomleft"], +resizer[dir="bottomstart"] { + transform: scaleX(-1); +} + +resizer[dir="bottomleft"], +resizer[dir="bottomstart"]:not([rtl="true"]):not(:-moz-locale-dir(rtl)), +resizer[dir="bottomend"][rtl="true"] { + cursor: sw-resize; +} + +resizer[dir="top"], +resizer[dir="bottom"] { + cursor: ns-resize; +} + +resizer[dir="left"], +resizer[dir="right"] { + cursor: ew-resize; +} + +resizer[dir="topleft"] { + cursor: nw-resize; +} + +resizer[dir="topright"] { + cursor: ne-resize; +} diff --git a/src/chrome/global/richlistbox.css b/src/chrome/global/richlistbox.css @@ -0,0 +1,36 @@ +/* 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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +richlistbox { + -moz-appearance: none; + margin: 2px 4px; + background-color: rgb(75,75,75); + color: #fff; +} + +richlistbox[disabled="true"] { + color: GrayText; +} + +richlistitem[selected="true"] { + background-color: rgb(110,110,110); + color: #fff; +} + +richlistbox:focus > richlistitem[selected="true"] { + background-color: rgb(110,110,110); + color: #fff; +} + +richlistbox[seltype="multiple"]:focus > richlistitem[current="true"] { + outline: 1px dotted rgb(50,50,50); + outline-offset: -1px; +} + +richlistbox[seltype="multiple"]:focus > richlistitem[current="true"][selected="true"] { + outline: 1px dotted rgb(60,60,60); /* TODO: find a suitable system color */ +} + diff --git a/src/chrome/global/scale.css b/src/chrome/global/scale.css @@ -0,0 +1,46 @@ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: scale ::::: */ + +.scale-slider { + -moz-appearance: scale-horizontal; + background: url("chrome://global/skin/scale/scale-tray-horiz.gif") 0% 50% repeat-x; + margin: 2px 4px; + width: 100px; +} + +.scale-slider[orient="vertical"] +{ + -moz-appearance: scale-vertical; + background: url("chrome://global/skin/scale/scale-tray-vert.gif") 50% 0% repeat-y; + margin: 4px 2px; + width: auto; + height: 100px; +} + +/* ::::: scale thumb ::::: */ + +.scale-thumb { + -moz-appearance: scalethumb-horizontal; + border: 2px solid; + -moz-border-top-colors: ThreeDLightShadow ThreeDHighlight; + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-left-colors: ThreeDLightShadow ThreeDHighlight; + background-color: -moz-Dialog; + min-width: 30px; + min-height: 15px; +} + +.scale-thumb[orient="vertical"] { + -moz-appearance: scalethumb-vertical; + min-width: 15px; + min-height: 30px; +} + +.scale-thumb[disabled="true"] { + -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow !important; + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow !important; + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow !important; + -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow !important; +} diff --git a/src/chrome/global/scrollbar/slider.gif b/src/chrome/global/scrollbar/slider.gif Binary files differ. diff --git a/src/chrome/global/scrollbars.css b/src/chrome/global/scrollbars.css @@ -0,0 +1,234 @@ +/* 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/. */ + +/* ===== xulscrollbars.css ============================================== + == Styles used by XUL scrollbar-related elements. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */ + +/* ::::: scrollbar ::::: */ + +scrollbar { + /*-moz-appearance: scrollbartrack-horizontal;*/ + -moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar"); + cursor: default; + height: 15px; + background: rgb(23,23,23); +} + +/* ::::: borders for thumb and buttons ::::: */ + +thumb, +scrollbarbutton { + background:rgb(50,50,50) 50% 50% no-repeat; +} + +thumb { + border: 1px solid; + -moz-border-top-colors: rgb(75,75,75); + -moz-border-right-colors: rgb(75,75,75); + -moz-border-bottom-colors: rgb(75,75,75); + -moz-border-left-colors: rgb(75,75,75); +} + +thumb:hover { + background-color: rgb(75,75,75); +} + +thumb:active { + background-color: rgb(110,110,110); +} + +/* ::::: thumb (horizontal) ::::: */ + +thumb { + min-height: 18px; + border-radius: 3px; +} + +thumb[orient="horizontal"] { + min-width: 18px; +} + +/* ::::: scrollbar button ::::: */ + +scrollbarbutton { + background: rgb(23,23,23) no-repeat 0px 1px; + min-width: 15px; + min-height: 15px; +} + +scrollbarbutton:hover:active, scrollbarbutton[active="true"] { + background-color: rgb(110,110,110); +} + +/* ::::: square at the corner of two scrollbars ::::: */ + +scrollcorner { + /* XXX -moz-appearance: scrollcorner; */ + -moz-binding: url(chrome://global/content/bindings/scrollbar.xml#scrollbar-base); + width: 16px; + cursor: default; + background-color: rgb(50,50,50); +} + +/* ..... increment .... */ + +scrollbarbutton[type="increment"] { + -moz-appearance: none; + background-image: url("chrome://global/skin/arrow/arrow-rit-sharp.gif"); + background-position: center; + background-repeat: no-repeat; +} + +scrollbarbutton[type="increment"][disabled="true"] { + background-color: rgb(62,62,62); +} + +scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] { + -moz-appearance: none; + background-image: url("chrome://global/skin/arrow/arrow-dn-sharp.gif"); + background-position: center; + background-repeat: no-repeat; +} + +scrollbar[orient="vertical"] > scrollbarbutton[type="increment"][disabled="true"] { + background-color: rgb(62,62,62); +} + +/* ..... decrement .... */ + +scrollbarbutton[type="decrement"] { + -moz-appearance: none; + background-image: url("chrome://global/skin/arrow/arrow-lft-sharp.gif"); + background-position: center; + background-repeat: no-repeat; +} + +scrollbarbutton[type="decrement"][disabled="true"] { + background-color: rgb(62,62,62); +} + +scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] { + -moz-appearance: none; + background-image: url("chrome://global/skin/arrow/arrow-up-sharp.gif"); + background-position: center; + background-repeat: no-repeat; +} + +scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"][disabled="true"] { + background-color: rgb(62,62,62); +} + +/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ +/* ::::::::::::::::::::: MEDIA PRINT :::::::::::::::::::::: */ +/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ +@media print { + /* ::::: scrollbar ::::: */ + + html|div scrollbar { + /*-moz-appearance: scrollbartrack-horizontal;*/ + -moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar"); + cursor: default; + height: 15px; + background: rgb(23,23,23); + } + + /* ::::: borders for thumb and buttons ::::: */ + + html|div thumb, + html|div scrollbarbutton { + background: rgb(50,50,50) 50% 50% no-repeat; + } + + html|div thumb { + border: 1px solid; + -moz-border-top-colors: rgb(75,75,75); + -moz-border-right-colors: rgb(75,75,75); + -moz-border-bottom-colors: rgb(75,75,75); + -moz-border-left-colors: rgb(75,75,75); + } + + html|div thumb:hover { + background-color: rgb(75,75,75); + } + + html|div thumb:active { + background-color: rgb(110,110,110); + } + + /* ::::: thumb (horizontal) ::::: */ + + html|div thumb { + min-height: 18px; + border-radius: 3px; + } + + html|div thumb[orient="horizontal"] { + min-width: 18px; + } + + /* ::::: scrollbar button ::::: */ + + html|div scrollbarbutton { + background: rgb(50,50,50) no-repeat 0px 1px; + width: 15px; + height: 15px; + } + + html|div scrollbarbutton:hover:active, html|div scrollbarbutton[active="true"] { + background-color: rgb(110,110,110); + } + + /* ..... increment .... */ + + html|div scrollbarbutton[type="increment"] { + -moz-appearance: none; + background-image: url("chrome://global/skin/arrow/arrow-rit-sharp.gif"); + background-position: center; + background-repeat: no-repeat; + } + + html|div scrollbarbutton[type="increment"][disabled="true"] { + background-color: rgb(62,62,62); + } + + html|div scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] { + -moz-appearance: none; + background-image: url("chrome://global/skin/arrow/arrow-dn-sharp.gif"); + background-position: center; + background-repeat: no-repeat; + } + + html|div scrollbar[orient="vertical"] > scrollbarbutton[type="increment"][disabled="true"] { + background-color: rgb(62,62,62); + } + + /* ..... decrement .... */ + + html|div scrollbarbutton[type="decrement"] { + -moz-appearance: none; + background-image: url("chrome://global/skin/arrow/arrow-lft-sharp.gif"); + background-position: center; + background-repeat: no-repeat; + } + + html|div scrollbarbutton[type="decrement"][disabled="true"] { + background-color: rgb(62,62,62); + } + + html|div scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] { + -moz-appearance: none; + background-image: url("chrome://global/skin/arrow/arrow-up-sharp.gif"); + background-position: center; + background-repeat: no-repeat; + } + + html|div scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"][disabled="true"] { + background-color: rgb(62,62,62); + } + +} diff --git a/src/chrome/global/scrollbox.css b/src/chrome/global/scrollbox.css @@ -0,0 +1,96 @@ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* + * Scroll arrows + */ + +/* Horizontal enabled */ +.autorepeatbutton-up[orient="horizontal"], +.autorepeatbutton-down:-moz-locale-dir(rtl)[orient="horizontal"], +.scrollbutton-up[orient="horizontal"], +.scrollbutton-down:-moz-locale-dir(rtl)[orient="horizontal"] { + list-style-image: url("chrome://global/skin/arrow/arrow-lft.gif"); + -moz-image-region: auto; /* cut off inheritance */ +} + +.autorepeatbutton-down[orient="horizontal"], +.autorepeatbutton-up:-moz-locale-dir(rtl)[orient="horizontal"], +.scrollbutton-down[orient="horizontal"], +.scrollbutton-up:-moz-locale-dir(rtl)[orient="horizontal"] { + list-style-image: url("chrome://global/skin/arrow/arrow-rit.gif"); + -moz-image-region: auto; /* cut off inheritance */ +} + + /* Horizontal disabled */ +.autorepeatbutton-up[orient="horizontal"][disabled="true"], +.autorepeatbutton-down:-moz-locale-dir(rtl)[orient="horizontal"][disabled="true"], +.scrollbutton-up[orient="horizontal"][disabled="true"], +.scrollbutton-down:-moz-locale-dir(rtl)[orient="horizontal"][disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif"); + -moz-image-region: auto; /* cut off inheritance */ +} + +.autorepeatbutton-down[orient="horizontal"][disabled="true"], +.autorepeatbutton-up:-moz-locale-dir(rtl)[orient="horizontal"][disabled="true"], +.scrollbutton-down[orient="horizontal"][disabled="true"], +.scrollbutton-up:-moz-locale-dir(rtl)[orient="horizontal"][disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif"); + -moz-image-region: auto; /* cut off inheritance */ +} + +/* Vertical enabled */ +.autorepeatbutton-up, +.scrollbutton-up { + list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); + -moz-image-region: auto; /* cut off inheritance */ +} + +.autorepeatbutton-down, +.scrollbutton-down { + list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); + -moz-image-region: auto; /* cut off inheritance */ +} + +/* Vertical disabled */ +.autorepeatbutton-up[disabled="true"], +.scrollbutton-up[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-up-dis.gif"); + -moz-image-region: auto; /* cut off inheritance */ +} + +.autorepeatbutton-down[disabled="true"], +.scrollbutton-down[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif"); + -moz-image-region: auto; /* cut off inheritance */ +} + +.scrollbutton-up > .toolbarbutton-text, +.scrollbutton-down > .toolbarbutton-text { + display: none; +} + +autorepeatbutton, +.scrollbutton-up, +.scrollbutton-down { + -moz-box-align: center; + -moz-box-pack: center; + margin-top: 1px; + margin-bottom: 2px; + -moz-margin-start: 1px; + -moz-margin-end: 2px; +} + +autorepeatbutton { + border: 1px solid transparent; + padding: 1px; +} + +autorepeatbutton:not([disabled="true"]):hover, +autorepeatbutton:not([disabled="true"]):hover:active { + margin: 1px; + border: 1px inset ThreeDFace; + padding-top: 2px; + padding-bottom: 1px; + -moz-padding-start: 2px; + -moz-padding-end: 1px; +} diff --git a/src/chrome/global/spinbuttons.css b/src/chrome/global/spinbuttons.css @@ -0,0 +1,65 @@ +/* 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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +spinbuttons { + -moz-appearance: spinner; + cursor: default; +} + +.spinbuttons-button { + min-width: 13px; + min-height: 11px; + margin: 0 !important; + border: 2px solid; + -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow; + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow; + background-color: ThreeDFace; +} + +.spinbuttons-button > .button-box { + border: 0; +} + +.spinbuttons-button:hover:active +{ + border: 2px solid; + -moz-border-top-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-left-colors: ThreeDDarkShadow ThreeDShadow; +} + +.spinbuttons-button[disabled="true"] { + border: 2px solid; + -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow !important; + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow !important; + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow !important; + -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow !important; +} + +.spinbuttons-up { + -moz-appearance: spinner-upbutton; + background-image: url("chrome://global/skin/arrow/arrow-up.gif"); + background-position: center center; + background-repeat: no-repeat; +} + +.spinbuttons-up[disabled="true"] { + background-image: url("chrome://global/skin/arrow/arrow-up-dis.gif"); +} + +.spinbuttons-down { + -moz-appearance: spinner-downbutton; + background-image: url("chrome://global/skin/arrow/arrow-dn.gif"); + background-position: center center; + background-repeat: no-repeat; +} + +.spinbuttons-down[disabled="true"] { + background-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif"); +} diff --git a/src/chrome/global/splitter.css b/src/chrome/global/splitter.css @@ -0,0 +1,135 @@ +/* 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/. */ + +/* ===== splitter.css =================================================== + == Styles used by the XUL splitter element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: splitter (vertical) ::::: */ + +splitter { + -moz-box-align: center; + -moz-box-pack: center; + cursor: ew-resize; + border-width: 0 2px; + border-style: solid; + -moz-border-left-colors: rgb(62,62,62) rgb(75,75,75); + -moz-border-right-colors: rgb(43,43,43) rgb(50,50,50); + min-width: 6px; + background-color: rgb(50,50,50); +} + +splitter[state="collapsed"][collapse="before"], +splitter[state="collapsed"][substate="before"], +splitter[state="collapsed"][collapse="after"]:-moz-locale-dir(rtl), +splitter[state="collapsed"][substate="after"]:-moz-locale-dir(rtl) { + cursor: e-resize; +} + +splitter[state="collapsed"][collapse="after"], +splitter[state="collapsed"][substate="after"], +splitter[state="collapsed"][collapse="before"]:-moz-locale-dir(rtl), +splitter[state="collapsed"][substate="before"]:-moz-locale-dir(rtl) { + cursor: w-resize; +} + +splitter:-moz-lwtheme { + background: none; +} + +/* ::::: splitter (horizontal) ::::: */ + +splitter[orient="vertical"] { + cursor: ns-resize; + border-width: 2px 0; + -moz-border-top-colors: rgb(62,62,62) rgb(75,75,75); + -moz-border-bottom-colors: rgb(43,43,43) rgb(50,50,50); + min-height: 6px; +} + +splitter[orient="vertical"][state="collapsed"][collapse="before"], +splitter[orient="vertical"][state="collapsed"][substate="before"] { + cursor: s-resize; +} + +splitter[orient="vertical"][state="collapsed"][collapse="after"], +splitter[orient="vertical"][state="collapsed"][substate="after"] { + cursor: n-resize; +} + +splitter[disabled="true"] { + cursor: default !important; +} + +/* ::::: splitter grippy ::::: */ + +grippy { + cursor: pointer; + border-top: 1px solid rgb(75,75,75); + border-bottom: 1px solid rgb(75,75,75); + min-width: 4px; + min-height: 115px; + background-color: transparent; + background-repeat: no-repeat; +} + +grippy:hover { + background-color: rgb(75,75,75); +} + +splitter[orient="vertical"] > grippy { + border-top: none; + border-right: 1px solid rgb(75,75,75); + border-bottom: none; + border-left: 1px solid rgb(75,75,75); + min-width: 115px; + min-height: 4px; +} + +/* ..... normal state ..... */ + +/* vertical grippies */ +splitter[collapse="before"] > grippy, +splitter[collapse="after"] > grippy:-moz-locale-dir(rtl) { + background-image: url("chrome://global/skin/splitter/grip-left.gif"); +} + +splitter[collapse="after"] > grippy, +splitter[collapse="before"] > grippy:-moz-locale-dir(rtl) { + background-image: url("chrome://global/skin/splitter/grip-right.gif"); +} + +/* horizontal grippies */ +splitter[collapse="before"][orient="vertical"] > grippy { + background-image: url("chrome://global/skin/splitter/grip-top.gif"); +} + +splitter[collapse="after"][orient="vertical"] > grippy { + background-image: url("chrome://global/skin/splitter/grip-bottom.gif"); +} + +/* ..... collapsed state ..... */ + +/* vertical grippies */ +splitter[collapse="before"][state="collapsed"] > grippy, +splitter[collapse="after"][state="collapsed"] > grippy:-moz-locale-dir(rtl) { + background-image: url("chrome://global/skin/splitter/grip-right.gif"); +} + +splitter[collapse="after"][state="collapsed"] > grippy, +splitter[collapse="before"][state="collapsed"] > grippy:-moz-locale-dir(rtl) { + background-image: url("chrome://global/skin/splitter/grip-left.gif"); +} + +/* horizontal grippies */ +splitter[collapse="before"][state="collapsed"][orient="vertical"] > grippy { + background-image: url("chrome://global/skin/splitter/grip-bottom.gif"); +} + +splitter[collapse="after"][state="collapsed"][orient="vertical"] > grippy { + background-image: url("chrome://global/skin/splitter/grip-top.gif"); +} + diff --git a/src/chrome/global/splitter/grip-bottom.gif b/src/chrome/global/splitter/grip-bottom.gif Binary files differ. diff --git a/src/chrome/global/splitter/grip-left.gif b/src/chrome/global/splitter/grip-left.gif Binary files differ. diff --git a/src/chrome/global/splitter/grip-right.gif b/src/chrome/global/splitter/grip-right.gif Binary files differ. diff --git a/src/chrome/global/splitter/grip-top.gif b/src/chrome/global/splitter/grip-top.gif Binary files differ. diff --git a/src/chrome/global/tabbox.css b/src/chrome/global/tabbox.css @@ -0,0 +1,134 @@ +/* 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/. */ + +/* ===== tabbox.css ================================================= + == Styles used by XUL tab-related elements. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: tabs ::::: */ + +.tabs-left, +.tabs-right { + border-bottom: 1px solid; + -moz-border-bottom-colors: rgb(75,75,75); +} + +/* ::::: tabpanels ::::: */ + +tabpanels { + -moz-appearance: none; + border-right: 1px solid; + border-bottom: 1px solid; + border-left: 1px solid; + -moz-border-right-colors: rgb(75,75,75); + -moz-border-bottom-colors: rgb(75,75,75); + -moz-border-left-colors: rgb(75,75,75); + padding: 8px; + background-color: rgb(43,43,43); + color: #fff; +} + +/* ::::: tab ::::: */ + +tab +{ + -moz-appearance: none; + margin-top: 2px; + border-top: 1px solid; + border-right: 1px solid; + border-left: 1px solid; + border-bottom: 1px solid rgb(75,75,75); + -moz-border-top-colors: rgb(75,75,75); + -moz-border-right-colors: rgb(75,75,75); + -moz-border-left-colors: rgb(75,75,75); + border-top-left-radius: 2px; + border-top-right-radius: 2px; + padding: 1px 4px 2px 4px; + background-color: rgb(23,23,23); + color: #fff; +} + +tab:-moz-locale-dir(rtl) { + border-bottom-left-radius: 1px; + border-bottom-right-radius: 0px; +} + +.tab-text { + margin: 0 !important; +} + +tab[selected="true"] { + margin-top: 0; + background-color: rgb(43,43,43); + border-bottom-color: transparent; + padding: 1px 6px 4px 6px; +} + +tab:-moz-focusring > .tab-middle { + /* Don't specify the outline-color, we should always use initial value. */ + outline: 1px dotted; +} + +tab[beforeselected="true"]:-moz-locale-dir(ltr), +tab[selected="true"]:-moz-locale-dir(rtl) + tab { + border-right: none; + border-top-right-radius: 0; +} + +tab[selected="true"]:-moz-locale-dir(ltr) + tab, +tab[beforeselected="true"]:-moz-locale-dir(rtl) { + border-left: none; + border-top-left-radius: 0; +} + +tab:first-of-type[selected="true"] { + padding-right: 5px; + padding-left: 5px; +} + +/* ::::: tab-bottom :::::::::: + :: Tabs that are attached to the bottom of a panel, but not necessarily + :: a tabpanels. + ::::: */ + +.tab-bottom { + margin-top: 0; + margin-bottom: 2px; + border-top: 1px solid; + border-bottom: 1px solid; + -moz-border-top-colors: rgb(75,75,75); + -moz-border-bottom-colors: rgb(75,75,75); + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-right-radius: 2px; + border-bottom-left-radius: 2px; + padding: 2px 4px 1px 4px; +} + +.tab-bottom[selected="true"] { + margin-bottom: 0; + -moz-border-top-colors: rgb(110,110,110); + padding: 4px 6px 1px 6px; +} + +.tab-bottom[beforeselected="true"]:-moz-locale-dir(ltr), +.tab-bottom[selected="true"]:-moz-locale-dir(rtl) + .tab-bottom { + border-bottom-right-radius: 0; +} + +.tab-bottom[selected="true"]:-moz-locale-dir(ltr) + .tab-bottom, +.tab-bottom[beforeselected="true"]:-moz-locale-dir(rtl) { + border-bottom-left-radius: 0; +} + +/* ::::: tabs-bottom ::::: */ + +.tabs-bottom > .tabs-left, +.tabs-bottom > .tabs-right { + border-top: 1px solid rgb(75,75,75); + border-bottom: none; +} + diff --git a/src/chrome/global/tabprompts.css b/src/chrome/global/tabprompts.css @@ -0,0 +1,24 @@ +/* Tab Modal Prompt boxes */ +tabmodalprompt { + background-image: url(chrome://global/skin/icons/tabprompts-bgtexture.png); + background-color: hsla(0,0%,10%,.5); + font-family: sans-serif; /* use content font not system UI font */ +} + +.mainContainer { + color: black; + background-color: white; + background-clip: padding-box; + border-radius: 2px; + border: 1px solid hsla(0,0%,0%,.5); +} + +.topContainer { + padding: 20px; +} + +.buttonContainer { + padding: 12px 20px 15px; + background-color: hsla(0,0%,0%,.05); + border-top: 1px solid hsla(0,0%,0%,.05); +} diff --git a/src/chrome/global/textbox.css b/src/chrome/global/textbox.css @@ -0,0 +1,114 @@ +/* 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/. */ + +/* 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/. */ + +/* ===== textbox.css ================================================== + == Styles used by the XUL textbox element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +/* ::::: textbox ::::: */ + +textbox { + -moz-appearance: none; + cursor: text; + margin: 2px 4px; + border: 1px solid rgb(50,50,50); + padding: 2px 2px 3px; + -moz-padding-start: 4px; + background-color: rgb(75,75,75); + color: #fff; +} + +html|*.textbox-input, +html|*.textbox-textarea { + margin: 0px !important; + border: none !important; + padding: 0px !important; + background-color: inherit; + color: inherit; + font: inherit; +} + +.textbox-contextmenu { + cursor: default; +} + +/* ..... readonly state ..... */ + +textbox[readonly="true"] { + background-color: rgb(50,50,50); + color: rgb(219,219,219); +} + +/* ..... disabled state ..... */ + +textbox[disabled="true"] { + cursor: default; + background-color: rgb(50,50,50); + color: rgb(200,200,200); +} + +/* ::::: plain textbox ::::: */ + +textbox.plain { + -moz-appearance: none !important; + background-color: transparent; + padding: 0px !important; + margin: 0px !important; + border: none !important; +} + +/* ::::: search textbox ::::: */ + +.textbox-search-icon { + list-style-image: url(chrome://global/skin/icons/Search-glass.png); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +.textbox-search-icon:-moz-locale-dir(rtl) { + transform: scaleX(-1); +} + +.textbox-search-icon[searchbutton]:not([disabled]) { + cursor: pointer; +} + +.textbox-search-clear { + list-style-image: url(chrome://global/skin/icons/Search-close.png); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +.textbox-search-clear:not([disabled]) { + cursor: default; +} + +.textbox-search-clear:not([disabled]):hover , +.textbox-search-icon[searchbutton]:not([disabled]):hover { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +.textbox-search-clear:not([disabled]):hover:active , +.textbox-search-icon[searchbutton]:not([disabled]):hover:active { + -moz-image-region: rect(0, 48px, 16px, 32px); +} + +/* ::::: textboxes inside toolbarpaletteitems ::::: */ + +toolbarpaletteitem > toolbaritem > textbox > .textbox-input-box > html|*.textbox-input { + visibility: hidden; +} + + +@media (-moz-windows-default-theme) { + textbox html|*.textbox-input::-moz-placeholder { + font-style: italic; + } +} + diff --git a/src/chrome/global/toolbar.css b/src/chrome/global/toolbar.css @@ -0,0 +1,122 @@ +/* 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/. */ + +/* ===== toolbar.css ==================================================== + == Styles used by XUL toolbar-related elements. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: toolbox ::::: */ + +toolbox { + -moz-appearance: none; + background-color: rgb(43,43,43); + border-top: 1px solid; + -moz-border-top-colors: rgb(75,75,75); + color: #fff; +} + +/* ::::: toolbar & menubar ::::: */ + +toolbar, menubar { + -moz-appearance: none; + background-color: rgb(43,43,43); + color: #fff; +} + +toolbar { + min-width: 1px; + min-height: 19px; + border-top: 1px solid rgb(75,75,75); + border-bottom: 1px solid rgb(75,75,75); +} + +toolbar:first-child, menubar { + min-width: 1px; + border-bottom: 1px solid rgb(75,75,75); + border-top: 0px !important; +} + +/* ::::: lightweight theme ::::: */ + +menubar:-moz-lwtheme, +toolbox:-moz-lwtheme, +toolbar:-moz-lwtheme { + -moz-appearance: none; + background: none; + border-style: none; + color: inherit; +} + +/* ::::: toolbar decorations ::::: */ + +toolbarseparator { + -moz-appearance: none; + margin: 3px 4px; + background: url("chrome://global/skin/toolbar/toolbar-separator.png") transparent repeat-y; + padding: 0; + width: 1px !important; +} + +toolbarspacer { + width: 15px; +} + +/* ::::: toolbarpaletteitem ::::: */ + +toolbarpaletteitem { + cursor: -moz-grab; +} + +.toolbarpaletteitem-box[type="spacer"], +.toolbarpaletteitem-box[type="spring"] { + border: 1px solid rgb(75,75,75); + background-color: rgb(50,50,50) !important; +} + +toolbarpaletteitem[place="toolbar"] > toolbarspacer { + width: 11px; +} + +.toolbarpaletteitem-box[type="spacer"][place="toolbar"], +.toolbarpaletteitem-box[type="spring"][place="toolbar"] { + margin-top: 2px; + margin-bottom: 2px; + -moz-margin-start: 0px; + -moz-margin-end: 2px; +} + +.toolbarpaletteitem-box[type="separator"][place="palette"] { + width: 2px; + height: 50px; +} + +.toolbarpaletteitem-box[type="spacer"][place="palette"], +.toolbarpaletteitem-box[type="spring"][place="palette"] { + margin-bottom: 2px; + width: 50px; + height: 50px; +} + +.toolbarpaletteitem-box[type="spring"][place="palette"] { + background: url("chrome://global/skin/toolbar/spring.png") no-repeat center; +} + +/* ..... drag and drop feedback ..... */ + +toolbarpaletteitem[place="toolbar"] { + margin-left: -2px; + margin-right: -2px; + border-left: 2px solid transparent; + border-right: 2px solid transparent; +} + +toolbarpaletteitem[dragover="left"] { + border-left-color: rgb(75,75,75); +} + +toolbarpaletteitem[dragover="right"] { + border-right-color: rgb(75,75,75); +} diff --git a/src/chrome/global/toolbar/chevron.gif b/src/chrome/global/toolbar/chevron.gif Binary files differ. diff --git a/src/chrome/global/toolbar/spring.png b/src/chrome/global/toolbar/spring.png Binary files differ. diff --git a/src/chrome/global/toolbar/toolbar-separator.png b/src/chrome/global/toolbar/toolbar-separator.png Binary files differ. diff --git a/src/chrome/global/toolbarbutton.css b/src/chrome/global/toolbarbutton.css @@ -0,0 +1,159 @@ +/* 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/. */ + +/* 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/. */ + +/* ===== toolbarbutton.css ===================================================== + == Styles used by the XUL button element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: toolbarbutton ::::: */ + +toolbarbutton { + -moz-appearance: toolbarbutton; + -moz-box-align: center; + -moz-box-pack: center; + margin: 0; + border: 1px solid transparent; + padding: 3px; + background-color: transparent; + color: #fff; +} + +.toolbarbutton-icon[label]:not([label=""]), +.toolbarbutton-icon[type="menu"] { + -moz-margin-end: 5px; +} + +.toolbarbutton-text { + margin: 0 !important; + text-align: center; +} + +toolbarbutton.tabbable { + -moz-user-focus: normal !important; +} + +toolbarbutton:-moz-focusring { + /* -moz-appearance looks redundant here but is necessary. + Without it, the outline won't appear. */ + -moz-appearance: toolbarbutton; + outline: 1px dotted -moz-DialogText; + outline-offset: -2px; +} + +toolbarbutton:hover:not([disabled="true"]) { + border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight; +} + +toolbarbutton:hover:active:not([disabled="true"]), +toolbarbutton[open="true"]:hover, +toolbarbutton[open="true"] { + border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow; + padding-top: 4px; + padding-bottom: 2px; + -moz-padding-start: 4px; + -moz-padding-end: 2px; +} + +toolbarbutton[disabled="true"] { + color: GrayText; + text-shadow: none; +} + +@media (-moz-windows-classic) { + toolbarbutton[disabled="true"] { + color: ThreeDShadow; + text-shadow: 1px 1px ThreeDHighlight; + } +} + +toolbarbutton[checked="true"]:not([disabled="true"]) { + border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow; + padding-top: 4px; + padding-bottom: 2px; + -moz-padding-start: 4px; + -moz-padding-end: 2px; + background-color: rgba(255,255,255,0.5); + color: ButtonText; +} + +@media (-moz-windows-default-theme) { + toolbarbutton:-moz-lwtheme { + text-shadow: none; + } + + toolbarbutton:-moz-lwtheme:not(:hover):not([checked="true"]):not([open="true"]):not([disabled="true"]) { + color: inherit; + text-shadow: inherit; + } +} + +@media not all and (-moz-windows-default-theme) { + toolbarbutton:-moz-lwtheme { + -moz-appearance: none; + } + + toolbarbutton:-moz-lwtheme:not([disabled="true"]) { + color: inherit; + text-shadow: inherit; + } +} + +/* ::::: toolbarbutton menu ::::: */ + +.toolbarbutton-menu-dropmarker { + -moz-appearance: none !important; + border: none !important; + background-color: transparent !important; + padding: 0; + width: auto; + height: auto; + margin-top: 1px; +} + +/* ::::: toolbarbutton menu-button ::::: */ + +toolbarbutton[type="menu-button"] { + -moz-box-align: stretch; + -moz-box-orient: horizontal !important; +} + +toolbarbutton[type="menu-button"], +toolbarbutton[type="menu-button"]:hover, +toolbarbutton[type="menu-button"]:hover:active, +toolbarbutton[type="menu-button"][open="true"], +toolbarbutton[type="menu-button"][disabled="true"], +toolbarbutton[type="menu-button"][disabled="true"]:hover, +toolbarbutton[type="menu-button"][disabled="true"]:hover:active { + border-style: none; + padding: 0 !important; +} + +.toolbarbutton-menubutton-button { + -moz-box-align: center; + -moz-box-pack: center; + -moz-box-orient: vertical; +} + +/* .......... dropmarker .......... */ + +.toolbarbutton-menubutton-dropmarker { + -moz-appearance: none; + padding: 3px 7px; + border: none; + background-color: transparent; + width: auto; +} + +@media (-moz-windows-default-theme) { + toolbarbutton:-moz-lwtheme:not([disabled="true"]) { + color: inherit; + text-shadow: inherit; + } +} diff --git a/src/chrome/global/tree.css b/src/chrome/global/tree.css @@ -0,0 +1,397 @@ +/* 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/. */ + +/* 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/. */ + +/* ===== tree.css =================================================== + == Styles used by the XUL outline element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: tree ::::: */ + +tree { + margin: 0px 4px; + border: 1px solid rgb(75,75,75); + background-color: rgb(50,50,50); + color: #FFFFFF; + -moz-appearance: none; +} + +/* ::::: tree focusring ::::: */ + +.focusring > .tree-stack > .tree-rows > .tree-bodybox { + border: 1px solid transparent; +} + +.focusring:-moz-focusring > .tree-stack > .tree-rows > .tree-bodybox { + border: 1px solid #000000; +} + + +/* ::::: tree rows ::::: */ + +treechildren::-moz-tree-row { + border: 1px solid transparent; + min-height: 18px; + height: 1.3em; + color: #fff !important; +} + +treechildren::-moz-tree-cell-text { + color: #fff !important; +} + +treechildren::-moz-tree-row(selected) { + background-color: rgb(110,110,110); +} + +treechildren::-moz-tree-row(selected, focus) { + background-color: rgb(120,120,120); +} + +treechildren::-moz-tree-row(current, focus) { + border: 1px dotted rgb(120,120,120); +} + +treechildren::-moz-tree-row(selected, current, focus) { + border: 1px dotted rgb(110,110,110); +} + +tree[seltype="cell"] > treechildren::-moz-tree-row, +tree[seltype="text"] > treechildren::-moz-tree-row { + border: none; + background-color: transparent; +} + +/* ::::: tree cells ::::: */ + +treechildren::-moz-tree-cell { + padding: 0px 2px 0px 2px; +} + +tree[seltype="cell"] > treechildren::-moz-tree-cell-text, +tree[seltype="text"] > treechildren::-moz-tree-cell-text, +treechildren::-moz-tree-cell-text { + color: #fff; +} + +treechildren::-moz-tree-cell-text(selected) { + color: #fff; +} + +tree[seltype="cell"] > treechildren::-moz-tree-cell { + border: 1px solid transparent; + padding: 0px 1px 0px 1px; +} + +tree[seltype="text"] > treechildren::-moz-tree-cell-text { + border: 1px solid transparent; + padding: 0px 1px 1px 1px; +} + +tree[seltype="cell"] > treechildren::-moz-tree-cell(active, selected) { + background-color: rgb(110,110,110); +} +tree[seltype="cell"] > treechildren::-moz-tree-cell-text(active, selected) { + color: #fff; +} + +tree[seltype="text"] > treechildren::-moz-tree-cell-text(active, selected) { + background-color: rgb(110,110,110); + color: #fff; +} + +treechildren::-moz-tree-cell-text(selected, focus) { + color: #fff; +} + +tree[seltype="cell"] > treechildren::-moz-tree-cell(active, selected, focus) { + background-color: rgb(120,120,120); +} + +tree[seltype="text"] > treechildren::-moz-tree-cell-text(active, selected, focus) { + background-color: rgb(120,120,120); +} + +tree[seltype="cell"] > treechildren::-moz-tree-cell-text(active, selected, focus) { + color: #fff; +} + +tree[seltype="text"] > treechildren::-moz-tree-cell-text(active, selected, focus) { + color: #fff; +} + +tree[seltype="cell"] > treechildren::-moz-tree-cell(active, current, focus) { + border: 1px dotted rgb(75,75,75); +} + +tree[seltype="text"] > treechildren::-moz-tree-cell-text(active, current, focus) { + border: 1px dotted rgb(75,75,75); +} + +tree[seltype="cell"] > treechildren::-moz-tree-cell(active, selected, current, focus) { + border: 1px dotted rgb(80,80,80); +} + +tree[seltype="text"] > treechildren::-moz-tree-cell-text(active, selected, current, focus) { + border: 1px dotted rgb(80,80,80); +} + +/* ::::: lines connecting cells ::::: */ + +tree[seltype="cell"] > treechildren::-moz-tree-line, +tree[seltype="text"] > treechildren::-moz-tree-line, +treechildren::-moz-tree-line { + border: 1px dotted rgb(75,75,75); +} + +tree[seltype="cell"] > treechildren::-moz-tree-line(active, selected, focus), +treechildren::-moz-tree-line(selected, focus) { + border: 1px dotted rgb(80,80,80); +} + +/* ::::: tree separator ::::: */ + +treechildren::-moz-tree-separator { + border-top: 1px solid rgb(75,75,75); +} + + +/* ::::: drop feedback ::::: */ + +treechildren::-moz-tree-row(dropOn) { + background-color: rgb(110,110,110); +} + +tree[seltype="cell"] > treechildren::-moz-tree-cell-text(primary, dropOn), +tree[seltype="text"] > treechildren::-moz-tree-cell-text(primary, dropOn), +treechildren::-moz-tree-cell-text(primary, dropOn) { + color: #fff; +} + +treechildren::-moz-tree-drop-feedback { + background-color: rgb(110,110,110); + width: 50px; + height: 2px; + -moz-margin-start: 5px; +} + +/* ::::: tree progress meter ::::: */ + +treechildren::-moz-tree-progressmeter { + margin: 2px 4px; + padding: 1px; + border: 1px solid rgb(75,75,75); + color: ThreeDShadow; +} + +treechildren::-moz-tree-progressmeter(progressUndetermined) { + list-style-image: url("chrome://global/skin/progressmeter/progressmeter-busy.gif"); +} + +treechildren::-moz-tree-cell-text(progressmeter) { + margin: 2px 4px; +} + +/* ::::: tree columns ::::: */ + +treecol, +treecolpicker { + -moz-appearance: none; + -moz-box-align: center; + -moz-box-pack: center; + border: 1px solid rgb(75,75,75); + background-color: rgb(50,50,50); + color: #fff; + padding: 0px 4px; +} + +.treecol-image { + padding: 0px 1px; +} + +.treecol-text { + margin: 0px !important; +} + +treecol[hideheader="true"] { + -moz-appearance: none; + border: none; + padding: 0; +} + +/* ..... internal box ..... */ + +treecol:hover:active, +treecolpicker:hover:active { + border-top: 1px solid rgb(110,110,110); + padding-top: 1px; + padding-bottom: 0px; + -moz-padding-start: 5px; + -moz-padding-end: 4px; +} + +.treecol-image:hover:active { + padding-top: 1px; + padding-bottom: 0px; + -moz-padding-start: 2px; + -moz-padding-end: 1px; +} + +/* ::::: column drag and drop styles ::::: */ + +treecol[dragging="true"] { + -moz-border-top-colors: ThreeDDarkShadow transparent !important; + -moz-border-right-colors: ThreeDDarkShadow transparent!important; + -moz-border-bottom-colors: ThreeDDarkShadow transparent !important; + -moz-border-left-colors: ThreeDDarkShadow transparent !important; + background-color: ThreeDShadow !important; + color: ThreeDHighlight !important; +} + +treecol[insertafter="true"]:-moz-locale-dir(ltr), +treecol[insertbefore="true"]:-moz-locale-dir(rtl) { + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; +} + +treecol[insertafter="true"]:-moz-locale-dir(rtl), +treecol[insertbefore="true"]:-moz-locale-dir(ltr) { + -moz-border-left-colors: ThreeDDarkShadow ThreeDShadow; +} + +treechildren::-moz-tree-column(insertbefore) { + -moz-border-start: 1px solid ThreeDShadow; +} + +treechildren::-moz-tree-column(insertafter) { + -moz-border-end: 1px solid ThreeDShadow; +} + +/* ::::: sort direction indicator ::::: */ + +.treecol-sortdirection { + list-style-image: none; +} + +treecol:not([hideheader="true"]) > .treecol-sortdirection[sortDirection="ascending"] { + list-style-image: url("chrome://global/skin/tree/sort-asc.png"); +} + +treecol:not([hideheader="true"]) > .treecol-sortdirection[sortDirection="ascending"]:-moz-system-metric(windows-classic) { + list-style-image: url("chrome://global/skin/tree/sort-asc-classic.png"); +} + +treecol:not([hideheader="true"]) > .treecol-sortdirection[sortDirection="descending"] { + list-style-image: url("chrome://global/skin/tree/sort-dsc.png"); +} + +treecol:not([hideheader="true"]) > .treecol-sortdirection[sortDirection="descending"]:-moz-system-metric(windows-classic) { + list-style-image: url("chrome://global/skin/tree/sort-dsc-classic.png"); +} + +/* ::::: column picker ::::: */ + +.tree-columnpicker-icon { + list-style-image: url("chrome://global/skin/tree/columnpicker.gif"); +} + +/* ::::: twisty ::::: */ + +treechildren::-moz-tree-twisty { + -moz-padding-end: 4px; + padding-top: 1px; + width: 9px; /* The image's width is 9 pixels */ + list-style-image: url("chrome://global/skin/tree/twisty-clsd.png"); +} + +treechildren::-moz-tree-twisty(open) { + width: 9px; /* The image's width is 9 pixels */ + list-style-image: url("chrome://global/skin/tree/twisty-open.png"); +} + +treechildren::-moz-tree-indentation { + width: 18px; +} + +/* ::::: gridline style ::::: */ + +treechildren.gridlines::-moz-tree-cell { + border-right: 1px solid transparent !important; + border-bottom: 1px solid transparent !important; +} + +treechildren.gridlines::-moz-tree-row { + border: none; +} + +/* ::::: editable tree ::::: */ + +treechildren::-moz-tree-row(selected, editing) { + background-color: transparent; + border: none; +} + +treechildren::-moz-tree-cell-text(selected, editing) { + color: inherit; +} + +.tree-input { + -moz-appearance: none; + border: 1px solid Highlight; + -moz-border-top-colors: Highlight; + -moz-border-bottom-colors: Highlight; + -moz-border-left-colors: Highlight; + -moz-border-right-colors: Highlight; + margin: 0; + -moz-margin-start: -4px; + padding: 1px; +} + +/* ::::: twisty ::::: */ + +treechildren::-moz-tree-indentation { + width: 12px; +} + +treechildren::-moz-tree-twisty { + -moz-padding-end: 1px; + width: 9px; +} + +/* + Please note that the following RTL icons are only available in Aero themes: + * chrome://global/skin/tree/twisty-clsd-hover.png + * chrome://global/skin/tree/twisty-open-hover.png + * chrome://global/skin/tree/twisty-clsd-rtl.png + * chrome://global/skin/tree/twisty-open-rtl.png + * chrome://global/skin/tree/twisty-clsd-hover-rtl.png + * chrome://global/skin/tree/twisty-open-hover-rtl.png +*/ +treechildren::-moz-tree-twisty(hover) { + list-style-image: url("chrome://global/skin/tree/twisty-clsd-hover.png"); +} + +treechildren::-moz-tree-twisty(hover, open) { + list-style-image: url("chrome://global/skin/tree/twisty-open-hover.png"); +} + +treechildren:-moz-locale-dir(rtl)::-moz-tree-twisty { + list-style-image: url("chrome://global/skin/tree/twisty-clsd-rtl.png"); +} + +treechildren:-moz-locale-dir(rtl)::-moz-tree-twisty(open) { + list-style-image: url("chrome://global/skin/tree/twisty-open-rtl.png"); +} + +treechildren:-moz-locale-dir(rtl)::-moz-tree-twisty(hover) { + list-style-image: url("chrome://global/skin/tree/twisty-clsd-hover-rtl.png"); +} + +treechildren:-moz-locale-dir(rtl)::-moz-tree-twisty(hover, open) { + list-style-image: url("chrome://global/skin/tree/twisty-open-hover-rtl.png"); +} diff --git a/src/chrome/global/tree/columnpicker.gif b/src/chrome/global/tree/columnpicker.gif Binary files differ. diff --git a/src/chrome/global/tree/sort-asc-classic.png b/src/chrome/global/tree/sort-asc-classic.png Binary files differ. diff --git a/src/chrome/global/tree/sort-asc.png b/src/chrome/global/tree/sort-asc.png Binary files differ. diff --git a/src/chrome/global/tree/sort-dsc-classic.png b/src/chrome/global/tree/sort-dsc-classic.png Binary files differ. diff --git a/src/chrome/global/tree/sort-dsc.png b/src/chrome/global/tree/sort-dsc.png Binary files differ. diff --git a/src/chrome/global/tree/twisty-clsd-hover-rtl.png b/src/chrome/global/tree/twisty-clsd-hover-rtl.png Binary files differ. diff --git a/src/chrome/global/tree/twisty-clsd-hover.png b/src/chrome/global/tree/twisty-clsd-hover.png Binary files differ. diff --git a/src/chrome/global/tree/twisty-clsd-rtl.png b/src/chrome/global/tree/twisty-clsd-rtl.png Binary files differ. diff --git a/src/chrome/global/tree/twisty-clsd.png b/src/chrome/global/tree/twisty-clsd.png Binary files differ. diff --git a/src/chrome/global/tree/twisty-open-hover-rtl.png b/src/chrome/global/tree/twisty-open-hover-rtl.png Binary files differ. diff --git a/src/chrome/global/tree/twisty-open-hover.png b/src/chrome/global/tree/twisty-open-hover.png Binary files differ. diff --git a/src/chrome/global/tree/twisty-open-rtl.png b/src/chrome/global/tree/twisty-open-rtl.png Binary files differ. diff --git a/src/chrome/global/tree/twisty-open.png b/src/chrome/global/tree/twisty-open.png Binary files differ. diff --git a/src/chrome/global/wizard.css b/src/chrome/global/wizard.css @@ -0,0 +1,50 @@ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +.wizard-header { + border-bottom: 1px solid rgb(75,75,75); + background-color: rgb(43,43,43); + color: #fff; +} + +.wizard-header-box-1 { + padding: 5px 0px 5px 0px; +} + +wizard[description=""] .wizard-header-description { + display: none; +} + +.wizard-header-label { + -moz-margin-start: 23px; + font-weight: bold; +} + +.wizard-header-description { + -moz-margin-start: 44px; +} + +wizard[branded="true"] .wizard-header-icon { + list-style-image: url("chrome://branding/content/icon48.png"); + -moz-margin-end: 5px; +} + +.wizard-page-box { + margin: 10px 44px; +} + +.wizard-buttons-separator { + margin-bottom: 0px !important; +} + +.wizard-buttons-box-2 { + margin: 10px; +} + +.wizard-button[dlgtype="finish"], +.wizard-button[dlgtype="next"] { + -moz-margin-start: 0px !important; +} + +.wizard-button[dlgtype="back"] { + -moz-margin-end: 0px !important; +} diff --git a/src/chrome/mozapps/aboutNetworking.css b/src/chrome/mozapps/aboutNetworking.css @@ -0,0 +1,60 @@ +/* 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/. */ + +body { + min-width: 330px; + max-width: 100%; + min-height: 330px; + max-height: 100%; +} + +#menu { + position: absolute; + top: 5px; + color: gray; +} + +.warningBackground { + display: none; + background: -moz-Dialog; + width:100%; + height:100%; + z-index:10; + top:0; + left:0; + position:fixed; +} + +.warningMessage { + color: -moz-FieldText; + position: relative; + min-width: 330px; + max-width: 50em; + margin: 4em auto; + border: 1px solid ThreeDShadow; + border-radius: 10px; + padding: 3em; + -moz-padding-start: 30px; + background: -moz-Field; + margin-left: auto; + text-align: center; +} + +.tab { + display: none; +} + +.active { + display: block; +} + +#menu .selected { + color: blue; +} + +#refreshdiv { + top: 5px; + position: absolute; + right: 30px; +} diff --git a/src/chrome/mozapps/downloads/downloadButtons.png b/src/chrome/mozapps/downloads/downloadButtons.png Binary files differ. diff --git a/src/chrome/mozapps/downloads/downloadIcon.png b/src/chrome/mozapps/downloads/downloadIcon.png Binary files differ. diff --git a/src/chrome/mozapps/downloads/downloads.css b/src/chrome/mozapps/downloads/downloads.css @@ -0,0 +1,140 @@ +/* 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/. */ + +/* 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/. */ + +#downloadManager { + background-color: rgb(43,43,43); +} + +/* Download View */ +#downloadView { + -moz-appearance: none; + margin: 0; + border-bottom: 1px solid rgb(75,75,75); + background-color: rgb(43,43,43); +} + +/* Download View Items */ +richlistitem[type="download"] { + padding: 4px 8px 4px 4px; + min-height: 46px; + border-bottom: 1px solid rgb(75,75,75); +} + +richlistitem[type="download"][selected="true"] { + background-image: url(chrome://mozapps/skin/extensions/itemEnabledFader.png); +} + +richlistitem[type="download"] .name { + font-size: larger; +} + +richlistitem[type="download"] .dateTime { + font-size: smaller; +} + +.mini-button { + -moz-appearance: none; + list-style-image: url(chrome://mozapps/skin/downloads/downloadButtons.png); + background-color: transparent; + border: none; + padding: 0; + margin: 0; + min-width: 0; + min-height: 0; +} + +.mini-button > .button-box { + padding: 0 !important; +} + +.cancel { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} +.cancel:hover { + -moz-image-region: rect(16px, 32px, 32px, 16px); +} +.cancel:active { + -moz-image-region: rect(32px, 32px, 48px, 16px); +} +.cancel[disabled="true"] { + -moz-image-region: rect(48px, 32px, 64px, 16px); +} +.pause { + -moz-image-region: rect(0px, 48px, 16px, 32px); +} +.pause:hover { + -moz-image-region: rect(16px, 48px, 32px, 32px); +} +.pause:active { + -moz-image-region: rect(32px, 48px, 48px, 32px); +} +.pause[disabled="true"] { + -moz-image-region: rect(48px, 48px, 64px, 32px); +} +.resume { + -moz-image-region: rect(0px, 16px, 16px, 0px); +} +.resume:hover { + -moz-image-region: rect(16px, 16px, 32px, 0px); +} +.resume:active { + -moz-image-region: rect(32px, 16px, 48px, 0px); +} +.resume[disabled="true"] { + -moz-image-region: rect(48px, 16px, 64px, 0px); +} +.retry { + -moz-image-region: rect(0px, 64px, 16px, 48px); +} +.retry:hover { + -moz-image-region: rect(16px, 64px, 32px, 48px); +} +.retry:active { + -moz-image-region: rect(32px, 64px, 48px, 48px); +} +.retry[disabled="true"] { + -moz-image-region: rect(48px, 64px, 64px, 48px); +} + +.blockedIcon { + list-style-image: url(chrome://global/skin/icons/Error.png); +} + +/* prevent flickering when changing states */ +.downloadTypeIcon { + min-height: 32px; + min-width: 32px; +} + +#clearListButton { + min-height: 0; + min-width: 0; + margin-top: 3px; +} + +#downloadManager { + background: rgb(43,43,43); +} + +windowdragbox { + -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox"); + padding: 3px; +} + +#clearListButton { + -moz-margin-start: 0; + margin-bottom: 0; +} + +#searchbox { + -moz-margin-end: 0; + margin-bottom: 0; + background-color: rgb(50,50,50); + border-radius: 5px; + border: 1px solid rgb(75,75,75); +} diff --git a/src/chrome/mozapps/downloads/unknownContentType.css b/src/chrome/mozapps/downloads/unknownContentType.css @@ -0,0 +1,31 @@ +/* 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/. */ + + +#from { + margin-top: 1px; +} + +#location { + font-weight: bold; +} + +#contentTypeImage { + height: 16px; + width: 16px; + margin-top: 0px; + margin-bottom: 0px; + -moz-margin-start: 0px; + -moz-margin-end: 5px; +} + +.small-indent { + -moz-margin-start: 15px; + -moz-margin-end: 15px; +} + +.small-indent label { + -moz-margin-start: 0px; +} + diff --git a/src/chrome/mozapps/extensions/about.css b/src/chrome/mozapps/extensions/about.css @@ -0,0 +1,80 @@ +/* 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/. */ + +#genericAbout { + padding: 0px; + min-height: 200px; + max-height: 400px; + width: 30em; +} + +#clientBox, +.dialog-button-box { + background-color: rgb(43,43,43); + color: #fff; +} + +.basic-info { + padding: 10px; +} + +#extensionIcon { + list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); + max-width: 64px; + max-height: 64px; + -moz-margin-end: 6px; +} + +#genericAbout[addontype="theme"] #extensionIcon { + list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); +} + +#genericAbout[addontype="locale"] #extensionIcon { + list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png"); +} + +#genericAbout[addontype="plugin"] #extensionIcon { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); +} + +#genericAbout[addontype="dictionary"] #extensionIcon { + list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric.png"); +} + +#extensionName { + font-size: 200%; + font-weight: bolder; +} + +#extensionVersion { + font-weight: bold; +} + +#extensionDescription { + margin-top: 4px; +} + +#groove { + margin-top: 8px; +} + +#extensionDetailsBox { + overflow: auto; + min-height: 100px; +} + +.boxIndent { + -moz-margin-start: 18px; +} + +#extensionCreator, .contributor { + margin: 0px; +} + +.sectionTitle { + padding: 2px 0px 3px 0px; + margin-top: 3px; + font-weight: bold; +} + diff --git a/src/chrome/mozapps/extensions/alerticon-error.png b/src/chrome/mozapps/extensions/alerticon-error.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/alerticon-info-negative.png b/src/chrome/mozapps/extensions/alerticon-info-negative.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/alerticon-info-positive.png b/src/chrome/mozapps/extensions/alerticon-info-positive.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/alerticon-warning.png b/src/chrome/mozapps/extensions/alerticon-warning.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/blocklist.css b/src/chrome/mozapps/extensions/blocklist.css @@ -0,0 +1,20 @@ +/* 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/. */ + +richlistitem { + padding-top: 6px; + padding-bottom: 6px; + -moz-padding-start: 7px; + -moz-padding-end: 7px; + border-bottom: 1px solid #C0C0C0; +} + +.addonName { + font-weight: bold; +} + +.blockedLabel { + font-weight: bold; + font-style: italic; +} diff --git a/src/chrome/mozapps/extensions/cancel.png b/src/chrome/mozapps/extensions/cancel.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/category-available.png b/src/chrome/mozapps/extensions/category-available.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/category-dictionaries.png b/src/chrome/mozapps/extensions/category-dictionaries.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/category-discover.png b/src/chrome/mozapps/extensions/category-discover.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/category-experiments.png b/src/chrome/mozapps/extensions/category-experiments.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/category-extensions.png b/src/chrome/mozapps/extensions/category-extensions.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/category-languages.png b/src/chrome/mozapps/extensions/category-languages.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/category-plugins.png b/src/chrome/mozapps/extensions/category-plugins.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/category-recent.png b/src/chrome/mozapps/extensions/category-recent.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/category-search.png b/src/chrome/mozapps/extensions/category-search.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/category-searchengines.png b/src/chrome/mozapps/extensions/category-searchengines.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/category-service.png b/src/chrome/mozapps/extensions/category-service.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/category-themes.png b/src/chrome/mozapps/extensions/category-themes.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/category-userscripts.png b/src/chrome/mozapps/extensions/category-userscripts.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/category-userstyle.png b/src/chrome/mozapps/extensions/category-userstyle.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/dictionaryGeneric-16.png b/src/chrome/mozapps/extensions/dictionaryGeneric-16.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/dictionaryGeneric.png b/src/chrome/mozapps/extensions/dictionaryGeneric.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/discover-logo.png b/src/chrome/mozapps/extensions/discover-logo.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/eula.css b/src/chrome/mozapps/extensions/eula.css @@ -0,0 +1,47 @@ +/* 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/. */ + +#icon { + list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); + max-width: 48px; + max-height: 48px; + -moz-margin-end: 6px; +} + +#eula-dialog[addontype="theme"] #icon { + list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); +} + +#eula-dialog[addontype="locale"] #icon { + list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png"); +} + +#eula-dialog[addontype="plugin"] #icon { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); +} + +#eula-dialog[addontype="dictionary"] #icon { + list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric.png"); +} + +#heading-container { + -moz-box-align: center; +} + +#heading { + font-size: 120%; +} + +#eula { + -moz-appearance: none; + color: #fff; + background-color: rgb(43,43,43); + margin: 1em; + border: 1px solid; + -moz-border-top-colors: ActiveBorder; + -moz-border-right-colors: ActiveBorder; + -moz-border-bottom-colors: ActiveBorder; + -moz-border-left-colors: ActiveBorder; +} + diff --git a/src/chrome/mozapps/extensions/experimentGeneric.png b/src/chrome/mozapps/extensions/experimentGeneric.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/extensionGeneric-16.png b/src/chrome/mozapps/extensions/extensionGeneric-16.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/extensionGeneric.png b/src/chrome/mozapps/extensions/extensionGeneric.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/extensionGenericNotify-16.png b/src/chrome/mozapps/extensions/extensionGenericNotify-16.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/extensions.css b/src/chrome/mozapps/extensions/extensions.css @@ -0,0 +1,1177 @@ +/* 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/. */ + +/* 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://global/skin/inContentUI.css"); + + +.nav-button { + list-style-image: url(chrome://mozapps/skin/extensions/navigation.png); +} + +#forward-btn { + -moz-border-start: none; +} + +#back-btn:-moz-locale-dir(ltr), +#forward-btn:-moz-locale-dir(rtl) { + -moz-image-region: rect(0, 18px, 18px, 0); + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +#back-btn:-moz-locale-dir(rtl), +#forward-btn:-moz-locale-dir(ltr) { + -moz-image-region: rect(0, 36px, 18px, 18px); + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + + +/*** global warnings ***/ + +.global-warning-container { + overflow-x: hidden; +} + +.global-warning { + -moz-box-align: center; + padding: 0 8px; + color: #916D15; + font-weight: bold; +} + +#addons-page[warning] .global-warning-container { + background-color: rgba(255, 255, 0, 0.1); + background-image: url("chrome://mozapps/skin/extensions/stripes-warning.png"); + background-repeat: repeat-x; +} + +#detail-view .global-warning { + padding: 4px 12px; + border-bottom: 1px solid #CAD4E0; +} + +@media (max-width: 600px) { + .global-warning-text { + display: none; + } + + .global-warning .warning-icon { + background-color: #FFF; + box-shadow: 0px 0px 2px 5px #FFF; + border-radius: 10px; + } +} + +/*** global informations ***/ +#addons-page .global-info-container { + border-top-right-radius: 5px; + border-top-left-radius: 5px; +} + +/* Plugins aren't yet disabled by safemode (bug 342333), + so don't show that warning when viewing plugins. */ +#addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container, +#addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning-container { + background-color: inherit; + background-image: none; +} + + +/*** notification icons ***/ + +.warning-icon { + list-style-image: url("chrome://mozapps/skin/extensions/alerticon-warning.png"); + width: 16px; + height: 15px; + margin: 3px 0; +} + +.error-icon { + list-style-image: url("chrome://mozapps/skin/extensions/alerticon-error.png"); + width: 16px; + height: 15px; + margin: 3px 0; +} + +.pending-icon, +.info-icon { + list-style-image: url("chrome://mozapps/skin/extensions/alerticon-info-positive.png"); + width: 16px; + height: 15px; + margin: 3px 0; +} + +.addon-view[pending="disable"] .pending-icon, +.addon-view[pending="uninstall"] .pending-icon { + list-style-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png"); + width: 16px; + height: 15px; + margin: 3px 0; +} + + +/*** view alert boxes ***/ + +.alert-container { + -moz-box-align: center; +} + +.alert-spacer-before { + -moz-box-flex: 1; +} + +.alert-spacer-after { + -moz-box-flex: 3; +} + +.alert { + -moz-box-align: center; + padding: 10px; + color: #373D48; +/*border: 1px solid #A8B8D1; + border-radius: 8px; + background-image: linear-gradient(#FFF, #ECF1F7); + background-clip: padding-box; + box-shadow: 2px 2px 4px #999; */ +} + +.alert .alert-title { + font-weight: bold; + font-size: 200%; + margin-bottom: 15px; +} + +.alert button { + margin: 1em 2em; +} + +.loading { + list-style-image: url("chrome://global/skin/icons/loading_16.png"); + padding-left: 20px; + padding-right: 20px; +} + + +/*** category selector ***/ + +#categories { + -moz-appearance: none; + border: none; + -moz-margin-end: -1px; + background-color: transparent; + position: relative; + margin-top: 31px; +} + +.category { + -moz-appearance: none; + background-color: transparent; + color: #fff; + min-height: 0; + padding: 0 4px; + border-width: 1px; + border-style: solid; + border-color: transparent; + -moz-box-align: center; + overflow: hidden; +} + +.category:-moz-locale-dir(ltr) { + border-top-left-radius: 5px; + border-bottom-left-radius: 5px; +} + +.category:-moz-locale-dir(rtl) { + border-top-right-radius: 5px; + border-bottom-right-radius: 5px; +} + +.category[disabled] { + border-top: 0; + border-bottom: 0; + height: 0; + opacity: 0; + transition-property: height, opacity; + transition-duration: 1s, 0.8s; +} + +.category:not([disabled]) { + height: 52px; + transition-property: height, opacity; + transition-duration: 1s, 0.8s; +} + +.category[selected] { + background-color: rgb(110,110,110); + color: #fff; + border-color: rgb(50,50,50); + -moz-border-end-color: rgb(75,75,75); +} + +.category-name { + font-size: 150%; +} + +/* Maximize the size of the viewport when the window is small */ +@media (max-width: 800px) { + .category-name { + display: none; + } +} + +.category-badge { + background-color: #55D4FF; + padding: 2px 8px; + margin: 6px 0; + border-radius: 10000px; + color: #FFF; + font-weight: bold; + text-align: center; +} + +.category-badge[value="0"] { + visibility: hidden; +} + +.category-icon { + width: 32px; + height: 32px; + -moz-margin-start: 6px; +} + +#category-search > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-search.png"); +} +#category-discover > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png"); +} +#category-locale > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png"); +} +#category-searchengine > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png"); +} +#category-extension > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png"); +} +#category-service > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-service.png"); +} +#category-theme > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png"); +} +#category-plugin > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png"); +} +#category-greasemonkey-user-script > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-userscripts.png") !important; +} +#category-dictionary > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-dictionaries.png"); +} +#category-experiment > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-experiments.png"); +} +#category-availableUpdates > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-available.png"); +} +#category-recentUpdates > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png"); +} +#category-userstyle > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-userstyle.png") !important; +} + +/*** header ***/ + +#header { + margin-bottom: 18px; +} + +#header-search { + margin: 0; + -moz-appearance: none; + background-color: rgb(50,50,50); + color: #fff; + border: 1px solid rgb(75,75,75); + border-radius: 5px; + padding: 4px 5px; +} + +@media (max-width: 600px) { + #header-search { + width: 12em; + } +} + +#header-utils-btn { + list-style-image: url("chrome://mozapps/skin/extensions/utilities.png"); + -moz-margin-end: 16px; +} + +.view-header { + background-color: rgb(110,110,110); + padding: 4px; + margin: 0; + min-height: 31px; + border-bottom: 1px solid rgb(75,75,75); +} + + +/*** sorters ***/ + +.sort-controls { + -moz-appearance: none; +} + +.sorter { + -moz-appearance: none; + color: #fff; + padding: 0 6px; + margin: 0 6px; + min-width: 12px !important; + -moz-box-direction: reverse; +} + +.sorter .button-box { + padding-top: 0; + padding-bottom: 0; +} + +.sorter[checkState="1"] { + list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); +} + +.sorter[checkState="2"] { + list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); +} + +.sorter .button-icon { + -moz-margin-start: 4px; +} + + +/*** discover view ***/ + +.discover-spacer-before, +.discover-spacer-after { + -moz-box-flex: 1; +} + +#discover-error .alert { + max-width: 45em; + -moz-box-flex: 1; +} + +.discover-logo { + list-style-image: url("chrome://mozapps/skin/extensions/discover-logo.png"); + -moz-margin-end: 15px; +} + +.discover-title { + font-weight: bold; + font-size: 24px; + font-family: MetaWebPro-Book, "Trebuchet MS", sans-serif; + margin: 0 0 15px 0; +} + +.discover-description { + text-align: justify; + margin: 0 0 15px 0; +} + +.discover-footer { + text-align: justify; +} + + +/*** list ***/ + +.list { + -moz-appearance: none; + margin: 0; + border: none; + background-color: transparent; +} + +.addon { + color: #fff; + border-top: 1px solid rgb(75,75,75); + padding: 5px; + background-origin: border-box; +} + +.view-pane:not(#search-view) .addon:first-of-type, +#search-view .addon[first] { + border-top-width: 0px; +} + +.details { + cursor: pointer; + margin: 0; + -moz-margin-start: 10px; +} + +.icon-container { + width: 48px; + height: 48px; + margin: 3px 7px; + -moz-box-align: center; + -moz-box-pack: center; +} + +.icon { + list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); + max-width: 48px; + max-height: 48px; +} + +.addon[active="false"] .icon { + filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); +} + + +.addon-view[type="theme"] .icon { + list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); +} + +.addon-view[type="locale"] .icon { + list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png"); +} + +.addon-view[type="plugin"] .icon { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); +} + +.addon-view[type="dictionary"] .icon { + list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric.png"); +} + +.addon-view[type="experiment"] .icon { + list-style-image: url("chrome://mozapps/skin/extensions/experimentGeneric.png"); +} + +.name-container { + font-size: 150%; + font-weight: bold; + color: #fff; + margin-bottom: 0; + -moz-box-align: end; + -moz-box-flex: 1; +} + +.creator { + font-weight: bold; +} + +.creator .text-link { + color: #fff; +} + +.description-container { + -moz-margin-start: 6px; + -moz-box-align: center; +} + +.description { + margin: 0; +} + +.warning, +.pending, +.error { + -moz-margin-start: 48px; + font-weight: bold; + -moz-box-align: center; +} + +.content-container, +.basicinfo-container { + -moz-box-align: start; +} + +.addon[status="installing"] > .content-container { + -moz-box-align: stretch; +} + +.advancedinfo-container, +.update-info-container { + -moz-box-align: center; +} + +.update-available { + -moz-box-align: end; +} + +.install-status-container { + -moz-box-pack: end; + -moz-box-align: end; +} + +.name-outer-container { + -moz-box-pack: center; +} + +.relnotes-toggle-container, +.icon-outer-container { + -moz-box-pack: start; +} + +.status-container, +.control-container { + -moz-box-pack: end; +} + +.addon-view .warning { + color: #916D15; +} + +.addon-view .error { + color: #864441; +} + +.addon-view .pending { + color: #1B7123; +} + +.addon-view[pending="disable"] .pending, +.addon-view[pending="uninstall"] .pending { + color: #62666E; +} + +.addon .relnotes-container { + -moz-box-align: start; + -moz-margin-start: 6px; + height: 0; + overflow: hidden; + opacity: 0; + transition-property: height, opacity; + transition-duration: 0.5s, 0.5s; +} + +.addon[show-relnotes] .relnotes-container { + opacity: 1; + transition-property: height, opacity; + transition-duration: 0.5s, 0.5s; +} + +.addon .relnotes-header { + font-weight: bold; + margin: 10px 0; +} + +.addon .relnotes-toggle { + -moz-appearance: none; + border: none; + background: transparent; + font-weight: bold; + -moz-box-direction: reverse; + cursor: pointer; + list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); +} + +.addon .relnotes-toggle > .button-box > .button-icon { + -moz-padding-start: 4px; +} + +.addon[show-relnotes] .relnotes-toggle { + list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); +} + +/*.addon[active="false"] { + background-color: rgba(135, 135, 135, 0.1); + background-image: linear-gradient(rgba(135, 135, 135, 0), + rgba(135, 135, 135, 0.1)); +}*/ + +.addon-view[active="false"], +.addon-view[active="false"] .name-container { + color: #AAA; +} + +.addon-view[notification="warning"] { + background-image: url("chrome://mozapps/skin/extensions/stripes-warning.png"), + linear-gradient(rgba(255, 255, 0, 0.04), + rgba(255, 255, 0, 0)); + background-repeat: repeat-x; +} + +.addon-view[notification="error"] { + background-image: url("chrome://mozapps/skin/extensions/stripes-error.png"), + linear-gradient(rgba(255, 0, 0, 0.04), + rgba(255, 0, 0, 0)); + background-repeat: repeat-x; +} + +.addon-view[pending="enable"], +.addon-view[pending="upgrade"], +.addon-view[pending="install"] { + background-image: url("chrome://mozapps/skin/extensions/stripes-info-positive.png"), + linear-gradient(rgba(0, 255, 0, 0.04), + rgba(0, 255, 0, 0)); + background-repeat: repeat-x; +} + +.addon-view[pending="disable"], +.addon-view[pending="uninstall"] { + background-image: url("chrome://mozapps/skin/extensions/stripes-info-negative.png"), + linear-gradient(rgba(128, 128, 128, 0.04), + rgba(128, 128, 128, 0)); + background-repeat: repeat-x; +} + +.addon[selected] { + background-color: rgb(110,110,110); + color: #fff; +} + +.addon[active="false"][selected]/* .name-container*/ { + color: #AAA; +} + + +/*** item - uninstalled ***/ + +.addon[status="uninstalled"] { + border: none; +} + +.addon[status="uninstalled"] > .container { + -moz-box-align: center; + padding: 4px 20px; + background-color: #FDFFA8; + border-radius: 8px; + font-size: 120%; +} + +.addon[status="uninstalled"][selected] { + background-color: transparent; +} + + + +/*** search view ***/ + +#search-filter { + padding: 5px 20px; + font-size: 120%; + border-bottom: 1px solid #CAD4E0; + overflow-x: hidden; +} + +#search-filter-label { + font-weight: bold; + color: grey; +} + +.search-filter-radio { + -moz-appearance: none; + padding: 0 6px; + margin: 0 3px; + border-radius: 10000px; +} + +.search-filter-radio[selected] { + background-color: grey; + color: white; +} + +.search-filter-radio .radio-check-box1 { + display: none; +} + +.search-filter-radio .radio-icon { + display: none; +} + +#search-allresults-link { + margin-top: 1em; + margin-bottom: 2em; +} + +/*** discover view ***/ +#discover-browser { + background: rgb(150,150,150); +} + +/*** detail view ***/ + +#detail-view .loading { + opacity: 0; +} + +#detail-view[loading-extended] .loading { + opacity: 1; + transition-property: opacity; + transition-duration: 1s; +} + +.detail-view-container { + padding: 0 2em 2em 2em; + font-size: 110%; +} + +#detail-notifications { + margin-top: 1em; + margin-bottom: 2em; +} + +#detail-notifications .warning, +#detail-notifications .pending, +#detail-notifications .error { + -moz-margin-start: 0; +} + +#detail-icon-container { + width: 64px; + -moz-margin-end: 10px; + margin-top: 6px; +} + +#detail-icon { + max-width: 64px; + max-height: 64px; +} + +#detail-summary { + margin-bottom: 2em; +} + +#detail-name-container { + font-size: 200%; +} + +#detail-screenshot { + -moz-margin-end: 2em; + max-width: 300px; + max-height: 300px; +} + +#detail-screenshot[loading] { + background-image: url("chrome://global/skin/icons/loading_16.png"), + linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)); + background-position: 50% 50%; + background-repeat: no-repeat; + border-radius: 3px; +} + +#detail-screenshot[loading="error"] { + background-image: url("chrome://global/skin/media/error.png"), + linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)); +} + +#detail-desc-container { + margin-bottom: 2em; +} + +#detail-desc, #detail-fulldesc { + -moz-margin-start: 6px; + /* This is necessary to fix layout issues with multi-line descriptions, see + bug 592712*/ + outline: solid transparent; + white-space: pre-wrap; + min-width: 10em; +} + +#detail-fulldesc { + margin-top: 1em; +} + +#detail-contributions { + border-radius: 5px; + border: 1px solid #DDD; + margin-bottom: 2em; + padding: 1em; + background-color: #EEE; +} + +#detail-contrib-description { + font-style: italic; + margin-bottom: 1em; + color: #373D48; +} + +#detail-contrib-suggested { + color: grey; + font-weight: bold; +} + +#detail-contrib-btn { + -moz-appearance: none; + color: #FFF; + border: 1px solid #3A4EEE; + border-radius: 3px; + list-style-image: url("chrome://mozapps/skin/extensions/heart.png"); + background: #2F73EF; + padding: 4px; +} + +#detail-contrib-btn .button-box { + padding: 0 6px 1px 6px; +} + +#detail-contrib-btn .button-icon { + -moz-margin-end: 3px; +} + +#detail-contrib-btn:not(:active):hover { + border-color: #0459F7; + background-color: #0459F7; +} + +#detail-contrib-btn:active:hover { + background: #0039a2; + border-color: rgba(0, 0, 0, 0.65) rgba(0, 0, 0, 0.55) rgba(0, 0, 0, 0.5); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.4) inset; +} + +#detail-grid { + margin-bottom: 2em; +} + +#detail-grid > columns > column:first-child { + min-width: 15em; + max-width: 25em; +} + +.detail-row[first-row="true"], +.detail-row-complex[first-row="true"], +setting[first-row="true"] { + border-top: none; +} + +.detail-row, +.detail-row-complex, +setting { + border-top: 2px solid; + -moz-border-top-colors: rgba(28, 31, 37, 0.1) rgba(255, 255, 255, 0.1); + -moz-box-align: center; + min-height: 30px; +} + +#detail-controls { + margin-bottom: 1em; +} + +#detail-view[active="false"]:not([pending]):not([notification]) { + background-image: linear-gradient(rgba(135, 135, 135, 0.1), + rgba(135, 135, 135, 0)); +} + +setting[first-row="true"] { + margin-top: 2em; +} + +setting { + -moz-box-align: start; +} + +.preferences-alignment { + min-height: 30px; + -moz-box-align: center; +} + +.preferences-description { + font-size: 90.9%; + color: graytext; + margin-top: -2px; + -moz-margin-start: 2em; + white-space: pre-wrap; +} + +.preferences-description:empty { + display: none; +} + +setting[type="radio"] > radiogroup { + -moz-box-orient: horizontal; +} + +menulist { /* Fixes some styling inconsistencies */ + margin: 1px 5px 2px 5px; +} + +/*** creator ***/ + +.creator > label { + -moz-margin-start: 0; + -moz-margin-end: 0; +} + +.creator > .text-link { + margin-top: 1px; + margin-bottom: 1px; +} + + +/*** rating ***/ + +.meta-rating { + -moz-margin-end: 0; + padding-top: 2px; +} + +.meta-rating > .star { + list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png"); + padding: 0 1px; +} + +.meta-rating > .star[on="true"] { + list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png"); +} + + +/*** download progress ***/ + +.download-progress { + background-color: rgba(151,152,153,.05); + background-image: linear-gradient(rgba(251, 252, 253, 0.95), rgba(246, 247, 248, 0.47) 49%, + rgba(231, 232, 233, 0.45) 51%, rgba(225, 226, 229, 0.3)); + background-clip: padding-box; + border-radius: 3px; + border: 1px solid; + border-color: rgba(0, 0, 0, 0.12) rgba(0, 0, 0, 0.19) rgba(0, 0, 0, 0.38); + box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset, + 0 0 0 2px rgba(255, 255, 255, 0.1) inset; + width: 200px; + height: 21px; + margin: 0 8px; +} + +.download-progress[mode="undetermined"] { + border-color: #358942 #317F3D #2E773A; +} + +.download-progress[mode="undetermined"] .status-container { + padding: 0 2px; +} + +.download-progress .start-cap, +.download-progress[complete] .end-cap, +.download-progress[mode="undetermined"] .end-cap, +.download-progress .progress .progress-bar { + -moz-appearance: none; + background-image: linear-gradient(#92DDA0, #6FC483 49%, #5EB272 51%, #80CE91); + margin-top: -1px; + margin-bottom: -1px; + border: 1px solid; + border-color: #358942 #317F3D #2E773A; +} + +.download-progress .start-cap { + -moz-margin-start: -1px; + -moz-border-end-width: 0; +} + +.download-progress .end-cap { + -moz-margin-end: -1px; + -moz-border-start-width: 0px !important; +} + +.download-progress .progress .progress-bar { + border-left-width: 0; + border-right-width: 0; + min-height: 21px; +} + +.download-progress .progress { + -moz-appearance: none; + background-color: transparent; + padding: 0; + margin: 0; + border: none; +} + +.download-progress .start-cap, +.download-progress .end-cap { + width: 4px; +} + +.download-progress .start-cap:-moz-locale-dir(ltr), +.download-progress .end-cap:-moz-locale-dir(rtl) { + border-radius: 3px 0 0 3px; +} + +.download-progress .end-cap:-moz-locale-dir(ltr), +.download-progress .start-cap:-moz-locale-dir(rtl) { + border-radius: 0 3px 3px 0; +} + +.download-progress .cancel { + -moz-appearance: none; + background-color: rgba(255, 255, 255, 0.4); + border: 1px solid rgba(0, 0, 0, 0.4); + padding: 3px; + border-radius: 3px; + min-width: 0; + margin: 3px; +} + +.download-progress .cancel:hover { + background-color: rgba(255, 255, 255, 0.6); + border: 1px solid rgba(0, 0, 0, 0.8); +} + +.download-progress .cancel:active:hover { + box-shadow: inset rgba(0, 0, 0, 0.5) 1px 1px 2px; +} + +.download-progress .cancel .button-box { + padding: 0; + border: none; +} + +.download-progress .cancel .button-text { + display: none; +} + +.download-progress .cancel .button-icon { + -moz-margin-start: 0; +} + +.download-progress .cancel { + list-style-image: url('chrome://mozapps/skin/extensions/cancel.png'); +} + +.download-progress .status-container { + -moz-box-align: center; +} + +.download-progress .status { + text-shadow: #FFF 0 0 2px; +} + +/*** install status ***/ + +.install-status { + -moz-box-align: center; +} + + +/*** check for updates ***/ + +#updates-container { + -moz-box-align: center; +} + +#updates-container .button-link { + font-weight: bold; +} + +#updates-installed, +#updates-downloaded { + color: #00BB00; + font-weight: bold; +} + +#update-selected { + margin: 12px; +} + + +/*** buttons ***/ + +.addon-control[disabled="true"]:not(.no-auto-hide) { + display: none; +} + +.no-auto-hide .addon-control { + display: block !important; +} + +button.button-link { + -moz-appearance: none; + background: transparent; + border: none; + box-shadow: none; + text-decoration: underline; + color: #fff; + cursor: pointer; + min-width: 0; + margin: 0 6px; +} + +.text-link { + color: #fff; +} + +.button-link:hover, +.text-link:hover { + color: rgb(219,219,219); +} + +/* Needed to override normal button style from inContent.css */ +button.button-link:not([disabled="true"]):active:hover { + background: transparent; + border: none; + box-shadow: none; +} + +.header-button { + -moz-appearance: none; + padding: 1px 3px; + color: #444; + text-shadow: 0 0 3px white; + background: transparent; + background-clip: padding-box; + border-radius: 2.5px; + border: 1px solid transparent; +} + +.header-button[disabled="true"] { + opacity: 0.8; +} + +.header-button[disabled="true"] > .toolbarbutton-icon { + opacity: 0.4; +} + +.header-button:not([disabled="true"]):active:hover, +.header-button[open="true"] { + background: rgb(110,110,110); +} + +.header-button > .toolbarbutton-text { + display: none; +} + +/*** telemetry experiments ***/ + +#detail-experiment-container { + font-size: 80%; + margin-bottom: 1em; +} + +#detail-experiment-bullet-container, +#detail-experiment-state, +#detail-experiment-time, +.experiment-bullet-container, +.experiment-state, +.experiment-time { + vertical-align: middle; + display: inline-block; +} + +.addon .experiment-bullet, +#detail-experiment-bullet { + fill: rgb(158, 158, 158); +} + +.addon[active="true"] .experiment-bullet, +#detail-view[active="true"] #detail-experiment-bullet { + fill: rgb(106, 201, 20); +} + +.sw-alert { + display: none !important; +} + +.sw-show { + visibility: visible; +} diff --git a/src/chrome/mozapps/extensions/extensions.svg b/src/chrome/mozapps/extensions/extensions.svg @@ -0,0 +1,6 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg"> + <filter id="greyscale"> + <feColorMatrix type="saturate" values="0"/> + </filter> +</svg> diff --git a/src/chrome/mozapps/extensions/heart.png b/src/chrome/mozapps/extensions/heart.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/localeGeneric.png b/src/chrome/mozapps/extensions/localeGeneric.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/navigation.png b/src/chrome/mozapps/extensions/navigation.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/newaddon.css b/src/chrome/mozapps/extensions/newaddon.css @@ -0,0 +1,114 @@ +/* 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/. */ + +/* 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://global/skin/inContentUI.css"); + +#addon-page { + padding: 0; +} + +#addon-scrollbox { + overflow: auto; + -moz-box-orient: vertical; + -moz-box-flex: 1; +} + +#spacer-start { + -moz-box-flex: 1; +} + +#spacer-end { + -moz-box-flex: 3; +} + +#addon-container { + overflow: visible; + max-width: 600px; + margin: 20px; + padding: 30px 90px; +} + +#addon-info { + -moz-box-align: start; + margin: 25px 10px; +} + +#icon { + -moz-margin-end: 10px; + max-width: 64px; + max-height: 64px; + list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); +} + +.addon-info[type="theme"] #icon { + list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); +} + +.addon-info[type="locale"] #icon { + list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png"); +} + +.addon-info[type="plugin"] #icon { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); +} + +.addon-info[type="dictionary"] #icon { + list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric.png"); +} + +#name { + font-size: 130%; +} + +#author { + color: GrayText; +} + +#location { + color: GrayText; +} + +#warning { + margin-bottom: 25px; + -moz-box-align: start; +} + +#warning-icon { + list-style-image: url("chrome://mozapps/skin/extensions/alerticon-warning.png"); + width: 16px; + height: 15px; + -moz-margin-end: 5px; +} + +#allow { + -moz-margin-start: 84px; + margin-bottom: 20px; +} + +#continuePanel, +#restartPanel { + margin-top: 25px; + -moz-box-pack: end; + -moz-box-align: center; +} + +#continuePanel { + -moz-box-pack: end; +} + +#restartMessage { + text-align: right; +} + +#restartSpacer { + -moz-box-flex: 1; +} + +#later { + color: GrayText; +} diff --git a/src/chrome/mozapps/extensions/rating-not-won.png b/src/chrome/mozapps/extensions/rating-not-won.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/rating-won.png b/src/chrome/mozapps/extensions/rating-won.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/selectAddons.css b/src/chrome/mozapps/extensions/selectAddons.css @@ -0,0 +1,183 @@ +/* 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/. */ + +/* 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/. */ + +#view-deck { + background: Window; +} + +.heading { + font-size: 270%; + text-align: center; + margin: 0 120px; +} + +.progress { + margin: 10px 128px; +} + +.progress-label, +#errors-description { + text-align: center; + margin: 0 10px; +} + +#checking-heading, +#update-heading, +#errors-heading { + margin-top: 90px; +} + +#select-heading, +#confirm-heading { + margin-top: 10px; + margin-bottom: 10px; + text-align: center; +} + +#select-description, +#confirm-description { + margin: 10px; +} + +#select-list { + border-top: 1px solid #D6E5F5; + background-color: Window; +} + +#select-grid column { + -moz-box-align: center; +} + +#select-grid row { + -moz-box-align: stretch; +} + +#select-grid label { + margin-top: 0; + margin-bottom: 0; +} + +.select-cell { + -moz-box-align: center; + -moz-box-pack: start; +} + +#select-header .select-cell { + box-sizing: border-box; +} + +#select-header .select-keep, +#select-header .select-icon, +#select-header .select-name, +#select-header .select-action { + background-image: linear-gradient(#D6E5F5 0%, Window 100%); + background-size: 1px 100%; + background-position: right; + background-repeat: no-repeat; +} + +.select-keep { + -moz-box-pack: center; +} + +.select-icon { + width: 20px; +} + +.select-keep .addon-keep-checkbox { + margin: 0; + padding: 0; + width: 13px; +} + +.select-keep .addon-keep-checkbox:-moz-focusring { + outline: 1px dotted ThreeDDarkShadow; +} + +.select-keep .checkbox-label-box { + display: none; +} + +.addon-name, +.addon-action-message, +.addon-action-update { + box-sizing: border-box; + margin: 0; + padding-top: 1px; + padding-bottom: 2px; + -moz-padding-start: 6px; + -moz-padding-end: 5px; +} + +#select-grid separator { + border-top: 1px solid #D6E5F5; + height: 0; + margin-top: 0.4em; + margin-bottom: 0.4em; +} + +.addon:not([active]) .addon-name, +.addon:not([active]) .addon-action-message, +.addon:not([active]) .addon-action-update { + color: GrayText; +} + +.addon-icon { + height: 16px; + width: 16px; + list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); +} + +.addon-icon[type="theme"] { + list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric-16.png"); +} + +.addon-icon[type="plugin"] { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png"); +} + +.addon-icon[type="dictionary"] { + list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric-16.png"); +} + +.action-list { + margin-top: 10px; + -moz-margin-start: 5em; +} + +.action-header { + margin-bottom: 10px; +} + +#confirm .addon { + -moz-margin-start: 3em; + -moz-box-align: center; +} + +.addon:not([active]) .addon-icon, +#disable-list .addon-icon, +#incompatible-list .addon-icon { + filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); +} + +#footer { + padding: 15px 12px; +} + +.progress-label, +#footer-label { + font-style: italic; + color: GrayText; +} + +@media (-moz-windows-default-theme) { + #footer { + background-color: #f1f5fb; + box-shadow: 0px 1px 2px rgb(204,214,234) inset; + } +} diff --git a/src/chrome/mozapps/extensions/stripes-error.png b/src/chrome/mozapps/extensions/stripes-error.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/stripes-info-negative.png b/src/chrome/mozapps/extensions/stripes-info-negative.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/stripes-info-positive.png b/src/chrome/mozapps/extensions/stripes-info-positive.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/stripes-warning.png b/src/chrome/mozapps/extensions/stripes-warning.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/themeGeneric-16.png b/src/chrome/mozapps/extensions/themeGeneric-16.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/themeGeneric.png b/src/chrome/mozapps/extensions/themeGeneric.png Binary files differ. diff --git a/src/chrome/mozapps/extensions/update.css b/src/chrome/mozapps/extensions/update.css @@ -0,0 +1,26 @@ +/* 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/. */ + +#alert { + list-style-image: url("chrome://mozapps/skin/update/update.png"); +} + +.throbber { + list-style-image: url("chrome://global/skin/icons/loading_16.png"); + width: 16px; + height: 16px; + margin-top: 5px; + margin-bottom: 5px; + -moz-margin-start: 5px; + -moz-margin-end: 2px; +} + +.alertBox { + background-color: InfoBackground; + color: InfoText; + border: 1px outset InfoBackground; + margin-left: 3px; + margin-right: 3px; + padding: 5px; +} diff --git a/src/chrome/mozapps/extensions/utilities.png b/src/chrome/mozapps/extensions/utilities.png Binary files differ. diff --git a/src/chrome/mozapps/handling/handling.css b/src/chrome/mozapps/handling/handling.css @@ -0,0 +1,30 @@ +/* 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/. */ + +#description-image:not([src]) { + height: 32px; + width: 32px; +} + +richlistitem[type] { + min-height: 36px; /* Don't forget to update the richlistbox height! */ + -moz-padding-start: 2px; + } + +richlistitem { + -moz-box-align: center; +} + +richlistbox { + /* 3 items high, plus 4px for top and bottom margins, less 2px for border */ + min-height: 110px; +} + +.name { + font-weight: bold; +} + +.description { + color: GrayText; +} diff --git a/src/chrome/mozapps/passwordmgr/key-16.png b/src/chrome/mozapps/passwordmgr/key-16.png Binary files differ. diff --git a/src/chrome/mozapps/passwordmgr/key-64.png b/src/chrome/mozapps/passwordmgr/key-64.png Binary files differ. diff --git a/src/chrome/mozapps/passwordmgr/key.png b/src/chrome/mozapps/passwordmgr/key.png Binary files differ. diff --git a/src/chrome/mozapps/places/defaultFavicon.png b/src/chrome/mozapps/places/defaultFavicon.png Binary files differ. diff --git a/src/chrome/mozapps/plugins/contentPluginActivate.png b/src/chrome/mozapps/plugins/contentPluginActivate.png Binary files differ. diff --git a/src/chrome/mozapps/plugins/contentPluginBlocked.png b/src/chrome/mozapps/plugins/contentPluginBlocked.png Binary files differ. diff --git a/src/chrome/mozapps/plugins/contentPluginClose.png b/src/chrome/mozapps/plugins/contentPluginClose.png Binary files differ. diff --git a/src/chrome/mozapps/plugins/contentPluginCrashed.png b/src/chrome/mozapps/plugins/contentPluginCrashed.png Binary files differ. diff --git a/src/chrome/mozapps/plugins/contentPluginDisabled.png b/src/chrome/mozapps/plugins/contentPluginDisabled.png Binary files differ. diff --git a/src/chrome/mozapps/plugins/contentPluginDownload.png b/src/chrome/mozapps/plugins/contentPluginDownload.png Binary files differ. diff --git a/src/chrome/mozapps/plugins/contentPluginMissing.png b/src/chrome/mozapps/plugins/contentPluginMissing.png Binary files differ. diff --git a/src/chrome/mozapps/plugins/contentPluginStripe.png b/src/chrome/mozapps/plugins/contentPluginStripe.png Binary files differ. diff --git a/src/chrome/mozapps/plugins/notifyPluginCrashed.png b/src/chrome/mozapps/plugins/notifyPluginCrashed.png Binary files differ. diff --git a/src/chrome/mozapps/plugins/notifyPluginGeneric.png b/src/chrome/mozapps/plugins/notifyPluginGeneric.png Binary files differ. diff --git a/src/chrome/mozapps/plugins/pluginBlocked-64.png b/src/chrome/mozapps/plugins/pluginBlocked-64.png Binary files differ. diff --git a/src/chrome/mozapps/plugins/pluginBlocked.png b/src/chrome/mozapps/plugins/pluginBlocked.png Binary files differ. diff --git a/src/chrome/mozapps/plugins/pluginGeneric-16.png b/src/chrome/mozapps/plugins/pluginGeneric-16.png Binary files differ. diff --git a/src/chrome/mozapps/plugins/pluginGeneric.png b/src/chrome/mozapps/plugins/pluginGeneric.png Binary files differ. diff --git a/src/chrome/mozapps/plugins/pluginHelp-16.png b/src/chrome/mozapps/plugins/pluginHelp-16.png Binary files differ. diff --git a/src/chrome/mozapps/plugins/pluginInstallerWizard.css b/src/chrome/mozapps/plugins/pluginInstallerWizard.css @@ -0,0 +1,12 @@ +#licenseContainer, #pluginList { + -moz-appearance: listbox; + margin: 2px 4px; + border: 2px solid; + -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow; + -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow; + -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow; + -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow; + background-color: -moz-Field; + color: -moz-FieldText; +} + diff --git a/src/chrome/mozapps/plugins/pluginProblem.css b/src/chrome/mozapps/plugins/pluginProblem.css @@ -0,0 +1,212 @@ +/* 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/. */ + +@namespace html url(http://www.w3.org/1999/xhtml); + +/* These styles affect only the bound element, not other page content. */ +/* Keep any changes to these styles in sync with plugin-doorhanger.inc.css */ +.mainBox { + font: message-box; + font-size: 12px; + text-align: center; + display: table; + width: 100%; + height: 100%; + background-color: rgb(72,72,72); + color: white; + -moz-user-select: none; + position: relative; +} + +.hoverBox { + display: table-cell; + -moz-box-sizing: border-box; + padding: 5px; + vertical-align: middle; + width: 100%; + height: 100%; +} +:-moz-handler-vulnerable-updatable .hoverBox:active, +:-moz-handler-vulnerable-no-update .hoverBox:active, +:-moz-handler-clicktoplay .hoverBox:active { + background-color: rgb(65, 65, 65); +} + +:-moz-handler-clicktoplay .hoverBox:active .msgTapToPlay, +:-moz-handler-clicktoplay .hoverBox:active .msgClickToPlay, +:-moz-handler-vulnerable-updatable .hoverBox:active .msgTapToPlay, +:-moz-handler-vulnerable-updatable .hoverBox:active .msgClickToPlay, +:-moz-handler-vulnerable-no-update .hoverBox:active .msgTapToPlay, +:-moz-handler-vulnerable-no-update .hoverBox:active .msgClickToPlay { + color: red; +} + +:-moz-handler-vulnerable-updatable .hoverBox, +:-moz-handler-vulnerable-no-update .hoverBox, +:-moz-handler-blocked .hoverBox, +:-moz-handler-crashed .hoverBox { + background-image: url(chrome://mozapps/skin/plugins/contentPluginStripe.png); +} + +html|a { + color: white; +} + +.icon { + width: 48px; + height: 48px; + background-position: center; + background-repeat: no-repeat; + border: none; + background-color: transparent; + -moz-user-focus: ignore; + margin-bottom: 6px; +} + +:-moz-type-unsupported .icon, +:-moz-type-unsupported-platform .icon { + background-image: url(chrome://mozapps/skin/plugins/contentPluginMissing.png); +} +:-moz-type-unsupported .icon[installable] { + background-image: url(chrome://mozapps/skin/plugins/contentPluginDownload.png); +} +:-moz-handler-vulnerable-updatable .icon, +:-moz-handler-vulnerable-no-update .icon { + background-image: url(chrome://mozapps/skin/plugins/contentPluginBlocked.png); + -moz-user-focus: normal; +} +:-moz-handler-blocked .icon { + background-image: url(chrome://mozapps/skin/plugins/contentPluginBlocked.png); +} +:-moz-handler-clicktoplay .icon { + background-image: url(chrome://mozapps/skin/plugins/contentPluginActivate.png); + -moz-user-focus: normal; +} +:-moz-handler-disabled .icon { + background-image: url(chrome://mozapps/skin/plugins/contentPluginDisabled.png); +} +:-moz-handler-crashed .icon { + background-image: url(chrome://mozapps/skin/plugins/contentPluginCrashed.png); +} + +.throbber { + padding-left: 16px; /* width of the background image */ + background: url(chrome://global/skin/icons/loading_16.png) no-repeat; + margin-left: 5px; +} + +.msgTapToPlay, +.msgClickToPlay { + text-decoration: underline; +} + +@media not all and (-moz-touch-enabled) { + :-moz-handler-clicktoplay .msgTapToPlay { + display: none; + } +} + +@media (-moz-touch-enabled) { + :-moz-handler-clicktoplay .msgClickToPlay { + display: none; + } +} + +.submitStatus div { + min-height: 19px; /* height of biggest line (with throbber) */ +} + +.submitComment { + width: 340px; + height: 70px; + padding: 5px; + border: none; + border-radius: 5px; + resize: none; + font-family: inherit; + font-size: inherit; +} + +.submitURLOptInBox { + text-align: start; +} + +.submitURLOptIn { + margin-left: -1px; +} + +.mainBox[chromedir="rtl"] .submitURLOptIn { + margin-left: 0; + margin-right: -1px; +} + +.submitButtonBox { + margin-top: 7px; +} + +.submitButton { + float: right; +} + +.mainBox[chromedir="rtl"] .submitButton { + float: left; +} + +.helpIcon { + display: inline-block; + min-width: 16px; + min-height: 16px; + background: url(chrome://mozapps/skin/plugins/pluginHelp-16.png) no-repeat; + cursor: pointer; + float: left; +} + +.mainBox[chromedir="rtl"] .helpIcon { + float: right; +} + +.closeIcon { + display: block; + position: absolute; + width: 16px; + height: 16px; + top: 4px; + right: 4px; + border: none; + background-color: transparent; + background-image: url("chrome://mozapps/skin/plugins/contentPluginClose.png"); + background-repeat: no-repeat; +} + +.mainBox[chromedir="rtl"] .closeIcon { + right: auto; + left: 4px; +} + +.closeIcon:hover { + background-position: -16px 0; +} + +.closeIcon:hover:active { + background-position: -32px 0; +} + +.action-link { + display: inline-block; + border-radius: 10px; + background-color: rgb(35, 35, 35); + padding: 2px 8px; + margin-top: 7px; + text-decoration: none; +} +.action-link:active { + background-color: rgb(20, 20, 20); +} + +:-moz-handler-vulnerable-updatable .action-link { + background-color: #a81b0c; +} +:-moz-handler-vulnerable-updatable .action-link:active { + background-color: #801409; +} diff --git a/src/chrome/mozapps/profile/profileSelection.css b/src/chrome/mozapps/profile/profileSelection.css @@ -0,0 +1,25 @@ +/* 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://global/skin/global.css"); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +#profiles > listitem { + list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); +} + +#profiles > listitem > listcell > image { + width: 16px; + height: 16px; +} + +box#managebuttons > button { + min-width: 8em; +} + +#managebuttons { + padding-top: 1em; +} diff --git a/src/chrome/mozapps/profile/profileicon.png b/src/chrome/mozapps/profile/profileicon.png Binary files differ. diff --git a/src/chrome/mozapps/update/downloadButtons.png b/src/chrome/mozapps/update/downloadButtons.png Binary files differ. diff --git a/src/chrome/mozapps/update/updates.css b/src/chrome/mozapps/update/updates.css @@ -0,0 +1,178 @@ +/* General */ +/* Specify the size for the wizardpage so the billboard has a fixed size. 3rd + party themes should typically specify the same values. */ +wizardpage { + height: 360px; + width: 700px; +} + +/* Remove margin and padding so the billboard will extend to the edge of the + window. 3rd party themes should typically specify the same values. */ +#updates, .wizard-page-box { + margin: 0; + padding: 0; +} + +.update-header { + padding: 0px 10px; +} + +.update-content { + padding: 10px; +} + +.loadingBox { + padding: 3px 5px 3px 5px; +} + +.remoteLoadingThrobber { + margin-top: 3px; +} + +.remoteLoadingThrobber[state="loading"] { + list-style-image: url("chrome://global/skin/icons/loading_16.png"); +} + +.remoteLoadingThrobber[state="error"] { + list-style-image: url("chrome://global/skin/icons/information-16.png"); +} + +.wizard-buttons-separator { + margin-top: 0 !important; +} + +#licenseContent, #incompatibleListbox { + -moz-margin-start: 6px; + -moz-margin-end: 6px; +} + +.inline-link { + color: -moz-nativehyperlinktext; + text-decoration: none; +} + +.inline-link:hover { + text-decoration: underline; +} + +/* Unsupported Page */ +#unsupportedLabel, #unsupportedLinkLabel { + -moz-margin-start: 0; + -moz-padding-start: 0; +} + +/* Update Found Basic Page */ +#updateName, #updateFinishedName { + font-weight: bold; + font-size: larger; +} + +/* License Page */ +#licenseContent { + -moz-appearance: listbox; +} + +/* Incompatible List Page */ +#incompatibleListbox { + margin-bottom: 6px; +} + +/* Downloading Page */ +#downloadStatusLine { + -moz-box-align: center; +} + +#downloadStatus { + height: 3em !important; +} + +#downloadStatusProgress { + padding-right: 5px; +} + +#pauseButton { + list-style-image: url(chrome://mozapps/skin/update/downloadButtons.png); + -moz-image-region: rect(0px, 48px, 16px, 32px); + -moz-appearance: none; + background-color: transparent; + border: none; + min-width: 0; + min-height: 0; + margin: 0; + padding: 0; +} + +/* !Important must be used otherwise this won't immediately take affect */ +#pauseButton > .button-box { + padding: 0 !important; +} + +#pauseButton:hover { + -moz-image-region: rect(16px, 48px, 32px, 32px); +} + +#pauseButton:active { + -moz-image-region: rect(32px, 48px, 48px, 32px); +} + +#pauseButton[disabled="true"] { + -moz-image-region: rect(48px, 48px, 64px, 32px); +} + +#pauseButton[paused="true"] { + -moz-image-region: rect(0px, 16px, 16px, 0px); +} + +#pauseButton[paused="true"]:hover { + -moz-image-region: rect(16px, 16px, 32px, 0px); +} + +#pauseButton[paused="true"]:active { + -moz-image-region: rect(32px, 16px, 48px, 0px); +} + +#pauseButton[paused="true"][disabled="true"] { + -moz-image-region: rect(48px, 16px, 64px, 0px); +} + +#verificationFailedIcon { + margin-left: 5px; + list-style-image: url("chrome://global/skin/icons/notfound.png"); +} + +/* Error Page */ +#errorReason { + margin-top: 1px; + margin-bottom: 2px; + -moz-margin-start: 6px !important; + -moz-margin-end: 5px; + font-weight: bold; +} + +/* Update History Window */ +update { + border-bottom: 1px dotted #C0C0C0; +} + +.update-name { + font-weight: bold; +} + +.update-label-column { + -moz-box-align: end; +} + +.update-type { + font-weight: bold; + color: #990000; +} + +#historyItems { + -moz-appearance: listbox; + height: 200px; + margin: 1px 5px 4px 5px; +} + +#historyItems > scrollbox { + margin-bottom: 1px; +} diff --git a/src/chrome/mozapps/viewsource/viewsource.css b/src/chrome/mozapps/viewsource/viewsource.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/. */ + +/* This is for styling the menus of the viewsource window */ diff --git a/src/chrome/mozapps/xpinstall/xpinstallConfirm.css b/src/chrome/mozapps/xpinstall/xpinstallConfirm.css @@ -0,0 +1,95 @@ +/* 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/. */ + +#xpinstallheader { + margin-bottom: 2em; +} + +#itemList { + -moz-appearance: none; + margin: 3px 4px 10px 4px; + height: 14em; + border: 1px solid rgb(75,75,75); + background-color: rgb(50,50,50); + color: #fff; +} + +#itemWarningIntro { + -moz-margin-start: 8px; +} + +#dialogContentBox { + padding: 5px; +} + +installitem { + padding-top: 5px; + padding-bottom: 5px; + -moz-padding-start: 5px; + -moz-padding-end: 0; + border-bottom: 1px dotted rgb(75,75,75); + margin-bottom: 5px; +} + +.alert-icon { + list-style-image: url("chrome://global/skin/icons/warning-large.png"); + width: 48px; + height: 48px; + -moz-margin-end: 20px; +} + +.warning { + font-weight: bold; + font-size: 1.25em; + margin-bottom: 1em; +} + +.xpinstallIconContainer { + width: 32px; + height: 32px; + -moz-margin-end: 5px; +} + +.xpinstallItemName { + font-weight: bold; +} + +.xpinstallItemSigned { + font-style: italic; + font-size: 0.9em; +} + +.xpinstallItemURL { + -moz-appearance: none; + border: none; + padding: 0; + background-color: rgb(50,50,50); + color: #fff; + margin-top: 1px; + margin-bottom: 1px; + -moz-margin-start: 6px; + -moz-margin-end: 5px; +} + +.xpinstallItemIcon { + max-width: 32px; + max-height: 32px; + list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); +} + +installitem[type="theme"] .xpinstallItemIcon { + list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); +} + +installitem[type="locale"] .xpinstallItemIcon { + list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png"); +} + +installitem[type="plugin"] .xpinstallItemIcon { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); +} + +installitem[type="dictionary"] .xpinstallItemIcon { + list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric.png"); +} diff --git a/src/chrome/mozapps/xpinstall/xpinstallItemGeneric.png b/src/chrome/mozapps/xpinstall/xpinstallItemGeneric.png Binary files differ. diff --git a/src/chrome/ostarget/aero/browser.css b/src/chrome/ostarget/aero/browser.css @@ -0,0 +1,426 @@ +@import url("chrome://global/skin/"); +@import url("chrome://appver/skin/browser.css"); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + + +@media not all and (-moz-windows-compositor) { + #main-window[sizemode="normal"] > #titlebar { + -moz-appearance: none !important; + } + + #main-window[tabsintitlebar] #titlebar { + visibility: hidden; + } + #main-window[tabsintitlebar] #titlebar-content { + -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox"); + visibility: visible; + } +} + +@media (-moz-windows-compositor) { + #main-menubar { + background-color: transparent; + } +} + +/* ::::: titlebar ::::: */ + +#main-window[sizemode="normal"] > #titlebar { + -moz-appearance: -moz-window-titlebar; +} + +#main-window[sizemode="maximized"] > #titlebar { + -moz-appearance: -moz-window-titlebar-maximized; +} + +@media all and (-moz-windows-classic) { + #main-window[sizemode="normal"] > #titlebar > #titlebar-content > #appmenu-button-container { + margin-top: 4px; + } +} + +#titlebar-buttonbox { + -moz-appearance: -moz-window-button-box; +} + +#main-window[sizemode="maximized"] #titlebar-buttonbox { + -moz-appearance: -moz-window-button-box-maximized; +} + +.titlebar-placeholder[type="appmenu-button"] { + margin-left: 4px; +} + +.titlebar-placeholder[type="caption-buttons"] { + margin-left: 22px; +} + + + +#titlebar-min { + -moz-appearance: -moz-window-button-minimize; +} + +#titlebar-max { + -moz-appearance: -moz-window-button-maximize; +} + +#main-window[sizemode="maximized"] #titlebar-max { + -moz-appearance: -moz-window-button-restore; +} + +#titlebar-close { + -moz-appearance: -moz-window-button-close; +} + +@media not all and (-moz-windows-classic) { + #titlebar-min { + -moz-margin-end: 2px; + } +} + +/* ::::: bookmark buttons ::::: */ + +toolbarbutton.bookmark-item { + margin: 0; + padding: 2px 3px; +} + +toolbarbutton.bookmark-item:hover:active:not([disabled="true"]), +toolbarbutton.bookmark-item[open="true"] { + padding-top: 3px; + padding-bottom: 1px; + -moz-padding-start: 4px; + -moz-padding-end: 2px; +} + +.bookmark-item:not(#bookmarks-menu-button) > .toolbarbutton-icon { + width: 16px; + height: 16px; +} + + +.bookmark-item > .toolbarbutton-text { + display: -moz-box !important; +} + +.bookmark-item > .toolbarbutton-menu-dropmarker { + display: none; +} + +#wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box { + width: 16px; + height: 16px; + background: url("chrome://browser/skin/places/bookmarksToolbar.png") no-repeat center; +} + +.bookmarks-toolbar-customize { + max-width: 15em !important; + list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important; +} + +/* ::::: bookmark menus ::::: */ + +menu.bookmark-item, +menuitem.bookmark-item { + min-width: 0; + max-width: 32em; +} + +.bookmark-item > .menu-iconic-left { + margin-top: 0; + margin-bottom: 0; +} + +.bookmark-item > .menu-iconic-left > .menu-iconic-icon { + -moz-padding-start: 0px; +} + +/* ::::: primary toolbar buttons ::::: */ +/* ::::: fullscreen window controls ::::: */ + +#TabsToolbar > #window-controls { + -moz-margin-start: 4px; +} + +#minimize-button, +#restore-button, +#close-button { + list-style-image: url("chrome://global/skin/icons/windowControls.png"); + padding: 0; +} + +#minimize-button { + -moz-image-region: rect(0, 16px, 16px, 0); +} +#minimize-button:hover { + -moz-image-region: rect(16px, 16px, 32px, 0); +} +#minimize-button:hover:active { + -moz-image-region: rect(32px, 16px, 48px, 0); +} +#restore-button { + -moz-image-region: rect(0, 32px, 16px, 16px); +} +#restore-button:hover { + -moz-image-region: rect(16px, 32px, 32px, 16px); +} +#restore-button:hover:active { + -moz-image-region: rect(32px, 32px, 48px, 16px); +} +#close-button { + -moz-image-region: rect(0, 48px, 16px, 32px); + -moz-appearance: none; + border-style: none; + margin: 2px; +} +#close-button:hover { + -moz-image-region: rect(16px, 48px, 32px, 32px); +} +#close-button:hover:active { + -moz-image-region: rect(32px, 48px, 48px, 32px); +} + +/* ::::: throbber ::::: */ +#TabsToolbar { + min-height: 0; + padding: 0; +} + +#TabsToolbar:not(:-moz-lwtheme), +#TabsToolbar[tabsontop=false] { + background-image: -moz-linear-gradient(bottom, rgba(10%,10%,10%,.4) 1px, rgba(0,0,0,0) 1px, transparent); +} + +#main-window[chromemargin][tabsontop=true] #TabsToolbar { + background: transparent; +} + +@media not all and (-moz-windows-classic) { + #main-window[sizemode="normal"] > #titlebar > #titlebar-content > #appmenu-button-container { + margin-top: 1px; + } + + #appmenu-button { + border-width: 2px; + -moz-border-left-colors: rgba(255,255,255,.5) rgba(83,42,6,.9); + -moz-border-bottom-colors: rgba(255,255,255,.5) rgba(83,42,6,.9); + -moz-border-right-colors: rgba(255,255,255,.5) rgba(83,42,6,.9); + margin-bottom: 1px; + box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, + 0 0 2px 1px rgba(255,255,255,.25) inset; + } + + #main-window[privatebrowsingmode=temporary] #appmenu-button { + -moz-border-left-colors: rgba(255,255,255,.5) rgba(43,8,65,.9); + -moz-border-bottom-colors: rgba(255,255,255,.5) rgba(43,8,65,.9); + -moz-border-right-colors: rgba(255,255,255,.5) rgba(43,8,65,.9); + } + + #appmenu-popup { + margin-top: -1px; + -moz-margin-start: 1px; + } +} + +@media all and (-moz-windows-default-theme) { + #navigator-toolbox > toolbar:not(:-moz-lwtheme), + #addon-bar:not(:-moz-lwtheme) { + background-color: rgb(43,43,43); + } + + + + #sidebar-splitter { + border: 0; + -moz-border-end: 1px solid #A9B7C9; + min-width: 0; + width: 3px; + background-color: transparent; + -moz-margin-start: -3px; + position: relative; + } +} + +@media all and (-moz-windows-compositor) { + @media (-moz-os-version: windows-vista), + (-moz-os-version: windows-win7), + (-moz-os-version: windows-win8) { + #toolbar-menubar:not(:-moz-lwtheme), + #TabsToolbar[tabsontop=true]:not(:-moz-lwtheme), + #nav-bar[tabsontop=false]:not(:-moz-lwtheme), + #nav-bar + #customToolbars + #PersonalToolbar[collapsed=true] + #TabsToolbar[tabsontop=false]:last-child:not(:-moz-lwtheme) { + text-shadow: 0 0 .5em white, 0 0 .5em white, 0 1px 0 rgba(255,255,255,.4); + } + + #main-menubar:not(:-moz-lwtheme):not(:-moz-window-inactive) { + background-color: rgba(255,255,255,.5); + border-radius: 4px; + } + } + + #main-window[sizemode=fullscreen]:not(:-moz-lwtheme) { + -moz-appearance: none; + background-color: #556; + } + + + #toolbar-menubar:not(:-moz-lwtheme), + #TabsToolbar[tabsontop=true]:not(:-moz-lwtheme), + #navigator-toolbox[tabsontop=false] > #nav-bar:not(:-moz-lwtheme), + #nav-bar + #customToolbars + #PersonalToolbar[collapsed=true] + #TabsToolbar[tabsontop=false]:last-child:not(:-moz-lwtheme) { + background-color: transparent !important; + color: black; + border-left-style: none !important; + border-right-style: none !important; + } + + /* Show toolbar borders on vista through win8, but not on win10 and later: */ + @media (-moz-os-version: windows-vista), + (-moz-os-version: windows-win7), + (-moz-os-version: windows-win8) { + /* Vertical toolbar border */ + #main-window[sizemode=normal] #navigator-toolbox::after, + #main-window[sizemode=normal] #navigator-toolbox[tabsontop=true] > toolbar:not(#toolbar-menubar):not(#TabsToolbar), + #main-window[sizemode=normal] #navigator-toolbox[tabsontop=false] > toolbar:not(#toolbar-menubar):not(#nav-bar) { + border-left: 1px solid hsla(0,0%,12%,0.25); + border-right: 1px solid hsla(0,0%,12%,0.25); + background-clip: padding-box; + } + + #main-window[sizemode=normal] #navigator-toolbox > toolbar:-moz-lwtheme { + border-color: transparent !important; + } + #main-window[sizemode=normal] #browser-border-start, + #main-window[sizemode=normal] #browser-border-end { + display: -moz-box; + background-color: hsla(0,0%,12%,0.25); + width: 1px; + } + #main-window[sizemode=normal] #browser-bottombox { + border: 1px solid hsla(0,0%,12%,0.25); + border-top-style: none; + } + } + + /* Round top corners on Vista/7/8, but not Win10 because it's flush against the window edge */ + @media (-moz-os-version: windows-vista), + (-moz-os-version: windows-win7), + (-moz-os-version: windows-win8) { + #main-window[sizemode=normal][tabsontop=false] #PersonalToolbar:not(:-moz-lwtheme) { + border-top-left-radius: 3.5px; + border-top-right-radius: 3.5px; + } + + #main-window[sizemode=normal][tabsontop=true] #nav-bar:not(:-moz-lwtheme), + #main-window[sizemode=normal][tabsontop=true] > #nav-bar[collapsed=true]:not([customizing]) + toolbar:not(:-moz-lwtheme), + #main-window[sizemode=normal][tabsontop=true] > #nav-bar[collapsed=true]:not([customizing]) + #customToolbars + #PersonalToolbar:not(:-moz-lwtheme) { + border-top-left-radius: 2px; + border-top-right-radius: 2px; + } + } + + + #main-window[sizemode=normal][tabsontop=true] #nav-bar:not(:-moz-lwtheme), + #main-window[sizemode=normal][tabsontop=true] > #nav-bar[collapsed=true]:not([customizing]) + toolbar:not(:-moz-lwtheme), + #main-window[sizemode=normal][tabsontop=true] > #nav-bar[collapsed=true]:not([customizing]) + #customToolbars + #PersonalToolbar:not(:-moz-lwtheme) { + border-top: 1px solid rgba(75,75,75,1); + background-clip: padding-box; + } + #main-window[sizemode=normal]:not([disablechrome]) #TabsToolbar[tabsontop=true]:not(:-moz-lwtheme) { + margin-bottom: -1px; + background-image: none !important; + } + #main-window[sizemode=normal]:not([disablechrome]) #tabbrowser-tabs[tabsontop=true] > .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox > .scrollbox-innerbox:not(:-moz-lwtheme) { + position: relative; + } + + #navigator-toolbox[tabsontop=false] > #PersonalToolbar { + margin-top: 3px; + } + #navigator-toolbox[tabsontop=false] > #PersonalToolbar:not(:-moz-lwtheme) { + margin-top: 2px; + border-top: 1px solid rgb(50,50,50); + } + + #main-window[sizemode=normal] #TabsToolbar[tabsontop=true] { + padding-left: 4px; + padding-right: 4px; + } + + #main-window[sizemode=normal] #TabsToolbar[tabsontop=false] { + padding-left: 2px; + padding-right: 2px; + } + + + #toolbar-menubar:not([autohide="true"]), + #TabsToolbar[tabsontop="true"], + #navigator-toolbox[tabsontop="false"] > #nav-bar, + #nav-bar + #customToolbars + #PersonalToolbar[collapsed="true"] + #TabsToolbar[tabsontop="false"]:last-child, + #navigator-toolbox > toolbar:not(#toolbar-menubar):-moz-lwtheme { + -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar-drag"); + } + + #appcontent:not(:-moz-lwtheme) { + background-color: -moz-dialog; + } + + #browser-bottombox:not(:-moz-lwtheme) { + background-color: rgb(38,38,38); + background-clip: padding-box; + } + + @media (-moz-os-version: windows-vista), + (-moz-os-version: windows-win7), + (-moz-os-version: windows-win8) { + #main-window[sizemode=normal] #browser-bottombox:not(:-moz-lwtheme), + #main-window[sizemode=normal] #addon-bar:not(:-moz-lwtheme) { + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + } + } + + #addon-bar:not(:-moz-lwtheme) { + -moz-appearance: none; + border-bottom-style: none; + } + + .tabbrowser-tab:not(:-moz-lwtheme) { + text-shadow: none; + } + + #main-window[sizemode=normal] .statuspanel-inner { + + padding-left: 1px; + padding-right: 1px; + } + + #allTabs-panel, + #ctrlTab-panel { + background: transparent; + -moz-appearance: -moz-win-glass; + border-radius: 0; + border: none; + font: normal 1.2em "Segoe UI"; + color: black; + text-shadow: white -1px -1px .35em, white -1px 1px .35em, white 1px 1px .35em, white 1px -1px .35em; + } + + #tab-view:-moz-lwtheme { + background-image: url("chrome://browser/skin/tabview/grain.png"), + -moz-linear-gradient(rgba(255,255,255,0), #CCD9EA 200px, #C7D5E7); + background-attachment: fixed; + } +} + +@media not all and (-moz-windows-compositor) { + #toolbar-menubar:not([autohide=true]):not(:-moz-lwtheme):-moz-system-metric(windows-default-theme), + #TabsToolbar[tabsontop=true]:not(:-moz-lwtheme):-moz-system-metric(windows-default-theme), + #navigator-toolbox[tabsontop=false] > toolbar:not(#toolbar-menubar):not(:-moz-lwtheme):-moz-system-metric(windows-default-theme) { + -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar-drag"); + background-color: transparent; + } +} diff --git a/src/chrome/ostarget/general/KUI-background.png b/src/chrome/ostarget/general/KUI-background.png Binary files differ. diff --git a/src/chrome/ostarget/general/KUI-close.png b/src/chrome/ostarget/general/KUI-close.png Binary files differ. diff --git a/src/chrome/ostarget/general/appmenu-dropmarker.png b/src/chrome/ostarget/general/appmenu-dropmarker.png Binary files differ. diff --git a/src/chrome/ostarget/general/appmenu-icons.png b/src/chrome/ostarget/general/appmenu-icons.png Binary files differ. diff --git a/src/chrome/ostarget/general/browser.css b/src/chrome/ostarget/general/browser.css @@ -0,0 +1,234 @@ +@import url("chrome://global/skin/"); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + + +#main-window[tabsintitlebar] #titlebar { + visibility: hidden; +} +#main-window[tabsintitlebar] #titlebar-content { + -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox"); + visibility: visible; +} + +/* ::::: titlebar ::::: */ + +#main-window[sizemode="normal"] > #titlebar { + -moz-appearance: none; +} + +#main-window[sizemode="maximized"] > #titlebar { + -moz-appearance: -moz-window-titlebar-maximized; +} + +#main-window[sizemode="maximized"][tabsintitlebar] > #titlebar { + -moz-appearance: none; + min-height: 26px; + margin-top: 4px; +} + + +@media all and (-moz-windows-classic) { + #main-window[sizemode="normal"] > #titlebar > #titlebar-content > #appmenu-button-container { + margin-top: 4px; + } +} + +#titlebar-buttonbox { + -moz-appearance: -moz-window-button-box; +} + +#main-window[sizemode="maximized"] #titlebar-buttonbox { + -moz-appearance: -moz-window-button-box-maximized; +} + +.titlebar-placeholder[type="appmenu-button"] { + margin-left: 4px; +} + +.titlebar-placeholder[type="caption-buttons"] { + margin-left: 10px; +} + + +#main-window[tabsintitlebar] #titlebar-min, #minimize-button { + -moz-appearance: none !important; + background: url("chrome://browser/skin/min-btn.png") left no-repeat; + width: 25px; + height: 25px; + border: none; + margin-right: 0; +} + +#main-window[tabsintitlebar] #titlebar-max, #restore-button { + -moz-appearance: none !important; + background: url("chrome://browser/skin/max-btn.png") left no-repeat; + width: 25px; + height: 25px; + border: none; +} + +#main-window[tabsintitlebar] #titlebar-close, #close-button { + -moz-appearance: none !important; + background: url("chrome://browser/skin/close-btn.png") left no-repeat; + width: 25px; + height: 25px; + border: none; +} + +#main-window[tabsintitlebar] #titlebar-min:hover, #main-window[tabsintitlebar] #titlebar-max:hover, #main-window[tabsintitlebar] #titlebar-close:hover, +#minimize-button:hover, #restore-button:hover, #close-button:hover { + background-position: center; +} + +#main-window[tabsintitlebar] #titlebar-min:active, #main-window[tabsintitlebar] #titlebar-max:active, #main-window[tabsintitlebar] #titlebar-close:active, +#minimize-button:hover, #restore-button:hover, #close-button:active { + background-position: right; +} + +#minimize-button, #restore-button, #close-button { + padding: 0; + margin-top: -1px; +} + + + +#titlebar-min { + -moz-appearance: -moz-window-button-minimize; +} + +#titlebar-max { + -moz-appearance: -moz-window-button-maximize; +} + +#main-window[sizemode="maximized"] #titlebar-max { + -moz-appearance: -moz-window-button-restore; +} + +#titlebar-close { + -moz-appearance: -moz-window-button-close; +} + +@media not all and (-moz-windows-classic) { + #titlebar-min { + -moz-margin-end: 2px; + } +} + +/* ::::: bookmark buttons ::::: */ + +toolbarbutton.bookmark-item { + margin: 0; + padding: 2px 3px; +} + +toolbarbutton.bookmark-item:hover:active:not([disabled="true"]), +toolbarbutton.bookmark-item[open="true"] { + padding-top: 3px; + padding-bottom: 1px; + -moz-padding-start: 4px; + -moz-padding-end: 2px; +} + +.bookmark-item:not(#bookmarks-menu-button) > .toolbarbutton-icon { + width: 16px; + height: 16px; +} + + +.bookmark-item > .toolbarbutton-text { + display: -moz-box !important; +} + +.bookmark-item > .toolbarbutton-menu-dropmarker { + display: none; +} + +#wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box { + width: 16px; + height: 16px; + background: url("chrome://browser/skin/places/bookmarksToolbar.png") no-repeat center; +} + +.bookmarks-toolbar-customize { + max-width: 15em !important; + list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important; +} + +/* ::::: bookmark menus ::::: */ + +menu.bookmark-item, +menuitem.bookmark-item { + min-width: 0; + max-width: 32em; +} + +.bookmark-item > .menu-iconic-left { + margin-top: 0; + margin-bottom: 0; +} + +.bookmark-item > .menu-iconic-left > .menu-iconic-icon { + -moz-padding-start: 0px; +} + +/* ::::: fullscreen window controls ::::: */ +#TabsToolbar > #window-controls { + -moz-margin-start: 4px; +} + +#minimize-button, +#restore-button, +#close-button { + list-style-image: url("chrome://global/skin/icons/windowControls.png"); + padding: 0; +} + +#minimize-button { + -moz-image-region: rect(0, 16px, 16px, 0); +} +#minimize-button:hover { + -moz-image-region: rect(16px, 16px, 32px, 0); +} +#minimize-button:hover:active { + -moz-image-region: rect(32px, 16px, 48px, 0); +} +#restore-button { + -moz-image-region: rect(0, 32px, 16px, 16px); +} +#restore-button:hover { + -moz-image-region: rect(16px, 32px, 32px, 16px); +} +#restore-button:hover:active { + -moz-image-region: rect(32px, 32px, 48px, 16px); +} +#close-button { + -moz-image-region: rect(0, 48px, 16px, 32px); + -moz-appearance: none; + border-style: none; + margin: 2px; +} +#close-button:hover { + -moz-image-region: rect(16px, 48px, 32px, 32px); +} +#close-button:hover:active { + -moz-image-region: rect(32px, 48px, 48px, 32px); +} + +/* ::::: throbber ::::: */ +#TabsToolbar { + min-height: 0; + padding: 0; +} + +#main-window[chromemargin][tabsontop=true] #TabsToolbar { + background: transparent; +} + +@media all and (-moz-windows-default-theme) { + #main-window[sizemode=normal] #TabsToolbar:not([inFullscreen]) { + padding-left: 2px; + padding-right: 2px; + } +} diff --git a/src/chrome/ostarget/general/tabbrowser/tab.png b/src/chrome/ostarget/general/tabbrowser/tab.png Binary files differ. diff --git a/src/icon.png b/src/icon.png Binary files differ. diff --git a/src/install.rdf b/src/install.rdf @@ -0,0 +1,30 @@ +<?xml version="1.0"?> + +<!-- This Source Code is subject to the terms of the Mozilla Public License + - version 2.0 (the "License"). You can obtain a copy of the License at + - http://mozilla.org/MPL/2.0/. --> + +<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:em="http://www.mozilla.org/2004/em-rdf#"> + + <Description about="urn:mozilla:install-manifest"> + <em:id>darkmoon@lootyhoof-pm</em:id> + <em:version>1.0.0b2</em:version> + <em:name>Dark Moon</em:name> + <em:description>The ultimate dark experience.</em:description> + <em:creator>Lootyhoof</em:creator> + <em:type>4</em:type> + <em:internalName>darkmoon</em:internalName> + + <em:contributor>Louis Chan</em:contributor> + + <em:targetApplication> + <Description> + <!-- Pale Moon --> + <em:id>{8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}</em:id> + <em:minVersion>25.6.0</em:minVersion> + <em:maxVersion>26.*</em:maxVersion> + </Description> + </em:targetApplication> + </Description> +</RDF>