mirroring dark theme

This commit is contained in:
Jon Rohan 2013-01-21 21:04:12 -08:00
parent f8520162a0
commit 25308fd8da
10 changed files with 27 additions and 235 deletions

View File

@ -1,33 +1,9 @@
html, body {
font: caption;
width: 100%;
height: 100%;
overflow: hidden;
}
html, body,
#root-view {
height: 100%;
overflow: hidden;
position: relative;
font: caption;
background-color: #333333;
}
#root-view #horizontal {
display: -webkit-box;
height: 100%;
}
#root-view #vertical {
-webkit-box-flex: 1;
display: -webkit-box;
-webkit-box-orient: vertical;
}
#root-view #panes {
-webkit-box-flex: 1;
position: relative;
}
#root-view #panes:before {
display: block;
content: "\f208";
@ -39,35 +15,6 @@ html, body {
text-align: center;
}
#root-view #panes .column {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
overflow-y: hidden;
}
#root-view #panes .row {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
overflow-x: hidden;
}
#root-view #panes .pane {
position: absolute;
display: -webkit-box;
-webkit-box-orient: vertical;
top: 0;
bottom: 0;
left: 0;
right: 0;
box-sizing: border-box;
}
#root-view #panes .row > * + * {
border-left: 5px solid #515151;
}

View File

@ -2,10 +2,8 @@
min-width: 150px;
border: 2px solid #222;
webkit-box-shadow: 0 0 3px 3px rgba(0, 0, 0, .5);
box-sizing: content-box;
margin-left: 0px;
width: auto;
-webkit-box-shadow: none;
}
.autocomplete ol {

View File

@ -1,13 +1,6 @@
.command-logger {
position: absolute;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
background: #1e1e1e;
color: #eee;
overflow: auto;
z-index: 99;
padding-top: 10px;
padding-bottom: 10px;
}
@ -45,5 +38,4 @@ body.command-logger-node-text {
font-size: 10px;
color: #fff;
text-shadow: #000 1px 1px 4px;
-webkit-user-select: none;
}

View File

@ -67,10 +67,20 @@
display: -webkit-box;
}
.command-panel .prompt {
color: white;
font-weight: bold;
padding-right: 5px;
.command-panel .prompt-and-editor .prompt:before {
color: #969696;
content: '\f078';
font-family: 'Octicons Regular';
position: relative;
top: -5px;
left: -5px;
-webkit-font-smoothing: antialiased;
}
.command-panel .prompt-and-editor .editor {
position: relative;
left: -4px;
margin-right: -4px;
}
.error-messages {

View File

@ -1,11 +1,4 @@
.editor {
height: 100%;
overflow: hidden;
cursor: default;
-webkit-user-select: none;
-webkit-box-flex: 1;
position: relative;
z-index: 0;
font-family: Inconsolata, Monaco, Courier;
}
@ -13,109 +6,17 @@
height: auto;
}
.editor .gutter {
position: absolute;
height: 100%;
overflow: hidden;
color: #808080;
text-align: right;
}
.editor .gutter .line-numbers {
position: relative;
}
.editor .gutter .line-number {
padding-left: 0.4em;
padding-right: 0.8em;
}
.editor.mini .gutter {
display: none;
padding-right: 1.5em;
min-width: 50px;
box-sizing: border-box;
text-align: right;
}
.editor .gutter.drop-shadow {
-webkit-box-shadow: -2px 0px 10px 2px #222;
}
.editor .vertical-scrollbar {
position: absolute;
right: 0;
top: 0;
bottom: 0;
width: 15px;
overflow-y: auto;
z-index: 1;
}
.editor .scroll-view {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
overflow-x: auto;
overflow-y: hidden;
-webkit-box-flex: 1;
}
.editor.mini .scroll-view {
overflow: hidden;
}
.editor.soft-wrap .scroll-view {
overflow-x: hidden;
}
.editor .underlayer, .editor .lines, .editor .overlayer {
width: 100%;
height: 100%;
}
.editor .underlayer {
z-index: 0;
position: absolute;
}
.editor .lines {
position: relative;
z-index: 1;
}
.editor .overlayer {
z-index: 2;
position: absolute;
}
.editor .line span {
vertical-align: top;
}
.editor .cursor {
position: absolute;
border-left: 2px solid;
}
.editor:not(.focused) .cursor,
.editor.focused .cursor.blink-off {
visibility: hidden;
}
.editor .hidden-input {
position: absolute;
z-index: -1;
top: 0;
left: 0;
opacity: 0;
}
.editor .selection .region {
position: absolute;
pointer-events: none;
z-index: -1;
}
@-webkit-keyframes highlight {
from { background-color: rgba(100, 255, 100, 0.7); }
to { background-color: null; }

View File

@ -1,12 +1,3 @@
.grammar-view {
width: 50%;
margin-left: -25%;
}
.grammar-view ol {
max-height: 300px;
}
.grammar-view ol li {
padding: 2px;
border-bottom: 1px solid rgba(255, 255, 255, .05);

View File

@ -4,7 +4,6 @@
"editor.css",
"grammar-view.css",
"select-list.css",
"vim-mode.css",
"tree-view.css",
"tabs.css",
"wrap-guide.css",

View File

@ -1,31 +1,14 @@
.select-list {
position: absolute;
width: 80%;
width: 600px;
top: 0;
left: 50%;
margin-left: -40%;
background-color: #444;
margin-left: -300px;
box-sizing: border-box;
color: #eee;
-webkit-box-shadow: 0 0 5px 5px #222;
padding: 5px;
z-index: 99;
}
.select-list ol {
position: relative;
overflow-y: auto;
}
.select-list li:hover {
background-color: #555;
}
.select-list ol .selected {
background: green;
}
.select-list .error {
padding-top: 5px;
font-weight: bold;
}
}

View File

@ -1,10 +1,10 @@
.status-bar {
background-color: #e5e5e5;
border-top: 1px solid #959595;
background-color: #303030;
border-top: 1px solid #454545;
padding: 4px 10px 3px;
font-size: 11px;
line-height: 14px;
color: #333;
color: #969696;
position: relative;
-webkit-user-select: none;
cursor: default;

View File

@ -1,14 +1,6 @@
.tree-view {
position: relative;
height: 100%;
background: #e2e7ed;
overflow: auto;
cursor: default;
-webkit-user-select: none;
border-right: 2px solid #bdbdbd;
min-width: 100px;
z-index: 2;
padding-left: 12px;
}
.tree-view .entry {
@ -24,19 +16,12 @@
}
.tree-view .directory.selected > .header > .name,
.tree-view .selected > .name,
.tree-view .selected > .disclosure-arrow {
.tree-view .selected > .name {
color: #262626;
}
.tree-view .selected > .highlight {
background-image: -webkit-linear-gradient(#c7cbd2, #aeb3bb);
position: absolute;
left: 0;
right: 0;
height: 24px;
margin-top:-24px;
z-index: -1;
}
.tree-view:focus .selected > .highlight {
@ -51,15 +36,6 @@
text-shadow: 0 1px 0 #000;
}
.tree-view .entry.file .name {
display: block;
}
.tree-view .disclosure-arrow {
display: inline-block;
text-shadow: none;
}
.tree-view .directory .header {
color: #262626;
}
@ -98,14 +74,9 @@
}
.tree-view-dialog {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background-color: #333;
border-top: 1px solid #555;
-webkit-box-shadow: 0 0 3px 3px rgba(0, 0, 0, .5);
z-index: 99;
padding: 5px;
}