Commit Graph

510 Commits

Author SHA1 Message Date
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