]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #1124 from tobiasd/duepuntoderivs
authorfabrixxm <fabrix.xm@gmail.com>
Sun, 7 Sep 2014 13:04:26 +0000 (15:04 +0200)
committerfabrixxm <fabrix.xm@gmail.com>
Sun, 7 Sep 2014 13:04:26 +0000 (15:04 +0200)
added variations of duepuntozero to the theme as options to be selected

24 files changed:
view/theme/duepuntozero/config.php [new file with mode: 0644]
view/theme/duepuntozero/deriv/comix.css [new file with mode: 0644]
view/theme/duepuntozero/deriv/darkzero.css [new file with mode: 0644]
view/theme/duepuntozero/deriv/easterbunny.css [new file with mode: 0644]
view/theme/duepuntozero/deriv/greenzero.css [new file with mode: 0644]
view/theme/duepuntozero/deriv/imgdarkzero/border.jpg [new file with mode: 0644]
view/theme/duepuntozero/deriv/imgdarkzero/head.jpg [new file with mode: 0644]
view/theme/duepuntozero/deriv/imgdarkzero/sectionend.jpg [new file with mode: 0644]
view/theme/duepuntozero/deriv/imgdarkzero/shiny.png [new file with mode: 0644]
view/theme/duepuntozero/deriv/imgeasterbunny/border.jpg [new file with mode: 0644]
view/theme/duepuntozero/deriv/imgeasterbunny/head.jpg [new file with mode: 0644]
view/theme/duepuntozero/deriv/imgeasterbunny/shiny.png [new file with mode: 0644]
view/theme/duepuntozero/deriv/imggreenzero/border.jpg [new file with mode: 0644]
view/theme/duepuntozero/deriv/imggreenzero/file.gif [new file with mode: 0644]
view/theme/duepuntozero/deriv/imggreenzero/greenicons.png [new file with mode: 0644]
view/theme/duepuntozero/deriv/imggreenzero/head.jpg [new file with mode: 0644]
view/theme/duepuntozero/deriv/imggreenzero/shiny.png [new file with mode: 0644]
view/theme/duepuntozero/deriv/imgpurplezero/border.jpg [new file with mode: 0644]
view/theme/duepuntozero/deriv/imgpurplezero/head.jpg [new file with mode: 0644]
view/theme/duepuntozero/deriv/imgpurplezero/shiny.png [new file with mode: 0644]
view/theme/duepuntozero/deriv/purplezero.css [new file with mode: 0644]
view/theme/duepuntozero/deriv/slackr.css [new file with mode: 0644]
view/theme/duepuntozero/style.php [new file with mode: 0644]
view/theme/duepuntozero/theme.php

