From 030477b02a1d00d4957bed88ba221c06e81abff3 Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Sun, 12 Apr 2009 02:08:55 +0000 Subject: 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. --- theme/default/css/display.css | 251 ------------------------------------------ theme/default/css/ie.css | 9 -- 2 files changed, 260 deletions(-) delete mode 100644 theme/default/css/display.css delete mode 100644 theme/default/css/ie.css (limited to 'theme/default/css') diff --git a/theme/default/css/display.css b/theme/default/css/display.css deleted file mode 100644 index 42e29374f..000000000 --- a/theme/default/css/display.css +++ /dev/null @@ -1,251 +0,0 @@ -/** theme: default - * - * @package Laconica - * @author Sarven Capadisli - * @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:#97BFD1; -} -body { -font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; -font-size:1em; -} -address { -margin-right:7.18%; -} - -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:#97BFD1; -} - -.form_settings input.form_action-secondary { -background:none; -} - -input.submit, -#form_notice.warning #notice_text-count, -.form_settings .form_note, -.entity_remote_subscribe { -background-color:#A9BF4F; -} - -input:focus, textarea:focus, select:focus, -#form_notice.warning #notice_data-text { -border-color:#A9BF4F; -} -input.submit, -.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:#002E6E; -} - -.notice, -.profile { -border-top-color:#D1D9E4; -} -.section .profile { -border-top-color:#97BFD1; -} - - -#content .notice p.entry-content a:visited { -background-color:#fcfcfc; -} -#content .notice p.entry-content .vcard a { -background-color:#fcfffc; -} - -#aside_primary { -background-color:#CEE1E9; -} - - -#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(255, 255, 255, 0.2); -} -#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:#97BFD1; -color:#fff; -border-color:#fff; -} - -#showstream #anon_notice { -background-color:#A9BF4F; -} - - -#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:#A9BF4F; -color:#fff; -} -.form_user_unsubscribe input.submit, -.form_group_leave input.submit { -background-color:#97BFD1; -} - -.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/twotone/green/reply.gif) no-repeat 0 45%; -} -.notice-options form.form_favor input.submit { -background:transparent url(../images/icons/twotone/green/favourite.gif) no-repeat 0 45%; -} -.notice-options form.form_disfavor input.submit { -background:transparent url(../images/icons/twotone/green/disfavourite.gif) no-repeat 0 45%; -} -.notice-options .notice_delete a { -background:transparent url(../images/icons/twotone/green/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:#D1D9E4; -} -.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%; -} diff --git a/theme/default/css/ie.css b/theme/default/css/ie.css deleted file mode 100644 index 2b06768ea..000000000 --- a/theme/default/css/ie.css +++ /dev/null @@ -1,9 +0,0 @@ -/* IE specific styles */ - -.notice-options input.submit { -color:#fff; -} - -#site_nav_local_views a { -background-color:#ACCCDA; -} -- cgit v1.2.3-54-g00ecf