Commit Graph

797 Commits

Author SHA1 Message Date
Ben Ogle
0e7cae9a91 Add .icon-size mixin to octicons 2013-09-10 12:00:23 -07:00
Ben Ogle
3e4ba1f833 Add padding to all .icons 2013-09-10 11:59:49 -07:00
Ben Ogle
d311ee9c70 Rename links -> icons 2013-09-10 11:59:49 -07:00
Ben Ogle
84bd5d543a extract a few styles from the tree view 2013-09-10 11:59:49 -07:00
Ben Ogle
15e9ec2766 Add new variables to static fallback 2013-09-10 11:59:48 -07:00
Ben Ogle
3cb6710eed Fix selected items in lists 2013-09-10 11:59:48 -07:00
Ben Ogle
6aa8bb4116 Lists use the selected bg color 2013-09-10 11:59:47 -07:00
Kevin Sawicki
d2efaf03d1 Remove unneeded units 2013-09-10 11:59:45 -07:00
Ben Ogle
e9c0f6b6d9 Remove ui-mixins dep from static 2013-09-10 11:59:45 -07:00
Ben Ogle
9440512113 Extract some of the list structure into base css 2013-09-10 11:59:45 -07:00
Ben Ogle
dfdd172b17 Move sections into base CSS 2013-09-10 11:59:44 -07:00
Ben Ogle
6e9bcfcbcf Move links css into base css 2013-09-10 11:59:44 -07:00
Ben Ogle
59f51eb25b Move utility block classes to the base css 2013-09-10 11:59:44 -07:00
Ben Ogle
14569aa46b Pull common button code into base css 2013-09-10 11:59:44 -07:00
Ben Ogle
7e95518d0e Style the select-lists 2013-09-10 11:59:40 -07:00
Ben Ogle
39dd42ce8e 💄 on popover-lists 2013-09-10 11:59:39 -07:00
Ben Ogle
ed09b69db7 Add overlay to the new theme 2013-09-10 11:59:39 -07:00
Ben Ogle
4d88a95eed 💄 2013-09-10 11:59:38 -07:00
Ben Ogle
c91c705c6d Add octicon classes 2013-09-10 11:59:38 -07:00
Ben Ogle
5d260d1331 Add utilities less file to base css 2013-09-10 11:59:37 -07:00
Ben Ogle
a192a79bec 💄 2013-09-10 11:59:37 -07:00
Ben Ogle
ff6fb2174a Add new theme with new approach at colors + components 2013-09-10 11:59:37 -07:00
Kevin Sawicki
bc76b70552 Add SHA-1 based CoffeeScript compile cache
This restores the require cache that was used pre-node integration
2013-09-09 18:56:15 +01:00
Ben Ogle
2b2dc15ac1 Fix styles in jasmine runner 2013-09-04 12:25:29 -07:00
Kevin Sawicki
fd69581397 Update path in comment for less-imports rename 2013-09-04 12:25:28 -07:00
Ben Ogle
8f236c8a60 Rename less-imports to variables 2013-09-04 12:25:28 -07:00
Ben Ogle
5c1799d751 Add individual imports to each LESS file
Make the Less linter happy
2013-09-04 12:25:28 -07:00
Ben Ogle
7c63a206f1 Revert "Remove ui-colors"
This reverts commit 45179d44be9d69923a0afaac5470b5399079b071.
2013-09-04 12:25:27 -07:00
Ben Ogle
15c1669ab6 Don't load bootstrap on reload of base sheets 2013-09-04 12:25:27 -07:00
Ben Ogle
30a4eb12c5 Remove ui-colors 2013-09-04 12:25:27 -07:00
Ben Ogle
d1c1ecc9a4 Add ability to override ui-variables in theme
This required moving the importable less files to a `less-imports` 
directory and adding that directory to the less path. Otherwise, 
atom.less would import ui-variables from its current directory 
(/static/ui-variables) as less searches the current directory before 
any other directories on the path.
2013-09-04 12:25:27 -07:00
Ben Ogle
084457c2a0 Update the less files to properly import less 2013-09-04 12:25:27 -07:00
Kevin Sawicki
e03544bab6 Hide body when unloading
This prevents a weird UI flicker when refreshing with the settings
view open.
2013-08-29 15:23:26 -07:00
Kevin Sawicki
0da647acdf Use display: inline for editor fold marker
This prevents it from wrapping to the next line when the window
is narrower than the line length.

