Changeset 1549
- Timestamp:
- 11/26/09 18:28:31 (9 months ago)
- Location:
- applications/nimpad/trunk
- URL:
- http://svn.nequal.jp/applications/nimpad/trunk
- Files:
-
- 6 edited
-
html/resource/css/doc.css (modified) (2 diffs)
-
html/resource/css/page.css (modified) (9 diffs)
-
html/resource/css/sub.css (modified) (1 diff)
-
html/resource/js/nimpad.js (modified) (3 diffs)
-
template/com/entry.php (modified) (1 diff)
-
template/page.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
applications/nimpad/trunk/html/resource/css/doc.css
r1500 r1549 2 2 3 3 div.doctype.hatena h3 { 4 border-left : 8px solid #aaa; 4 background-image : url('../img/header_bg.gif'); 5 background-repeat : repeat-y; 5 6 color : #000; 6 7 font-size : 160%; 7 8 font-weight : normal; 8 9 margin : 0 0 1em 0; 9 padding : 6px 0 6px 1 1px;10 padding : 6px 0 6px 18px; 10 11 } 11 12 12 13 div.doctype.hatena h4 { 13 border-left : 8px solid #eee;14 border-left : 5px solid #ddd; 14 15 font-size : 130%; 15 16 font-weight : normal; 16 17 margin : 1.5em 0 1em 0; 17 padding : 6px 0 6px 11px;18 padding : 2px 0 2px 9px; 18 19 } 19 20 … … 77 78 78 79 div.doctype.hatena div.toc { 79 background-color : #f9f9f9;80 border : 1px solid #eee;81 display : inline-table;82 font-size : 90%;83 margin : 0.5em 0 1em 0;84 padding : 0.5em 0;85 width : auto;86 80 } 87 81 -
applications/nimpad/trunk/html/resource/css/page.css
r1500 r1549 58 58 h1 { 59 59 color : #A4B2D6; 60 font-family : 'Arial', 'メイリオ', 'Osaka UI'; 61 font-size : 130%; 60 font-size : 160%; 62 61 font-weight : normal; 63 letter-spacing : .05em;64 62 padding : 0 0 0.1em 0; 65 63 margin : 0; … … 107 105 } 108 106 109 h2 , div#main div.bar div.shadow{110 color : white;107 h2 { 108 color : #eaeefd; 111 109 height : 50px; 112 110 font-family : "Trebuchet MS",sans-serif; … … 117 115 overflow : hidden; 118 116 padding : 0 0 0 20px; 119 position : relative;120 117 } 121 118 … … 125 122 } 126 123 127 div#main div.bar div.shadow {128 color : #2C63E8;129 position : absolute;130 top : -1px;131 left : -1px;132 z-index : 0;133 }134 135 div#main div.bar:hover div.shadow {136 content : "";137 }138 139 div.bar + div.main-contents-menu {140 margin-top : -10px;141 }142 143 124 div.main-contents-menu { 144 125 font-size : 90%; … … 147 128 } 148 129 149 150 130 div#main-contents { 151 131 background-color : #F6f6f6; 132 background-color : #fff; 152 133 margin : 0 20px 0 0 ; 153 134 } … … 157 138 } 158 139 159 div#main-contents-header { 160 text-align : right; 161 font-size : 90%; 162 margin : 0; 163 padding : 5px 5px 0 0; 164 } 165 166 div#main-contents-body { 167 padding : 5px 5px 0 5px; 168 } 140 169 141 170 142 div.half-left, div.half-right { … … 174 146 175 147 div.half-left > div.entry { 176 margin-right : 5px;148 margin-right : 10px; 177 149 } 178 150 179 151 180 152 div.entry { 181 padding-bottom : 5px;153 padding-bottom : 10px; 182 154 } 183 155 … … 227 199 228 200 div.entry div.view div.body-footer { 229 background-color : #e9e9e9;230 201 background-color : #EBE7E0; 231 202 font-size : 90%; … … 239 210 div.entry div.view div.body-footer span.entry-name a:hover { 240 211 color : #333; 241 text-decoration : none;212 text-decoration : underline; 242 213 } 243 214 -
applications/nimpad/trunk/html/resource/css/sub.css
r1363 r1549 22 22 h1 { 23 23 color : #A4B2D6; 24 font-family : 'Arial', 'メイリオ', 'Osaka UI';25 font-size : 1 30%;24 /*font-family : 'Arial', 'メイリオ', 'Osaka UI';*/ 25 font-size : 160%; 26 26 font-weight : normal; 27 27 letter-spacing : .05em; -
applications/nimpad/trunk/html/resource/js/nimpad.js
r1474 r1549 83 83 }); 84 84 85 86 $("div#main div.bar div.shadow").text($("h2").text());87 88 85 var entry_arr = $("div.entry"); 89 86 if (entry_arr.length == 1 && $("form.entry-dict input[name=isnull]", entry_arr[0]).val() == "true") { … … 234 231 $("textarea, input", form_dom).attr("disabled", "on"); 235 232 var comment = null; 236 $.cookie(val("wikiname") + "/" + $("input[name=name]", form_dom).val(), textarea.css("height") );233 $.cookie(val("wikiname") + "/" + $("input[name=name]", form_dom).val(), textarea.css("height"), {path : '/', expires : 30}); 237 234 238 235 var status = $("span.status", form_dom).text("."); … … 312 309 ul.addClass("unfolding"); 313 310 $(this).attr("src", $(this).attr("src").replace("folding", "unfolding")); 314 $.cookie("unfolding", "on", {path: '/' });311 $.cookie("unfolding", "on", {path: '/', expires: 30}); 315 312 } 316 313 else { 317 314 ul.removeClass("unfolding"); 318 315 $(this).attr("src", $(this).attr("src").replace("unfolding", "folding")); 319 $.cookie("unfolding", null, {path: '/' });316 $.cookie("unfolding", null, {path: '/', expires: 30}); 320 317 } 321 318 }); -
applications/nimpad/trunk/template/com/entry.php
r1290 r1549 23 23 <div class="body-footer tl-corner"><div class="tr-corner"><div class="bl-corner"><div class="br-corner"> 24 24 25 <span class="entry-name"><strong><a href="<?php e($ entry->name()) ?>"><?php e($entry->name()) ?></a></strong></span>25 <span class="entry-name"><strong><a href="<?php e($v->encodeName($entry->name())) ?>"><?php e($entry->name()) ?></a></strong></span> 26 26 <span class="date"<?php if ($entry->isNull()): ?> style="display:none"<?php endif ?>><?php if (!$entry->isNull()) e($v->date($entry->updated_at())); ?></span> 27 27 28 28 <span class="delete-entry"<?php if (!$logged_in || $entry->isNull()): ?> style="display:none"<?php endif ?>> 29 <a href="<?php e($ entry->name()) ?>" class="delete-entry-link">削除</a>29 <a href="<?php e($v->encodeName($entry->name())) ?>" class="delete-entry-link">削除</a> 30 30 </span> 31 31 </div></div></div></div> -
applications/nimpad/trunk/template/page.php
r1482 r1549 114 114 <img src="<?php e(url('/resource/img/hide.gif')) ?>" /> 115 115 </div> 116 <div class="shadow"></div>117 116 <h2> 118 117 <?php echo isset($top) ? 'home: ' : (!isset($view_matched) ? (isset($view_all) ? 'view: ' : '') : 'matched: ') ?><?php e(isset($view_matched) || isset($view_all) ? $query : $v->title($entries)) ?> … … 120 119 </div></div></div> 121 120 122 <div id="main-contents"> <div class="tl-corner"><div class="tr-corner"><div class="bl-corner"><div class="br-corner">123 121 <div id="main-contents"> 122 124 123 <div id="main-contents-body"> 125 124 … … 141 140 </div> 142 141 143 </div> </div></div></div></div>142 </div> 144 143 145 144 <?php if ($logged_in && !isset($view_all) && !isset($view_matched) && $wiki->home() !== $query): ?>
Note: See TracChangeset
for help on using the changeset viewer.
