Skip to content

Commit

Permalink
[console] update style to match comps
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Mar 24, 2016
1 parent c8b5ab5 commit 78d0039
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 33 deletions.
33 changes: 25 additions & 8 deletions src/plugins/console/public/css/sense.less
Original file line number Diff line number Diff line change
@@ -1,15 +1,35 @@
@import "./sense.light.css";
@import (reference) "~ui/styles/variables";

nav.navbar .logo.hidden-sm {
display: block !important;
}

#editor_output_container {
@import "./sense.light.less";

display: flex;
flex: 1 1 auto;
position: relative;
padding: 10px;
font-size: 16px;

.ace-tm .ace_gutter {
background: @white;
color: #A0A0A0;
}

.ace-tm .ace_gutter-active-line {
background-color: #e6e6e8;
}

.ace-tm .ace_marker-layer .ace_active-line {
background-color: #dbdcdd;
}

.ace_snippet-marker {
background-color: #e8e8e8;
border: 0;
}
}

#editor_container {
Expand All @@ -36,15 +56,16 @@ nav.navbar .logo.hidden-sm {
display: flex;
flex: 0 0 13px;
cursor: ew-resize;
background-color: transparent;
background-color: #e4e4e4;
align-items: center;
margin: -10px 0;

&:hover {
background-color: #DCDCDC;
background-color: darken(#e4e4e4, 10%);
}

&.active {
background-color: rgba(194, 193, 208, 100);
background-color: darken(#e4e4e4, 40%);;
}
}

Expand Down Expand Up @@ -82,10 +103,6 @@ nav.navbar .logo.hidden-sm {
}
}

.ace_gutter {
margin-top: 1px;
}

#autocomplete {
visibility: hidden;
position: absolute;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,35 +1,21 @@

body {
background-color: #f7f7f7;
}

#editor, #output {
outline: 1px solid #ccc;
border-top: 1px solid #ffffff;
.ace_method {
color: #E64A3A;
}

.ace_url {
color: #0088cc;
}

.ace_url.ace_param {
color: rgb(49, 132, 149);
color: #40B0D3;
}

.ace_url.ace_value {
color: rgb(3, 106, 7);
.ace_variable {
color: #006E8A;
}

.ace-tm .ace_gutter {
background: transparent;
.ace_string {
color: #166555;
}

.ace_scroller {
border-left: 1px solid #ccc;
}

.ace_method {
color: rgb(197, 6, 11);
border-left: 1px solid #CCC;
}

.ace_snippet-marker {
Expand All @@ -39,10 +25,9 @@ body {
margin-top: -1px; /* compensate for background */
}


.ui-menu {
background-color: white;
border: 1px solid #CCC
border: 1px solid #CCC;
}

.ui-state-focus {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/console/public/src/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ let es = require('./es');
const storage = require('./storage');

function getFontSize() {
return storage.get('font_size', 12);
return storage.get('font_size', 14);
}

function setFontSize(size) {
Expand Down

0 comments on commit 78d0039

Please sign in to comment.