Closes #211
2013-08-21 17:52:19 -07:00
Kevin Sawicki
6fb8dcbaa5 Add site color variables to ui-colors
These are used by the collaboration package to represent
participants in the current session.
2013-08-20 17:15:43 -07:00
Ben Ogle
b10a01ddc2 fix naming of background colors in default ui colors 2013-08-20 11:25:30 -07:00
Kevin Sawicki
e13eebdcd2 Remove fontello
This is no longer used now that the octicons include video/audio
on/off icons that are used in the collaboration package.
2013-08-19 21:42:32 -07:00
Kevin Sawicki
0947e1cffa Upgrade octicons for mute/unmute icons 2013-08-19 21:40:19 -07:00
Ben Ogle
ea019870fb Add in the fallback ui colors. 2013-08-19 15:55:17 -07:00
Ben Ogle
72db35d663 rename colors to ui-colors 2013-08-19 15:55:16 -07:00
Ben Ogle
8b149f63cb Add colors.less files.
Adds one for each theme, and a fallback
2013-08-19 15:55:16 -07:00
Kevin Sawicki
c6d1409151 Merge branch 'master' into summit
Conflicts:
	.pairs
	package.json
	spec/app/tokenized-buffer-spec.coffee
	src/app/edit-session.coffee
	src/app/project.coffee
	src/app/window.coffee
	src/atom-application.coffee
	static/root-view.less
2013-08-14 14:05:35 -07:00
Kevin Sawicki
972aa75f3e Add mixin for adding octicon font-face 2013-08-08 18:54:13 -07:00
probablycorey
9a2e768882 Group mini-editor css styles 2013-08-08 17:06:58 -07:00
Kevin Sawicki
6178294537 Use octicon mixin for gutter and line fold icons
This corrects a line height mismatch issue between the editor
and the gutter for certain fonts and font sizes.

Close #689
2013-08-08 16:12:26 -07:00
probablycorey
57fe9c6903 Remove left padding to gutter fold octicon (it causes spec failures) 2013-08-07 16:46:32 -07:00
Kevin Sawicki
934fe1c6d0 Add left padding to gutter fold octicon 2013-08-07 14:01:23 -07:00
Kevin Sawicki
9aff1476d4 Use octicon variables in command-panel.less and editor.less 2013-08-07 13:57:41 -07:00
Kevin Sawicki
32af574206 Add trailing newline to octicon-utf-codes.less 2013-08-07 10:56:08 -07:00
probablycorey
13b1632dfc Update octicons 2013-08-07 10:37:12 -07:00
Kevin Sawicki
def07344e9 Visually separate core and package specs in reporter 2013-08-07 09:32:29 -07:00
probablycorey
2284435551 Move config view to a package 2013-08-05 13:54:37 -07:00
Ben Ogle
86d1990894 Add fontello icons.
Remove this when we have octicons for audio and video
2013-07-26 16:54:35 -07:00
Ben Ogle
ff73ffcb16 style the video 2013-07-25 16:05:47 -07:00
Ben Ogle
7c414d47cb Merge pull request #644 from github/bo-fix-scrollbar-issues
Fix scrollbar css issues
2013-07-23 15:31:38 -07:00
Kevin Sawicki & Nathan Sobo
e705e3e045 Don't allow caching of coffee requires to be overridden
Previously coffeestack was requiring a different version of coffeescript
than atom was, which had a side effect of re-registering the extension
handler for .coffee requires. This disabled coffee-cache, which made
require really slow again.
2013-07-22 11:44:39 -07:00
Ben Ogle
2b25d433c7 move editor scrollbar above the edit pane
So you can grab it with your mouse!
2013-07-18 17:45:38 -07:00
Kevin Sawicki
b3b501ef07 Set stack trace overflow to auto
This keeps the stack trace text inside the spec box when the window
in narrower than the stack trace lines.
2013-07-06 14:27:23 -07:00
Cheng Zhao
f9545acde6 Show window before opening devtools.
It may happen that an exception is thrown before window is shown.
2013-06-27 19:29:35 +08:00
Kevin Sawicki
1bc4b4ef32 Use mini-icon helper for loading-message 2013-06-13 11:40:32 -07:00
Kevin Sawicki
ff7c639b64 Don't use error class in select list
Use a subtler error message that displays in the same place as the
loading message but does not change the entire background of the
view.

