Commit Graph

7115 Commits

Author SHA1 Message Date
Kevin Sawicki
aa27b3d464 Set min-height on tree to 100% 2013-04-16 15:30:33 -07:00
Kevin Sawicki & Nathan Sobo
807c6878c1 Set width of hidden input to 1 pixel
Previously the width was set to the width of a single character which
caused issues if the char width was currently zero and since the hidden
input no longer has padding or border the width of the input would end
up being zero which would prevent it from gaining focus.
2013-04-16 15:20:16 -07:00
Nathan Sobo
45ede6bc79 💄 rename treeViewList outlet to list 2013-04-16 15:26:31 -06:00
Corey Johnson
3c95fbd72c Remove redundant conditional 2013-04-16 14:23:42 -07:00
Corey Johnson & Nathan Sobo
ca49d0714c Restore previous selections after tailing newlines are added
Closes #496
2013-04-16 14:23:42 -07:00
Corey Johnson & Nathan Sobo
f21571eab1 Rename isFirstPoint to isHead in marker.updatePosition 2013-04-16 14:23:42 -07:00
Kevin Sawicki
bc99e72b3d Verify the buttons individually in the spec
The outer expand-collapse element is no longer in the view.
2013-04-16 13:56:27 -07:00
Kevin Sawicki & Nathan Sobo
fe5d73c02a Use bootstrap buttons in command panel
Thanks @mdo!
2013-04-16 12:28:35 -07:00
Kevin Sawicki & Nathan Sobo
a1cab1a692 Log instead of re-throwing less parser errors 2013-04-16 12:10:07 -07:00
Nathan Sobo
afa58160b3 Oops. Fix tree-view auto-scrolling and specs after breaking them. 2013-04-16 11:59:25 -06:00
Nathan Sobo
84bc5d1e56 Fix syntax error in select-list.less of atom-dark-ui theme 2013-04-16 11:53:48 -06:00
Nathan Sobo
917ab3fe7b Ensure tree view highlights extend full-width, even when scrolled
The .tree-view-wrapper element is renamed to `.tree-view-resizer` to
clarify its purpose, and the actual draggable div is renamed to
`.tree-view-resize-handle`. Then a new div is introduced beneath the
resized wrapper called `tree-view-scroller`. This element has 100%
width/height and overflow scroll, allowing the actual tree view list
to *not* scroll. It uses the cutting edge `min-content` property as
its min width, which ensures it's always wide enough to contain its 
content even when the scroller wrapper is narrower. This allows the
absolutely-positioned highlights to always extend *at least* across
the full width of the list elements.
2013-04-16 11:20:56 -06:00
probablycorey
a8f27a7848 Convert select list to Less style markup 2013-04-16 10:20:00 -07:00
Kevin Sawicki
58bf33fc6f Remove margins on nested matches list 2013-04-16 10:08:15 -07:00
Nathan Sobo
6107734460 Fix command panel preview list header styling 2013-04-16 10:57:50 -06:00
Nathan Sobo
4c037d53e2 Eliminate :focus outline 2013-04-16 10:57:50 -06:00
Kevin Sawicki
44871c84cf Ignore .git folder 2013-04-16 09:46:49 -07:00
Nathan Sobo
5071f083a1 Revert "Load all of bootstrap"
This reverts commit e59ab14ad3.
2013-04-16 10:38:35 -06:00
Kevin Sawicki
a2035bc305 Move error-messages class under command-panel class 2013-04-16 09:33:45 -07:00
Kevin Sawicki
27252961cf Remove list style type on matches class 2013-04-16 09:29:31 -07:00
Kevin Sawicki
0102c0fd8d Bind click events using new button outlets 2013-04-16 09:26:24 -07:00
Kevin Sawicki
f190dab5e6 Remove classes from buttons
The collapse class was causing the button to be very small since it
is defined in bootstrap with height 0.
2013-04-16 09:22:18 -07:00
Kevin Sawicki
e037bf1db9 Remove list type and margin from error messages 2013-04-16 09:18:43 -07:00
Kevin Sawicki
865b70e16d Don't exclude node_modules/less
Less is no longer vendored and so it should now be
copied over.
2013-04-16 08:46:13 -07:00
Nathan Sobo
e59ab14ad3 Load all of bootstrap 2013-04-15 20:45:56 -06:00
Nathan Sobo
1ce9cdff0c Make precompilation of less stylesheets work with @import directives 2013-04-15 20:45:56 -06:00
Nathan Sobo
140d5d5a85 💄 Use outlet 2013-04-15 20:45:56 -06:00
Nathan Sobo
8c648e9226 Fix tree-view specs 2013-04-15 20:45:56 -06:00
Nathan Sobo
cd9f6d4c62 Remove tree-view margin bottom 2013-04-15 20:45:56 -06:00
Nathan Sobo
305a1b91b8 Set box-sizing to content-box for autocomplete 2013-04-15 20:45:56 -06:00
Nathan Sobo
fff4531663 Fix select-list auto-scrolling specs 2013-04-15 20:45:55 -06:00
Nathan Sobo
9d987ac911 Set box-sizing: content-box on image-view img tags
Bootstrap sets box-sizing: border-box everywhere. It's often a good
idea, but in this case it screws up the specs for the image view.
2013-04-15 20:45:55 -06:00
Nathan Sobo
bc03810589 Set height on image view, not parent
Setting the height of the parent caused #jasmine-content to be tall
for the remainder of the specs
2013-04-15 20:45:55 -06:00
Corey Johnson & Nathan Sobo
d95016307a Fix mini-editor appearance by clearing styles on hidden input. 2013-04-15 20:45:55 -06:00
Corey Johnson & Nathan Sobo
8f0bffc589 Don't set height on mini editor explicitly. Let 'height: auto' do it.
We're not sure why this is here, and can't see a problem when we remove
it.
2013-04-15 20:45:55 -06:00
Nathan Sobo
d82daeccee Fix jasmine styling 2013-04-15 20:45:55 -06:00
Nathan Sobo
23f66c12a4 Make modified tab's close icon remain blue on hover 2013-04-15 20:45:55 -06:00
Nathan Sobo
39f920165d Report errors with no stack when loading packages 2013-04-15 20:45:55 -06:00
Nathan Sobo
e0c8c5ccb7 Clean up tabs styling using LESS features 2013-04-15 20:45:55 -06:00
Nathan Sobo
c1e4d2f1f1 Make tree-view CSS bootstrap-compatible. Use less and octicon-mixins. 2013-04-15 20:45:55 -06:00
Nathan Sobo
312f04f44d Add octicon-mixins.less
This file contains mixins that make it easy to turn any selector into
an icon. You use them in the following way:

