mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
shaka, slackr theme
This commit is contained in:
parent
e3bcd6ab1b
commit
1f074cb44c
4 changed files with 98 additions and 1 deletions
46
view/theme/slackr/style.css
Executable file
46
view/theme/slackr/style.css
Executable file
|
@ -0,0 +1,46 @@
|
|||
@import url('../duepuntozero/style.css');
|
||||
|
||||
.wall-item-content-wrapper {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.wall-item-content-wrapper.comment {
|
||||
background: #ffffff !important;
|
||||
border-left: 1px solid #EEE;
|
||||
}
|
||||
|
||||
.wall-item-tools {
|
||||
background: none;
|
||||
}
|
||||
|
||||
.comment-edit-text-empty, .comment-edit-text-full {
|
||||
border: none;
|
||||
border-left: 1px solid #EEE;
|
||||
background: #EEEEEE;
|
||||
}
|
||||
|
||||
.comment-edit-wrapper {
|
||||
background: #ffffff !important;
|
||||
}
|
||||
|
||||
section {
|
||||
margin: 0px 32px;
|
||||
}
|
||||
|
||||
aside {
|
||||
margin-left: 32px;
|
||||
}
|
||||
nav {
|
||||
margin-left: 32px;
|
||||
margin-right: 32px;
|
||||
}
|
||||
|
||||
nav #site-location {
|
||||
top: 80px;
|
||||
right: 36px;
|
||||
}
|
||||
|
||||
.wall-item-photo, .photo, .contact-block-img, .my-comment-photo {
|
||||
border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
}
|
49
view/theme/slackr/theme.php
Executable file
49
view/theme/slackr/theme.php
Executable file
|
@ -0,0 +1,49 @@
|
|||
<?php
|
||||
$a->theme_info = array(
|
||||
'extends' => 'duepuntozero',
|
||||
);
|
||||
|
||||
$a->page['htmlhead'] .= <<< EOT
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
$('.group-edit-icon').hover(
|
||||
function() {
|
||||
$(this).addClass('icon'); $(this).removeClass('iconspacer');},
|
||||
function() {
|
||||
$(this).removeClass('icon'); $(this).addClass('iconspacer');}
|
||||
);
|
||||
|
||||
$('.sidebar-group-element').hover(
|
||||
function() {
|
||||
id = $(this).attr('id');
|
||||
$('#edit-' + id).addClass('icon'); $('#edit-' + id).removeClass('iconspacer');},
|
||||
|
||||
function() {
|
||||
id = $(this).attr('id');
|
||||
$('#edit-' + id).removeClass('icon');$('#edit-' + id).addClass('iconspacer');}
|
||||
);
|
||||
|
||||
|
||||
$('.savedsearchdrop').hover(
|
||||
function() {
|
||||
$(this).addClass('drop'); $(this).addClass('icon'); $(this).removeClass('iconspacer');},
|
||||
function() {
|
||||
$(this).removeClass('drop'); $(this).removeClass('icon'); $(this).addClass('iconspacer');}
|
||||
);
|
||||
|
||||
$('.savedsearchterm').hover(
|
||||
function() {
|
||||
id = $(this).attr('id');
|
||||
$('#drop-' + id).addClass('icon'); $('#drop-' + id).addClass('drophide'); $('#drop-' + id).removeClass('iconspacer');},
|
||||
|
||||
function() {
|
||||
id = $(this).attr('id');
|
||||
$('#drop-' + id).removeClass('icon');$('#drop-' + id).removeClass('drophide'); $('#drop-' + id).addClass('iconspacer');}
|
||||
);
|
||||
|
||||
});
|
||||
|
||||
|
||||
</script>
|
||||
EOT;
|
Loading…
Add table
Add a link
Reference in a new issue