Also, extending classes can now customize the message displayed
when there are no items and also no filtered items to allow for
different messages for these two cases.
2013-06-13 11:31:09 -07:00
Kevin Sawicki
750e4a1cca Rename linux.css to linux.less 2013-06-12 13:28:39 -07:00
Kevin Sawicki
e72b5a55a0 Remove invalid float on inline-block element 2013-06-12 10:18:23 -07:00
Kevin Sawicki
7e33a3e12f Remove duplicate properties 2013-06-12 10:18:23 -07:00
Kevin Sawicki
c7c7988ae6 Drop units when using zero 2013-06-12 10:18:23 -07:00
probablycorey
1156018c0d Make gutter line number's position relative
This makes it easier to decorate line numbers.
2013-06-12 09:55:31 -07:00
Kevin Sawicki
327f16fa03 Add semicolon 2013-06-11 15:44:25 -07:00
Corey Johnson & Kevin Sawicki
fc52ee518e Wait for window:loaded before emitting window:open-path 2013-06-11 14:48:51 -07:00
Corey Johnson & Kevin Sawicki
bcc16fbefe Remove hash params from url
Load settings are now stored on the browser window.
2013-06-11 11:17:16 -07:00
Kevin Sawicki
dea0e08d93 Use hash instead of query string for parameters
This allows the pathToOpen to be changed when the project
path changes.

Previously if the untitled window file was saved, the project
path would be forever associated with the undefined window.

Now when the project path changes, the pathToOpen changes so
that the state is persisted to the project area and the untitled
window never has a project.
2013-06-07 10:50:06 -07:00
Kevin Sawicki
fca1c13d03 Move image-view to a package
This removes the ugliness of having project.coffee require
image-edit-session at the end since the image-edit-session can
now register itself in an @activate callback and as a deferred
deserializer in the package.cson file.
2013-06-07 10:15:32 -07:00
Kevin Sawicki
73c2e94a32 Pad image from container 2013-06-04 18:43:44 -07:00
Kevin Sawicki
9f4fc49790 💄 2013-06-04 13:38:14 -07:00
Kevin Sawicki
36ddbe99a1 Have inner image-container consume entire area 2013-06-04 13:23:26 -07:00
Cheng Zhao
0dd823aa38 Merge branch 'master' into atom-shell 2013-05-24 19:12:47 +08:00
Kevin Sawicki
9a5fc6ebe8 Add retry button for when fetching fails 2013-05-22 15:29:38 -07:00
Kevin Sawicki
ce20bba792 Show loading message in available tab 2013-05-22 15:29:37 -07:00
Kevin Sawicki
82597aa636 Use same view for installed and available packages 2013-05-22 15:29:36 -07:00
Kevin Sawicki
4746ac82c3 Show counts in nav area badge 2013-05-22 15:29:34 -07:00
Kevin Sawicki
a223439eb8 Combine package configs into single panel 2013-05-22 15:29:34 -07:00
Kevin Sawicki
8668dd67ac Add README to package section 2013-05-22 15:29:34 -07:00
Cheng Zhao
61f8878e05 Merge branch 'master' into atom-shell
Conflicts:
	package.json
	script/bootstrap
	spec/app/window-spec.coffee
	src/app/window.coffee
