Skip to content

Commit

Permalink
Add: 'satsuki2-pop/cute' theme
Browse files Browse the repository at this point in the history
  • Loading branch information
nabe-abk committed Dec 29, 2015
1 parent 413e2e6 commit c2f3a5b
Show file tree
Hide file tree
Showing 19 changed files with 1,321 additions and 12 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Expand Up @@ -54,8 +54,6 @@ lib/SatsukiApp/form_2.pm
#--------------------------------------
# for Special Edition files
#--------------------------------------
theme/satsuki2/ayaka/
theme/satsuki2-pop/akane/
theme/satsuki2-pop/cute/


1 change: 0 additions & 1 deletion __tool/norelease.list
Expand Up @@ -5,5 +5,4 @@ lib/SatsukiApp/form_2.pm
lib/SatsukiApp/parser.pm
js/lightbox.js

theme/satsuki2/ayaka/
theme/satsuki2-pop/akane/
2 changes: 1 addition & 1 deletion js/theme-custom.js
Expand Up @@ -421,7 +421,7 @@ function update_css() {
lines[i] = x;
}
// オプション
var ma = in_opt || x.match(/\$(option\d*)=([\w-]+)/);
var ma = in_opt || x.match(/\$(option\d*)=([\w-\.]+)/);
if (ma) {
if (!in_opt) {
in_opt = true;
Expand Down
6 changes: 3 additions & 3 deletions lib/SatsukiApp/adiary_4.pm
Expand Up @@ -1395,7 +1395,7 @@ sub css_rewrite {
if ($_ =~ m|\$theme=([\w\-]+/[\w\-]+)|) {
$theme=$1;
}
if ($in_opt || $_ =~ /\$(option\d*)=([\w-]+)/) {
if ($in_opt || $_ =~ /\$(option\d*)=([\w-\.]+)/) {
if (!$in_opt) {
$in_opt = 1;
$opt_sel = $opt->{$1} eq $2;
Expand Down Expand Up @@ -1445,7 +1445,7 @@ sub load_theme_info {
if (-r $file) {
my $lines = $ROBJ->fread_lines( $file );
foreach(@$lines) {
if ($_ =~ /\$(option\d*)=([\w-]+)/) {
if ($_ =~ /\$(option\d*)=([\w-\.]+)/) {
$opt->{"$1$append"} = $2;
next;
}
Expand Down Expand Up @@ -1493,7 +1493,7 @@ sub load_theme_colors {
foreach(@$lines) {
$line_c++;
$_ =~ s/\r\n?/\n/;
if ($in_opt || $_ =~ /\$(option\d*)=([\w-]+)/) { # オプション中
if ($in_opt || $_ =~ /\$(option\d*)=([\w-\.]+)/) { # オプション中
if (!$in_opt) {
$in_opt=1;
if ($2 ne 'default') {
Expand Down
3 changes: 3 additions & 0 deletions skel/design/theme.html
Expand Up @@ -185,8 +185,11 @@
height=高さ
limit=制限
shadow=影
opacity=不透明度

theme-name=テーマ名
background=背景
original=オリジナル
</textarea>
<span id="css-exp-error">CSSで指定されている色式が正しくありません。<br>%s</span>
<span id="sysmode-no-warning">このテーマは管理画面非対応です。表示が崩れることがあるかもしれません。それでも管理画面で使用しますか?</span>
Expand Down
2 changes: 1 addition & 1 deletion skel/design/viewtest/dialog.html
Expand Up @@ -18,7 +18,7 @@
<h2>ダイアログを開きます</h2>
<div class="body">

<p>ボタンをクリックするとそれぞれダイアログを開きます。</p>
<p>ボタンをクリックするとそれぞれダイアログを開きます。<strong>すべて押して確認してください</strong></p>

<p>
<button type="button" id="btn1" data-title="テキストエリア" data-msg="テキストを入力してください。<a href='#'>リンクテスト</a>">テキストエリア</button>
Expand Down
5 changes: 3 additions & 2 deletions skel/design/viewtest/search.html
Expand Up @@ -133,8 +133,9 @@ <h2 id="art-441"><a class="date" href="#"><span class="y">2015</span><span class
<div class="body" id="s441">
<div class="body-header">
<div class="art-info" data-module-name="dea_art-info" data-fix="1">
<a href="#" class="edit-article">(編集)</a> </div>

<span class="tags"><span class="tag"><a href="#">てすと</a></span><span class="tag"><a href="#">test</a></span><span class="tag"><a href="#">adiary</a>::<a href="#">ToDo</a></span></span>
<a href="#" class="edit-article">(編集)</a>
</div>
</div>
<div class="body-main">
<section>
Expand Down
1 change: 0 additions & 1 deletion skel/design/viewtest/system.html
Expand Up @@ -32,7 +32,6 @@ <h2>設定画面</h2>
<article class="system edit" id="edit">
<h2>記事の編集(タグ表示の確認)</h2>
<div class="body">
<div class="float-r" id="edit-disp-pkey">444</div>
<span class="element" id="edit-yyyymmdd">
<span class="edit-caption">日付</span><input id="edit-date" type="date" name="ymd" class="w120" value="2015-06-19" min="1980-01-01" max="2999-12-31" required></span>

Expand Down
2 changes: 1 addition & 1 deletion theme/satsuki2-pop/cocoa/cocoa.css
Expand Up @@ -258,7 +258,7 @@ ul { list-style-position: inside;
ol { list-style-position: inside;
list-style-type: decimal;
margin: 0 0 0.2em 0.5em; }
div.main ul, div.main ol { padding-left: 0.5em; }
article ul, article ol { padding-left: 0.5em; }
ul.none, ol.none { list-style: none; }

/* 定義済みリスト */
Expand Down
12 changes: 12 additions & 0 deletions theme/satsuki2-pop/cute/README.txt
@@ -0,0 +1,12 @@
Title: きゅーと
Template: satsuki2
Author: かえで
Access: https://twitter.com/__Kaede
License: GPL
Charset: UTF-8
Smartphone: no
System-mode: yes

ChangeLog
2014/12/30 adiary C87 Special Editionにて配布
2015/12/29 全体の修正と調整。IE9対応。ライセンス変更 (by nabe)
Binary file added theme/satsuki2-pop/cute/article-bg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added theme/satsuki2-pop/cute/body-bg2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added theme/satsuki2-pop/cute/body-bg3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c2f3a5b

Please sign in to comment.