Update the less files to properly import less

This commit is contained in:
Ben Ogle 2013-09-03 14:40:02 -07:00
parent 5c12a7ceef
commit 084457c2a0
6 changed files with 13 additions and 17 deletions

View File

@ -83,8 +83,6 @@ class Editor extends View
else
{editSession, @mini} = editSessionOrOptions ? {}
requireStylesheet 'editor'
@id = Editor.nextEditorId++
@lineCache = []
@configure()

View File

@ -28,8 +28,6 @@ class SelectList extends View
# Public:
initialize: ->
requireStylesheet 'select-list'
@miniEditor.getBuffer().on 'changed', => @schedulePopulateList()
@miniEditor.on 'focusout', => @cancel() unless @cancelling
@on 'core:move-up', => @selectPreviousItem()

View File

@ -1,9 +1,16 @@
@import "bootstrap/less/bootstrap.less";
@import "root-view.less";
@import "overlay.less";
@import "popover-list.less";
@import "notification.less";
@import "markdown.less";
@import "bootstrap/less/bootstrap";
@import "./octicon-utf-codes.less";
@import "./octicon-mixins.less";
@import "./root-view.less";
@import "./overlay.less";
@import "./popover-list.less";
@import "./notification.less";
@import "./markdown.less";
@import "./editor.less";
@import "./select-list.less";
:focus {
outline: none;

View File

@ -1,6 +1,3 @@
@import "octicon-utf-codes.less";
@import "octicon-mixins.less";
.editor {
overflow: hidden;
cursor: text;

View File

@ -1,5 +1,3 @@
@import "octicon-mixins.less";
@font-face { .octicon-font(); }
html, body {

View File

@ -1,5 +1,3 @@
@import "octicon-mixins.less";
.select-list {
.loading {
.loading-message {