kill grammar-view.css, uses overlay and select list defaults

This commit is contained in:
Justin Palmer
2013-02-04 08:14:52 -08:00
parent 81fbb3bc93
commit ffa3518cb3
3 changed files with 1 additions and 27 deletions

View File

@@ -4,7 +4,7 @@ SelectList = require 'select-list'
module.exports =
class GrammarView extends SelectList
@viewClass: -> "#{super} grammar-view"
@viewClass: -> "#{super} grammar-view from-top overlay"
filterKey: 'name'
@@ -12,7 +12,6 @@ class GrammarView extends SelectList
@currentGrammar = @editor.getGrammar()
@path = @editor.getPath()
@autoDetect = name: 'Auto Detect'
requireStylesheet 'grammar-view.css'
@command 'editor:select-grammar', =>
@cancel()
false

View File

@@ -1,8 +0,0 @@
.grammar-view {
width: 50%;
margin-left: -25%;
}
.grammar-view ol {
max-height: 300px;
}

View File

@@ -1,17 +0,0 @@
.grammar-view ol li {
line-height: 16px;
}
.grammar-view ol li.grammar {
padding-left: 21px;
}
.grammar-view ol li.current-grammar:before {
font-family: 'Octicons Regular';
width: 16px;
height: 16px;
margin-right: 5px;
-webkit-font-smoothing: antialiased;
color: #ccc;
content: '\f03a';
}