Commit Graph

1335 Commits

Author SHA1 Message Date
Ian Gilman
6d3779e4b0 + Fixed a bug making it so you couldn't close tabs that were just .mov
+ Commented out the _render routine in toolbar-button.js,  as it was throwing exceptions and didn't seem to work anyway
+ Added some asserts to Item and cleaned up its documentation
+ Made Utils.assert more robust
+ Made tabs prettier when stacked
+ Commented out js lint, which doesn't seem to work in this context
+ Fixed it so you can't resize locked groups
+ Made it so the "new tabs" group is no longer locked (for the time being at least)
+ Tabs no longer change order when you drag their groups around
+ The tray now goes away more beautifully
+ You now have to drag at least 100 pixels and at least 500 milliseconds before a tab is pulled out its tray
+ No longer reserving space at the bottom of the screen for the "new tabs" group
+ Tab titles now go away when stacked and come back when not (there was a problem with them coming back)
+ No longer explicitly positioning the "new tabs" group
2010-04-30 17:24:03 -07:00
Aza Raskin
286a71b1cc + Visual cleanup:
+ Page names are no longer visible when in stacks
 + Page names have been prettified when in the stack tray.
 + TODO: Page names don't seem to come back after a group is turned into a stack, and then unstacked.
2010-04-29 00:42:37 -07:00
Ian Gilman
e455405ada + Stacks now expand into a special "tray"
+ You can now once again rename groups
2010-04-28 17:18:02 -07:00
Ian Gilman
09aad23de9 + First version of stacks
+ Cleaned up issues with algorithm for choosing where to position a tab dropped into a group
+ You can no longer drag a tab or group around by its close box
+ Changed tab drop tolerance… tabs now just need to overlap 50% in order to group. This is to make it consistent with dropping a tab on an existing group, which already behaved this way
+ A single tab in a group will no longer fill the entire group
2010-04-27 16:11:49 -07:00
Aza Raskin
80b2077877 First pass at an implementation of stacks.
+ In Zoomgroups put some pages into a group, then scale it down
+ It will animate itself into a stack
+ Pull it out again and it will go back to being a zoomgroup
2010-04-22 12:38:37 -04:00
Ian Gilman
4884381376 + finished locking down the "new tabs" group… can no longer be renamed or auto deleted
+ Removed potential slowdown for dragging tabs… should be the same now as it was before my "keeping groups and children in sync" fix
2010-04-21 17:27:28 -07:00
Aza Raskin
22cf8d5cfb Cleaned up the interaction around naming a group.
+ Animation on changing the default name
+ Appropriate color changes
+ Only show the input box on hover
2010-04-21 14:12:41 -04:00
Aza Raskin
2023249f68 Performance tweaks:
+ We pause tab mirroring/painting on zooms.
+ We remove box shadows and rounded corners on zooms. (Which, according to Shark, was costing around 10% time)
2010-04-20 16:05:07 -04:00
Ian Gilman
db53c576c8 + The tab bar toggle now has a down arrow when clicking on it will pull the tab bar down and an up arrow when it will push the tab bar up (was reversed)
+ The tab bar toggle and decorative strip now reside above the tab candy content in Z
+ Group titles now have prompt text/icon
+ Additional documentation (especially Mirror)
+ Fixed the dev mode features (were broken by the tab bar toggle changes)
+ The Firefox nav bar now correctly shows again when you create and go to a new tab
2010-04-16 15:09:23 -07:00
Aza Raskin
c5ad3ac633 Added a beautiful tabbar toggle. Woot! 2010-04-14 19:06:17 -07:00
Aza Raskin
f43960f29d Updated the specification to include the stacks metaphore. 2010-04-14 17:15:38 -07:00
Ian Gilman
7bcd47dfb4 + added the title and close box back to groups, with some basic styling
+ the "new tab" group now always lives at the bottom of the page
+ the candy switcher and the "grid" and "sites" features are now hidden by default. add ?dev=1 to the url to show them
+ the Firefox nav bar is now hidden when you're in the tab candy page
+ the starting grid now scales depending on how many tabs you have. (it is in fact sharing the arrange code that groups use for their children)
2010-04-14 17:12:06 -07:00
Aza Raskin
a33fb0cdb1 Aza sings the Merge song:
They were plentiful when from the darkness it emerged
The dark mercurial spirits singing SVN a dirge
A beast with many heads
No arms but branches in its stead
As you push into unknowns your final utterance will be "merge"