```less
@import "octicon-mixins.less";

.entry .disclosure-arrow {
  .mini-icon(arr-collapsed);
}

.entry.expanded .disclosure-arrow {
  .mini-icon(arr-expanded);
}
```

There is also the `.mega-icon` mixin, and you are free to pass a size
as a second parameter, like this: `.mega-icon(octocat, 64px)`
2013-04-15 20:45:55 -06:00
Nathan Sobo
e871929aae Load a subset of bootstrap from atom.less and nuke reset.less 2013-04-15 20:45:55 -06:00
Nathan Sobo
91cbcf0073 Update editor lines & cursors to not use bootstrap-styled pre element 2013-04-15 20:45:55 -06:00
Nathan Sobo
738fc31f56 Add twitter bootstrap submodule and put it on less search path 2013-04-15 20:45:54 -06:00
Nathan Sobo
bbf7c6ca1b Replace requireStylesheet calls w/ @import directives in atom.less 2013-04-15 20:45:54 -06:00
Nathan Sobo
2f008aa886 Use less NPM module instead of vendored less
We're currently using nathansobo's fork, which doesn't depend on
`window` being undefined to operate in Node mode.
2013-04-15 20:45:54 -06:00
Garen Torikian
4c56e8bb57 Merge branch 'master' into api/docs 2013-04-14 09:43:06 -07:00
Garen Torikian
c4e713f121 Update biscotto 2013-04-14 01:44:59 -07:00
Garen Torikian
99333d4444 Don't commit output 2013-04-12 22:37:07 -05:00
Garen Torikian
8bd02358d2 Should I regret a lack of better commit messages? 2013-04-12 22:35:54 -05:00