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

Commit 8bc63932 authored by buttle's avatar buttle

added INSTALL

parent b301d1e1
1. - First.
Download sants-theme
https://gitorious.org/somsants/sants-theme/source/master
and install into
$GNUSOCIAL_ROOT/theme/sants
and $GNUSOCIAL_ROOT/config.php
$config['site']['theme'] = '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
addPlugin('sants');
......@@ -61,37 +61,38 @@
font-size: 1.2em;
}
.third_level_menu {
.third_level_menu, #site_nav_object > .nav {
margin:30px -10px 0px -10px;
padding: 5px 0 5px 0;
font-size: 20px;
border-top: 3px solid #A6ADBF;
border-bottom: 3px solid #A6ADBF;
}
.third_level_menu li:first-of-type {
.third_level_menu li:first-of-type, #site_nav_object > .nav li:first-of-type {
margin-top:5px;
}
.third_level_menu li:last-of-type {
.third_level_menu li:last-of-type, #site_nav_object > .nav li:last-of-type {
margin-bottom:5px;
}
.third_level_menu li {
.third_level_menu li, #site_nav_object > .nav li {
list-style-type:none;
}
.third_level_menu li a {
.third_level_menu li a, #site_nav_object > .nav li a {
display: block;
text-decoration:none;
padding-left:10px;
color:#4D4D4D;
}
.third_level_menu li a:hover
.third_level_menu li a:hover, #site_nav_object > .nav li a:hover
{
color:#E0E0E0;
background-color:#4D4D4D;
color:white;
background-color:#808080;
}
.third_level_menu .current a
.third_level_menu .current a, #site_nav_object > .nav .current a
{
background-color:white;
}
/* #aside_primary .entity_actions { display:none; } */
......@@ -13,9 +13,13 @@ $(function() {
if ($('#footer:in-viewport')){
var headerHeight = 330;
var windowHeight = $(window).height();
var contentHeight = $('#content_wrapper').height();
var contentHeight = $('#content').height();
var footerHeight = $('#footer').height();
$('#aside_primary').height(windowHeight - headerHeight + footerHeight);
asideHeight = windowHeight - headerHeight + footerHeight;
$('#aside_primary').height(asideHeight);
if (asideHeight > contentHeight){
$('#content').height(asideHeight + 42);
}
}
scrollToContent();
});
......@@ -78,15 +82,16 @@ $(function() {
function toggleDentForm(){
var main_dent_form = $("#content").find('.input_forms');
main_dent_form.find('textarea').removeClass('glow');
if ($('#site_notice:in-viewport')){
scrollToContent();
}
main_dent_form.show(0, function() {
if (! $("#content").find('.input_forms:in-viewport')){
scrollToContent();
}
main_dent_form.focus();
});
if ($('#site_notice:in-viewport')){
scrollToContent();
}
main_dent_form.show(0, function() {
//$("#content").find('.input_forms:in-viewport')
scrollToContent();
main_dent_form.find('textarea').addClass('glow');
main_dent_form.find('textarea').focus();
});
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment