mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
move generic command-panel styles to main bundle
This commit is contained in:
@@ -113,6 +113,7 @@ window.startup()
|
||||
requireStylesheet 'reset.css'
|
||||
requireStylesheet 'atom.css'
|
||||
requireStylesheet 'tree-view.css'
|
||||
requireStylesheet 'command-panel.css'
|
||||
requireStylesheet 'overlay.css'
|
||||
requireStylesheet 'popover-list.css'
|
||||
requireStylesheet 'notification.css'
|
||||
|
||||
79
static/command-panel.css
Normal file
79
static/command-panel.css
Normal file
@@ -0,0 +1,79 @@
|
||||
.command-panel {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.command-panel .preview-list {
|
||||
max-height: 300px;
|
||||
overflow: auto;
|
||||
margin: 0 1px 5px 10px;
|
||||
position: relative;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.command-panel .preview-count {
|
||||
font-size: 11px;
|
||||
text-align: right;
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
|
||||
.command-panel .preview-list .path {
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
.command-panel .preview-list .path:before {
|
||||
font-family: 'Octicons Regular';
|
||||
font-size: 16px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-right: 5px;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
content: "\f011";
|
||||
position: relative;
|
||||
top: 1px;
|
||||
}
|
||||
|
||||
.command-panel .preview-list .operation {
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
.command-panel .preview-list .line-number {
|
||||
padding-left: 3px;
|
||||
margin-right: 1ex;
|
||||
text-align: right;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.command-panel .preview-list .path-match-number {
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
.command-panel .preview-list .preview {
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.command-panel .preview-list .preview .match {
|
||||
-webkit-border-radius: 2px;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
.command-panel .prompt-and-editor .prompt:before {
|
||||
color: #969696;
|
||||
content: '\f078';
|
||||
font-family: 'Octicons Regular';
|
||||
position: relative;
|
||||
top: 0;
|
||||
left: -5px;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
.command-panel .prompt-and-editor .editor {
|
||||
position: relative;
|
||||
left: -4px;
|
||||
margin-right: -4px;
|
||||
}
|
||||
|
||||
.error-messages {
|
||||
padding: 5px 1em;
|
||||
color: white;
|
||||
}
|
||||
@@ -2,27 +2,18 @@
|
||||
background-color: #303030;
|
||||
border: 1px solid #252525;
|
||||
color: #dedede;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.command-panel .preview-list {
|
||||
max-height: 300px;
|
||||
overflow: auto;
|
||||
margin: 0 1px 5px 10px;
|
||||
position: relative;
|
||||
background-color: #1e1e1e;
|
||||
color: #C5C8C6;
|
||||
cursor: default;
|
||||
border: 1px solid rgba(0, 0, 0, 0.5);
|
||||
border-bottom: 1px solid rgba(180, 180, 180, 0.2);
|
||||
border-right: 1px solid rgba(180, 180, 180, 0.2);
|
||||
}
|
||||
|
||||
.command-panel .preview-count {
|
||||
font-size: 11px;
|
||||
color: #969696;
|
||||
text-align: right;
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
|
||||
.command-panel .preview-list li.selected, .command-panel .preview-list li.operation:hover {
|
||||
@@ -34,37 +25,14 @@
|
||||
}
|
||||
|
||||
.command-panel .preview-list .path {
|
||||
padding-left: 5px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.command-panel .preview-list .path:before {
|
||||
font-family: 'Octicons Regular';
|
||||
font-size: 16px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-right: 5px;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
content: "\f011";
|
||||
position: relative;
|
||||
top: 1px;
|
||||
}
|
||||
|
||||
.command-panel .preview-list .operation {
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
.command-panel .preview-list .line-number {
|
||||
padding-left: 3px;
|
||||
color: rgba(255, 255, 255, .3);
|
||||
margin-right: 1ex;
|
||||
text-align: right;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.command-panel .preview-list .path-match-number {
|
||||
padding-left: 8px;
|
||||
color: rgba(255, 255, 255, .3);
|
||||
}
|
||||
|
||||
@@ -74,32 +42,9 @@
|
||||
|
||||
.command-panel .preview-list .preview .match {
|
||||
background-color: rgba(255, 255, 255, .2);
|
||||
-webkit-border-radius: 2px;
|
||||
padding: 1px;
|
||||
color: yellow;
|
||||
}
|
||||
|
||||
.command-panel .prompt-and-editor {
|
||||
display: -webkit-box;
|
||||
}
|
||||
|
||||
.command-panel .prompt-and-editor .prompt:before {
|
||||
color: #969696;
|
||||
content: '\f078';
|
||||
font-family: 'Octicons Regular';
|
||||
position: relative;
|
||||
top: 0;
|
||||
left: -5px;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
.command-panel .prompt-and-editor .editor {
|
||||
position: relative;
|
||||
left: -4px;
|
||||
margin-right: -4px;
|
||||
}
|
||||
|
||||
.error-messages {
|
||||
padding: 5px 1em;
|
||||
color: white;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user