-- The only surving translation of the last song of the commited.
2010-04-12 23:16:28 -07:00
Aza Raskin
ba9df90608 Added a TabCandy button to the navigation toolbar on startup.
+ Clicking on it opens a tab to Revision-A
  - The tab is moved to being the first tab
  - The tab is visually hidden
  - Clicking on it again re-uses the opened tab

Some notes:
* Only styled for OSX
* We should think about loading the page in the background on startup
  so that there is no time delay when clicking on it the first time
2010-04-12 23:04:25 -07:00
Ian Gilman
6951057a1c + Removed unnecessary margin and padding from tabs and groups (was messing up layout)
+ Now compensating for padding in tabs when laying them out
+ Tab titles are now a single line, cut at the width of the tab (but no ellipsis yet)
+ Groups now have the move cursor
+ Tab resizing now works, and is disabled when a tab is in a group
+ We now have a "new tabs" group that new tabs go into (created as needed)
+ New layout algorithm for tabs inside a group. It's not as space efficient as the last one, but the unused space is at the bottom rather than the right side, and in general I think it behaves more like people expect.
+ Groups now have a minimum width when resizing
+ If you drag the second to last tab out of a group and don't return it to that group, the group now dissolves.
+ When a tab gets below a certain size, its thumbnail and close box are hidden
+ When a tab's title gets below a certain size, it is hidden.
2010-04-12 17:20:35 -07:00
Aza Raskin
3a944f5cd5 + Fixed the implementation of closing
+ Cleaned up the CSS styles by using background images
2010-04-10 02:16:02 -07:00
Aza Raskin
85d342e4f1 + Fixex a bug whereby the titles of pages would be hidden inside of groups. 2010-04-09 15:48:29 -07:00
aza@More-Better-Internet.local
1163208298 + Continued cleanup of zoom code.
+ Tabs now have the correct style inside of groups.
2010-04-09 15:17:08 -07:00
aza@More-Better-Internet.local
70ffe69940 Fixed sizing issues in the new style, as well as cleaned up the zoom code. 2010-04-09 12:49:54 -07:00
aza@More-Better-Internet.local
472a75695b Fixed the height of the pages. 2010-04-09 12:21:31 -07:00
Ian Gilman
24e393f848 + Merging; looks like we had a little collision in the group DOM area 2010-04-09 10:21:12 -07:00
Ian Gilman
a7874ea5e0 + The container for a Group now encompasses its whole bounds; the titlebar is within it rather than outside of it. This is a cleaner structure, and fixes some issues with the titlebar, as well as allowing us to see the red glow for when a group will be dropped into another group. There are still some issues, but I think we'll leave them until we have a visual design. 2010-04-09 10:03:51 -07:00
aza@host-3-23.mv.mozilla.com
9b31bf136c Begun adding a new theme, by Sean Martell. 2010-04-08 17:38:06 -07:00
Ian Gilman
8069990044 + font size for tab names now scales properly
+ tabs now return to their proper size when you pull them out of a group
+ you can now nest groups inside of other groups (though all of the funky repercussions haven't been sorted out yet)
2010-03-31 17:24:16 -07:00
Ian Gilman
0217c353db + Branched the shared groups stuff into copies just for revision-a; we've got a bunch of work to do, and it's not worth trying to keep all of the other candies compatible at the moment.
+ Added jquery.lint to revision-a. Haven't caught anything yet, but seems like it could be helpful.
+ More fiddling with the resizer css

--HG--
rename : browser/themes/pinstripe/browser/tabcandy/shared/resizer.png => browser/themes/pinstripe/browser/tabcandy/resizer.png
2010-03-29 11:16:18 -07:00
Aza Raskin
7ce7aa8ddd + Made the resizer graphic URL absolute instead of relative so that it works in any candy.
+ Removed some vestigial code.
2010-03-26 14:43:58 -07:00
Ian Gilman
721d8fb727 + moved groups.js and resizer.png to shared locations
+ more work on groups pushing things out of the way
+ some steps toward having groups and tabs share an interface
+ more geometry: we now have a point class, and the rect class now has center and intersect routines

--HG--
rename : content/candies/zoomgroups/gfx/resizer.png => browser/themes/pinstripe/browser/tabcandy/shared/resizer.png
2010-03-25 17:22:45 -07:00
Ian Gilman
25674dab26 + Removed the margin from the tabs; we need to handle buffers more explicitly
+ You can no longer launch into a tab by right clicking it
+ A group's close box now works
+ A group's title bar now works again (silly css misunderstanding)
+ Added a basic Rect object to utils.js, and a getBounds routine for retrieving the bounds of a DOM element
+ The Utils logging routines no longer expand functions (instead just saying that it's a function)
2010-03-24 16:54:48 -07:00
Ian Gilman
e4acac1338 + moved a number of the group-related styles into css/shared/groups.css. Unfortunately, I wasn't able to move everything I wanted to; Firefox 3.7 screwed up the relative URL in the resizer style, and somehow killed the position:absolute in close style (neither of those problems showed up in Firefox 3.6). At any rate, it's a step in the right direction.
+ Moved the pretty new group title bar into the original and ian1 candies, updating the close style so it works in both the tab and group contexts
+ Added forceCanvasSize and unforceCanvasSize functions to tab mirrors
+ Used the new canvas size forcing functions to make the zoom in and out happen in high resolution. Not convinced it's an improvement, especially in the reverse zoom.
+ Brought additional changes from the original candy to the ian1 candy
2010-03-22 17:12:32 -07:00
aza@70-7-150-98.pools.spcsdns.net
127762a4a5 First commit. 2010-02-24 01:47:55 -08:00
Felipe Gomes
c8d62a397e Bug 555081 - Can't move the window when using custom titlebar drawing
r=dao
2010-06-24 10:13:59 -07:00
Marco Bonardo
501826fc1b Bug 544817 - Create Bookmarks Widget with placement dependent on Bookmarks Bar status. r=dao 2010-06-24 10:08:43 -07:00
Dão Gottwald
c011332ae8 Bug 563730 - Implement pinTab, unpinTab. r=gavin 2010-06-24 16:29:02 +02:00
Stephen Horlander
504f7c51e8 Bug 574090 - Refine OS X Toolbar Icons. r=dao 2010-06-23 23:01:51 +02:00
Markus Stange
566ceb734b Bug 573926 - Increase the main toolbar's padding-top so that less of the locationbar's focus ring is cut off in small-icons mode. r=dao 2010-06-23 22:59:04 +02:00
Markus Stange
90a03942f9 Bug 559034 - New Mac location bar and search bar style. r=dao 2010-06-22 22:29:22 +02:00
Markus Stange
63511cb6ef Bug 559033 - New Mac toolbar button style. r=dao 2010-06-22 22:28:34 +02:00
Dão Gottwald
5c42ff9f69 Bug 567742 - Disable glass in fullscreen mode. r=gavin 2010-06-22 22:20:52 +02:00
Gavin Sharp
49e5b3ee9e Bug 398776: add new popup-based notification system, and use it for the geolocation notification, r=dolske, r=dao 2010-04-09 13:45:25 -04:00
Felipe Gomes
eeb5d6a2c4 Bug 572472 - Adjust theme styles for touch-enabled css rules. r=dao 2010-06-17 21:46:26 +02:00
Dão Gottwald
d301030208 Bug 571944 - Remove bogus min-width that overrides tabbrowser.xml's min-width. r=gavin 2010-06-14 21:53:45 +02:00
Stephen Horlander
6883e57363 Bug 570277 - Tab corner tweaks. r=dao
--HG--
extra : rebase_source : 40861b653b2ddcdccd54f7a4b5d26efff626caa8
2010-06-14 21:42:42 +02:00
Dão Gottwald
127e306e75 Bug 570278 followup, fixing tabs-on-top radial gradient position 2010-06-13 11:35:56 +02:00
Dão Gottwald
e1d82feb48 Bug 570795 - Create basic "Firefox button" widget. r=gavin 2010-06-13 10:20:58 +02:00
Dão Gottwald
9e37f96049 Bug 570278 - Tab shadow tweaks. r=gavin 2010-06-13 10:19:52 +02:00
Dão Gottwald
f4ee9a3b8f Bug 560755 - Textbox border of Location bar and search box is invisible with "High Contrast - Windows Classic". r=gavin 2010-06-12 09:00:09 +02:00
Dão Gottwald
35723b050c Bug 464205 followup, making favicons stand out more again in the all-tabs panel 2010-06-11 14:17:12 +02:00
Dão Gottwald
7c1e1405d9 Bug 568037 - Adjust toolbar backgrounds and gradients for the new theme. rs=gavin 2010-06-11 14:15:37 +02:00
L. David Baron
534169bd6e Rename -moz-background-size to background-size. (Bug 549809) r=roc 2010-06-08 18:44:33 -07:00
L. David Baron
1118f60946 Rename properties and values of background-clip and background-origin to match css3-background. (Bug 549809) r=roc 2010-06-08 18:44:33 -07:00
Dão Gottwald
80e86a6774 Bug 569935 - remove leftover from the curved identity button. r=gavin 2010-06-06 19:44:45 +02:00
Dão Gottwald
bdad77be75 remove bogus comment again 2010-05-24 09:34:46 +02:00
Rob Arnold
c7e25b9989 Bug 556967 - Re-enable aero glass once bug 555182 is fixed r=gavin 2010-05-23 23:29:09 -04:00
Rob Campbell
3350ea7bff Bug 547453: create a web page inspector for Firefox, r=gavin 2010-05-13 16:38:21 -04:00
Gavin Sharp
cfc66f7a7c Backed out changeset f551d1be254e (inspector-0.1, fixing commit message)
--HG--
extra : rebase_source : b7a94409c817d49822920a8d38aadfc8dae1a0db
2010-05-13 16:36:43 -04:00
Rob Campbell
a0c135f9cc inspector-0.1 2010-05-13 17:08:34 -03:00
Steffen Wilberg
4176601b9a Bug 282127: Highlight odd tree rows in trees with multiple columns in Gnomestripe and Pinstripe. Implement and use ::-moz-tree-row(multicol). ui-review=faaborg, r=enndeakin 2010-05-12 20:25:48 +02:00
Asaf Romano
7d26b0b244 Bug 528884 - Remove places' menu and toolbar bindings. r=mak 2010-05-05 15:28:04 +02:00
Dão Gottwald
506e7b511c Bug 563671 - anonymous new-tab button makes the tab bar 1px taller. r=gavin 2010-05-05 08:36:57 +02:00
Dão Gottwald
796238243e Bug 562723 - pressing the new-tab button doesn't change the icon. r=gavin
--HG--
extra : rebase_source : c7aef7f8bc075cef8a13908160ee6cb8abd8ecb9
2010-04-29 21:28:32 +02:00
Dão Gottwald
d5d3e11f37 Bug 562718 - new-tab button makes the tab bar 1px taller. r=gavin
--HG--
extra : rebase_source : 33f3f1c3763afaf30f1a1c57ba44f38093821c4c
2010-04-29 20:59:34 +02:00
Gavin Sharp
235ea7b9a7 Bug 560288 - consolidate hud-button style rules. r=dao 2010-04-20 12:12:10 -04:00
Dão Gottwald
c6b22a8586 Bug 541864 - tab bar is 1px larger when non-focused tabs have close buttons. r=ventnor 2010-04-29 08:43:40 +02:00
Dão Gottwald
5f14765214 Bug 560562 - Increase contrast between active and background tabs. r=gavin 2010-04-28 07:54:51 +02:00
Dão Gottwald
f1b65d54b6 Bug 457187 - Make the tabs toolbar customizable. r=gavin 2010-04-27 18:57:19 +02:00
Dão Gottwald
8744499498 Bug 549061 - new tab bar style. r=gavin 2010-04-20 09:33:08 +02:00
Dão Gottwald
453465b975 Bug 544815 - implement tabs on top option. r=gavin 2010-04-06 08:34:27 +02:00
Dão Gottwald
3668e4c44f tweak toolbarbutton disabled state (no bug)
--HG--
extra : rebase_source : 5b339c26c28f5c75c3c189952574d48f97f79454
2010-03-31 13:05:50 +02:00
Dão Gottwald
4d47d4754c Disable aero glass until bug 555182 is fixed (CLOSED TREE) 2010-03-30 01:27:44 +02:00
Dão Gottwald
052892ddaf Bug 554975 - Fix autocomplete url color on Win7/Vista. r=rflint 2010-03-29 12:04:05 +02:00
Dão Gottwald
68550db554 Bug 555477 - #browser and #browser-bottombox shouldn't use Glass. r=rflint 2010-03-28 10:47:51 +02:00
Dão Gottwald
5482885f10 Tweak text legibility on glass (no bug) 2010-03-27 17:05:45 +01:00
Stephen Horlander
489e18c61f Bug 554662 - Further tweaks to toolbar buttons. r=dao 2010-03-27 08:14:58 +01:00
Blair McBride
a76c55da65 Bug 480350 - Show currently loaded URIs in location bar autocomplete results, allow switching to the tab. r=gavin,mak sr=mconnor 2010-03-26 22:59:02 +01:00
Dão Gottwald
ee280a8fad Bug 428299 - Location bar and search bar should be transparent when using Glass. r=rflint 2010-03-26 13:14:03 +01:00
Dão Gottwald
36e468bab9 Bug 554809 - Tab drop indicator is misaligned if the tab bar doesn't overflow. r=gavin
--HG--
extra : rebase_source : 20c07e21a0d0ea82b62f43b84ae72d94953ce0cd
2010-03-26 09:30:52 +01:00
Dão Gottwald
3fff7d494f Bug 546259 - enable aero glass for the main window. r=rflint 2010-03-25 08:13:33 +01:00
Dão Gottwald
0ba2e62dc4 Bug 553673 - Border and glow doesn't fade to hovered state on toolbar button hover, only background. r=rflint 2010-03-25 07:44:29 +01:00
Dão Gottwald
e75d5557db Bug 549898 - Location bar increases in height at secure sites (https) with higher dpi. r=rflint 2010-03-25 07:43:34 +01:00
Dão Gottwald
963e9a4722 Bug 554001 - Remove superfluous -moz-border-colors usage. r=rflint 2010-03-24 10:15:36 +01:00
Dão Gottwald
830c6a4ac0 Bug 464205 - Attach the panel to the content area and style it accordingly. r=mstange 2010-03-22 15:11:42 +01:00
Markus Stange
36fc4b62a9 Bug 538187 - CSS changes for :-moz-window-inactive pseudoclass. r=dao 2010-03-17 18:12:03 +01:00
Dão Gottwald
fc67cb46f5 Bug 419712 - Improve horizontal spacing in tabbrowser tabs. r=ventnor 2010-03-18 08:02:21 +01:00
Markus Stange
16204bad0f Backed out changeset d906e4dd1e49, bug 538187 - CSS changes for :-moz-window-inactive pseudoclass because of test_righttoleft.xul test failures.
--HG--
extra : rebase_source : 48dbae1048eaf589013725fad8f6134fcf49c139
2010-03-17 19:58:46 +01:00
Markus Stange
0f9e9f1770 Bug 538187 - CSS changes for :-moz-window-inactive pseudoclass. r=dao 2010-03-17 18:12:03 +01:00
Markus Stange
43ccd247ae Bug 551582 - Add some margin to the bookmarks toolbar buttons so that the scrollbox doesn't clip their shadow. r=dao 2010-03-17 18:08:59 +01:00
Dão Gottwald
6f14dd916d Bug 347930 - Move the tabs outside the tabbrowser, put them in a toolbar. r=vlad
--HG--
extra : rebase_source : e1662b549464d68417cf3b0f07d9624fe1a670ef
2010-03-17 07:36:13 +01:00
Dão Gottwald
81acbc7ed7 Bug 477113 - RTL text-align changes throughout the theme because of bug 299837. r=ehsan
--HG--
extra : rebase_source : 4bc0a54962f3987db6db08b7dd90a82d80f1831d
2010-03-15 19:45:10 +01:00
Dão Gottwald
2c1322968e Bug 551916 - give the identity box and the search engine button a three-dimensional appearance. r=ventnor 2010-03-12 12:43:13 +01:00
Blair McBride
41d5c5539c Backout patch for c7562242f88e due to bustage 2010-03-11 16:35:37 +13:00
Blair McBride
5f62cb3491 Bug 480350 - Show currently loaded URIs in location bar autocomplete results, allow switching to the tab. r=gavin,mak sr=mconnor 2009-11-23 15:37:39 +13:00
Dão Gottwald
3bb4e69858 Bug 508499 - simplify tab drop indicator code and styling. r=gavin 2010-03-10 09:07:45 +01:00
Dão Gottwald
7256c4231f Bug 550825 - remove redundant .tab-close-button selectors. r=mstange 2010-03-08 14:33:15 +01:00
Dão Gottwald
abaf3f3874 Bug 547224 follow-up: Comment out -moz-placeholder use until it's actually implemented (bug 457801) 2010-03-07 22:05:01 +01:00
Dão Gottwald
2f2700f903 Bug 549988 - Better align menupopups with bookmark toolbar buttons. r=mstange 2010-03-05 13:00:59 +01:00
Dão Gottwald
bef04bfeb9 make selectors more specific to circumvent bug 547128 2010-03-05 12:59:45 +01:00
Dão Gottwald
6c9717e4ea Follow-up to bug 548027: remove spurious duplicate ids on <circle> elements 2010-03-05 01:30:49 +01:00
Dão Gottwald
9f5ba67cdf Bug 547224 - Remove the custom emptyText implementation, implement textbox.placeholder using the input field's native placeholder facility. r=enn
--HG--
extra : rebase_source : 50e3996d42073daa4c9f68f8c263b8b8106f3d84
2010-03-04 08:13:27 +01:00
Dão Gottwald
523b1cd1dd Bug 549589 - Implement new location bar and search bar style. r=rflint 2010-03-03 00:22:25 +01:00
Dão Gottwald
ef20ff5a60 consolidate urlbar styling (no bug) 2010-03-02 12:43:23 +01:00