diff --git a/view/theme/duepuntozero/config.php b/view/theme/duepuntozero/config.php
new file mode 100644 (file)
index 0000000..edf12c3
--- /dev/null
@@ -0,0 +1,65 @@
+<?php
+/**
+ * Theme settings
+ */
+
+
+
+function theme_content(&$a){
+    if(!local_user())
+        return;                
+
+    $colorset = get_pconfig( local_user(), 'duepuntozero', 'colorset');
+    $user = true;
+
+    return clean_form($a, $colorset, $user);
+}
+
+function theme_post(&$a){
+    if(! local_user())
+        return;
+    
+    if (isset($_POST['duepuntozero-settings-submit'])){
+        set_pconfig(local_user(), 'duepuntozero', 'colorset', $_POST['duepuntozero_colorset']);
+    }
+}
+
+
+function theme_admin(&$a){
+    $colorset = get_config( 'duepuntozero', 'colorset');
+    $user = false;
+
+    return clean_form($a, $colorset, $user);
+}
+
+function theme_admin_post(&$a){
+    if (isset($_POST['duepuntozero-settings-submit'])){
+        set_config('duepuntozero', 'colorset', $_POST['duepuntozero_colorset']);
+    }
+}
+
+
+function clean_form(&$a, &$colorset, $user){
+    $colorset = array(
+       'default'=>t('default'), 
+        'greenzero'=>t('greenzero'),
+        'purplezero'=>t('purplezero'),
+        'easterbunny'=>t('easterbunny'),
+        'darkzero'=>t('darkzero'),
+        'comix'=>t('comix'),
+        'slackr'=>t('slackr'),
+    );
+    if ($user) {
+        $color = get_pconfig(local_user(), 'duepuntozero', 'colorset');
+    } else {
+        $color = get_config( 'duepuntozero', 'colorset');
+    }
+    $t = get_markup_template("theme_settings.tpl" );
+    $o .= replace_macros($t, array(
+        '$submit' => t('Submit'),
+        '$baseurl' => $a->get_baseurl(),
+        '$title' => t("Theme settings"),
+        '$colorset' => array('duepuntozero_colorset', t('Variations'), $color, '', $colorset),
+    ));
+    return $o;
+}
diff --git a/view/theme/duepuntozero/deriv/comix.css b/view/theme/duepuntozero/deriv/comix.css
new file mode 100644 (file)
index 0000000..d4585fb
--- /dev/null
@@ -0,0 +1,107 @@
+body {
+       font-family: "Comic Sans MS", sans !important;
+       font-size: 13px;
+}
+.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, .comment-wwedit-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;
+       margin-top: 15px;
+}
+
+.wall-item-photo.comment {
+       margin-top: 26px;
+}
+
+
+.triangle-isosceles {
+       position:relative;
+       padding:15px;
+       margin:1em 0 3em;
+       color:#000;
+       background:#EEEEEE; /* default background for browsers without gradient support */
+       /* css3 */
+       background:-webkit-gradient(linear, 0 0, 0 100%, from(#EEEEEE), to(#ffffff));
+       background:-moz-linear-gradient(#EEEEEE, #ffffff);
+       background:-o-linear-gradient(#EEEEEE, #ffffff);
+       background:linear-gradient(#EEEEEE, #ffffff);
+       -webkit-border-radius:10px;
+       -moz-border-radius:10px;
+       border-radius:10px;
+}
+
+/* Variant : for left/right positioned triangle
+------------------------------------------ */
+
+.triangle-isosceles.left {
+       margin-left:30px;
+       background:#F8F8F8;
+       border: 2px solid #CCCCCC;
+}
+
+/* THE TRIANGLE
+------------------------------------------------------------------------------------------------------------------------------- */
+
+/* creates triangle */
+.triangle-isosceles:after {
+       content:"";
+       position:absolute;
+       bottom:-8px; /* value = - border-top-width - border-bottom-width */
+       left:30px; /* controls horizontal position */
+       border-width:15px 15px 0; /* vary these values to change the angle of the vertex */
+       border-style:solid;
+       border-color:#f8f8f8 transparent;
+    /* reduce the damage in FF3.0 */
+    display:block; 
+    width:0;
+}
+
+/* Variant : left
+------------------------------------------ */
+
+.triangle-isosceles.left:after {
+       top:12px; /* controls vertical position */
+       left:-30px; /* value = - border-left-width - border-right-width */
+       bottom:auto;
+       border-width:10px 30px 10px 0;
+       border-color:transparent #f8f8f8;
+}
diff --git a/view/theme/duepuntozero/deriv/darkzero.css b/view/theme/duepuntozero/deriv/darkzero.css
new file mode 100644 (file)
index 0000000..d2b7a67
--- /dev/null
@@ -0,0 +1,187 @@
+/* dark variation Fabio Comuni <fabrix.xm@gmail.com> */
+
+a:link, a:visited { color: #99CCFF; text-decoration: none; }
+a:hover {text-decoration: underline; }
+
+input, select, textarea {
+       background-color: #222222;
+       color: #FFFFFF !important;
+       border: 1px solid #444444;
+}
+.openid { background-color: #222222;}
+
+body {         background-color: #222222; color: #cccccc; background-image: url('imgdarkzero/head.jpg'); }
+aside{         background-image: url('imgdarkzero/border.jpg'); padding-bottom: 0px; }
+section { background-color: #333333;   background-image: url('imgdarkzero/border.jpg'); }
+#panel { background-color: #2e2f2e;}
+
+.tabs {        background-image: url('imgdarkzero/head.jpg'); }
+div.wall-item-content-wrapper.shiny {  background-image: url('ingdarkzero/shiny.png'); }
+
+nav #banner #logo-text a { color: #ffffff; }
+
+.wall-item-content-wrapper { 
+       border: 1px solid #444444; 
+       background: #444444;  
+}
+.wall-item-outside-wrapper.threaded > .wall-item-content-wrapper {
+       -moz-border-radius: 3px 3px 0px;
+       border-radius: 3px 3px 0px;     
+}
+.wall-item-tools {     background-color: #444444;   background-image: none;}
+.comment-wwedit-wrapper{
+       background-color: #333333;
+}
+.comment-wwedit-wrapper.threaded {
+       border: solid #444444;
+       border-width: 0px 3px 3px;
+       -moz-border-radius: 0px 0px 3px 3px;
+       border-radius: 0px 0px 3px 3px; 
+}
+.editicon {
+       background-color: #333;
+}
+.comment-edit-preview{ color: #000000; }
+.wall-item-content-wrapper.comment { background-color: #444444; border: 0px;}
+.photo-top-album-name{ background-color: #333333; }
+.photo-album-image-wrapper .caption { background-color: rgba(51, 51, 51, 0.8); color: #FFFFFF; }
+
+.nav-selected.nav-link { color: #ffffff!important; border-bottom: 0px}
+.nav-commlink, .nav-login-link {background-color: #b7bab3;}
+.nav-commlink:link, .nav-commlink:visited,
+.nav-login-link:link, .nav-login-link:visited{
+       color: #ffffff;
+}
+
+.fakelink, .fakelink:visited {
+       color: #99CCFF;
+}
+
+.wall-item-name-link {
+       color: #99CCFF;
+}
+
+.wall-item-photo-menu li a, .contact-photo-menu {
+       color: #CCCCCC; background-color: #333333;
+}
+
+.wall-item-photo-menu li a:hover {
+       background-color: #CCCCCC; color: #333333;
+}
+
+code {
+  background:#2e2f2e !important;
+  color:#fff !important;
+}
+
+blockquote {
+  background:#2e2f2e !important;
+  color:#eec !important;
+}
+
+
+#page-footer { min-height: 1em;}
+footer {
+       margin: 0px 10%;
+       display: block;
+       background-image: url('imgdarkzero/sectionend.jpg');
+       background-position: top left;
+       background-repeat: repeat-x;
+       height: 25px;   
+}
+
+
+input#dfrn-url {
+       background-color: #222222;
+       color: #FFFFFF !important;
+}
+.pager_first a, .pager_last a, .pager_prev a, .pager_next a, .pager_n a, .pager_current {
+    color: #000088;
+}
+
+#jot-perms-icon {
+       float: left;
+}
+
+
+#jot-title, #jot-category {
+       background-color: #333333;
+       border: 1px solid #333333;
+}
+
+#jot-title::-webkit-input-placeholder{ color: #555555!important;}
+#jot-title:-moz-placeholder{color: #555555!important;}
+#jot-category::-webkit-input-placeholder{ color: #555555!important;}
+#jot-category:-moz-placeholder{color: #555555!important;}
+               
+       
+#jot-title:hover,
+#jot-title:focus,
+#jot-category:hover,
+#jot-category:focus {
+       border: 1px solid #cccccc; 
+}
+
+.acl-list-item p, #profile-jot-email-label, div#jot-preview-content, div.profile-jot-net {
+        color: #eec;
+}
+#fancybox-content{
+  background:#444;
+}
+
+input#acl-search {
+        background-color: #aaa;
+}
+
+
+.notify-seen {
+  background:#111;
+}
+
+#nav-notifications-menu {
+  background: #2e2e2f;
+}
+
+#nav-notifications-menu li:hover {
+  background: #444;
+}
+
+.acpopupitem{
+  background:#2e2f2e;
+}
+
+.group-selected, .nets-selected, .fileas-selected, .categories-selected{
+  background:#2e2f2e;
+}
+
+/* Events */
+
+.fc-state-highlight {
+background: #666 !important;
+}
+
+.fc-state-disabled, .fc-state-disabled .fc-button-inner {
+color: #000 !important;
+}
+
+/*Admin page */
+
+#adminpage table tr:hover {
+    color: #eec;
+    background-color: #666;
+}
+
+.settings-widget .selected {
+background: #666;
+}
+
+
+/* Stuff that doesn't seem to fit with anything else */
+
+#datebrowse-sidebar select {
+color:#99CCFF !important;
+}
+
+input#prvmail-subject {
+background: #222 !important;
+}
diff --git a/view/theme/duepuntozero/deriv/easterbunny.css b/view/theme/duepuntozero/deriv/easterbunny.css
new file mode 100644 (file)
index 0000000..0619644
--- /dev/null
@@ -0,0 +1,46 @@
+.vcard .fn {
+       color: orange !important;
+}
+
+.vcard .title {
+       color: #00BB00 !important;
+}
+
+.wall-item-content-wrapper {
+       border: 1px solid red;
+       background: #FFDDFF;
+}
+
+.wall-item-content-wrapper.comment {
+       background: #FFCCAA;
+}
+
+.comment-edit-wrapper {
+       background: yellow;
+}
+
+body {         background-image: url('imgeasterbunny/head.jpg'); }
+section { background: #EEFFFF; }
+
+a, a:visited { color: #0000FF; text-decoration: none; }
+a:hover {text-decoration: underline; }
+
+
+aside(         background-image: url('imgeasterbunny/border.jpg'); }
+.tabs {        background-image: url('imgeasterbunny/head.jpg'); }
+div.wall-item-content-wrapper.shiny {  background-image: url('imgeasterbunny/shiny.png'); }
+
+
+.nav-commlink, .nav-login-link {
+       background-color: #aed3b2;
+
+}
+
+.fakelink, .fakelink:visited {
+       color: #0000FF;
+}
+
+.wall-item-name-link {
+       color: #0000FF;
+}
+
diff --git a/view/theme/duepuntozero/deriv/greenzero.css b/view/theme/duepuntozero/deriv/greenzero.css
new file mode 100644 (file)
index 0000000..0f6f788
--- /dev/null
@@ -0,0 +1,34 @@
+/* green variation by Tobias Diekershoff <tobias.diekershoff@gmx.net> */
+
+a:link, a:visited { color: #549f4f; text-decoration: none; }
+a:hover {text-decoration: underline; }
+
+.nav-selected.nav-link { color: #549f4f!important; border-bottom: 0px}
+.nav-commlink, .nav-login-link {background-color: #aed3b2;}
+.nav-commlink:link, .nav-commlink:visited,
+.nav-login-link:link, .nav-login-link:visited{
+       color: #ffffff;
+}
+
+.icon {
+       display: block; width: 16px; height: 16px;
+       background-image: url('imggreenzero/greenicons.png');
+}
+
+
+
+body {         background-image: url('imggreenzero/head.jpg'); }
+aside { background-image: url('imggreenzero/border.jpg'); }
+section { background-image: url('imggreenzero/border.jpg'); }
+.tabs {        background-image: url('imggreenzero/head.jpg'); }
+div.wall-item-content-wrapper.shiny {  background-image: url('imggreenzero/shiny.png'); }
+
+.fakelink, .fakelink:visited, .fakelink:hover, .fakelink:link {
+       color: #549f4f !important;
+}
+
+.wall-item-name-link {
+       color: #549f4f;
+}
+
+
diff --git a/view/theme/duepuntozero/deriv/imgdarkzero/border.jpg b/view/theme/duepuntozero/deriv/imgdarkzero/border.jpg
new file mode 100644 (file)
index 0000000..4967412
Binary files /dev/null and b/view/theme/duepuntozero/deriv/imgdarkzero/border.jpg differ
diff --git a/view/theme/duepuntozero/deriv/imgdarkzero/head.jpg b/view/theme/duepuntozero/deriv/imgdarkzero/head.jpg
new file mode 100644 (file)
index 0000000..67e8521
Binary files /dev/null and b/view/theme/duepuntozero/deriv/imgdarkzero/head.jpg differ
diff --git a/view/theme/duepuntozero/deriv/imgdarkzero/sectionend.jpg b/view/theme/duepuntozero/deriv/imgdarkzero/sectionend.jpg
new file mode 100644 (file)
index 0000000..9d5d5c8
Binary files /dev/null and b/view/theme/duepuntozero/deriv/imgdarkzero/sectionend.jpg differ
diff --git a/view/theme/duepuntozero/deriv/imgdarkzero/shiny.png b/view/theme/duepuntozero/deriv/imgdarkzero/shiny.png
new file mode 100644 (file)
index 0000000..994c0d0
Binary files /dev/null and b/view/theme/duepuntozero/deriv/imgdarkzero/shiny.png differ
diff --git a/view/theme/duepuntozero/deriv/imgeasterbunny/border.jpg b/view/theme/duepuntozero/deriv/imgeasterbunny/border.jpg
new file mode 100644 (file)
index 0000000..66c7a6f
Binary files /dev/null and b/view/theme/duepuntozero/deriv/imgeasterbunny/border.jpg differ
diff --git a/view/theme/duepuntozero/deriv/imgeasterbunny/head.jpg b/view/theme/duepuntozero/deriv/imgeasterbunny/head.jpg
new file mode 100644 (file)
index 0000000..1acd2dd
Binary files /dev/null and b/view/theme/duepuntozero/deriv/imgeasterbunny/head.jpg differ
diff --git a/view/theme/duepuntozero/deriv/imgeasterbunny/shiny.png b/view/theme/duepuntozero/deriv/imgeasterbunny/shiny.png
new file mode 100644 (file)
index 0000000..d3f71ee
Binary files /dev/null and b/view/theme/duepuntozero/deriv/imgeasterbunny/shiny.png differ
diff --git a/view/theme/duepuntozero/deriv/imggreenzero/border.jpg b/view/theme/duepuntozero/deriv/imggreenzero/border.jpg
new file mode 100644 (file)
index 0000000..034a1cb
Binary files /dev/null and b/view/theme/duepuntozero/deriv/imggreenzero/border.jpg differ
diff --git a/view/theme/duepuntozero/deriv/imggreenzero/file.gif b/view/theme/duepuntozero/deriv/imggreenzero/file.gif
new file mode 100644 (file)
index 0000000..e388a13
Binary files /dev/null and b/view/theme/duepuntozero/deriv/imggreenzero/file.gif differ
diff --git a/view/theme/duepuntozero/deriv/imggreenzero/greenicons.png b/view/theme/duepuntozero/deriv/imggreenzero/greenicons.png
new file mode 100644 (file)
index 0000000..2644e42
Binary files /dev/null and b/view/theme/duepuntozero/deriv/imggreenzero/greenicons.png differ
diff --git a/view/theme/duepuntozero/deriv/imggreenzero/head.jpg b/view/theme/duepuntozero/deriv/imggreenzero/head.jpg
new file mode 100644 (file)
index 0000000..c697762
Binary files /dev/null and b/view/theme/duepuntozero/deriv/imggreenzero/head.jpg differ
diff --git a/view/theme/duepuntozero/deriv/imggreenzero/shiny.png b/view/theme/duepuntozero/deriv/imggreenzero/shiny.png
new file mode 100644 (file)
index 0000000..994c0d0
Binary files /dev/null and b/view/theme/duepuntozero/deriv/imggreenzero/shiny.png differ
diff --git a/view/theme/duepuntozero/deriv/imgpurplezero/border.jpg b/view/theme/duepuntozero/deriv/imgpurplezero/border.jpg
new file mode 100644 (file)
index 0000000..66c7a6f
Binary files /dev/null and b/view/theme/duepuntozero/deriv/imgpurplezero/border.jpg differ
diff --git a/view/theme/duepuntozero/deriv/imgpurplezero/head.jpg b/view/theme/duepuntozero/deriv/imgpurplezero/head.jpg
new file mode 100644 (file)
index 0000000..1acd2dd
Binary files /dev/null and b/view/theme/duepuntozero/deriv/imgpurplezero/head.jpg differ
diff --git a/view/theme/duepuntozero/deriv/imgpurplezero/shiny.png b/view/theme/duepuntozero/deriv/imgpurplezero/shiny.png
new file mode 100644 (file)
index 0000000..d3f71ee
Binary files /dev/null and b/view/theme/duepuntozero/deriv/imgpurplezero/shiny.png differ
diff --git a/view/theme/duepuntozero/deriv/purplezero.css b/view/theme/duepuntozero/deriv/purplezero.css
new file mode 100644 (file)
index 0000000..d59cf5d
--- /dev/null
@@ -0,0 +1,25 @@
+a, a:link, a:visited { color: #7433af; text-decoration: none; }
+a:hover {text-decoration: underline; }
+
+
+body {         background-image: url('imgpurplezero/head.jpg'); }
+aside(         background-image: url('imgpurplezero/border.jpg'); }
+section {      background-image: url('imgpurplezero/border.jpg'); }
+.tabs {        background-image: url('imgpurplezero/head.jpg'); }
+div.wall-item-content-wrapper.shiny {  background-image: url('imgpurplezero/shiny.png'); }
+
+
+.nav-commlink, .nav-login-link {
+       background-color: #aed3b2;
+
+}
+
+.fakelink, .fakelink:visited {
+       color: #7433af;
+}
+
+.wall-item-name-link {
+       color: #7433af;
+}
+
+
diff --git a/view/theme/duepuntozero/deriv/slackr.css b/view/theme/duepuntozero/deriv/slackr.css
new file mode 100644 (file)
index 0000000..3b42cdd
--- /dev/null
@@ -0,0 +1,210 @@
+.wall-item-content-wrapper {
+       border: none;
+}
+
+.wall-item-content-wrapper.comment {
+       background: #ffffff !important;
+       border-left: 1px solid #EEE;
+}
+
+.wall-item-tools {
+       background: none;
+}
+.wall-item-body a:hover {
+       color: #ff6600;
+}
+
+
+.widget {
+/*     box-shadow: 4px 4px 3px 0 #444444; */
+}
+
+.comment-edit-text-empty, .comment-edit-text-full {
+       border: none;
+       border-left: 1px solid #EEE;
+       background: #EEEEEE;
+}
+
+.comment-edit-wrapper, .comment-wwedit-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;
+}
+
+#profile-jot-text_parent, .mceLayout {
+       border-radius: 3px;
+       -moz-border-radius: 3px;
+       box-shadow: 4px 4px 3px 0 #444444;
+}
+
+#profile-jot-text:hover {
+       color: #000000;
+}
+
+#events-reminder {
+       border-radius: 3px;
+       -moz-border-radius: 3px;
+       opacity: 0.3;
+       filter:alpha(opacity=30);
+       margin-left: 5px;
+       margin-top: 5px;
+}
+
+#events-reminder.birthday-today, #events-reminder.event-today {
+       opacity: 1.0;
+       filter:alpha(opacity=100);
+       box-shadow: 4px 4px 3px 0 #444444;
+       margin-left: 0px;
+       margin-top: 0px;
+}
+
+#events-reminder:hover {
+       opacity: 1.0;
+       filter:alpha(opacity=100);
+       box-shadow: 4px 4px 3px 0 #444444;
+       margin-left: 0px;
+       margin-top: 0px;
+}
+
+.fc-event-skin {
+       background-color: #3465a4 !important;
+}
+.wall-item-photo, .photo, .contact-block-img, .my-comment-photo {
+       border-radius: 3px;
+       -moz-border-radius: 3px;
+       box-shadow: 4px 4px 3px 0 #444444;
+}
+
+.forumlist-img {
+       border-radius: 3px;
+       -moz-border-radius: 3px;
+       box-shadow: 4px 4px 3px 0 #444444;
+}
+
+#datebrowse-sidebar select {
+       margin-left: 25px;
+       border-radius: 3px;
+       -moz-border-radius: 3px;
+       opacity: 0.3;
+       filter:alpha(opacity=30);
+}
+
+#datebrowse-sidebar select:hover {
+       opacity: 1.0;
+       filter:alpha(opacity=100);
+}
+
+#posted-date-selector {
+       margin-left: 30px !important;
+       margin-top: 5px !important;
+       margin-right: 0px !important;
+       margin-bottom: 0px !important;
+}
+
+
+#posted-date-selector:hover {
+       box-shadow: 4px 4px 3px 0 #444444;
+       margin-left: 25px !important;
+       margin-top: 0px !important;
+       margin-right: 5px !important;
+       margin-bottom: 5px !important;
+
+}
+
+.contact-entry-photo img, .profile-match-photo img, #photo-photo img, .directory-photo-img, .photo-album-photo, .photo-top-photo, .profile-jot-text, .group-selected, .nets-selected, .fileas-selected, #profile-jot-submit, .categories-selected {
+       border-radius: 3px;
+       -moz-border-radius: 3px;
+       box-shadow: 4px 4px 3px 0 #444444;
+}
+.settings-widget .selected {
+       border-radius: 3px;
+       -moz-border-radius: 3px;
+       box-shadow: 4px 4px 3px 0 #444444;
+}
+
+#sidebar-page-list .label {
+       margin-left: 5px;
+}
+
+
+.photo {
+       border: 1px solid #AAAAAA;
+}
+
+.photo-top-photo, .photo-album-photo {
+       padding: 10px;
+       max-width: 300px;
+       border: 1px solid #888888;
+}
+
+.rotleft1 {
+-webkit-transform: rotate(-1deg);
+-moz-transform: rotate(-1deg);
+-ms-transform: rotate(-1deg);
+-o-transform: rotate(-1deg);
+}
+
+.rotleft2 {
+-webkit-transform: rotate(-2deg);
+-moz-transform: rotate(-2deg);
+-ms-transform: rotate(-2deg);
+-o-transform: rotate(-2deg);
+}
+
+.rotleft3 {
+-webkit-transform: rotate(-3deg);
+-moz-transform: rotate(-3deg);
+-ms-transform: rotate(-3deg);
+-o-transform: rotate(-3deg);
+}
+
+.rotleft4 {
+-webkit-transform: rotate(-4deg);
+-moz-transform: rotate(-4deg);
+-ms-transform: rotate(-4deg);
+-o-transform: rotate(-4deg);
+}
+
+.rotright1 {
+-webkit-transform: rotate(1deg);
+-moz-transform: rotate(1deg);
+-ms-transform: rotate(1deg);
+-o-transform: rotate(1deg);
+}
+
+.rotright2 {
+-webkit-transform: rotate(2deg);
+-moz-transform: rotate(2deg);
+-ms-transform: rotate(2deg);
+-o-transform: rotate(2deg);
+}
+
+.rotright3 {
+-webkit-transform: rotate(3deg);
+-moz-transform: rotate(3deg);
+-ms-transform: rotate(3deg);
+-o-transform: rotate(3deg);
+}
+
+.rotright4 {
+-webkit-transform: rotate(4deg);
+-moz-transform: rotate(4deg);
+-ms-transform: rotate(4deg);
+-o-transform: rotate(4deg);
+}
+
diff --git a/view/theme/duepuntozero/style.php b/view/theme/duepuntozero/style.php
new file mode 100644 (file)
index 0000000..d5f8696
--- /dev/null
@@ -0,0 +1,11 @@
+<?php
+if (file_exists("$THEMEPATH/style.css")){
+    echo file_get_contents("$THEMEPATH/style.css");
+}
+$s_colorset = get_config('duepuntozero','colorset');
+$uid = local_user();
+$colorset = get_pconfig( $uid, 'duepuntozero', 'colorset');
+if (!x($colorset)) 
+    $colorset = $s_colorset;
+
+?>
index e6c276c0a3e3d2229e49d439ca1a2960675920e4..ba3f25d3e26e002b461e8d97ac433d3ddca286e4 100644 (file)
@@ -5,6 +5,23 @@ function duepuntozero_init(&$a) {
 $a->theme_info = array();
 set_template_engine($a, 'smarty3');
 
+    $colorset = get_pconfig( local_user(), 'duepuntozero','colorset');
+    if (!$colorset)
+       $colorset = get_config('duepuntozero', 'colorset');          // user setting have priority, then node settings
+    if ($colorset) {
+        if ($colorset == 'greenzero')
+            $a->page['htmlhead'] .= '<link rel="stylesheet" href="view/theme/duepuntozero/deriv/greenzero.css" type="text/css" media="screen" />'."\n";
+        if ($colorset == 'purplezero')
+            $a->page['htmlhead'] .= '<link rel="stylesheet" href="view/theme/duepuntozero/deriv/purplezero.css" type="text/css" media="screen" />'."\n";
+        if ($colorset == 'easterbunny')
+            $a->page['htmlhead'] .= '<link rel="stylesheet" href="view/theme/duepuntozero/deriv/easterbunny.css" type="text/css" media="screen" />'."\n";
+        if ($colorset == 'darkzero')
+            $a->page['htmlhead'] .= '<link rel="stylesheet" href="view/theme/duepuntozero/deriv/darkzero.css" type="text/css" media="screen" />'."\n";
+        if ($colorset == 'comix')
+            $a->page['htmlhead'] .= '<link rel="stylesheet" href="view/theme/duepuntozero/deriv/comix.css" type="text/css" media="screen" />'."\n";
+        if ($colorset == 'slackr')
+            $a->page['htmlhead'] .= '<link rel="stylesheet" href="view/theme/duepuntozero/deriv/slackr.css" type="text/css" media="screen" />'."\n";
+    }
 $a->page['htmlhead'] .= <<< EOT
 <script>
 function insertFormatting(comment,BBcode,id) {