Skip to content

Commit 420f89b

Browse files
committedDec 30, 2014
update
1 parent 5aae5de commit 420f89b

File tree

4 files changed

+9
-16
lines changed

4 files changed

+9
-16
lines changed
 

‎README.md

+2-8
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
## Alice 是什么
99

10-
Alice 是漫游仙境的童话女神,是支付宝的样式解决方案,是一套精选的基于 [`CMD`](https://spmjs.org/alice/) 生态圈的样式模块集合,是 Arale 的子集,也是一套模块化的样式命名和组织规范,是写 `CSS` 的更好方式。
10+
Alice 是漫游仙境的童话女神,是支付宝的样式解决方案,是一套精选的基于 [spm](http://spmjs.io/search?q=alice) 生态圈的样式模块集合,是 Arale 的子集,也是一套模块化的样式命名和组织规范,是写 `CSS` 的更好方式。
1111

1212
她包括了一套通用样式模块库,一个模块化样式构建规范,一组帮助书写和组织样式的工具,以及产出更多 Alice 模块和样式库的完善方案。
1313

@@ -19,7 +19,7 @@ Alice 是漫游仙境的童话女神,是支付宝的样式解决方案,是
1919

2020
1. 模块化的命名和组织方式。
2121

22-
基于 `CMD` 生态圈,使用了Alice 命名规范,以模块的方式组织样式。
22+
基于 `spm` 生态圈,使用了Alice 命名规范,以模块的方式组织样式。
2323

2424
2. 强大的工具支持。
2525

@@ -77,9 +77,3 @@ Alice 的前身是 [http://github.com/sofish/alice](http://github.com/sofish/ali
7777
[Github 组织](https://github.com/aliceui/)
7878

7979
[Arale 官网](http://aralejs.org)
80-
81-
[支付宝样式集(内网)](http://site.alipay.im/styles)
82-
83-
84-
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/aliceui/aliceui.org/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
85-

‎_templates/layout.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ <h1>
7777
<ul>
7878
<li class="side-loading"><img width="160" alt="加载中..." src="/static/loading.gif"></li>
7979
</ul>
80-
</div>
80+
</div>
8181
{%- endif %}
8282
<script type="text/template" id="list-template">
8383
<li><a href="#"><i class="iconfont" title="单箭头右">&#x00E5;</i></a></li>
@@ -112,7 +112,7 @@ <h1>{{post.title}}</h1>
112112
<a href="http://aralejs.org">Arale</a>
113113
<a href="http://aliceui.org">Alice</a>
114114
<a href="http://seajs.org">Sea.js</a>
115-
<a href="https://spmjs.org">spmjs.org</a>
115+
<a href="http://spmjs.io">spmjs.io</a>
116116
<a href="{{system.homepage}}">{{system.name}}</a>
117117
</p>
118118
</footer>

‎docs/widget.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ seajs.use(['jquery', 'underscore', 'arale-popup'], function($, _, Popup) {
142142
$('.alice-modules').on('mouseenter', '.alice-module-demo', function() {
143143
$(this).find('.alice-module-sourcecode').fadeIn(200);
144144
}).on('mouseleave', '.alice-module-demo', function() {
145-
$(this).find('.alice-module-sourcecode').fadeOut(200);
145+
$(this).find('.alice-module-sourcecode').fadeOut(200);
146146
});
147147
148148
new Popup({
@@ -204,10 +204,8 @@ seajs.use(['jquery', 'underscore', 'arale-popup'], function($, _, Popup) {
204204
if (item.prev()[0].tagName !== 'H3' || !subtitle) {
205205
subtitle = '默认';
206206
}
207-
208207
demoNode.find('.alice-module-subtitle').html(subtitle);
209208
demoNode.find('.alice-module-dom').html(item.html());
210-
211209
// 直接使用目标页面生成的高亮代码,不再动态渲染
212210
var codeHtml = item.next('.highlight').find('pre').html();
213211
demoNode.find('.alice-module-code').html(codeHtml);
@@ -227,10 +225,10 @@ seajs.use(['jquery', 'underscore', 'arale-popup'], function($, _, Popup) {
227225
});
228226
});
229227
seajs.use('/static/side', function(side) {
230-
side.init();
231-
});
228+
side.init();
229+
});
232230
});
233-
231+
234232
function substractTitle(item) {
235233
$('.side-loading').remove();
236234
item = item.find('a');

‎static/style.css

+1
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ hr {
211211
width: 220px;
212212
background: #fff;
213213
border-bottom: 1px solid #ddd;
214+
float: left;
214215
}
215216

216217
.side-area ul {

0 commit comments

Comments
 (0)