Merge pull request #196 from github/input-styles

Mini editor styles
This commit is contained in:
Justin Palmer
2013-01-29 11:10:41 -08:00
6 changed files with 36 additions and 14 deletions

View File

@@ -84,7 +84,7 @@
content: '\f078';
font-family: 'Octicons Regular';
position: relative;
top: -5px;
top: 0;
left: -5px;
-webkit-font-smoothing: antialiased;
}

View File

@@ -4,6 +4,16 @@
.editor.mini {
height: auto;
line-height: 25px;
border: 1px solid rgba(0, 0, 0, 0.2);
border-bottom: 1px solid rgba(180, 180, 180, 0.2);
border-right: 1px solid rgba(180, 180, 180, 0.2);
}
.editor.mini .cursor {
width: 2px;
line-height: 20px;
margin-top: 2px;
}
.editor .gutter .line-number {

View File

@@ -1,6 +1,6 @@
.select-list {
background-color: #484848;
border: 1px solid #444;
background-color: #303030;
border: 1px solid #404040;
color: #d2d2d2;
box-shadow: 0 0 10px #000;
border-bottom-left-radius: 3px;
@@ -15,7 +15,7 @@
.select-list ol li {
background-color: #292929;
border-bottom: 1px solid #212121;
border-bottom: 1px solid #1e1e1e;
padding: 5px;
}

View File

@@ -29,6 +29,10 @@
}
.command-palette ol .event-name {
background: rgba(0, 0, 0, .2);
background: rgba(0, 0, 0, .3);
color: #fff;
}
}
.command-palette ol .key-binding {
background: #fff;
}

View File

@@ -4,6 +4,19 @@
.editor.mini {
height: auto;
line-height: 25px;
border: 1px solid rgba(0, 0, 0, 0.2);
border-bottom: 1px solid rgba(180, 180, 180, 0.3);
border-right: 1px solid rgba(180, 180, 180, 0.3);
background-color: #aaa;
color: #333;
}
.editor.mini .cursor {
background: #333;
width: 2px;
line-height: 20px;
margin-top: 2px;
}
.editor .gutter .line-number {

View File

@@ -1,5 +1,5 @@
.select-list {
background-color: #eeeeee;
background-color: #e5e5e5;
border: 1px solid #c6c6c6;
color: #323232;
box-shadow: 0 0 10px #555;
@@ -9,18 +9,13 @@
cursor: pointer;
}
.select-list .editor {
border: 1px solid #afafaf;
box-shadow: inset 0 0 2px #ccc;
}
.select-list ol {
border: 1px solid #d2d2d2;
}
.select-list ol li {
background-color: #f5f5f5;
border-bottom: 1px solid #e6e6e6;
border-bottom: 1px solid #ccc;
padding: 5px;
}
@@ -37,7 +32,7 @@
}
.select-list ol .selected {
background-color: #e1e1e1;
background-color: #e0e0e0;
}
.select-list .error {