Skip to content

Commit 87d88e3

Browse files
committed
re arrange & extract styling
1 parent 82deb8b commit 87d88e3

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

public/drag_drop_text/index.html

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<script type="text/javascript" src="/javascripts/jquery-1.4.min.js"></script>
88
<script type="text/javascript" src="/javascripts/jquery.highlight.js"></script>
99
<script type="text/javascript" src="/javascripts/jquery.autocomplete.js"></script>
10-
<script type="text/javascript" src="/javascripts/jquery.annotation.js"></script>
10+
<script type="text/javascript" src="jquery.annotation.js"></script>
1111

1212
<script type="text/javascript">
1313

@@ -48,6 +48,7 @@
4848
</script>
4949

5050
<link rel="stylesheet" href="../stylesheets/jquery.autocomplete.css" type="text/css" media="screen" title="no title" charset="utf-8">
51+
<link rel="stylesheet" href="jquery.annotation.css" type="text/css" media="screen" title="no title" charset="utf-8">
5152

5253
<style type="text/css">
5354
body{font-family:arial;font-size:10pt;}
@@ -57,29 +58,6 @@
5758
#sidebar{width:350px;float:right;}
5859
#dropzone{min-height:300px;margin:10px 0 0 10px;}
5960
#dropzone h3{padding:5px 10px 5px;border-bottom:1px solid #ccc;}
60-
61-
.annotation{background:#fafafa;border:1px solid #ccc;margin:5px 5px 10px 5px;}
62-
63-
.highlight { background-color: yellow; padding:auto 3px;}
64-
.excerpt_holder{padding:5px;}
65-
.excerpt{margin-right:5px;}
66-
.actions{display:inline-block;}
67-
.actions span{display:inline-block;width:12px;height:14px;vertical-align:middle;margin:0px 3px 2px;cursor:pointer;}
68-
.actions span.edit{background:url(/images/insights/edit.gif) no-repeat 1px 0px;}
69-
.actions span.trash{background:url(/images/insights/trash.gif) no-repeat 1px 2px;}
70-
.actions span.comment{background:url(/images/insights/comment.gif) no-repeat 1px 2px;}
71-
.actions span.attach{background:url(/images/insights/briefcase.gif) no-repeat 1px 2px;}
72-
73-
.insight_form{border-top:1px dashed #ccc;padding:5px;}
74-
75-
.insights{background:#fff;border-top:1px dashed #ccc;padding:2px 5px;}
76-
.insight{float:left;margin-right:5px;padding:3px;}
77-
.insight a{cursor:pointer;display:inline-block;color:transparent;width:10px;margin-right:3px;background:url("/images/insights/x-ind.gif") no-repeat 0px 5px;}
78-
.insight a:hover{background:url("/images/insights/x-ind.gif") no-repeat -10px 5px;}
79-
80-
div.comment{border-top:1px dashed #ccc;padding:5px 8px 5px 6px;text-align:right;}
81-
div.comment textarea{width:100%;height:50px;margin-bottom:5px;padding:1px;}
82-
div.comment .comment_button{}
8361
</style>
8462
</head>
8563

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.annotation{background:#fafafa;border:1px solid #ccc;margin:5px 5px 10px 5px;}
2+
3+
.highlight { background-color: yellow; padding:auto 3px;}
4+
.excerpt_holder{padding:5px;}
5+
.excerpt{margin-right:5px;}
6+
.actions{display:inline-block;}
7+
.actions span{display:inline-block;width:12px;height:14px;vertical-align:middle;margin:0px 3px 2px;cursor:pointer;}
8+
.actions span.edit{background:url(/images/insights/edit.gif) no-repeat 1px 0px;}
9+
.actions span.trash{background:url(/images/insights/trash.gif) no-repeat 1px 2px;}
10+
.actions span.comment{background:url(/images/insights/comment.gif) no-repeat 1px 2px;}
11+
.actions span.attach{background:url(/images/insights/briefcase.gif) no-repeat 1px 2px;}
12+
13+
.insight_form{border-top:1px dashed #ccc;padding:5px;}
14+
15+
.insights{background:#fff;border-top:1px dashed #ccc;padding:2px 5px;}
16+
.insight{float:left;margin-right:5px;padding:3px;}
17+
.insight a{cursor:pointer;display:inline-block;color:transparent;width:10px;margin-right:3px;background:url("/images/insights/x-ind.gif") no-repeat 0px 5px;}
18+
.insight a:hover{background:url("/images/insights/x-ind.gif") no-repeat -10px 5px;}
19+
20+
div.comment{border-top:1px dashed #ccc;padding:5px 8px 5px 6px;text-align:right;}
21+
div.comment textarea{width:100%;height:50px;margin-bottom:5px;padding:1px;}
22+
div.comment .comment_button{}

0 commit comments

Comments
 (0)