2013-05-22 20:52:42 +08:00
Nathan Sobo
e0e6d96c84 Fix #550. Use min-width: 0 after flexbox orientation switch.
By default, flexbox items have a min size of -webkit-min-content in the
the flex axis. I previously switched the pane item-views to flex
horizontally for performance reasons (preventing over-aggressive
repaints), but forgot to change min-height to min-width.
2013-05-14 10:10:25 -06:00
Cheng Zhao
bb114932ea Correctly set NODE_PATH before opening window. 2013-05-13 19:57:07 +08:00
Nathan Sobo
191e8ab240 Fix perf regression caused by flex-flow: column on pane item views
For some reason, having flex-flow column on the pane item views
container was forcing the entire view to be repainted on cursor
movement and line edits. Allowing the container to flow row-wise and
setting the min-height to 0 instead of min-content-height achieves
the same layout effect without the huge repaint cost. Flexbox is a
fragile bitch.
2013-05-10 18:19:41 -06:00
Kevin Sawicki
c3759feaa0 Show number of paths loaded after indexing message 2013-05-07 08:56:06 -07:00
Kevin Sawicki
919bdca8f4 Style select list loading area similar to command panel 2013-05-06 16:34:39 -07:00
Kevin Sawicki
35cf96e15f Render empty line invisibles at correct position
End of line invisibles are not rendered at the correct
position for empty lines instead of always after the
last indent guide span.

Closes #456
2013-05-01 20:54:09 -07:00
Kevin Sawicki
7e15a343f3 Add primary/secondary line classes to select list
This will be a style that can be used by extending
classes to provide two lines that don't wrap with
color and padding.

This is initially used by symbols view and fuzzy finder.
2013-05-01 17:09:37 -07:00
Kevin Sawicki
01ad97e7b0 Show ellipsis for long paths in fuzzy finder
Previously the directory was shown after the file name
and it would wrap if too long causing inconsistent row
heights.

