toolbar style
This commit is contained in:
@@ -11,8 +11,12 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#editor {
|
||||
margin-top: 30px;
|
||||
.toolbar {
|
||||
background-color: #222;
|
||||
}
|
||||
|
||||
.inner {
|
||||
margin-top: 32px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
@@ -22,14 +26,12 @@
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<!--<div class="toolbar">
|
||||
<button id="btnSave" class="btn btn-primary btn-xs">save</button>
|
||||
<button id="btnUndo" class="btn btn-primary btn-xs">undo</button>
|
||||
<button id="btnRedo" class="btn btn-primary btn-xs">redo</button>
|
||||
</div>-->
|
||||
<div class="inner" id="editor"></div>
|
||||
<div class="toolbar">
|
||||
<button id="btnSave" class="btn btn-primary btn-xs">save</button>
|
||||
<button id="btnUndo" class="btn btn-primary btn-xs">undo</button>
|
||||
<button id="btnRedo" class="btn btn-primary btn-xs">redo</button>
|
||||
</div>
|
||||
<div class="inner" id="editor"></div>
|
||||
|
||||
<script src="src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script>
|
||||
@@ -37,7 +39,7 @@
|
||||
var editor = ace.edit("editor");
|
||||
editor.setOptions({
|
||||
mode: "ace/mode/text",
|
||||
theme: "ace/theme/twilight",
|
||||
theme: "ace/theme/ambiance",
|
||||
showPrintMargin: false,
|
||||
wrap: true,
|
||||
indentedSoftWrap: true,
|
||||
|
||||
Reference in New Issue
Block a user