git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 87be9666 authored by buttle's avatar buttle

add sants-theme code into Sants plugin

parent e07fc84d
1. - First.
Download sants-theme
https://gitorious.org/somsants/sants-theme/source/master
INSTALL
and install into
$GNUSOCIAL_ROOT/theme/sants
cd $GNUSOCIAL_ROOT
mkdir local/plugins
cd local/plugins
git clone https://git.gnu.io/buttle/sants-plugin.git Sants
and $GNUSOCIAL_ROOT/config.php
$config['site']['theme'] = 'sants';
cd $GNUSOCIAL_ROOT/theme
ln -s ../local/plugins/Sants/css/sants-theme/ ./
2. - Second.
Download sants plugin
https://gitorious.org/somsants/sants-plugin/source/master
and install into
$GNUSOCIAL_ROOT/local/plugins/Sants
and $GNUSOCIAL_ROOT/config.php
cd $GNUSOCIAL_ROOT
edit ./config.php
addPlugin('sants');
$config['site']['theme'] = 'sants-theme';
To change header photo.
$GNU_WEBROOT/themes/sants/images/header.png (960 x 330 px)
Default avatars are modified from an image by Francesco 'Architetto' Rollandin.
http://www.openclipart.org/detail/34957
Some icons by Mark James
http://www.famfamfam.com/lab/icons/silk/
http://creativecommons.org/licenses/by/2.5/ Creative Commons Attribution 2.5 License
@font-face {
font-family: 'Lato';
src: url('../fonts/lato-regular-webfont.eot?') format('eot'), url('../fonts/lato-regular-webfont.woff') format('woff'), url('../fonts/lato-regular-webfont.ttf') format('truetype'), url('../fonts/lato-regular-webfont.svg#webfontCjmEHx3G') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Lato';
src: url('../fonts/lato-bold-webfont.eot?') format('eot'), url('../fonts/lato-bold-webfont.woff') format('woff'), url('../fonts/lato-bold-webfont.ttf') format('truetype'), url('../fonts/lato-bold-webfont.svg#webfontCjmEHx3G') format('svg');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Lato';
src: url('../fonts/lato-italic-webfont.eot?') format('eot'), url('../fonts/lato-italic-webfont.woff') format('woff'), url('../fonts/lato-italic-webfont.ttf') format('truetype'), url('../fonts/lato-italic-webfont.svg#webfontCjmEHx3G') format('svg');
font-weight: normal;
font-style: italic;
}
@media screen,projection,tv {
*
{
margin:0;
padding:0;
vertical-align:baseline;
}
body
{
background-color:#A52A2A;
color:#222;
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
line-height:1.6;
margin-top:0;
}
a abbr
{
border-bottom:0;
cursor:pointer;
}
input.submit
{
cursor:pointer;
}
table { border-collapse:collapse; }
ol,ul { list-style-position:inside; }
fieldset { border:medium none; }
legend
{
font-size:1.2em;
font-weight:700;
}
input,textarea,select,option
{
/*font-family:Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;*/
font-size:1em;
padding:2px;
}
textarea
{
overflow:auto;
}
a
{
color:#3e3e8c;
outline:none;
text-decoration:none;
}
a:hover
{
color:blue;
text-decoration:underline;
}
a img
{
border:0;
text-decoration:none;
}
h1,h2,h3,h4,h5,h6
{
font-weight:400;
margin-bottom:15px;
}
h1 { font-size:1.6em; }
h2 { font-size:1.6em; }
h3 { font-size:1.4em; }
h4 { font-size:1.4em; }
h5 { font-size:1.2em; }
h6 { font-size:1em; }
p { margin-bottom:1.4em; }
.form_notice p,li p,.section p
{
margin-bottom:0;
}
select
{
margin-top:-4px;
padding-bottom:0;
padding-right:10px;
}
option
{
padding-bottom:0;
}
#wrap
{
width: 960px;
margin: 0px auto;
background-color: #E0E0E0;
box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.7);
position:relative;
border: 0px;
padding: 0px;
}
#header
{
background:url(../images/header.png) no-repeat 0 0;
background-color:grey;
height:330px;
width:960px;
padding: 0px;
}
#header-search {
float: right;
position: relative;
margin-left: 10px;
margin-right: 5px;
margin-top: 5px;
}
#site_contact {
z-index:200;
background-color:initial;
float:left;
height:42px;
opacity:0.7;
width:260px;
}
#site_contact .logo
{
margin-top:7px;
}
#core { border: 0 }
#aside_primary_wrapper
{
background-color: #f2f2f2;
float:left;
width:100%;
}
#content_wrapper { }
#content
{
padding: 10px;
width: 680px;
min-height: 400px;
background-color: white;
float: left;
}
#aside_primary
{
/*background:linear-gradient(#fafafa,#E0E0E0);*/
width: 250px;
padding: 5px;
float: right;
}
#footer
{
color :#E0E0E0;
background-color: #3D3D3D;
clear:both;
margin:0;
padding:5px;
position:relative;
width:950px;
}
address
{
float:left;
margin:0px 0 3px;
padding:0;
position:relative;
z-index:99;
height: 42px;
}
address a,address img
{
display:block;
}
address img
{
max-width:158px;
}
address img + .fn
{
display:none;
}
address .poweredby
{
display:block;
width:auto;
}
#site_nav_global_primary {
display: block;
position: absolute;
top: 0;
right: 0;
margin: 0px;
background-color:#222;
border-radius: 0px;
height:42px;
opacity:0.7;
width:960px;
z-index:100;
}
#site_nav_global_primary ul
{
float:right;
margin-top:9px;
}
#site_nav_global_primary li
{
display:inline;
margin-right:7px;
}
#site_nav_global_primary li:last-child
{
margin-right:0;
}
#nav_login { padding-right:10px; }
#header-search
{
float:right;
margin-left:0;
margin-top:8px;
position:relative;
}
#site_notice
{
color :#E0E0E0;
background-color: #4D4D4D;
position:relative;
top: 260px;
margin: 0px;
padding: 2px;
padding-left: 10px;
width:948px;
display: inline-block;
}
#site_notice a { color: #EEE8AA; text-decoration:underline;}
#site_notice p { margin-bottom:0; }
.input_forms
{
background:url(../images/brdr_black_dot.png) repeat-x bottom left;
border-bottom:none;
float:left;
margin-bottom:0;
padding:0;
position:relative;
}
#input_form_nav
{
float:left;
list-style-type:none;
margin-bottom:10px;
width:100%;
display:none;
}
#input_form_nav li
{
display:inline;
}
label[for=input_form_nav]
{
display:none;
}
#input_form_nav li a
{
display: block;
float: left;
padding: 0px 10px 1px 10px;
margin-right: 10px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
border: 1px solid #ECECF2;
font-weight: bold;
line-height: 1.4em;
color: #3e3e8c;
text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.9);
background: #ececf2;
background: -moz-linear-gradient(top, #ffffff 0%, #ececf2 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ececf2));
background: -webkit-linear-gradient(top, #ffffff 0%,#ececf2 100%);
background: -o-linear-gradient(top, #ffffff 0%,#ececf2 100%);
background: -ms-linear-gradient(top, #ffffff 0%,#ececf2 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ececf2',GradientType=0 );
background: linear-gradient(top, #ffffff 0%,#ececf2 100%);
}
.input_form_nav_tab.current a
{
text-decoration:underline;
}
.input_form
{
display:none;
float:left;
padding-bottom:20px;
position:relative;
width:520px;
}
.input_form.current
{
display:block;
}
#input_form_status { padding-bottom:50px; }
#input_form_direct {
padding-bottom:50px;
}
.form_notice
{
margin-bottom:10px;
}
.form_notice fieldset
{
width:auto;
}
.form_notice legend
{
display:none;
}
.form_notice #notice_data-text-label
{
display:none;
}
.form_notice_placeholder .placeholder
{
border:1px solid #a6a6a6;
color:#888;
font-size:1em;
padding:4px 4px 4px 6px;
width:508px;
z-index:97;
}
.form_notice textarea
{
border:1px solid #a6a6a6;
clear:left;
float:left;
font-size:1.2em;
height:42px;
padding:6px 5px 18px;
position:relative;
width:483px;
z-index:97;
}
#form_notice-direct.form_notice textarea
{
width:508px;
}
.form_notice label.notice_data-attach,.form_notice input.notice_data-attach
{
cursor:pointer;
position:absolute;
}
.form_notice label.notice_data-attach
{
background-position:0 -328px;
height:16px;
right:0;
text-indent:-9999px;
top:0;
width:16px;
z-index:96;
}
.form_notice input.notice_data-attach
{
height:16px;
opacity:0;
padding:0;
right:0;
top:0;
}
label.notice_data-attach
{
background-position:0 -328px;
}
.form_notice .notice_data-geo_wrap label,.form_notice .notice_data-geo_wrap input
{
cursor:pointer;
display:block;
height:16px;
position:absolute;
right:0;
top:26px;
width:16px;
z-index:99;
}
.form_notice .notice_data-geo_wrap input
{
visibility:hidden;
}
.form_notice .notice_data-geo_wrap label
{
font-size:1em;
font-weight:400;
margin-bottom:0;
text-indent:-9999px;
}
.form_notice label
{
opacity:0.6;
}
.form_notice label:hover
{
opacity:1;
}
.form_notice .count
{
color:#777;
font-size:.8em;
height:1em;
position:absolute;
right:32px;
top:50px;
z-index:99;
}
.form_notice.warning .count
{
color:red;
}
#form_notice-direct.form_notice .count
{
right:7px;
top:84px;
}
.form_notice .error,.form_notice .success,.form_notice .notice-status
{
-moz-border-radius:4px;
-webkit-border-radius:4px;
border:1px solid #ccc;
border-radius:4px;
line-height:1.2em;
margin:10px 0 0;
overflow:auto;
padding:5px 5px 5px 10px;
position:relative;
width:478px;
}
.form_notice .error
{
border:1px solid #d05858;
}
.form_notice .attach-status button.close,.form_notice .notice-status button.close
{
float:right;
font-size:.8em;
}
.input_form .form_settings fieldset
{
margin:0;
padding:0;
}
.input_form .form_settings fieldset fieldset
{
background:none;
border:none;
float:left;
margin-bottom:0;
padding:0;
width:400px;
}
.input_form .form_settings .form_data li
{
margin-bottom:12px;
position:relative;
}
.input_form fieldset fieldset label
{
background:#fff;
color:#888;
cursor:text;
float:none;
left:6px;
position:absolute;
text-align:left;
top:0;
}
.input_form .form_settings li input
{
border:1px solid #a6a6a6;
font-size:1em;
margin-left:0;
margin-right:0;
padding:4px 5px;
width:388px;
}
.input_form .form_settings li textarea
{
border:1px solid #a6a6a6;
font-size:1em;
margin-left:0;
padding:4px 5px;
width:388px;
z-index:97;
}
.input_form .form_settings .form_data p.form_guide
{
margin-left:5px;
}
.form_notice label[for=to]
{
float:left;
}
.form_notice select[id=to]
{
float:left;
margin:-4px 0 10px 10px;
max-width:450px;
}
.form_notice .to-selector
{
clear:left;
padding-top:15px;
z-index:99;
}
.form_settings label[for=notice_to]
{
background:none;
clear:left;
left:5px;
margin-left:0;
margin-right:10px;
position:relative;
}
.checkbox-wrapper
{
margin-left:10px;
padding:2px;
}
.form_notice .checkbox-wrapper
{
display:inline;
margin-left:10px;
}
.form_settings .checkbox-wrapper label.checkbox
{
float:none;
left:-3px;
line-height:1.2em;
margin-left:0;
margin-top:6px;
}
.checkbox-wrapper #notice_private
{
display:none;
}
.checkbox-wrapper.unchecked label.checkbox
{
background:url(../images/icons/lock_open.png) no-repeat 0 0;
opacity:0.6;
padding-left:20px;
}
.checkbox-wrapper.unchecked label.checkbox:hover
{
cursor:pointer;
opacity:1;
}
.checkbox-wrapper.checked label.checkbox
{