diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-05-25 20:45:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-25 20:45:48 +0000 |
commit | 72bab89cf6c77c9ee95a977c306e6ce317b84835 (patch) | |
tree | ca3fcaa2a72700b85221b2fe75bb7d46d5d424ce /browser/themes/windows | |
parent | d5459982f0d1bab08b751dc140c4cbe047032617 (diff) | |
download | UXP-72bab89cf6c77c9ee95a977c306e6ce317b84835.tar UXP-72bab89cf6c77c9ee95a977c306e6ce317b84835.tar.gz UXP-72bab89cf6c77c9ee95a977c306e6ce317b84835.tar.lz UXP-72bab89cf6c77c9ee95a977c306e6ce317b84835.tar.xz UXP-72bab89cf6c77c9ee95a977c306e6ce317b84835.zip |
Revert "Remove the Social API"
Diffstat (limited to 'browser/themes/windows')
-rw-r--r-- | browser/themes/windows/browser.css | 75 | ||||
-rw-r--r-- | browser/themes/windows/customizableui/panelUI.css | 8 | ||||
-rw-r--r-- | browser/themes/windows/jar.mn | 2 |
3 files changed, 85 insertions, 0 deletions
diff --git a/browser/themes/windows/browser.css b/browser/themes/windows/browser.css index b364dbc36..a0cdabfb2 100644 --- a/browser/themes/windows/browser.css +++ b/browser/themes/windows/browser.css @@ -1784,6 +1784,81 @@ html|span.ac-emphasize-text-url { -moz-image-region: rect(0, 48px, 16px, 32px); } +/* social share panel */ +%include ../shared/social/social.inc.css + +.social-panel-frame { + border-radius: inherit; +} + +.social-share-frame { + min-width: 756px; + height: 150px; +} +#share-container { + min-width: 756px; + background-color: white; + background-repeat: no-repeat; + background-position: center center; +} +#share-container[loading] { + background-image: url(chrome://browser/skin/tabbrowser/pendingpaint.png); +} +#share-container > browser { + transition: opacity 150ms ease-in-out; + opacity: 1; +} +#share-container[loading] > browser { + opacity: 0; +} + +.social-share-toolbar { + border-bottom: 1px solid #e2e5e8; + padding: 2px; +} + +#social-share-provider-buttons { + padding: 0; + margin: 0; +} + +.share-provider-button { + padding: 5px; + margin: 2px; +} + +.share-provider-button > .toolbarbutton-text { + display: none; +} +.share-provider-button > .toolbarbutton-icon { + width: 16px; + min-height: 16px; + max-height: 16px; +} + +#social-share-panel { + min-height: 100px; + min-width: 766px; +} + +#share-container, +.social-share-frame { + border-top-left-radius: 0; + border-bottom-left-radius: inherit; + border-top-right-radius: 0; + border-bottom-right-radius: inherit; +} + +#social-share-panel > .social-share-toolbar { + border-top-left-radius: inherit; + border-top-right-radius: inherit; +} + +#social-share-provider-buttons { + border-top-left-radius: inherit; + border-top-right-radius: inherit; +} + /* bookmarks menu-button */ #nav-bar #bookmarks-menu-button[cui-areatype="toolbar"]:not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { diff --git a/browser/themes/windows/customizableui/panelUI.css b/browser/themes/windows/customizableui/panelUI.css index a01a2f3e3..189a163f3 100644 --- a/browser/themes/windows/customizableui/panelUI.css +++ b/browser/themes/windows/customizableui/panelUI.css @@ -97,6 +97,14 @@ menuitem[type="checkbox"].subviewbutton { padding-inline-start: 0; } +/* subviewbutton entries for social sidebars have images that come from external +/* sources, and are not guaranteed to be the size we want, so force the size on +/* those icons. */ +toolbarbutton.social-provider-menuitem > .toolbarbutton-icon { + width: 16px; + height: 16px; +} + .subviewbutton:-moz-any([image],[targetURI],.cui-withicon, .restoreallitem, .bookmark-item)[checked="true"] > .toolbarbutton-icon { visibility: hidden; } diff --git a/browser/themes/windows/jar.mn b/browser/themes/windows/jar.mn index e8db7eed2..410148645 100644 --- a/browser/themes/windows/jar.mn +++ b/browser/themes/windows/jar.mn @@ -109,6 +109,8 @@ browser.jar: * skin/classic/browser/preferences/in-content/preferences.css (preferences/in-content/preferences.css) * skin/classic/browser/preferences/in-content/dialog.css (preferences/in-content/dialog.css) skin/classic/browser/preferences/applications.css (preferences/applications.css) + skin/classic/browser/social/services-16.png (social/services-16.png) + skin/classic/browser/social/services-64.png (social/services-64.png) skin/classic/browser/tabbrowser/newtab.svg (tabbrowser/newtab.svg) skin/classic/browser/tabbrowser/newtab-win7.svg (tabbrowser/newtab-win7.svg) skin/classic/browser/tabbrowser/newtab-inverted.svg (tabbrowser/newtab-inverted.svg) |