Commit Graph

481 Commits

Author SHA1 Message Date
Kevin Sawicki
88ae70eb19 Remove duplicate property 2013-04-16 17:56:06 -07:00
Nathan Sobo
cada940345 Load full bootstrap 2013-04-16 17:24:21 -06:00
Nathan Sobo
bbbdacab74 Avoid the .label class because it conflicts with bootstrap 2013-04-16 17:24:21 -06: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
Kevin Sawicki & Nathan Sobo
fe5d73c02a Use bootstrap buttons in command panel
Thanks @mdo!
2013-04-16 12:28:35 -07:00
probablycorey
a8f27a7848 Convert select list to Less style markup 2013-04-16 10:20:00 -07:00
Nathan Sobo
4c037d53e2 Eliminate :focus outline 2013-04-16 10:57:50 -06:00
Nathan Sobo
5071f083a1 Revert "Load all of bootstrap"
This reverts commit e59ab14ad3.
2013-04-16 10:38:35 -06: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
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
Corey Johnson & Nathan Sobo
d95016307a Fix mini-editor appearance by clearing styles on hidden input. 2013-04-15 20:45:55 -06:00
Nathan Sobo
d82daeccee Fix jasmine styling 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
bbf7c6ca1b Replace requireStylesheet calls w/ @import directives in atom.less 2013-04-15 20:45:54 -06:00
Kevin Sawicki
ee7a90184b Make autocomplete wide enough to not scroll 2013-04-11 14:18:22 -07:00
Kevin Sawicki
7a709b05f3 Support zooming images in/out and resetting 2013-04-08 15:36:43 -07:00
Kevin Sawicki
6ce3f87448 Add initial image viewer
An image session will be opened by project.buildEditSession()
for known image extensions.

Closes #203
2013-04-08 15:36:35 -07:00
Kevin Sawicki
4683285e0d Move opacity to line numbers instead of gutter
Having the opacity previously on the .gutter class was making
the gutter background color for the current line be different
than the editor background color.
2013-04-04 08:57:47 -07:00
Kevin Sawicki
4fddae68a9 Set the min-width on the gutter to 1em
This ensures the text will have padding on the left side even
when line numbers are disabled.
2013-03-26 17:30:49 -04:00
Kevin Sawicki
844f5343c2 Remove executable bit from reset stylesheet 2013-03-25 22:59:17 -04:00
Kevin Sawicki
0887ec2e55 Move fuzzy finder stylesheet into package directory 2013-03-25 22:58:40 -04:00
Kevin Sawicki
68dc76def3 Move command panel stylesheet into package directory 2013-03-25 22:56:51 -04:00
Kevin Sawicki
5a4108f3c8 Consolidate tree-view stylesheets 2013-03-25 22:56:00 -04:00
Kevin Sawicki
a83cb88630 Move tabs stylesheet into package directory 2013-03-25 22:54:45 -04:00
Kevin Sawicki
a52c516c88 Move status bar stylesheet into package directory 2013-03-25 22:53:42 -04:00
Kevin Sawicki
513ed3b4b1 Show symlink file icon in tree view 2013-03-25 16:51:39 -04:00
Corey Johnson
502d3c2957 Move gutter padding out of .line-number to .gutter
This makes viewing an editor without line numbers prettier.
2013-03-25 10:40:02 -07:00
Kevin Sawicki
7756f8e86d Show ignored icon in status bar 2013-03-25 12:00:11 -04:00
Kevin Sawicki & Nathan Sobo
e23edd02fd Use flexbox to position editor's gutter and scroll view
This removes the need to compute the width of the gutter based
on the line count in the editor and also removes the need to
set the scroll view's left position manually.
2013-03-22 12:47:56 -07:00
Kevin Sawicki
661ef175d5 Remove $native.getPlatform()
process.platform should now be used instead.
2013-03-20 17:51:51 -07:00
Kevin Sawicki & Nathan Sobo
501dc9b76c Merge remote-tracking branch 'origin/master' into cefode
Conflicts:
	native/v8_extensions/native.mm
	spec/app/config-spec.coffee
	spec/app/window-spec.coffee
	spec/spec-helper.coffee
	spec/stdlib/fs-utils-spec.coffee
	src/app/atom-package.coffee
	src/app/config.coffee
	src/app/window.coffee
	src/packages/fuzzy-finder/lib/load-paths-handler.coffee
	src/packages/markdown-preview/lib/markdown-preview-view.coffee
	src/packages/tree-view/spec/tree-view-spec.coffee
	src/stdlib/require.coffee
2013-03-20 10:46:50 -06:00
Kevin Sawicki & Nathan Sobo
aaf0d48edf Use coffee-cache module 2013-03-12 14:59:21 -07:00
Kevin Sawicki & Nathan Sobo
1d1ba5f6d1 Use node's require instead of internal require 2013-03-12 10:38:05 -07:00
Corey Johnson
06b63c24dc Merge remote-tracking branch 'origin/dev' into md-preview-redux
Conflicts:
	src/packages/markdown-preview/stylesheets/markdown-preview.css
	static/atom.css
	static/command-panel.css
2013-03-11 17:02:36 -07:00
Corey Johnson & Nathan Sobo
2aefd8ca46 Set overflow hidden on status bar
The octicon was causing overflow, which was making the entire view
scroll because the status bar was bigger than the height used by
flexbox.
2013-03-11 16:52:15 -06:00
Corey Johnson
7c47b7f8d4 Pane styling isn't a child of the .root-view class
Panes aren't attached to a root view in spes.
2013-03-11 10:02:19 -07:00
Justin Palmer
0624ba6d3f rename remaining static css files to less 2013-03-11 10:02:19 -07:00
Justin Palmer
392b9cfeab command-panel.css -> command-panel.less 2013-03-11 10:02:19 -07:00
Justin Palmer
a448a79ae6 atom.css -> atom.less 2013-03-11 10:02:19 -07:00
Justin Palmer
b9604d1baa reset.css -> reset.less 2013-03-11 10:02:18 -07:00
Justin Palmer
0e2ada4a91 markdown.css -> markdown.less 2013-03-11 10:02:18 -07:00
Corey Johnson & Nathan Sobo
8ca8841f9e Make command-panel's editor have -webkit-flex: 1
We moved the setting of flex on editors to the panes stylesheet
previously, but here is another context where we need flex to be
set.
2013-03-08 11:14:44 -08:00
Nathan Sobo
22d1336aa0 Apply correct flexbox styling to .pane > .item-views > *
Markdown preview was overflowing because the min-height of flexbox
items is automatically set to min-content. Setting it to 0 ensures that
the item doesn't expand beyond its flex size. Moving this styling to
atom.css ensures that people don't have to work too hard to fit
their views into panes.
2013-03-08 10:56:23 -08:00
Kevin Sawicki
b0ec0cda7f Merge remote-tracking branch 'origin/dev' into cefode 2013-03-07 11:44:46 -08:00
Nathan Sobo
a1dc2cfc2d Tabs indicate when their items are modified 2013-03-07 09:30:27 -08:00
Corey Johnson & Nathan Sobo
80859b0a9f Fix CSS for .file-name -> .title class rename 2013-03-07 09:30:26 -08:00
Nathan Sobo
fee835f899 Add a PaneContainer subview for RootView
PaneContainer is responsible for all pane-related logic. Laying them
out, switching focus between them, etc. This should help make RootView
simpler and keep pane-layout related tests in their own focused area.
2013-03-07 09:28:52 -08:00