瀏覽代碼

toolbar style

master
KaiSD 5 年之前
父節點
當前提交
b91e0ab008
共有 1 個檔案被更改,包括 12 行新增10 行删除
  1. +12
    -10
      ace/index.html

+ 12
- 10
ace/index.html 查看文件

@@ -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,


Loading…
取消
儲存