Now the full path is shown below the name in a smaller font
and both the path and file are set to overflow with an ellipsis.
2013-05-01 16:46:22 -07:00
probablycorey
cb2d24baca Listen for clicks outside of the render lines on the underlayer 2013-05-01 13:54:37 -07:00
Kevin Sawicki
aeffa0e150 Remove duplicate property 2013-05-01 13:10:14 -07:00
Corey Johnson
bbb7dfdd07 Only the underlayer needs height: 100% 2013-04-30 11:52:28 -07:00
Kevin Sawicki
15cf475d04 Use loading octicon in command panel
This removes the SVG spinner which had been incorrectly
rendering since the bootstrap upgrade due to box sizing
issues.
2013-04-29 14:13:21 -07:00
Kevin Sawicki
8af73449fe Set no max width on img elements in image view 2013-04-27 07:21:23 -07:00
probablycorey
d1a26b9f81 Style editors like input fields 2013-04-26 15:36:58 -07:00
probablycorey
2d5bb8bd8b Move open .atom button to config menu 2013-04-26 15:36:58 -07:00
Nathan Sobo
15f95cb2a3 Add some explanatory text about cascading themes 2013-04-26 15:36:57 -07:00
Nathan Sobo
232978ea9d Themes can be disabled by clicking their 'x' icon in the enabled list 2013-04-26 15:36:14 -07:00
Nathan Sobo
540c543984 Add a styled but non-functional themes config panel 2013-04-26 15:36:13 -07:00
Nathan Sobo
2d00d3e07e Import variables.less into config.less so it can be compiled alone
We try to compile all stylesheets across the board, but now many of
our stylesheets are imported into a master `atom.less` stylesheet. The
config stylesheet would compile fine when included from `atom.less`,
but alone it fails because it doesn't have the variables. We should
probably only try to pre-compile stylesheets we intend to require
directly… using a manifest maybe?
2013-04-26 15:36:13 -07:00
Nathan Sobo
0d520e9930 Add a package config panel with the list of enabled packages 2013-04-26 15:36:13 -07:00
Nathan Sobo
ba6d3a1124 Use bootstrap to style editor config panel 2013-04-26 15:36:13 -07:00
Nathan Sobo
ac65e288df Pull config stylesheet into atom.less 2013-04-26 15:36:12 -07:00
Nathan Sobo
5a291e8188 Use bootstrap stacked nav-pills for panels menu in config window 2013-04-26 15:36:12 -07:00
Nathan Sobo
ab5156c5e3 Clear out some styling cruft that will be replaced by bootstrap stuff 2013-04-26 15:36:12 -07:00
Nathan Sobo
0af9564d1a Styling 💄 2013-04-26 15:36:12 -07:00
Nathan Sobo
21f83ea938 Add 'x' icon to enabled themes list 2013-04-26 15:36:12 -07:00
Nathan Sobo
81c1769770 Allow available themes to be dragged to sortable 'enabled themes' list
Still not doing anything with the sort update events.
2013-04-26 15:36:12 -07:00
Nathan Sobo
46acb6da2c Style themes and packages lists 2013-04-26 15:36:12 -07:00
Nathan Sobo
d857cc7d77 List available themes in general config panel 2013-04-26 15:36:11 -07:00
Nathan Sobo
707ed3c51a Make config panels to scroll vertically if needed 2013-04-26 15:36:11 -07:00
Nathan Sobo
c32c894d23 Add more editor config properties 2013-04-26 15:34:48 -07:00
Nathan Sobo
252159afcf Add super basic styling to config view and 2 non-functional panels 2013-04-26 15:32:47 -07:00
Nathan Sobo
160b80b47f Open a custom config window on 'open-user-configuration' event 2013-04-26 15:32:47 -07:00
Kevin Sawicki
875555d933 Rename invisible class to invisible-character
Bootstrap defines this class with visibility: hidden
which we don't want since invisible characters should
be visible.
2013-04-25 10:02:33 -07:00
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
Nathan Sobo
45eec6a8ff Get more specs passing. Failing specs due to missing features. 2013-03-07 09:28:52 -08:00
probablycorey
57b0151cd2 Remove the dev-mode css style, for now 🔜 2013-03-05 16:10:03 -08:00
probablycorey
9331b3beed Add .dev-mode class to root view 2013-03-05 16:10:02 -08:00
probablycorey
d6ae5a1778 Set atom.devMode 2013-03-05 16:10:02 -08:00
probablycorey
0dfd3597fb add visual indicator for dev mode 2013-03-05 16:10:02 -08:00
Cheng Zhao
091851ee3d First taste of node. 2013-03-05 09:10:04 +01:00
Kevin Sawicki
e3ebda7d30 Show commits ahead/behind upstream in status bar 2013-03-04 21:43:34 -08:00
Kevin Sawicki
77bc42bd45 Put status indicator on right side of fuzzy finder
Closes #313
2013-03-04 21:43:33 -08:00
Kevin Sawicki
910be149ab Show status icons in fuzzy finder 2013-03-04 21:43:33 -08:00
Kevin Sawicki
14bd7741d1 Change octicon based on creating file or folder 2013-02-28 16:04:18 -08:00
Kevin Sawicki
a274c313ed Remove top offset for folding marker
Previously this was causing the icon to be down too
low now that a line height of less than 1 em is also
set on the element.
2013-02-25 15:18:32 -08:00
Kevin Sawicki
32ce720890 Remove red default background on select list 2013-02-25 15:13:48 -08:00
Kevin Sawicki
f51f097615 Add back checkmark for selected grammar 2013-02-25 15:13:48 -08:00
Kevin Sawicki
c8316a1a44 Use default cursor and no selection in select list 2013-02-25 14:25:26 -08:00
Kevin Sawicki
2f331b4377 Set font-size of fold marker to .8em
This keeps the line height of the gutter the same
as the line height of the editor for folded lines.

Closes #304
2013-02-25 09:49:53 -08:00
Kevin Sawicki
bfaf5b4952 Move folding colors to syntax stylesheets
Switch the light syntax folding color to an orange
instead of the pink which look washed out on a light
background.
2013-02-22 09:10:18 -08:00
Kevin Sawicki
101b1aba12 Add indent guide to editor
The guide displays a continuous vertical line across lines with
the same indent levels.

