mirror of
https://github.com/atom/atom.git
synced 2026-02-05 12:15:07 -05:00
Move package CSS files to stylesheets directory
This commit is contained in:
@@ -11,7 +11,6 @@ _ = require 'underscore'
|
||||
module.exports =
|
||||
class CommandPanel extends View
|
||||
@activate: (rootView, state) ->
|
||||
requireStylesheet 'command-panel.css'
|
||||
if state?
|
||||
@instance = CommandPanel.deserialize(state, rootView)
|
||||
else
|
||||
|
||||
54
src/packages/command-panel/stylesheets/command-panel.css
Normal file
54
src/packages/command-panel/stylesheets/command-panel.css
Normal file
@@ -0,0 +1,54 @@
|
||||
.command-panel {
|
||||
background: #515151;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.command-panel .preview-list {
|
||||
max-height: 300px;
|
||||
overflow: auto;
|
||||
margin-bottom: 3px;
|
||||
position: relative;
|
||||
background: #161616;
|
||||
}
|
||||
|
||||
.command-panel .preview-list {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.command-panel .preview-list li.selected, .command-panel .preview-list li:hover {
|
||||
background: #444;
|
||||
}
|
||||
|
||||
.command-panel .preview-list:focus li.selected {
|
||||
background: #223555;
|
||||
}
|
||||
|
||||
.command-panel .preview-list .path {
|
||||
padding-left: 3px;
|
||||
color: #f9ee98;
|
||||
margin-right: 1ex;
|
||||
}
|
||||
|
||||
.command-panel .preview-list .preview {
|
||||
color: #f6f3e8;
|
||||
}
|
||||
|
||||
.command-panel .preview-list .preview .match {
|
||||
background-color: rgba(255,255,255,.25);
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
.command-panel .prompt-and-editor {
|
||||
display: -webkit-box;
|
||||
}
|
||||
|
||||
.command-panel .prompt {
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
.error-messages {
|
||||
padding: 5px 1em;
|
||||
color: white;
|
||||
}
|
||||
Reference in New Issue
Block a user