initial commit
This commit is contained in:
parent
a29e2fc34d
commit
e972c5631f
@ -1,3 +1,5 @@
|
||||
# flatpress-theme-snail-orange
|
||||
|
||||
snail theme for flatpress but in orange color
|
||||
snail theme for flatpress but in orange color
|
||||
|
||||
![Preview](preview.png)
|
||||
|
15
admin.tpl
Normal file
15
admin.tpl
Normal file
@ -0,0 +1,15 @@
|
||||
{include file=cpheader.tpl}
|
||||
<div id="cpmain">
|
||||
<div class="entry">
|
||||
<ul id="admin-small-nav">
|
||||
<li><a href="index.php">Home</a></li>
|
||||
<li><a href="login.php?do=logout">Logout</a></li>
|
||||
</ul>
|
||||
|
||||
{page}
|
||||
<h1 class="title">{$subject}</h1>
|
||||
<div class="body">{controlpanel}</div>
|
||||
{/page}
|
||||
</div>
|
||||
</div>
|
||||
{include file=footer.tpl}
|
36
comments.tpl
Normal file
36
comments.tpl
Normal file
@ -0,0 +1,36 @@
|
||||
{include file=header.tpl}
|
||||
<div id="main">
|
||||
{entry_block}
|
||||
{entry}
|
||||
{include file=entry-default.tpl}
|
||||
{comment_block}
|
||||
<ol id="comments">
|
||||
{comment}
|
||||
<li id="{$id}" {$loggedin|notempty:"class=\"comment-admin\""}>
|
||||
<strong class='comment-name'>
|
||||
{$url|notempty:"<a href=\"$url\" title=\"Permalink to $name's comment\">$name</a>"|default:$name}
|
||||
</strong>
|
||||
|
||||
{include file=shared:commentadminctrls.tpl} {* this shows edit/delete links*}
|
||||
|
||||
<div class="date">
|
||||
{$date|date_format:"%B %d, %Y - %H:%M"}
|
||||
</div>
|
||||
|
||||
{$content|tag:comment_text}
|
||||
</li>
|
||||
{/comment}
|
||||
</ol>
|
||||
{/comment_block}
|
||||
|
||||
{/entry}
|
||||
|
||||
<div class="navigation">
|
||||
{nextpage}{prevpage}
|
||||
</div>
|
||||
{/entry_block}
|
||||
{include file="shared:comments.tpl"}
|
||||
</div>
|
||||
{include file=widgets.tpl}
|
||||
<hr />
|
||||
{include file=footer.tpl}
|
11
cpheader.tpl
Normal file
11
cpheader.tpl
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>{$flatpress.TITLE}{$pagetitle}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={$flatpress.CHARSET}" />
|
||||
{action hook=wp_head}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="body-container">
|
||||
<div id="outer-container">
|
15
default.tpl
Normal file
15
default.tpl
Normal file
@ -0,0 +1,15 @@
|
||||
{include file=header.tpl}
|
||||
<div id="main">
|
||||
<div class="entry">
|
||||
{page}
|
||||
<h3 class="title">{$subject}</h3>
|
||||
<div class="body">
|
||||
{if $rawcontent} {$content}
|
||||
{else} {include file=$content}{/if}
|
||||
</div>
|
||||
{/page}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file=widgets.tpl}
|
||||
{include file=footer.tpl}
|
11
entry-default.tpl
Normal file
11
entry-default.tpl
Normal file
@ -0,0 +1,11 @@
|
||||
<div id="{$id}" class="entry">
|
||||
<h3 class="entrytitle"> <a href="{$id|link:post_link}">{$subject|tag:the_title}</a></h3>
|
||||
{$date|date_format:'<h2 class="date">%B %d, %Y @ %H:%M</h2>'}
|
||||
{include file=shared:entryadminctrls.tpl}
|
||||
|
||||
{$content|tag:the_content}
|
||||
|
||||
<ul class="entry-footer">
|
||||
<a href="{$id|link:comments_link}#comments">{$comments|tag:comments_number} {if $views}(<strong>{$views}</strong> views)</a>{/if}
|
||||
</ul>
|
||||
</div>
|
10
footer.tpl
Normal file
10
footer.tpl
Normal file
@ -0,0 +1,10 @@
|
||||
</div>
|
||||
<hr />
|
||||
<div id="footer">
|
||||
{action hook=wp_footer}
|
||||
Snail-orange Theme is designed by <a href="http://www.stealthsettings.com">Stealth Settings</a> and has been ported to FP and restyled by <a href="http://marcoverga86.netsons.org">Marco Vergagni</a>, modified 2023 by DeltaLima.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
16
header.tpl
Normal file
16
header.tpl
Normal file
@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>{$flatpress.TITLE}{$pagetitle}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={$flatpress.CHARSET}" />
|
||||
{action hook=wp_head}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="body-container">
|
||||
<div id="head">
|
||||
<h1><a href="index.php">{$flatpress.TITLE}</a></h1>
|
||||
<p class="subtitle">{$flatpress.SUBTITLE}</p>
|
||||
</div>
|
||||
<hr />
|
||||
<div id="outer-container">
|
BIN
imgs/circle.gif
Normal file
BIN
imgs/circle.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 60 B |
BIN
imgs/logo.jpg
Normal file
BIN
imgs/logo.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.5 KiB |
14
index.tpl
Normal file
14
index.tpl
Normal file
@ -0,0 +1,14 @@
|
||||
{include file=header.tpl}
|
||||
{include file=widgets.tpl}
|
||||
<div id="main">
|
||||
{entry_block}
|
||||
{entry}
|
||||
{include file='entry-default.tpl'}
|
||||
{/entry}
|
||||
<div class="navigation">
|
||||
{nextpage}{prevpage}
|
||||
</div>
|
||||
{/entry_block}
|
||||
</div>
|
||||
|
||||
{include file=footer.tpl}
|
BIN
preview.png
Normal file
BIN
preview.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 173 KiB |
7
preview.tpl
Normal file
7
preview.tpl
Normal file
@ -0,0 +1,7 @@
|
||||
{entry content=$entry}
|
||||
<div class="entry">
|
||||
<h3>{$subject|tag:the_title}</h3>
|
||||
<p class="date">Published by {$author} on {$date|date_format:"%A, %B %e, %Y - %H:%M:%S"} </p>
|
||||
{$content|tag:the_content}
|
||||
</div>
|
||||
{/entry}
|
7
previewstatic.tpl
Normal file
7
previewstatic.tpl
Normal file
@ -0,0 +1,7 @@
|
||||
{static content=$entry}
|
||||
<div class="entry">
|
||||
<h3>{$subject}</h3>
|
||||
<p class="date">Published by {$author} on {$date|date_format:"%A, %B %e, %Y - %H:%M:%S"} </p>
|
||||
{$content}
|
||||
</div>
|
||||
{/static}
|
376
res/admin.css
Normal file
376
res/admin.css
Normal file
@ -0,0 +1,376 @@
|
||||
/*
|
||||
Name: Snail-orange
|
||||
Author: Marcoverga86
|
||||
Version: 2.0
|
||||
Module: admin.css
|
||||
*/
|
||||
|
||||
@import url(common.css);
|
||||
@import url(globals.css);
|
||||
|
||||
/* ===== HEADERS TAGS ===== */
|
||||
h1.title {
|
||||
text-align: center;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
#admin-content h2 {
|
||||
font-size: 1.7em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
/* DIV CONTAINER ALL ADMIN DIV BLOCK */
|
||||
#cpmain {
|
||||
padding: 10px;
|
||||
background: #2D2D2D;
|
||||
}
|
||||
|
||||
/* ===== SMALL NAVBAR (home and logout links) ===== */
|
||||
ul#admin-small-nav {
|
||||
font-size: 80%;
|
||||
float: right;
|
||||
list-style-type: none
|
||||
}
|
||||
|
||||
ul#admin-small-nav li { display: inline; margin: 5px }
|
||||
|
||||
/* ===== DRAFTS ===== */
|
||||
#admin-drafts {
|
||||
border-top: 1px solid #bbb;
|
||||
border-bottom: 1px solid #bbb;
|
||||
padding: .4em;
|
||||
background-color: #444444;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#admin-drafts p {
|
||||
font-weight: bold;
|
||||
float: left;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#admin-content #admin-drafts ul { margin: 0; padding: 0}
|
||||
|
||||
#admin-drafts li {
|
||||
float:left;
|
||||
list-style-type: none;
|
||||
margin-left: 15px;
|
||||
padding-left: 1em;
|
||||
}
|
||||
|
||||
/* ===== TAB MENU ===== */
|
||||
ul#admin-tabmenu {
|
||||
text-align: center;
|
||||
margin: 1em 0 0 0;
|
||||
padding: .5em;
|
||||
border-top: solid 2px #003399;
|
||||
border-bottom: solid 2px #003399;
|
||||
}
|
||||
|
||||
ul#admin-tabmenu li, ul#admin-submenu li {
|
||||
display: inline;
|
||||
font-size: 85%;
|
||||
font-weight: normal;
|
||||
text-decoration: none
|
||||
}
|
||||
|
||||
ul#admin-tabmenu li a {
|
||||
color: #222;
|
||||
line-height: 2em;
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
padding: 0.5em;
|
||||
background-color: #fff
|
||||
}
|
||||
|
||||
ul#admin-tabmenu li a:hover {
|
||||
color: black;
|
||||
font-weight: normal;
|
||||
background-color: #A29D7D
|
||||
}
|
||||
|
||||
ul#admin-tabmenu a#admin-tab-current {
|
||||
font-weight: bold;
|
||||
background-color: #DAAA55
|
||||
}
|
||||
|
||||
/* ===== SUBMENU ====== */
|
||||
#admin-submenu {
|
||||
text-align: center;
|
||||
padding: .1em .3em .2em;
|
||||
}
|
||||
|
||||
#admin-submenu li {
|
||||
display: inline;
|
||||
font-size: 80%;
|
||||
margin-right: 5px
|
||||
}
|
||||
|
||||
#admin-submenu li a {
|
||||
padding: 2px 5px 1px 5px;
|
||||
color: black;
|
||||
font-weight: normal;
|
||||
background: white;
|
||||
}
|
||||
|
||||
#admin-submenu li a:hover {
|
||||
padding: 2px 5px 1px 5px;
|
||||
background: #DEAA52;
|
||||
border-top: 4px solid #003399;
|
||||
border-bottom: 3px solid #DEAA52;
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#admin-submenu li a.active {
|
||||
color: white;
|
||||
background: #A59E7B;
|
||||
font-weight: bold;
|
||||
padding: 2px 5px 1px 5px;
|
||||
border-top: 4px solid #0066FF;
|
||||
border-bottom: 3px solid #A59E7B;
|
||||
}
|
||||
|
||||
/* ===== MAIN MENU ITEM ===== */
|
||||
#admin-content { padding: 1em }
|
||||
.admin-mainmenu-item img { padding-right: 1em }
|
||||
|
||||
.admin-mainmenu-item {
|
||||
display: block;
|
||||
padding: 1em;
|
||||
clear: both
|
||||
}
|
||||
|
||||
.admin-mainmenu-item .admin-icon-descr {
|
||||
font-size: 80%;
|
||||
font-style: italic
|
||||
}
|
||||
|
||||
/* ===== ADMIN ENTRY ===== */
|
||||
input#subject {
|
||||
width: 100%;
|
||||
font-size: 1.3em;
|
||||
color: #333333;
|
||||
font-weight: bold
|
||||
}
|
||||
|
||||
textarea.code {
|
||||
font-family: monospace, Lucida Console, Monaco, monospace;
|
||||
font-size: 90%
|
||||
}
|
||||
|
||||
textarea#content { background: #777777 }
|
||||
#admin-entry-categories ul li { padding: 0 }
|
||||
#admin-bbcode-toolbar p { display: inline }
|
||||
#admin-bbcode-toolbar select { width: 10em }
|
||||
|
||||
#admin-entry-categories ul {
|
||||
display:block;
|
||||
list-style-type: none;
|
||||
margin-right: 10px;
|
||||
padding-left: 1em
|
||||
}
|
||||
|
||||
#admin-content table {
|
||||
width: 100%;
|
||||
border-collapse: collapse
|
||||
}
|
||||
|
||||
#admin-content td.main-cell {
|
||||
text-align:left;
|
||||
width:30%;
|
||||
}
|
||||
|
||||
#admin-content td {
|
||||
font-size: 11px;
|
||||
padding: 4px;
|
||||
background:#333333 none repeat scroll 0%;
|
||||
text-align: center;
|
||||
border: 2px solid #777777;
|
||||
}
|
||||
|
||||
#admin-content th {
|
||||
background:#222222 none repeat scroll 0%;
|
||||
font-size:0.75em;
|
||||
text-align:center;
|
||||
padding: 4px;
|
||||
border: 2px solid #777777;
|
||||
}
|
||||
|
||||
#plugin-table-body td { padding: 1em .6em }
|
||||
#admin-bbcode-toolbar legend { display: none }
|
||||
#admin-content ul { margin-left: 2em }
|
||||
#admin-content ul li{ padding: 0 }
|
||||
input.maxsize, select.maxsize { width: 100% }
|
||||
.link-general { padding: 0 5px 0 5px }
|
||||
|
||||
#admin-bbcode-toolbar {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
padding-right: 0.7%;
|
||||
border: none
|
||||
}
|
||||
|
||||
/* ===== WIDGET PANEL ====== */
|
||||
#admin-widgetset-list { width: 30em }
|
||||
|
||||
#admin-widgetset-list ul {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
margin-bottom: 2em;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
li.admin-widgetset {
|
||||
padding: .5em;
|
||||
margin-bottom: 2em;
|
||||
border: 1px solid #666666;
|
||||
}
|
||||
|
||||
#available-widgets {
|
||||
border: 1px solid #666666;
|
||||
font-size: 80%;
|
||||
float: right;
|
||||
padding: 1em;
|
||||
width: 30%;
|
||||
z-index: 1000;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#widget-trashcan {
|
||||
background-color: #CC3333;
|
||||
color: #ddd;
|
||||
font-size: 120%;
|
||||
font-weight: bold;
|
||||
padding: 2em;
|
||||
text-align: center;
|
||||
margin: 2em;
|
||||
}
|
||||
|
||||
#available-widgets ul, .admin-widgetset ul { padding-left: 0; margin-left: 0 }
|
||||
#available-widgets p, .admin-widgetset p { margin: 0 0.5em }
|
||||
|
||||
li.widget-instance, li.widget-class {
|
||||
cursor: move;
|
||||
border: 1px solid #666666;
|
||||
margin: 3px;
|
||||
padding: .5em;
|
||||
height: 20px;
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.admin-widgetset h3 {
|
||||
margin-bottom: 1em;
|
||||
padding: .3em;
|
||||
background: #333333;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#available-widgets h2 {
|
||||
cursor: move;
|
||||
color: white;
|
||||
margin-bottom: 1em;
|
||||
padding: .3em;
|
||||
background: #333333;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.widget-instance .textinput {
|
||||
background: transparent;
|
||||
font-weight: bold;
|
||||
font-style: oblique;
|
||||
color: white;
|
||||
border: #0066FF 2px solid;
|
||||
}
|
||||
|
||||
.widget-instance .textinput:hover { border: 2px solid #336699 }
|
||||
.widgetname a, .widgetname a:link, .widgetname a:visited { color: #ddd }
|
||||
|
||||
.widget-instance .textinput:focus {
|
||||
font-style: normal;
|
||||
border: 2px solid #1100FF;
|
||||
}
|
||||
|
||||
.widget-placeholder {
|
||||
padding: .5em;
|
||||
font-style: oblique;
|
||||
text-align: center;
|
||||
border: 1px dashed #666666;
|
||||
}
|
||||
|
||||
.widget-dragger {
|
||||
text-align: left;
|
||||
z-index: 1000;
|
||||
padding: .5em;
|
||||
height: 30px !important;
|
||||
}
|
||||
|
||||
/* ===== PLUGINS ===== */
|
||||
|
||||
#plugin-table { color: #777777 }
|
||||
#plugin-table-head, .enabled { color: white }
|
||||
|
||||
/* ===== THEME PANEL ===== */
|
||||
#current-theme h5, #available-themes h5 { margin:0.5em }
|
||||
#available-themes { clear: both }
|
||||
#available-themes ul { list-style-type: none }
|
||||
#available-themes ul li:hover { background: #333333 }
|
||||
|
||||
#current-theme {
|
||||
margin-bottom: 2em;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
#current-theme img {
|
||||
float:left;
|
||||
border: 1px solid #ddd;
|
||||
margin-right: 2em;
|
||||
}
|
||||
|
||||
#available-themes ul li {
|
||||
float:left;
|
||||
padding: 1em 2em 1em 2em;
|
||||
text-align: center;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
/* ===== CONFIG PANEL ===== */
|
||||
#admin-config dt {
|
||||
width: 33%;
|
||||
text-align:right;
|
||||
margin-top: 1.8em;
|
||||
line-height: 1.5em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#admin-config dd {
|
||||
margin-left: 35%;
|
||||
margin-top: -1.7em;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
#admin-config dt label { padding-top: .2em }
|
||||
#admin-config dl { margin-bottom: 4em }
|
||||
#admin-config dd p { margin: 0 }
|
||||
#admin-config dd input{ margin-bottom: .2em }
|
||||
#admin-config input.textinput , #admin-config select.textinput { width: 15em }
|
||||
#admin-config input.bigtextinput { width: 20em }
|
||||
#admin-config input.smalltextinput { width: 5em }
|
||||
|
||||
/* ===== PREVIEW SETTINGS ===== */
|
||||
#post-preview h3 { color: #0066FF }
|
||||
#post-preview .entry .date { font-size: 11px }
|
||||
#post-preview .entry { padding: 1em }
|
||||
|
||||
#post-preview ul {
|
||||
list-style-type: disc;
|
||||
padding: 0 1.6 0 1.6em;
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
#post-preview ol {
|
||||
list-style-position: inside;
|
||||
padding: 0 1.6em 0 1.6em
|
||||
}
|
68
res/column.css
Normal file
68
res/column.css
Normal file
@ -0,0 +1,68 @@
|
||||
/*
|
||||
Theme Name: Snail-orange
|
||||
Author: Marcoverga86
|
||||
Version: 2.0
|
||||
Module: style.css
|
||||
*/
|
||||
|
||||
/* ===== COLUMN ===== */
|
||||
#column {
|
||||
background: #393939;
|
||||
float: left;
|
||||
width: 24% !important;
|
||||
width: 21%;
|
||||
font-size: 80% !important;
|
||||
font-size: 75%;
|
||||
margin: 0 0 15px 15px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
#column h4 {
|
||||
color: #DAAA55;
|
||||
border-bottom: 2px solid #333333;
|
||||
padding: 5px 0 5px 5px;
|
||||
margin-bottom: .5em;
|
||||
border-top: 5px solid #2D2D2D;
|
||||
}
|
||||
|
||||
#column ul li, #column p { font-size: 12px }
|
||||
|
||||
#column div { margin: 0 }
|
||||
#column div, #column ul { background: #393939 }
|
||||
#column p, #column div { margin: 10px 5px }
|
||||
#column a:link, #column a:visited { color: #A29D7D }
|
||||
|
||||
#column a:hover {
|
||||
text-decoration: underline;
|
||||
/*color: #315A94;*/
|
||||
color: #e69138;
|
||||
}
|
||||
|
||||
/* === List === */
|
||||
#column ul li {
|
||||
list-style-image: url('../imgs/circle.gif');
|
||||
padding: 1px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
#column ul {
|
||||
list-style-type: none;
|
||||
margin-right: 10px;
|
||||
margin-bottom: .5em;
|
||||
padding-left: 1em
|
||||
}
|
||||
|
||||
#column ul li table { font-size: 100%; color: #999999 }
|
||||
#column fieldset { margin: 0 5px 0 5px }
|
||||
#column legend { font-size: 100% }
|
||||
#column #widget-searchbox ul li { margin-left: -10px }
|
||||
|
||||
#column #widget_calendar table {
|
||||
width: 75%;
|
||||
margin-left: -20px;
|
||||
}
|
||||
|
||||
#column #widget_calendar li, #column #widget-searchbox li {
|
||||
list-style-image: none;
|
||||
padding: 0
|
||||
}
|
272
res/common.css
Normal file
272
res/common.css
Normal file
@ -0,0 +1,272 @@
|
||||
/*
|
||||
Theme Name: Snail-orange
|
||||
Author: Marcoverga86, DeltaLima
|
||||
Version: 2.0
|
||||
Module: common.css
|
||||
*/
|
||||
|
||||
/* ===== GENERAL (redefinition HTML tag) ===== */
|
||||
html {
|
||||
font-size: 13px;
|
||||
font-family: Tahoma, 'Lucida Grande', 'Trebuchet MS', arial, Helvetica, sans-serif;
|
||||
margin: 0;
|
||||
padding: 0
|
||||
}
|
||||
|
||||
body {
|
||||
color: #999999;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
/*background: #315A94;*/
|
||||
background: #222;
|
||||
}
|
||||
|
||||
hr { display: none }
|
||||
p { margin: .5em 0 }
|
||||
img { border: none }
|
||||
|
||||
blockquote {
|
||||
width: 90%;
|
||||
margin: 1em 1em;
|
||||
padding: 0 10px;
|
||||
/*border-left: 10px solid white;*/
|
||||
border-left: 10px solid #a8a8a8;
|
||||
}
|
||||
|
||||
pre, code {
|
||||
font-family: Lucida Console, Monaco, monospace;
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
pre {
|
||||
border-top: 1px solid #ddd;
|
||||
border-bottom: 1px solid #ddd;
|
||||
/*background-color: #efefef;*/
|
||||
background-color: #a8a8a8;
|
||||
color: black;
|
||||
overflow: auto;
|
||||
width: 90%;
|
||||
margin: 1em 1em;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
ul, li, ol { margin: 0; padding: 0 }
|
||||
|
||||
/* === Form === */
|
||||
form { margin: 1em 0 }
|
||||
|
||||
fieldset {
|
||||
margin: 0 0 1em 0;
|
||||
padding: .5em;
|
||||
border: #ddd solid 1px
|
||||
}
|
||||
|
||||
legend {
|
||||
color: white;
|
||||
font-size: 80%;
|
||||
font-style: oblique
|
||||
}
|
||||
|
||||
input, textarea {
|
||||
padding: .1em;
|
||||
border: 1px solid #315A94;;
|
||||
font-family: 'Trebuchet MS', Tahoma, 'Times New Roman';
|
||||
}
|
||||
|
||||
input, admin-static-filename {
|
||||
font-weight:bold;
|
||||
background-color: #A29D7D;
|
||||
}
|
||||
|
||||
input:hover, input:focus {
|
||||
border: 1px solid #000099;
|
||||
background-color: #DAAA55;
|
||||
}
|
||||
|
||||
select { background-color: #ddd }
|
||||
|
||||
textarea {
|
||||
font-size: 100%;
|
||||
font-family: 'Lucida Grande', 'Trebuchet MS', arial, Helvetica, sans-serif;
|
||||
width: 99%;
|
||||
margin-top: .1em;
|
||||
margin-bottom: 1em;
|
||||
background-color: #999999;
|
||||
}
|
||||
|
||||
/* ===== LINKS GENERAL ===== */
|
||||
a:link, a:visited {
|
||||
/*color: #0066ff;*/
|
||||
color: #e69138;
|
||||
font-weight: bold;
|
||||
text-decoration: none
|
||||
}
|
||||
|
||||
a:hover {
|
||||
/*color: #1100FF;*/
|
||||
color: #f6b26b;
|
||||
text-decoration: underline
|
||||
}
|
||||
|
||||
/* ===== HEADERS TAGS ===== */
|
||||
h1, h2, h3, h4, h5, h6 { margin:0 }
|
||||
h1 { font-size: 3em }
|
||||
h2 { font-size: 2.3em }
|
||||
h3 { font-size: 1.8em }
|
||||
h4 { font-size: 1.5em }
|
||||
h5 { font-size: 1.2em }
|
||||
h6 { font-size: 0.9em }
|
||||
|
||||
/* ===== DIV CONTAINER ALL ELEMENTS BLOCK ===== */
|
||||
#body-container {
|
||||
text-align: left;
|
||||
width: 67% !important;
|
||||
width: 67%; /* fix for I.E. */
|
||||
margin: 0 auto 10px auto;
|
||||
padding: 5px;
|
||||
background-color: #2D2D2D
|
||||
}
|
||||
|
||||
/* ===== HEAD ===== */
|
||||
#head {
|
||||
background: url("../imgs/logo.jpg") no-repeat;
|
||||
width: 100% !important;
|
||||
width: 95%;
|
||||
height: 150px;
|
||||
font-family: Tahoma, sans-serif;
|
||||
float: center;
|
||||
}
|
||||
|
||||
#head a {
|
||||
color: white;
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#head h1 { padding: 35px 20px 0 25px }
|
||||
|
||||
.subtitle {
|
||||
font-style: oblique;
|
||||
color: white;
|
||||
margin: .5em 0 0 0;
|
||||
padding-left: 25px;
|
||||
}
|
||||
|
||||
/* ===== MAIN ===== */
|
||||
#main h1, #main h2, #main h3, #main h4, #main h5, #main h6 {
|
||||
margin: 0 0 10px 0;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#main {
|
||||
float:right;
|
||||
position: relative;
|
||||
width: 67% !important;
|
||||
width: 65%;
|
||||
font-size: 100%;
|
||||
margin: 0 0.5em 0 1.2em;
|
||||
}
|
||||
|
||||
#main p {
|
||||
line-height: 1.5em;
|
||||
margin-top: 1.2em;
|
||||
}
|
||||
|
||||
#main img { margin: .2em }
|
||||
|
||||
/* === List === */
|
||||
#main ul {
|
||||
list-style-type: disc;
|
||||
padding: 0 0 0 1.6em
|
||||
}
|
||||
|
||||
ol li, ul li { padding-bottom: 0.9em }
|
||||
|
||||
#main ol {
|
||||
list-style-position: inside;
|
||||
padding: 0 1.6em 0 1.6em
|
||||
}
|
||||
|
||||
/* ===== COMMENTS ===== */
|
||||
#comments li {
|
||||
margin: 0 0 1.5em 0;
|
||||
padding: 5px;
|
||||
border-top: 2px solid #6699FF;
|
||||
border-bottom: 2px solid #6699FF;
|
||||
background: #2D2D2D;
|
||||
}
|
||||
|
||||
#commentform fieldset p { margin: 0 0 .5em 0 }
|
||||
#commentform textarea { background-color: #999999; }
|
||||
#commentform textarea:hover { background-color: #777777; }
|
||||
#comments p { padding-left: 20px }
|
||||
#comments li.comment-admin strong.comment-name { font-size:160% }
|
||||
|
||||
#comments li.comment-admin {
|
||||
background-color: #DAAA55;
|
||||
color: black;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
/* === Class of main block === */
|
||||
.date, p.date {
|
||||
font-size: 11px;
|
||||
margin: 3px 0 3px 0;
|
||||
padding-bottom: 2px;
|
||||
font-weight: normal;
|
||||
border-bottom: 2px solid #333333;
|
||||
}
|
||||
|
||||
.entry {
|
||||
margin: 0 0 1.5em 0;
|
||||
padding: 0;
|
||||
overflow: hidden; /* floating images fix */
|
||||
height:1%; /* i.e. hack*/
|
||||
}
|
||||
|
||||
.entry p { font-size: 13px }
|
||||
|
||||
#main .entrytitle {
|
||||
font-family: Candara, 'Cataneo BT', 'book antiqua', georgia, garamond, times, 'times new roman';
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.entry-footer a { color: #A29D7D }
|
||||
.entry-footer a:hover { color: #4B4B4B }
|
||||
|
||||
.entry-footer {
|
||||
text-align: right;
|
||||
font-family: 'Lucida Grande', 'Trebuchet MS', arial, Helvetica, sans-serif;
|
||||
font-size: 0.9em;
|
||||
margin: 2em 0 .5em 0;
|
||||
margin-left: 58%;
|
||||
border-top: 2px solid #333333;
|
||||
}
|
||||
|
||||
.admincontrols { /* [edit] and [delete] */
|
||||
float: right;
|
||||
font-size: 80%
|
||||
}
|
||||
|
||||
.buttonbar { text-align: center }
|
||||
|
||||
.buttonbar input {
|
||||
text-align: center;
|
||||
margin: .1em .5em;
|
||||
padding: 0 1em
|
||||
}
|
||||
|
||||
.navigation { /* next entries & previous entries link */
|
||||
font-size: 80%;
|
||||
margin-bottom: 5em
|
||||
}
|
||||
|
||||
/* ===== FOOTER ===== */
|
||||
#footer {
|
||||
text-align: center;
|
||||
background: #2D2D2D;
|
||||
clear: both;
|
||||
font-size: 80%;
|
||||
padding: 8px;
|
||||
border-top: #315A94 2px solid
|
||||
}
|
55
res/globals.css
Normal file
55
res/globals.css
Normal file
@ -0,0 +1,55 @@
|
||||
/*
|
||||
Theme Name: Snail-orange
|
||||
Author: Marcoverga86
|
||||
Version: 2.0
|
||||
Module: globals.css
|
||||
*/
|
||||
|
||||
.alignleft { float: left }
|
||||
.alignright { float: right }
|
||||
|
||||
/* ===== NOTIFICATION ===== */
|
||||
#main ul.msgs, ul.msgs {
|
||||
margin-top: 1em;
|
||||
margin-left: 0em;
|
||||
padding: 1em 2em;
|
||||
}
|
||||
|
||||
.errors {
|
||||
border: 2px solid red;
|
||||
background: white;
|
||||
}
|
||||
|
||||
|
||||
.notifications {
|
||||
/*color: #315A94;*/
|
||||
color: #f6b26b;
|
||||
border-top: 2px solid blue;
|
||||
border-bottom: 2px solid blue;
|
||||
background: white;
|
||||
}
|
||||
|
||||
msgs errors ul li a {
|
||||
color: blue;
|
||||
text-decoration: underline;
|
||||
font-weight: bold
|
||||
}
|
||||
|
||||
.field-error {
|
||||
border: 2px solid white;
|
||||
background: #FF6666;
|
||||
}
|
||||
|
||||
.warnings {
|
||||
background: #6699FF none repeat scroll 0%;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#admin-content ul.msgs {
|
||||
margin-left: 0em;
|
||||
margin-bottom: 2em;
|
||||
padding: 1em 2em;
|
||||
list-style-type: none
|
||||
}
|
||||
|
||||
background: white;
|
13
res/style.css
Normal file
13
res/style.css
Normal file
@ -0,0 +1,13 @@
|
||||
/*
|
||||
Theme Name: Snail-orange
|
||||
Author: Marcoverga86
|
||||
Version: 2.0
|
||||
Module: style.css
|
||||
*/
|
||||
|
||||
/* imports common style ruleset */
|
||||
@import url(common.css);
|
||||
@import url(globals.css);
|
||||
|
||||
/* imports column (where widgets usually go) rules */
|
||||
@import url(column.css);
|
15
static.tpl
Normal file
15
static.tpl
Normal file
@ -0,0 +1,15 @@
|
||||
{include file=header.tpl}
|
||||
<div id="main">
|
||||
{static_block}
|
||||
{static}
|
||||
<div id="{$id}" class="entry">
|
||||
<h3>{$subject}</h3>
|
||||
<p class="date">Published by {$author} on {$date|date_format:"%A, %B %e, %Y - %H:%M:%S"}</p>
|
||||
{$content|tag:the_content}
|
||||
</div>
|
||||
{/static}
|
||||
{/static_block}
|
||||
</div>
|
||||
|
||||
{include file=widgets.tpl}
|
||||
{include file=footer.tpl}
|
27
theme.conf.php
Normal file
27
theme.conf.php
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
Theme Name: Snail-orange
|
||||
Original Author: Stealth Settings (ported to FP by Marcoverga)
|
||||
Author URI: http://www.stealthsettings.com
|
||||
Description: 2-column theme, with blue/grey look and widget bar on the left
|
||||
Version: 1.1
|
||||
FP Version Author: Marcoverga
|
||||
FP Version URI: http://marcoverga86.netsons.org
|
||||
*/
|
||||
|
||||
$theme['name'] = 'Snail-orange Theme';
|
||||
$theme['author'] = 'marcoverga86';
|
||||
$theme['www'] = 'http://marcoverga86.netsons.org';
|
||||
$theme['version'] = 0.803;
|
||||
$theme['style_def'] = 'style.css';
|
||||
$theme['style_admin'] = 'admin.css';
|
||||
|
||||
// Other theme settings
|
||||
// overrides default tabmenu and panel layout
|
||||
remove_filter('admin_head', 'admin_head_action');
|
||||
|
||||
// register widgetsets
|
||||
//register_widgetset('right');
|
||||
register_widgetset('left');
|
||||
?>
|
8
widgets.tpl
Normal file
8
widgets.tpl
Normal file
@ -0,0 +1,8 @@
|
||||
<div id="column">
|
||||
{widgets pos=right}
|
||||
<div id="{$id}">
|
||||
<h4>{$subject}</h4>
|
||||
{$content}
|
||||
</div>
|
||||
{/widgets}
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user