Closes #50
2013-02-20 12:20:15 -08:00
Jon Rohan
d58f7edefe Gutter doesn't have text cursor. #284 2013-02-17 10:06:43 -08:00
Jon Rohan
2f32c4f745 Changing cursor to text for editor. fixes #284 2013-02-17 10:01:36 -08:00
Nathan Sobo
2806495e5a Nudge fold ellipses down by 2px for better visual alignment w/ line 2013-02-16 15:30:04 -07:00
Nathan Sobo
46c4f6d8e9 Remove increased font size for fold elipses
Making them bigger looks good, but also makes lines with these fold
markers taller than typical lines, which throws off the positioning
of everything below them.
2013-02-16 15:29:29 -07:00
Kevin Sawicki
10430842b0 Use binary icon for .woff and .DS_Store extensions 2013-02-16 09:54:20 -08:00
Kevin Sawicki
7f9fb785df Use new ellipsis octicon in fold marker 2013-02-16 09:54:20 -08:00
Jon Rohan
b18b32f9c1 x is still too high. 1px 2013-02-15 19:05:53 -08:00
Jon Rohan
dbb81afa9d Very slightly adjusting the padding in the tabs.
@caged didn't bother with a pull request. It was bothering me that the
x was closer to the edge of the tab, than the filename. So I made it
equal. I also added some right padding to the name so it doesn't get too
close to the x icon.
2013-02-15 17:34:51 -08:00
Justin Palmer
beb52f8ab5 tweak spacing 2013-02-15 10:10:24 -08:00
Justin Palmer
0ccf81d2ef style expand/collapse in atom-ui-light 2013-02-15 09:23:30 -08:00
Justin Palmer
e18ed0c96c move preview count position to static directory 2013-02-15 09:12:21 -08:00
Kevin Sawicki & Nathan Sobo
c3e595b040 Switch to new flexbox spec to improve redraw performance
With the old flexbox, whenever we updated the status bar, other flex
items in the pane (such as the tabs and the *entire* editor) were
getting repainted, which was taking 10x longer than it needed to. This
newer flexbox spec seems to be implemented in a more performant way.
2013-02-14 17:07:46 -07:00
Jon Rohan
59a8bfd8df Making shure that invisibles always look the same. fixes #279 2013-02-14 14:58:50 -08:00
Corey Johnson
da98addf80 better spec toggle 2013-02-14 12:31:31 -08:00
Kevin Sawicki
df227cbfc8 Disable selection in preview count and buttons 2013-02-13 22:36:00 -08:00
Kevin Sawicki
cc10ae4bdb Only set selected background on path details
Previously the background of the entire li was
changed when selected.
2013-02-13 22:33:29 -08:00
Justin Palmer
fcba61f2d1 use different color for path and operation 2013-02-13 16:55:47 -08:00
Justin Palmer
107d1e2c93 kill distracting hover styles 2013-02-13 16:25:17 -08:00
Kevin Sawicki
64203b6361 Always hide/show preview list and header together 2013-02-13 16:07:44 -08:00
Justin Palmer
28e1fb1a75 tweak look of preview header in atom-light-ui 2013-02-13 13:00:52 -08:00
Justin Palmer
f86e23e705 hookup expand-collapse 2013-02-13 12:52:01 -08:00
Justin Palmer
84ff844f17 styles for preview list header 2013-02-13 12:38:17 -08:00
Justin Palmer
539c000bcd add expand/collapse indicators 2013-02-13 11:19:08 -08:00
Justin Palmer
bdf3f480cb bump position of preview count 2013-02-13 10:13:27 -08:00
Justin Palmer
ee64cd17d3 better spacing for preview list 2013-02-13 10:12:25 -08:00
Justin Palmer
21eb956839 kill prompt icon for now 2013-02-13 00:04:10 -08:00
Justin Palmer
bca46fdf6c special loading styles for command panel 2013-02-12 23:56:09 -08:00
Justin Palmer
c0f45b2414 add self-contained animated svg spinner 2013-02-12 23:55:36 -08:00
Justin Palmer
f19e536b25 style code 2013-02-12 14:32:45 -08:00
Justin Palmer
64b187a7e3 style markdown quote 2013-02-12 14:25:29 -08:00
Justin Palmer
5acf544fce remove colors from main stylesheet
They won't work for light and dark styles
2013-02-12 12:08:30 -08:00
Justin Palmer
cc9707bd35 add markdown.css 2013-02-12 12:00:54 -08:00
Kevin Sawicki
1ee1fa02ba Merge pull request #255 from github/rearrange-tabs
Drag and drop tabs
2013-02-12 08:38:52 -08:00
Justin Palmer
7e83a138cf Revert "Use octicon for drop target indicator"
This reverts commit ad9114c95e.
2013-02-12 08:34:46 -08:00
Kevin Sawicki
ad9114c95e Use octicon for drop target indicator 2013-02-11 20:35:41 -08:00
Corey Johnson
6515d09a06 Tweak jasmine spec css 2013-02-11 20:14:52 -08:00
Corey Johnson
98cd5b46d1 Spec runner cleanup 2013-02-11 18:00:56 -08:00
Justin Palmer
94cec69e31 little strong visual indication of drop location 2013-02-11 13:10:59 -08:00
Justin Palmer
ac39dd963f 💄 2013-02-11 13:01:03 -08:00
Justin Palmer
d45aac57dd :after is better 2013-02-09 19:38:55 -08:00
Justin Palmer
e92d9ea998 sorting works on a single editor
Needs updating to support dragging between panels
2013-02-09 19:38:55 -08:00
Justin Palmer
9100367c12 very basic tab sorting 2013-02-09 19:38:54 -08:00
Justin Palmer
ff4e374d44 basics of drag and drop support 2013-02-09 19:38:54 -08:00
Justin Palmer
2d968c11a1 this should cause tabs to be draggable 2013-02-08 14:41:14 -07:00
Justin Palmer
6395f352d6 adjust position of command panel stats 2013-02-06 17:13:50 -08:00
Justin Palmer
cb4abb201a pray the gray away 2013-02-06 16:19:02 -08:00
Justin Palmer
1f50ca8d16 cleanup statusbar styles 2013-02-06 15:12:22 -08:00
Justin Palmer
3675407ca7 use from-bottom overlay for grammar view 2013-02-06 13:51:40 -08:00
Justin Palmer
63a4dbdeb2 ui light tab styles 2013-02-06 08:57:07 -08:00
Justin Palmer
6d24200fae move font size into tab class 2013-02-06 08:57:07 -08:00
Justin Palmer
8c9b9b335d bring back when hovering over a modified file 2013-02-06 08:57:07 -08:00
Kevin Sawicki
36477279a1 Shift modified icon up and to the left 1px 2013-02-05 21:29:40 -08:00
Justin Palmer
55e91f7860 adjust color of modified tabs 2013-02-05 20:19:07 -08:00
Justin Palmer
587beb88b6 kill the remaining parts of the tab rounded corners in the main bundle 2013-02-05 20:12:49 -08:00
Justin Palmer
dded43c992 add innershadow to selected tab 2013-02-05 17:29:42 -08:00
Justin Palmer
a79931bf91 logical grouping 2013-02-05 17:14:27 -08:00
Justin Palmer
6a8b1df398 simple gradient tabs 2013-02-05 16:52:50 -08:00
Justin Palmer
04b09c6552 💀 tab package css and move to static dir 2013-02-05 16:12:07 -08:00
Kevin Sawicki
9011d62351 Use octicon for README files 2013-02-05 09:17:47 -08:00
Justin Palmer
022b5fb88c use is-focused for the editor because it needs it's own state independent of the window state 2013-02-04 16:42:46 -08:00
Justin Palmer
f8855ef2e3 the editor has it's own blurred state independent of the window 2013-02-04 16:20:07 -08:00
Justin Palmer
4350be62c6 💀 is-focused.
targeting blurred state instead so normal state styles don't need a
special prefix
2013-02-04 16:02:09 -08:00
Justin Palmer
db9c67e1e2 adjust select-list height to fit new outerHeight 2013-02-04 14:25:24 -08:00
Justin Palmer
1b722e8293 😡 more select list tweaks. It's still about 8px off when scrolling 2013-02-04 13:58:44 -08:00
Justin Palmer
6b9c94d0e8 💄 2013-02-04 13:45:45 -08:00
Justin Palmer
9eb3a20867 consistent mini editor spacing in overlays 2013-02-04 13:40:09 -08:00
Justin Palmer
a5c20c1464 scrolling is a nice feature 2013-02-04 13:38:21 -08:00