49 lines
1.1 KiB
Perl
49 lines
1.1 KiB
Perl
|
|
package LJ::S2Theme::lineup;
|
||
|
|
use base qw( LJ::S2Theme );
|
||
|
|
use strict;
|
||
|
|
|
||
|
|
sub layouts {
|
||
|
|
(
|
||
|
|
"1" => "one-column",
|
||
|
|
"1s" => "one-column-split",
|
||
|
|
"2l" => "two-columns-left",
|
||
|
|
"2r" => "two-columns-right",
|
||
|
|
"3" => "three-columns-sides",
|
||
|
|
"3r" => "three-columns-right",
|
||
|
|
"3l" => "three-columns-left"
|
||
|
|
)
|
||
|
|
}
|
||
|
|
sub layout_prop { "layout_type" }
|
||
|
|
|
||
|
|
sub page_props {
|
||
|
|
my $self = shift;
|
||
|
|
my @props = qw(
|
||
|
|
color_navigation_background
|
||
|
|
color_navigation_text
|
||
|
|
color_navigation_link
|
||
|
|
color_navigation_link_active
|
||
|
|
color_navigation_link_hover
|
||
|
|
color_navigation_link_visited
|
||
|
|
color_navigation_border
|
||
|
|
);
|
||
|
|
return $self->_append_props( "page_props", @props );
|
||
|
|
}
|
||
|
|
|
||
|
|
sub header_props {
|
||
|
|
my $self = shift;
|
||
|
|
my @props = qw( color_header_border );
|
||
|
|
return $self->_append_props( "header_props", @props );
|
||
|
|
}
|
||
|
|
|
||
|
|
sub archive_props {
|
||
|
|
my $self = shift;
|
||
|
|
my @props = qw(
|
||
|
|
color_calendar_border
|
||
|
|
color_calendar_header_background
|
||
|
|
color_calendar_header_text
|
||
|
|
);
|
||
|
|
return $self->_append_props( "archive_props", @props );
|
||
|
|
}
|
||
|
|
|
||
|
|
1;
|