Separation of themes (i.e., layout, typography) and skins (i.e., background
images, colours). A theme can have multiple skins. Majority of the changes in this commit are due to restructuring the path/files for themes and skins. Both theme and skin will be set to 'default' if not set in config.php. This commit also allows each instance of this software to create its own theme without having to override any style from the default distribution. Added Cloudy theme.
@ -18,6 +18,7 @@ $config['site']['server'] = 'localhost';
|
||||
$config['site']['path'] = 'laconica';
|
||||
#$config['site']['fancy'] = false;
|
||||
#$config['site']['theme'] = 'default';
|
||||
#$config['site']['skin'] = 'default';
|
||||
#To enable the built-in mobile style sheet, defaults to false.
|
||||
#$config['site']['mobile'] = true;
|
||||
#For contact email, defaults to $_SERVER["SERVER_ADMIN"]
|
||||
|
@ -194,37 +194,37 @@ class Action extends HTMLOutputter // lawsuit
|
||||
if (Event::handle('StartShowLaconicaStyles', array($this))) {
|
||||
$this->element('link', array('rel' => 'stylesheet',
|
||||
'type' => 'text/css',
|
||||
'href' => theme_path('css/display.css', 'base') . '?version=' . LACONICA_VERSION,
|
||||
'href' => theme_path('base/css/display.css') . '?version=' . LACONICA_VERSION,
|
||||
'media' => 'screen, projection, tv'));
|
||||
$this->element('link', array('rel' => 'stylesheet',
|
||||
'type' => 'text/css',
|
||||
'href' => theme_path('css/display.css', null) . '?version=' . LACONICA_VERSION,
|
||||
'href' => skin_path('css/display.css') . '?version=' . LACONICA_VERSION,
|
||||
'media' => 'screen, projection, tv'));
|
||||
if (common_config('site', 'mobile')) {
|
||||
$this->element('link', array('rel' => 'stylesheet',
|
||||
'type' => 'text/css',
|
||||
'href' => theme_path('css/mobile.css', 'base') . '?version=' . LACONICA_VERSION,
|
||||
'href' => theme_path('base/css/mobile.css') . '?version=' . LACONICA_VERSION,
|
||||
// TODO: "handheld" CSS for other mobile devices
|
||||
'media' => 'only screen and (max-device-width: 480px)')); // Mobile WebKit
|
||||
}
|
||||
$this->element('link', array('rel' => 'stylesheet',
|
||||
'type' => 'text/css',
|
||||
'href' => theme_path('css/print.css', 'base') . '?version=' . LACONICA_VERSION,
|
||||
'href' => theme_path('base/css/print.css') . '?version=' . LACONICA_VERSION,
|
||||
'media' => 'print'));
|
||||
Event::handle('EndShowLaconicaStyles', array($this));
|
||||
}
|
||||
if (Event::handle('StartShowUAStyles', array($this))) {
|
||||
$this->comment('[if IE]><link rel="stylesheet" type="text/css" '.
|
||||
'href="'.theme_path('css/ie.css', 'base').'?version='.LACONICA_VERSION.'" /><![endif]');
|
||||
'href="'.theme_path('base/css/ie.css').'?version='.LACONICA_VERSION.'" /><![endif]');
|
||||
foreach (array(6,7) as $ver) {
|
||||
if (file_exists(theme_file('css/ie'.$ver.'.css', 'base'))) {
|
||||
if (file_exists(theme_file('base/css/ie'.$ver.'.css'))) {
|
||||
// Yes, IE people should be put in jail.
|
||||
$this->comment('[if lte IE '.$ver.']><link rel="stylesheet" type="text/css" '.
|
||||
'href="'.theme_path('css/ie'.$ver.'.css', 'base').'?version='.LACONICA_VERSION.'" /><![endif]');
|
||||
'href="'.theme_path('base/css/ie'.$ver.'.css').'?version='.LACONICA_VERSION.'" /><![endif]');
|
||||
}
|
||||
}
|
||||
$this->comment('[if IE]><link rel="stylesheet" type="text/css" '.
|
||||
'href="'.theme_path('css/ie.css', null).'?version='.LACONICA_VERSION.'" /><![endif]');
|
||||
'href="'.skin_path('css/ie.css').'?version='.LACONICA_VERSION.'" /><![endif]');
|
||||
Event::handle('EndShowUAStyles', array($this));
|
||||
}
|
||||
Event::handle('EndShowStyles', array($this));
|
||||
|
@ -71,6 +71,7 @@ $config =
|
||||
array('name' => 'Just another Laconica microblog',
|
||||
'server' => $_server,
|
||||
'theme' => 'default',
|
||||
'skin' => 'default',
|
||||
'path' => $_path,
|
||||
'logfile' => null,
|
||||
'logo' => null,
|
||||
|
@ -69,4 +69,31 @@ function theme_path($relative, $theme=null)
|
||||
} else {
|
||||
return common_path('theme/'.$theme.'/'.$relative);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the full URL of a file in a skin dir based on its relative name
|
||||
*
|
||||
* @param string $relative relative path within the theme, skin directory
|
||||
* @param string $theme name of the theme; defaults to current theme
|
||||
* @param string $skin name of the skin; defaults to current theme
|
||||
*
|
||||
* @return string URL of the file
|
||||
*/
|
||||
|
||||
function skin_path($relative, $theme=null, $skin=null)
|
||||
{
|
||||
if (!$theme) {
|
||||
$theme = common_config('site', 'theme');
|
||||
}
|
||||
if (!$skin) {
|
||||
$skin = common_config('site', 'skin');
|
||||
}
|
||||
$server = common_config('theme', 'server');
|
||||
if ($server) {
|
||||
return 'http://'.$server.'/'.$theme.'/skin/'.$skin.'/'.$relative;
|
||||
} else {
|
||||
return common_path('theme/'.$theme.'/skin/'.$skin.'/'.$relative);
|
||||
}
|
||||
}
|
||||
|
||||
|
1235
theme/cloudy/base/css/display.css
Normal file
Before Width: | Height: | Size: 820 B After Width: | Height: | Size: 820 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 673 B After Width: | Height: | Size: 673 B |
Before Width: | Height: | Size: 777 B After Width: | Height: | Size: 777 B |
Before Width: | Height: | Size: 331 B After Width: | Height: | Size: 331 B |
Before Width: | Height: | Size: 329 B After Width: | Height: | Size: 329 B |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
BIN
theme/cloudy/default-avatar-mini.png
Normal file
After Width: | Height: | Size: 1006 B |
BIN
theme/cloudy/default-avatar-profile.png
Normal file
After Width: | Height: | Size: 8.8 KiB |
BIN
theme/cloudy/default-avatar-stream.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
318
theme/cloudy/skin/default/css/display.css
Normal file
@ -0,0 +1,318 @@
|
||||
/** theme: twitter
|
||||
*
|
||||
* @package Laconica
|
||||
* @author Sarven Capadisli <csarven@controlyourself.ca>
|
||||
* @copyright 2009 Control Yourself, Inc.
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||
* @link http://laconi.ca/
|
||||
*/
|
||||
html,
|
||||
body,
|
||||
a:active {
|
||||
background-color:#9AE4E8;
|
||||
}
|
||||
body {
|
||||
font-family:'Lucida Grande',sans-serif;
|
||||
background:#9AE4E8 url(../images/illustrations/illu_clouds-01.gif) 0 0 no-repeat;
|
||||
color:#333333;
|
||||
}
|
||||
#core {
|
||||
background:url(../images/illustrations/illu_arrow-up-01.gif) no-repeat 25px 0;
|
||||
}
|
||||
|
||||
input, textarea, select, option {
|
||||
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
|
||||
}
|
||||
input, textarea, select,
|
||||
.entity_remote_subscribe {
|
||||
border-color:#aaa;
|
||||
}
|
||||
#filter_tags ul li {
|
||||
border-color:#ddd;
|
||||
}
|
||||
|
||||
.form_settings input.form_action-secondary {
|
||||
background:none;
|
||||
}
|
||||
|
||||
input.submit,
|
||||
#form_notice.warning #notice_text-count,
|
||||
#nav_register a,
|
||||
.form_settings .form_note,
|
||||
.entity_remote_subscribe {
|
||||
background-color:#9BB43E;
|
||||
}
|
||||
|
||||
input:focus, textarea:focus, select:focus,
|
||||
#form_notice.warning #notice_data-text {
|
||||
border-color:#9BB43E;
|
||||
}
|
||||
input.submit,
|
||||
#nav_register a,
|
||||
.entity_remote_subscribe {
|
||||
color:#fff;
|
||||
}
|
||||
|
||||
a,
|
||||
div.notice-options input,
|
||||
.form_user_block input.submit,
|
||||
.form_user_unblock input.submit,
|
||||
.entity_send-a-message a,
|
||||
.form_user_nudge input.submit,
|
||||
.entity_nudge p,
|
||||
.form_settings input.form_action-secondary {
|
||||
color:#0084B4;
|
||||
}
|
||||
|
||||
.notice,
|
||||
.profile {
|
||||
border-top-color:#DDFFCC;
|
||||
}
|
||||
.section .profile {
|
||||
border-top-color:#87B4C8;
|
||||
}
|
||||
|
||||
|
||||
#content .notice p.entry-content a:visited {
|
||||
background-color:#fcfcfc;
|
||||
}
|
||||
#content .notice p.entry-content .vcard a {
|
||||
background-color:#fcfffc;
|
||||
}
|
||||
|
||||
#aside_primary {
|
||||
background-color:#DDFFCC;
|
||||
}
|
||||
|
||||
|
||||
#notice_text-count {
|
||||
color:#333;
|
||||
}
|
||||
#form_notice.warning #notice_text-count {
|
||||
color:#000;
|
||||
}
|
||||
#form_notice.processing #notice_action-submit {
|
||||
background:#fff url(../../../base/images/icons/icon_processing.gif) no-repeat 47% 47%;
|
||||
cursor:wait;
|
||||
text-indent:-9999px;
|
||||
}
|
||||
|
||||
#content,
|
||||
#site_nav_local_views a,
|
||||
#aside_primary {
|
||||
border-color:#fff;
|
||||
}
|
||||
#content,
|
||||
#site_nav_local_views .current a {
|
||||
background-color:#fff;
|
||||
}
|
||||
|
||||
#site_nav_local_views a {
|
||||
background-color:rgba(135, 180, 200, 0.3);
|
||||
}
|
||||
#site_nav_local_views a:hover {
|
||||
background-color:rgba(255, 255, 255, 0.7);
|
||||
}
|
||||
|
||||
|
||||
.error {
|
||||
background-color:#F7E8E8;
|
||||
}
|
||||
.success {
|
||||
background-color:#EFF3DC;
|
||||
}
|
||||
|
||||
|
||||
#anon_notice {
|
||||
background-color:#FEFFDF;
|
||||
color:#333;
|
||||
border-color:#fff;
|
||||
}
|
||||
|
||||
#showstream #anon_notice {
|
||||
background-color:#FEFFDF;
|
||||
}
|
||||
|
||||
|
||||
#export_data li a {
|
||||
background-repeat:no-repeat;
|
||||
background-position:0 45%;
|
||||
}
|
||||
#export_data li a.rss {
|
||||
background-image:url(../../../base/images/icons/icon_rss.png);
|
||||
}
|
||||
#export_data li a.atom {
|
||||
background-image:url(../../../base/images/icons/icon_atom.png);
|
||||
}
|
||||
#export_data li a.foaf {
|
||||
background-image:url(../../../base/images/icons/icon_foaf.gif);
|
||||
}
|
||||
|
||||
.entity_edit a,
|
||||
.entity_send-a-message a,
|
||||
.form_user_nudge input.submit,
|
||||
.form_user_block input.submit,
|
||||
.form_user_unblock input.submit,
|
||||
.entity_nudge p {
|
||||
background-position: 0 40%;
|
||||
background-repeat: no-repeat;
|
||||
background-color:transparent;
|
||||
}
|
||||
.form_group_join input.submit,
|
||||
.form_group_leave input.submit
|
||||
.form_user_subscribe input.submit,
|
||||
.form_user_unsubscribe input.submit {
|
||||
background-color:#9BB43E;
|
||||
color:#fff;
|
||||
}
|
||||
.form_user_unsubscribe input.submit,
|
||||
.form_group_leave input.submit {
|
||||
background-color:#87B4C8;
|
||||
}
|
||||
|
||||
.entity_edit a {
|
||||
background-image:url(../images/icons/twotone/green/edit.gif);
|
||||
}
|
||||
.entity_send-a-message a {
|
||||
background-image:url(../images/icons/twotone/green/quote.gif);
|
||||
}
|
||||
.entity_nudge p,
|
||||
.form_user_nudge input.submit {
|
||||
background-image:url(../images/icons/twotone/green/mail.gif);
|
||||
}
|
||||
.form_user_block input.submit,
|
||||
.form_user_unblock input.submit {
|
||||
background-image:url(../images/icons/twotone/green/shield.gif);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* NOTICES */
|
||||
.notices li.over {
|
||||
background-color:#fcfcfc;
|
||||
}
|
||||
|
||||
.notice-options .notice_reply a,
|
||||
.notice-options form input.submit {
|
||||
background-color:transparent;
|
||||
}
|
||||
.notice-options .notice_reply a {
|
||||
background:transparent url(../images/icons/icon_reply.gif) no-repeat 0 45%;
|
||||
}
|
||||
.notice-options form.form_favor input.submit {
|
||||
background:transparent url(../images/icons/icon_favourite.gif) no-repeat 0 45%;
|
||||
}
|
||||
.notice-options form.form_disfavor input.submit {
|
||||
background:transparent url(../images/icons/icon_disfavourite.gif) no-repeat 0 45%;
|
||||
}
|
||||
.notice-options .notice_delete a {
|
||||
background:transparent url(../images/icons/icon_trash.gif) no-repeat 0 45%;
|
||||
}
|
||||
|
||||
.notices div.entry-content,
|
||||
.notices div.notice-options {
|
||||
opacity:0.4;
|
||||
}
|
||||
.notices li.hover div.entry-content,
|
||||
.notices li.hover div.notice-options {
|
||||
opacity:1;
|
||||
}
|
||||
div.entry-content {
|
||||
color:#333;
|
||||
}
|
||||
div.notice-options a,
|
||||
div.notice-options input {
|
||||
font-family:sans-serif;
|
||||
}
|
||||
.notices li.hover {
|
||||
background-color:#fcfcfc;
|
||||
}
|
||||
/*END: NOTICES */
|
||||
|
||||
|
||||
#new_group a {
|
||||
background:transparent url(../images/icons/twotone/green/news.gif) no-repeat 0 45%;
|
||||
}
|
||||
#usergroups #new_group {
|
||||
float: left;
|
||||
margin-right: 2em;
|
||||
}
|
||||
|
||||
.pagination .nav_prev a,
|
||||
.pagination .nav_next a {
|
||||
background-repeat:no-repeat;
|
||||
border-color:#DDFFCC;
|
||||
}
|
||||
.pagination .nav_prev a {
|
||||
background-image:url(../images/icons/twotone/green/arrow-left.gif);
|
||||
background-position:10% 45%;
|
||||
}
|
||||
.pagination .nav_next a {
|
||||
background-image:url(../images/icons/twotone/green/arrow-right.gif);
|
||||
background-position:90% 45%;
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------*/
|
||||
|
||||
#anon_notice {
|
||||
background:url(../images/illustrations/illu_unicorn-01.png) no-repeat 0 0;
|
||||
}
|
||||
#showstream #anon_notice,
|
||||
#content .notice p.entry-content a:visited,
|
||||
content .notice p.entry-content .vcard a {
|
||||
background-color:transparent;
|
||||
}
|
||||
|
||||
#anon_notice p {
|
||||
background-color:#FEFFDF;
|
||||
border-color:#FFFF00;
|
||||
}
|
||||
|
||||
|
||||
#form_notice .form_note {
|
||||
color:#CCC;
|
||||
}
|
||||
input.submit {
|
||||
background-color:#eee;
|
||||
color:#666;
|
||||
}
|
||||
|
||||
.notices li.hover {
|
||||
background-color:#F7F7F7;
|
||||
}
|
||||
|
||||
|
||||
.notice div.entry-content,
|
||||
.notice div.entry-content a {
|
||||
color:#999;
|
||||
}
|
||||
|
||||
.notices div.entry-content,
|
||||
.notices div.notice-options {
|
||||
opacity:1;
|
||||
}
|
||||
|
||||
#site_nav_local_views {
|
||||
background-color:#DDFFCC;
|
||||
}
|
||||
#site_nav_local_views li,
|
||||
#aside_primary {
|
||||
border-color:#BDDCAD;
|
||||
}
|
||||
#site_nav_local_views a,
|
||||
.aside .section h2 {
|
||||
background-color:transparent;
|
||||
border-color:transparent;
|
||||
color:#4C4C4C;
|
||||
}
|
||||
#site_nav_local_views .current {
|
||||
border-left-color:#fff;
|
||||
}
|
||||
|
||||
#site_nav_local_views .current a,
|
||||
#site_nav_global_primary,
|
||||
#footer {
|
||||
background-color:#fff;
|
||||
}
|
||||
|
34
theme/cloudy/skin/default/css/ie.css
Normal file
@ -0,0 +1,34 @@
|
||||
/* IE specific styles */
|
||||
|
||||
.notice-options input.submit {
|
||||
color:#fff;
|
||||
}
|
||||
|
||||
#site_nav_local_views a {
|
||||
background-color:#ddffcc;
|
||||
}
|
||||
|
||||
#aside_primary {
|
||||
width:181px;
|
||||
}
|
||||
|
||||
#form_notice,
|
||||
#anon_notice {
|
||||
top:158px;
|
||||
}
|
||||
|
||||
#public #content,
|
||||
#groups #content,
|
||||
#publictagcloud #content,
|
||||
#featured #content,
|
||||
#favorited #content,
|
||||
#all #content,
|
||||
#replies #content,
|
||||
#showstream #content,
|
||||
#showfavorites #content,
|
||||
#inbox #content,
|
||||
#outbox #content,
|
||||
#subscriptions #content,
|
||||
#subscribers #content {
|
||||
padding-top:138px;
|
||||
}
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
theme/cloudy/skin/default/images/icons/icon_disfavourite.gif
Normal file
After Width: | Height: | Size: 701 B |
BIN
theme/cloudy/skin/default/images/icons/icon_favourite.gif
Normal file
After Width: | Height: | Size: 397 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
theme/cloudy/skin/default/images/icons/icon_reply.gif
Normal file
After Width: | Height: | Size: 336 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
theme/cloudy/skin/default/images/icons/icon_trash.gif
Normal file
After Width: | Height: | Size: 148 B |
Before Width: | Height: | Size: 331 B After Width: | Height: | Size: 331 B |
Before Width: | Height: | Size: 73 B After Width: | Height: | Size: 73 B |
Before Width: | Height: | Size: 74 B After Width: | Height: | Size: 74 B |
Before Width: | Height: | Size: 75 B After Width: | Height: | Size: 75 B |
Before Width: | Height: | Size: 82 B After Width: | Height: | Size: 82 B |
Before Width: | Height: | Size: 76 B After Width: | Height: | Size: 76 B |
Before Width: | Height: | Size: 79 B After Width: | Height: | Size: 79 B |
Before Width: | Height: | Size: 85 B After Width: | Height: | Size: 85 B |
After Width: | Height: | Size: 68 B |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 5.6 KiB |
100
theme/default/base/css/facebookapp.css
Normal file
@ -0,0 +1,100 @@
|
||||
@import url("display.css");
|
||||
@import url("../../identica/css/display.css");
|
||||
|
||||
* {
|
||||
font-size:14px;
|
||||
font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
|
||||
}
|
||||
|
||||
#wrap {
|
||||
background-color:#F0F2F5;
|
||||
padding-left:18px;
|
||||
padding-right:18px;
|
||||
width:auto;
|
||||
}
|
||||
|
||||
p,label,
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
color:#000;
|
||||
}
|
||||
|
||||
#content {
|
||||
width:95%;
|
||||
}
|
||||
|
||||
#site_nav_local_views a {
|
||||
background-color:#D0DFE7;
|
||||
}
|
||||
#site_nav_local_views a:hover {
|
||||
background-color:#FAFBFC;
|
||||
}
|
||||
|
||||
span.facebook-button {
|
||||
border: 2px solid #aaa;
|
||||
padding: 3px;
|
||||
display: block;
|
||||
float: left;
|
||||
margin-right: 20px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius:4px;
|
||||
-webkit-border-radius:4px;
|
||||
font-weight: bold;
|
||||
background-color:#A9BF4F;
|
||||
color:#fff;
|
||||
font-size:1.2em
|
||||
}
|
||||
|
||||
span.facebook-button a { color:#fff }
|
||||
|
||||
.facebook_guide {
|
||||
margin-bottom:18px;
|
||||
}
|
||||
.facebook_guide p {
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
|
||||
input {
|
||||
height:auto !important;
|
||||
}
|
||||
|
||||
#facebook-friends {
|
||||
float:left;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
#facebook-friends li {
|
||||
float:left;
|
||||
margin-right:2%;
|
||||
margin-bottom:11px;
|
||||
width:18%;
|
||||
height:115px;
|
||||
}
|
||||
#facebook-friends li a {
|
||||
float:left;
|
||||
}
|
||||
|
||||
#add_to_profile {
|
||||
position:absolute;
|
||||
right:18px;
|
||||
top:10px;
|
||||
z-index:2;
|
||||
}
|
||||
|
||||
.notice div.entry-content dl,
|
||||
.notice div.entry-content dt,
|
||||
.notice div.entry-content dd {
|
||||
margin-right:5px;
|
||||
}
|
||||
|
||||
#content_inner p {
|
||||
margin-bottom:18px;
|
||||
}
|
||||
|
||||
#content_inner ul {
|
||||
list-style-type:none;
|
||||
}
|
||||
|
||||
.form_settings label {
|
||||
margin-right:18px;
|
||||
}
|
32
theme/default/base/css/ie.css
Normal file
@ -0,0 +1,32 @@
|
||||
/* IE specific styles */
|
||||
legend {
|
||||
margin-left:-7px;
|
||||
}
|
||||
input.checkbox {
|
||||
top:0;
|
||||
}
|
||||
#form_notice textarea {
|
||||
width:78%;
|
||||
}
|
||||
#form_notice #notice_action-submit {
|
||||
width:17%;
|
||||
max-width:17%;
|
||||
}
|
||||
#anon_notice {
|
||||
max-width:39%;
|
||||
}
|
||||
|
||||
.notice-options input.submit {
|
||||
font-size:0;
|
||||
margin-top:3px;
|
||||
height:16px;
|
||||
text-align:right;
|
||||
text-indent:0;
|
||||
width:24px;
|
||||
}
|
||||
.notice div.entry-content .timestamp a {
|
||||
margin-right:4px;
|
||||
}
|
||||
.entity_profile {
|
||||
width:64%;
|
||||
}
|
30
theme/default/base/css/ie6.css
Normal file
@ -0,0 +1,30 @@
|
||||
/* IE6 specific styles */
|
||||
address {
|
||||
margin-left:7px;
|
||||
}
|
||||
address .fn {
|
||||
display:none;
|
||||
}
|
||||
#content {
|
||||
width:70%;
|
||||
}
|
||||
#aside_primary {
|
||||
padding:5%;
|
||||
width:29.5%;
|
||||
}
|
||||
.entity_profile .entity_nickname,
|
||||
.entity_profile .entity_location,
|
||||
.entity_profile .entity_url,
|
||||
.entity_profile .entity_note,
|
||||
.entity_profile .entity_tags {
|
||||
margin-left:0;
|
||||
}
|
||||
.entity_profile .entity_depiction {
|
||||
margin-bottom:123px;
|
||||
}
|
||||
.entity_actions {
|
||||
width:20%;
|
||||
}
|
||||
.notice div.entry-content {
|
||||
width:63%;
|
||||
}
|
45
theme/default/base/css/jquery.Jcrop.css
Normal file
@ -0,0 +1,45 @@
|
||||
/* Fixes issue here http://code.google.com/p/jcrop/issues/detail?id=1 */
|
||||
.jcrop-holder
|
||||
{
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.jcrop-vline, .jcrop-hline
|
||||
{
|
||||
font-size: 0;
|
||||
position: absolute;
|
||||
background: #fff url(../images/illustrations/illu_jcrop.gif) top left repeat;
|
||||
/*
|
||||
opacity: .5;
|
||||
*filter:alpha(opacity=50);
|
||||
*/
|
||||
}
|
||||
.jcrop-vline { height: 100%; width: 1px !important; }
|
||||
.jcrop-hline { width: 100%; height: 1px !important; }
|
||||
.jcrop-handle {
|
||||
font-size: 1px;
|
||||
width: 7px !important;
|
||||
height: 7px !important;
|
||||
border: 1px #eee solid;
|
||||
background-color: #333;
|
||||
/*width: 9px;
|
||||
height: 9px;*/
|
||||
}
|
||||
|
||||
.jcrop-tracker {
|
||||
/*background-color: gray;*/
|
||||
width: 100%; height: 100%;
|
||||
}
|
||||
|
||||
.custom .jcrop-vline,
|
||||
.custom .jcrop-hline
|
||||
{
|
||||
background: yellow;
|
||||
}
|
||||
.custom .jcrop-handle
|
||||
{
|
||||
border-color: black;
|
||||
background-color: #C7BB00;
|
||||
-moz-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
}
|
150
theme/default/base/css/mobile.css
Normal file
@ -0,0 +1,150 @@
|
||||
/** theme: base
|
||||
*
|
||||
* @package Laconica
|
||||
* @author Meitar Moscovitz <meitar@maymay.net>
|
||||
* @author Sarven Capadisli <csarven@controlyourself.ca>
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||
* @link http://laconi.ca/
|
||||
*/
|
||||
|
||||
body {
|
||||
font-size:2.5em;
|
||||
}
|
||||
|
||||
#wrap {
|
||||
width:95%;
|
||||
}
|
||||
|
||||
#header,
|
||||
#header address,
|
||||
#anon_notice,
|
||||
#site_nav_local_views .nav,
|
||||
#form_notice,
|
||||
#form_notice .form_data li,
|
||||
#core,
|
||||
#content_inner,
|
||||
#notices_primary,
|
||||
.notice,
|
||||
.notice .entry-title,
|
||||
.notice div.entry-content,
|
||||
.notice-options,
|
||||
.notice .notice-options a,
|
||||
.pagination,
|
||||
.pagination .nav,
|
||||
.aside .section {
|
||||
float:none;
|
||||
}
|
||||
|
||||
.notice-options .notice_reply,
|
||||
.notice-options .notice_delete,
|
||||
.notice-options .form_favor,
|
||||
.notice-options .form_disfavor {
|
||||
position:static;
|
||||
}
|
||||
|
||||
#form_notice,
|
||||
#anon_notice,
|
||||
#footer,
|
||||
#form_notice .form_actions input.submit {
|
||||
width:auto;
|
||||
}
|
||||
|
||||
.form_settings label {
|
||||
width:25%;
|
||||
}
|
||||
.form_settings .form_data p.form_guide {
|
||||
margin-left:26%;
|
||||
}
|
||||
|
||||
#site_nav_global_primary {
|
||||
width:75%;
|
||||
}
|
||||
|
||||
.entity_profile {
|
||||
width:65%;
|
||||
}
|
||||
.entity_actions {
|
||||
margin-left:0;
|
||||
}
|
||||
|
||||
#form_notice,
|
||||
#anon_notice {
|
||||
clear:both;
|
||||
}
|
||||
|
||||
#content,
|
||||
#aside_primary {
|
||||
width:96%;
|
||||
padding-left:2%;
|
||||
padding-right:2%;
|
||||
}
|
||||
|
||||
#site_notice {
|
||||
position:static;
|
||||
float:right;
|
||||
clear:right;
|
||||
width:75%;
|
||||
margin-right:0;
|
||||
margin-bottom:11px;
|
||||
}
|
||||
|
||||
.notices {
|
||||
font-size:1.5em;
|
||||
}
|
||||
|
||||
#form_notice textarea {
|
||||
width:80%;
|
||||
height:5em;
|
||||
}
|
||||
#form_notice .form_note {
|
||||
right:20%;
|
||||
top:6em;
|
||||
}
|
||||
|
||||
|
||||
.vcard .photo,
|
||||
.section .vcard .photo {
|
||||
margin-right:18px;
|
||||
}
|
||||
.notice,
|
||||
.profile {
|
||||
margin-bottom:18px;
|
||||
}
|
||||
|
||||
.notices .entry-title,
|
||||
.notices div.entry-content {
|
||||
width:90%;
|
||||
}
|
||||
.notice div.entry-content {
|
||||
margin-left:0;
|
||||
}
|
||||
|
||||
.notice .author .photo {
|
||||
height:4.5em;
|
||||
width:4.5em;
|
||||
}
|
||||
.notice-options {
|
||||
position:absolute;
|
||||
top:0;
|
||||
right:0;
|
||||
padding-left:7%;
|
||||
width:3%;
|
||||
}
|
||||
|
||||
.notice-options .notice_delete a {
|
||||
float:left;
|
||||
}
|
||||
.pagination .nav {
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
#export_data {
|
||||
display:none;
|
||||
}
|
||||
|
||||
#site_nav_local_views li {
|
||||
margin-right:4px;
|
||||
}
|
||||
#site_nav_local_views a {
|
||||
padding:18px 11px;
|
||||
}
|
36
theme/default/base/css/print.css
Normal file
@ -0,0 +1,36 @@
|
||||
/** theme: base
|
||||
*
|
||||
* @package Laconica
|
||||
* @author Sarven Capadisli <csarven@controlyourself.ca>
|
||||
* @copyright 2009 Control Yourself, Inc.
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||
* @link http://laconi.ca/
|
||||
*/
|
||||
|
||||
a:after { background-color:#fff; }
|
||||
a:not([href^="#"]):after { content:" ( "attr(href)" ) "; }
|
||||
|
||||
img { border:none; }
|
||||
p { orphans: 2; widows: 1; }
|
||||
|
||||
#site_nav_global_primary,
|
||||
#site_nav_local_views,
|
||||
#form_notice,
|
||||
.pagination,
|
||||
#site_nav_global_secondary,
|
||||
.entity_actions,
|
||||
.notice-options,
|
||||
#aside_primary,
|
||||
.form_subscription_edit .submit {
|
||||
display:none;
|
||||
}
|
||||
|
||||
.timestamp dt, .timestamp dd,
|
||||
.device dt, .device dd {
|
||||
display:inline;
|
||||
}
|
||||
|
||||
.profiles li,
|
||||
.notices li {
|
||||
margin-bottom:18px;
|
||||
}
|
163
theme/default/base/css/thickbox.css
Normal file
@ -0,0 +1,163 @@
|
||||
/* ----------------------------------------------------------------------------------------------------------------*/
|
||||
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
|
||||
/* ----------------------------------------------------------------------------------------------------------------*/
|
||||
*{padding: 0; margin: 0;}
|
||||
|
||||
/* ----------------------------------------------------------------------------------------------------------------*/
|
||||
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
|
||||
/* ----------------------------------------------------------------------------------------------------------------*/
|
||||
#TB_window {
|
||||
font: 12px Arial, Helvetica, sans-serif;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
#TB_secondLine {
|
||||
font: 10px Arial, Helvetica, sans-serif;
|
||||
color:#666666;
|
||||
}
|
||||
|
||||
#TB_window a:link {color: #666666;}
|
||||
#TB_window a:visited {color: #666666;}
|
||||
#TB_window a:hover {color: #000;}
|
||||
#TB_window a:active {color: #666666;}
|
||||
#TB_window a:focus{color: #666666;}
|
||||
|
||||
/* ----------------------------------------------------------------------------------------------------------------*/
|
||||
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
|
||||
/* ----------------------------------------------------------------------------------------------------------------*/
|
||||
#TB_overlay {
|
||||
position: fixed;
|
||||
z-index:100;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
height:100%;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
.TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}
|
||||
.TB_overlayBG {
|
||||
background-color:#000;
|
||||
filter:alpha(opacity=75);
|
||||
-moz-opacity: 0.75;
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
* html #TB_overlay { /* ie6 hack */
|
||||
position: absolute;
|
||||
height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
|
||||
}
|
||||
|
||||
#TB_window {
|
||||
position: fixed;
|
||||
background: #ffffff;
|
||||
z-index: 102;
|
||||
color:#000000;
|
||||
display:none;
|
||||
border: 4px solid #525252;
|
||||
text-align:left;
|
||||
top:50%;
|
||||
left:50%;
|
||||
}
|
||||
|
||||
* html #TB_window { /* ie6 hack */
|
||||
position: absolute;
|
||||
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
|
||||
}
|
||||
|
||||
#TB_window img#TB_Image {
|
||||
display:block;
|
||||
margin: 15px 0 0 15px;
|
||||
border-right: 1px solid #ccc;
|
||||
border-bottom: 1px solid #ccc;
|
||||
border-top: 1px solid #666;
|
||||
border-left: 1px solid #666;
|
||||
}
|
||||
|
||||
#TB_caption{
|
||||
height:25px;
|
||||
padding:7px 30px 10px 25px;
|
||||
float:left;
|
||||
}
|
||||
|
||||
#TB_closeWindow{
|
||||
height:25px;
|
||||
padding:11px 25px 10px 0;
|
||||
float:right;
|
||||
}
|
||||
|
||||
#TB_closeAjaxWindow{
|
||||
padding:7px 10px 5px 0;
|
||||
margin-bottom:1px;
|
||||
text-align:right;
|
||||
float:right;
|
||||
}
|
||||
|
||||
#TB_ajaxWindowTitle{
|
||||
float:left;
|
||||
padding:7px 0 5px 10px;
|
||||
margin-bottom:1px;
|
||||
}
|
||||
|
||||
#TB_title{
|
||||
background-color:#e8e8e8;
|
||||
height:27px;
|
||||
}
|
||||
|
||||
#TB_ajaxContent{
|
||||
clear:both;
|
||||
padding:2px 15px 15px 15px;
|
||||
overflow:auto;
|
||||
text-align:left;
|
||||
line-height:1.4em;
|
||||
}
|
||||
|
||||
#TB_ajaxContent.TB_modal{
|
||||
padding:15px;
|
||||
}
|
||||
|
||||
#TB_ajaxContent p{
|
||||
padding:5px 0px 5px 0px;
|
||||
}
|
||||
|
||||
#TB_load{
|
||||
position: fixed;
|
||||
display:none;
|
||||
height:13px;
|
||||
width:208px;
|
||||
z-index:103;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
|
||||
}
|
||||
|
||||
* html #TB_load { /* ie6 hack */
|
||||
position: absolute;
|
||||
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
|
||||
}
|
||||
|
||||
#TB_HideSelect{
|
||||
z-index:99;
|
||||
position:fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background-color:#fff;
|
||||
border:none;
|
||||
filter:alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
opacity: 0;
|
||||
height:100%;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
* html #TB_HideSelect { /* ie6 hack */
|
||||
position: absolute;
|
||||
height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
|
||||
}
|
||||
|
||||
#TB_iframeContent{
|
||||
clear:both;
|
||||
border:none;
|
||||
margin-bottom:-1px;
|
||||
margin-top:1px;
|
||||
_margin-bottom:1px;
|
||||
}
|
BIN
theme/default/base/images/icons/icon_atom.png
Normal file
After Width: | Height: | Size: 820 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
theme/default/base/images/icons/icon_processing.gif
Normal file
After Width: | Height: | Size: 673 B |
BIN
theme/default/base/images/icons/icon_rss.png
Normal file
After Width: | Height: | Size: 777 B |
Before Width: | Height: | Size: 331 B After Width: | Height: | Size: 331 B |
BIN
theme/default/base/images/illustrations/illu_jcrop.gif
Normal file
After Width: | Height: | Size: 329 B |
After Width: | Height: | Size: 5.7 KiB |
BIN
theme/default/logo.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
@ -90,7 +90,7 @@ color:#333;
|
||||
color:#000;
|
||||
}
|
||||
#form_notice.processing #notice_action-submit {
|
||||
background:#fff url(../../base/images/icons/icon_processing.gif) no-repeat 47% 47%;
|
||||
background:#fff url(../../../base/images/icons/icon_processing.gif) no-repeat 47% 47%;
|
||||
cursor:wait;
|
||||
text-indent:-9999px;
|
||||
}
|
||||
@ -137,13 +137,13 @@ background-repeat:no-repeat;
|
||||
background-position:0 45%;
|
||||
}
|
||||
#export_data li a.rss {
|
||||
background-image:url(../../base/images/icons/icon_rss.png);
|
||||
background-image:url(../../../base/images/icons/icon_rss.png);
|
||||
}
|
||||
#export_data li a.atom {
|
||||
background-image:url(../../base/images/icons/icon_atom.png);
|
||||
background-image:url(../../../base/images/icons/icon_atom.png);
|
||||
}
|
||||
#export_data li a.foaf {
|
||||
background-image:url(../../base/images/icons/icon_foaf.gif);
|
||||
background-image:url(../../../base/images/icons/icon_foaf.gif);
|
||||
}
|
||||
|
||||
.entity_edit a,
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
theme/default/skin/default/images/icons/icon_foaf.gif
Normal file
After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
theme/default/skin/default/images/icons/icon_vcard.gif
Normal file
After Width: | Height: | Size: 331 B |
Before Width: | Height: | Size: 85 B After Width: | Height: | Size: 85 B |
Before Width: | Height: | Size: 75 B After Width: | Height: | Size: 75 B |
Before Width: | Height: | Size: 75 B After Width: | Height: | Size: 75 B |
Before Width: | Height: | Size: 75 B After Width: | Height: | Size: 75 B |
Before Width: | Height: | Size: 73 B After Width: | Height: | Size: 73 B |
Before Width: | Height: | Size: 74 B After Width: | Height: | Size: 74 B |
Before Width: | Height: | Size: 74 B After Width: | Height: | Size: 74 B |
Before Width: | Height: | Size: 75 B After Width: | Height: | Size: 75 B |
Before Width: | Height: | Size: 73 B After Width: | Height: | Size: 73 B |
Before Width: | Height: | Size: 79 B After Width: | Height: | Size: 79 B |
Before Width: | Height: | Size: 82 B After Width: | Height: | Size: 82 B |
Before Width: | Height: | Size: 83 B After Width: | Height: | Size: 83 B |
Before Width: | Height: | Size: 83 B After Width: | Height: | Size: 83 B |
Before Width: | Height: | Size: 79 B After Width: | Height: | Size: 79 B |
Before Width: | Height: | Size: 79 B After Width: | Height: | Size: 79 B |
Before Width: | Height: | Size: 86 B After Width: | Height: | Size: 86 B |
Before Width: | Height: | Size: 82 B After Width: | Height: | Size: 82 B |
Before Width: | Height: | Size: 81 B After Width: | Height: | Size: 81 B |
Before Width: | Height: | Size: 76 B After Width: | Height: | Size: 76 B |
Before Width: | Height: | Size: 80 B After Width: | Height: | Size: 80 B |
Before Width: | Height: | Size: 81 B After Width: | Height: | Size: 81 B |
Before Width: | Height: | Size: 78 B After Width: | Height: | Size: 78 B |
Before Width: | Height: | Size: 82 B After Width: | Height: | Size: 82 B |
Before Width: | Height: | Size: 88 B After Width: | Height: | Size: 88 B |
Before Width: | Height: | Size: 85 B After Width: | Height: | Size: 85 B |
Before Width: | Height: | Size: 81 B After Width: | Height: | Size: 81 B |
Before Width: | Height: | Size: 78 B After Width: | Height: | Size: 78 B |
Before Width: | Height: | Size: 75 B After Width: | Height: | Size: 75 B |
Before Width: | Height: | Size: 73 B After Width: | Height: | Size: 73 B |
Before Width: | Height: | Size: 74 B After Width: | Height: | Size: 74 B |
Before Width: | Height: | Size: 77 B After Width: | Height: | Size: 77 B |
Before Width: | Height: | Size: 73 B After Width: | Height: | Size: 73 B |
Before Width: | Height: | Size: 80 B After Width: | Height: | Size: 80 B |
Before Width: | Height: | Size: 82 B After Width: | Height: | Size: 82 B |
Before Width: | Height: | Size: 90 B After Width: | Height: | Size: 90 B |